on develop help sign in
updated gogol-* packages using the new model (20190210) [except "gogol-docs"]
commit48c308ea421e0fcdb25b8b24fdea483ab2dab82b authorKoray Al <koray.al@soostone.com.tr> dateTue 19 Feb 2019, 17:05 (8 years ago) parent56f15a1
678 files changed+8714−6826
.travis.yml+2 core/gogol-core.cabal+1−1 examples/gogol-examples.cabal+2−2 gen/gogol-gen.cabal+1−1 gogol-abusiveexperiencereport/README.md+1−1 gogol-abusiveexperiencereport/gogol-abusiveexperiencereport.cabal+2−2 gogol-acceleratedmobilepageurl/README.md+1−1 gogol-acceleratedmobilepageurl/gogol-acceleratedmobilepageurl.cabal+2−2 gogol-accesscontextmanager/README.md+1−1 gogol-accesscontextmanager/gen/Network/Google/AccessContextManager/Types/Product.hs+3−3 gogol-accesscontextmanager/gogol-accesscontextmanager.cabal+2−2 gogol-adexchange-buyer/README.md+1−1 gogol-adexchange-buyer/gogol-adexchange-buyer.cabal+2−2 gogol-adexchange-seller/README.md+1−1 gogol-adexchange-seller/gogol-adexchange-seller.cabal+2−2 gogol-adexchangebuyer2/README.md+1−1 gogol-adexchangebuyer2/gen/Network/Google/AdExchangeBuyer2/Types/Product.hs+2−2 gogol-adexchangebuyer2/gogol-adexchangebuyer2.cabal+2−2 gogol-adexperiencereport/README.md+1−1 gogol-adexperiencereport/gogol-adexperiencereport.cabal+2−2 gogol-admin-datatransfer/README.md+1−1 gogol-admin-datatransfer/gogol-admin-datatransfer.cabal+2−2 gogol-admin-directory/README.md+1−1 gogol-admin-directory/gen/Network/Google/Directory.hs+23 gogol-admin-directory/gen/Network/Google/Directory/Types.hs+23 gogol-admin-directory/gen/Network/Google/Directory/Types/Product.hs+189−2 gogol-admin-directory/gen/Network/Google/Directory/Types/Sum.hs+108 gogol-admin-directory/gen/Network/Google/Resource/Directory/Resources/Buildings/Insert.hs+24−6 gogol-admin-directory/gen/Network/Google/Resource/Directory/Resources/Buildings/Patch.hs+22−6 gogol-admin-directory/gen/Network/Google/Resource/Directory/Resources/Buildings/Update.hs+22−6 gogol-admin-directory/gogol-admin-directory.cabal+2−2 gogol-admin-reports/README.md+1−1 gogol-admin-reports/gogol-admin-reports.cabal+2−2 gogol-adsense-host/README.md+1−1 gogol-adsense-host/gogol-adsense-host.cabal+2−2 gogol-adsense/README.md+1−1 gogol-adsense/gogol-adsense.cabal+2−2 gogol-alertcenter/README.md+1−1 gogol-alertcenter/gen/Network/Google/AlertCenter.hs+12 gogol-alertcenter/gen/Network/Google/AlertCenter/Types.hs+12 gogol-alertcenter/gen/Network/Google/AlertCenter/Types/Product.hs+118−7 gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/Alerts/Feedback/Create.hs+5−4 gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/Alerts/Feedback/List.hs+5−4 gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/Alerts/Get.hs+5−4 gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/UpdateSettings.hs+2−2 gogol-alertcenter/gogol-alertcenter.cabal+2−2 gogol-analytics/README.md+1−1 gogol-analytics/gen/Network/Google/Analytics.hs−18 gogol-analytics/gen/Network/Google/Analytics/Types.hs−18 gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+32−205 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Delete.hs+4−4 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Get.hs+4−4 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Insert.hs+2−2 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/List.hs+5−5 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Patch.hs+6−6 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Update.hs+4−4 gogol-analytics/gogol-analytics.cabal+2−2 gogol-analyticsreporting/README.md+1−1 gogol-analyticsreporting/gogol-analyticsreporting.cabal+2−2 gogol-android-enterprise/README.md+1−1 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise.hs+6−5 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types.hs+6 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Product.hs+77−22 gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Enterprises/GetAndroidDevicePolicyConfig.hs−97 gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Products/List.hs+3−3 gogol-android-enterprise/gogol-android-enterprise.cabal+2−3 gogol-android-publisher/README.md+1−1 gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Product.hs+2−1 gogol-android-publisher/gogol-android-publisher.cabal+2−2 gogol-androiddeviceprovisioning/README.md+1−1 gogol-androiddeviceprovisioning/gogol-androiddeviceprovisioning.cabal+2−2 gogol-androidmanagement/README.md+1−1 gogol-androidmanagement/gen/Network/Google/AndroidManagement.hs+13 gogol-androidmanagement/gen/Network/Google/AndroidManagement/Types.hs+13 gogol-androidmanagement/gen/Network/Google/AndroidManagement/Types/Product.hs+106−2 gogol-androidmanagement/gen/Network/Google/AndroidManagement/Types/Sum.hs+7−1 gogol-androidmanagement/gogol-androidmanagement.cabal+2−2 gogol-appengine/README.md+1−1 gogol-appengine/gen/Network/Google/AppEngine.hs+1 gogol-appengine/gen/Network/Google/AppEngine/Types.hs+1 gogol-appengine/gen/Network/Google/AppEngine/Types/Product.hs+21−8 gogol-appengine/gogol-appengine.cabal+2−2 gogol-apps-activity/README.md+1−1 gogol-apps-activity/gogol-apps-activity.cabal+2−2 gogol-apps-calendar/README.md+1−1 gogol-apps-calendar/gogol-apps-calendar.cabal+2−2 gogol-apps-licensing/README.md+1−1 gogol-apps-licensing/gogol-apps-licensing.cabal+2−2 gogol-apps-reseller/README.md+1−1 gogol-apps-reseller/gogol-apps-reseller.cabal+2−2 gogol-apps-tasks/README.md+1−1 gogol-apps-tasks/gogol-apps-tasks.cabal+2−2 gogol-appstate/README.md+1−1 gogol-appstate/gogol-appstate.cabal+2−2 gogol-bigquery/README.md+1−1 gogol-bigquery/gen/Network/Google/BigQuery.hs+8 gogol-bigquery/gen/Network/Google/BigQuery/Types.hs+8 gogol-bigquery/gen/Network/Google/BigQuery/Types/Product.hs+102−13 gogol-bigquery/gogol-bigquery.cabal+2−2 gogol-bigquerydatatransfer/README.md+1−1 gogol-bigquerydatatransfer/gen/Network/Google/BigQueryDataTransfer.hs+8 gogol-bigquerydatatransfer/gen/Network/Google/BigQueryDataTransfer/Types.hs+8 gogol-bigquerydatatransfer/gen/Network/Google/BigQueryDataTransfer/Types/Product.hs+88−1 gogol-bigquerydatatransfer/gogol-bigquerydatatransfer.cabal+2−2 gogol-bigtableadmin/README.md+1−1 gogol-bigtableadmin/gen/Network/Google/BigtableAdmin.hs+16 gogol-bigtableadmin/gen/Network/Google/BigtableAdmin/Types.hs+16 gogol-bigtableadmin/gen/Network/Google/BigtableAdmin/Types/Product.hs+122−1 gogol-bigtableadmin/gen/Network/Google/BigtableAdmin/Types/Sum.hs+44 gogol-bigtableadmin/gogol-bigtableadmin.cabal+2−2 gogol-billing/README.md+1−1 gogol-billing/gen/Network/Google/Billing.hs+1 gogol-billing/gen/Network/Google/Billing/Types.hs+1 gogol-billing/gen/Network/Google/Billing/Types/Product.hs+24−7 gogol-billing/gogol-billing.cabal+2−2 gogol-binaryauthorization/README.md+1−1 gogol-binaryauthorization/gogol-binaryauthorization.cabal+2−2 gogol-blogger/README.md+1−1 gogol-blogger/gogol-blogger.cabal+2−2 gogol-books/README.md+1−1 gogol-books/gen/Network/Google/Books.hs+1 gogol-books/gen/Network/Google/Books/Types.hs+1 gogol-books/gen/Network/Google/Books/Types/Product.hs+12 gogol-books/gogol-books.cabal+2−2 gogol-chat/README.md+1−1 gogol-chat/gogol-chat.cabal+2−2 gogol-civicinfo/README.md+1−1 gogol-civicinfo/gogol-civicinfo.cabal+2−2 gogol-classroom/README.md+1−1 gogol-classroom/gogol-classroom.cabal+2−2 gogol-cloudasset/README.md+1−1 gogol-cloudasset/gen/Network/Google/CloudAsset.hs+12−2 gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Folders/ExportAssets.hs+170 gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Folders/Operations/Get.hs+150 gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Organizations/BatchGetAssetsHistory.hs+4−2 gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Organizations/ExportAssets.hs+2−2 gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Projects/BatchGetAssetsHistory.hs+4−2 gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Projects/ExportAssets.hs+2−2 gogol-cloudasset/gogol-cloudasset.cabal+4−2 gogol-clouderrorreporting/README.md+1−1 gogol-clouderrorreporting/gogol-clouderrorreporting.cabal+2−2 gogol-cloudfunctions/README.md+1−1 gogol-cloudfunctions/gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GetIAMPolicy.hs+4−4 gogol-cloudfunctions/gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/SetIAMPolicy.hs+4−4 gogol-cloudfunctions/gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/TestIAMPermissions.hs+6−12 gogol-cloudfunctions/gogol-cloudfunctions.cabal+2−2 gogol-cloudidentity/README.md+1−1 gogol-cloudidentity/gen/Network/Google/Resource/CloudIdentity/Groups/List.hs+2−2 gogol-cloudidentity/gen/Network/Google/Resource/CloudIdentity/Groups/Memberships/List.hs+1−1 gogol-cloudidentity/gen/Network/Google/Resource/CloudIdentity/Groups/Search.hs+2−2 gogol-cloudidentity/gogol-cloudidentity.cabal+2−2 gogol-cloudiot/README.md+1−1 gogol-cloudiot/gogol-cloudiot.cabal+2−2 gogol-cloudkms/README.md+1−1 gogol-cloudkms/gen/Network/Google/CloudKMS.hs+1 gogol-cloudkms/gen/Network/Google/CloudKMS/Types.hs+6 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/Get.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/Create.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Create.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/AsymmetricDecrypt.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/AsymmetricSign.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Create.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Destroy.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Get.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/GetPublicKey.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/List.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Patch.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Restore.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Decrypt.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Encrypt.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Get.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/GetIAMPolicy.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/List.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Patch.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/SetIAMPolicy.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/TestIAMPermissions.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/UpdatePrimaryVersion.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/Get.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/GetIAMPolicy.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/ImportJobs/GetIAMPolicy.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/ImportJobs/SetIAMPolicy.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/ImportJobs/TestIAMPermissions.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/List.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/SetIAMPolicy.hs+2−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/TestIAMPermissions.hs+3−1 gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/List.hs+2−1 gogol-cloudkms/gogol-cloudkms.cabal+2−2 gogol-cloudprofiler/README.md+1−1 gogol-cloudprofiler/gogol-cloudprofiler.cabal+2−2 gogol-cloudscheduler/README.md+1−1 gogol-cloudscheduler/gogol-cloudscheduler.cabal+2−2 gogol-cloudsearch/README.md+1−1 gogol-cloudsearch/gen/Network/Google/CloudSearch/Types/Product.hs+5−13 gogol-cloudsearch/gogol-cloudsearch.cabal+2−2 gogol-cloudshell/README.md+1−1 gogol-cloudshell/gogol-cloudshell.cabal+2−2 gogol-cloudtasks/README.md+1−1 gogol-cloudtasks/gen/Network/Google/CloudTasks.hs+1 gogol-cloudtasks/gen/Network/Google/CloudTasks/Types.hs+1 gogol-cloudtasks/gen/Network/Google/CloudTasks/Types/Product.hs+53−15 gogol-cloudtasks/gen/Network/Google/CloudTasks/Types/Sum.hs+10 gogol-cloudtasks/gogol-cloudtasks.cabal+2−2 gogol-cloudtrace/README.md+1−1 gogol-cloudtrace/gogol-cloudtrace.cabal+2−2 gogol-composer/README.md+1−1 gogol-composer/gen/Network/Google/Composer.hs+18 gogol-composer/gen/Network/Google/Composer/Types.hs+13 gogol-composer/gen/Network/Google/Composer/Types/Product.hs+136−8 gogol-composer/gen/Network/Google/Resource/Composer/Projects/Locations/ImageVersions/List.hs+183 gogol-composer/gogol-composer.cabal+3−2 gogol-compute/README.md+1−1 gogol-compute/gen/Network/Google/Compute.hs+51 gogol-compute/gen/Network/Google/Compute/Types.hs+51 gogol-compute/gen/Network/Google/Compute/Types/Product.hs+522−51 gogol-compute/gen/Network/Google/Compute/Types/Sum.hs+102−3 gogol-compute/gen/Network/Google/Resource/Compute/InstanceTemplates/Delete.hs+4−4 gogol-compute/gen/Network/Google/Resource/Compute/InstanceTemplates/List.hs+2−2 gogol-compute/gen/Network/Google/Resource/Compute/Instances/Reset.hs+4−4 gogol-compute/gen/Network/Google/Resource/Compute/NodeGroups/SetNodeTemplate.hs+1−1 gogol-compute/gogol-compute.cabal+2−2 gogol-consumersurveys/README.md+1−1 gogol-consumersurveys/gogol-consumersurveys.cabal+2−2 gogol-container/README.md+1−1 gogol-container/gen/Network/Google/Container.hs+40 gogol-container/gen/Network/Google/Container/Types.hs+29 gogol-container/gen/Network/Google/Container/Types/Product.hs+275 gogol-container/gen/Network/Google/Resource/Container/Projects/Locations/Clusters/GetJWKs.hs+160 gogol-container/gen/Network/Google/Resource/Container/Projects/Locations/Clusters/WellKnown/GetOpenidConfiguration.hs+174 gogol-container/gogol-container.cabal+4−2 gogol-containeranalysis/README.md+1−1 gogol-containeranalysis/gen/Network/Google/ContainerAnalysis.hs+15 gogol-containeranalysis/gen/Network/Google/ContainerAnalysis/Types.hs+15 gogol-containeranalysis/gen/Network/Google/ContainerAnalysis/Types/Product.hs+144−6 gogol-containeranalysis/gogol-containeranalysis.cabal+2−2 gogol-containerbuilder/README.md+1−1 gogol-containerbuilder/gen/Network/Google/ContainerBuilder/Types/Product.hs+14−14 gogol-containerbuilder/gogol-containerbuilder.cabal+2−2 gogol-customsearch/README.md+1−1 gogol-customsearch/gogol-customsearch.cabal+2−2 gogol-dataflow/README.md+1−1 gogol-dataflow/gen/Network/Google/Dataflow.hs+30 gogol-dataflow/gen/Network/Google/Dataflow/Types.hs+30 gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+301−18 gogol-dataflow/gogol-dataflow.cabal+2−2 gogol-dataproc/README.md+1−1 gogol-dataproc/gogol-dataproc.cabal+2−2 gogol-datastore/README.md+1−1 gogol-datastore/gogol-datastore.cabal+2−2 gogol-debugger/README.md+1−1 gogol-debugger/gogol-debugger.cabal+2−2 gogol-deploymentmanager/README.md+1−1 gogol-deploymentmanager/gogol-deploymentmanager.cabal+2−2 gogol-dfareporting/README.md+1−1 gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySiteContacts/Get.hs−103 gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySiteContacts/List.hs−201 gogol-dfareporting/gogol-dfareporting.cabal+2−2 gogol-dialogflow/README.md+1−1 gogol-dialogflow/gen/Network/Google/DialogFlow/Types/Product.hs+60−46 gogol-dialogflow/gen/Network/Google/DialogFlow/Types/Sum.hs+8−2 gogol-dialogflow/gen/Network/Google/Resource/DialogFlow/Projects/Agent/EntityTypes/Patch.hs+3−3 gogol-dialogflow/gen/Network/Google/Resource/DialogFlow/Projects/Agent/Intents/Patch.hs+2−2 gogol-dialogflow/gogol-dialogflow.cabal+2−2 gogol-digitalassetlinks/README.md+1−1 gogol-digitalassetlinks/gogol-digitalassetlinks.cabal+2−2 gogol-discovery/README.md+2−2 gogol-discovery/gen/Network/Google/Discovery.hs+2−2 gogol-discovery/gen/Network/Google/Discovery/Types.hs+1−1 gogol-discovery/gen/Network/Google/Resource/Discovery/APIs/GetRest.hs+1−1 gogol-discovery/gen/Network/Google/Resource/Discovery/APIs/List.hs+1−1 gogol-discovery/gogol-discovery.cabal+3−3 gogol-dlp/README.md+1−1 gogol-dlp/gen/Network/Google/DLP.hs+7 gogol-dlp/gen/Network/Google/DLP/Types.hs+7 gogol-dlp/gen/Network/Google/DLP/Types/Product.hs+88−14 gogol-dlp/gen/Network/Google/Resource/DLP/Projects/JobTriggers/List.hs+35−7 gogol-dlp/gogol-dlp.cabal+2−2 gogol-dns/README.md+1−1 gogol-dns/gen/Network/Google/DNS/Types/Product.hs+20−10 gogol-dns/gen/Network/Google/DNS/Types/Sum.hs+11−7 gogol-dns/gogol-dns.cabal+2−2 gogol-doubleclick-bids/README.md+1−1 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids.hs+1 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types.hs+1 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types/Product.hs+25−12 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types/Sum.hs+44 gogol-doubleclick-bids/gogol-doubleclick-bids.cabal+2−2 gogol-doubleclick-search/README.md+1−1 gogol-doubleclick-search/gogol-doubleclick-search.cabal+2−2 gogol-drive/README.md+1−1 gogol-drive/gogol-drive.cabal+2−2 gogol-driveactivity/README.md+1−1 gogol-driveactivity/gogol-driveactivity.cabal+2−2 gogol-file/README.md+1−1 gogol-file/gogol-file.cabal+2−2 gogol-firebase-dynamiclinks/README.md+1−1 gogol-firebase-dynamiclinks/gen/Network/Google/FirebaseDynamicLinks.hs+7 gogol-firebase-dynamiclinks/gen/Network/Google/FirebaseDynamicLinks/Types.hs+7 gogol-firebase-dynamiclinks/gen/Network/Google/FirebaseDynamicLinks/Types/Product.hs+65 gogol-firebase-dynamiclinks/gogol-firebase-dynamiclinks.cabal+2−2 gogol-firebase-rules/README.md+1−1 gogol-firebase-rules/gogol-firebase-rules.cabal+2−2 gogol-firebasehosting/README.md+1−1 gogol-firebasehosting/gen/Network/Google/FirebaseHosting.hs+10−3 gogol-firebasehosting/gen/Network/Google/FirebaseHosting/Types.hs+7 gogol-firebasehosting/gen/Network/Google/FirebaseHosting/Types/Product.hs+63−2 gogol-firebasehosting/gen/Network/Google/FirebaseHosting/Types/Sum.hs+2−2 gogol-firebasehosting/gogol-firebasehosting.cabal+5−5 gogol-firebaseremoteconfig/README.md+1−1 gogol-firebaseremoteconfig/gogol-firebaseremoteconfig.cabal+2−2 gogol-firestore/README.md+1−1 gogol-firestore/gen/Network/Google/FireStore.hs+3 gogol-firestore/gen/Network/Google/FireStore/Types.hs+3 gogol-firestore/gen/Network/Google/FireStore/Types/Product.hs+60−2 gogol-firestore/gogol-firestore.cabal+2−2 gogol-fitness/README.md+1−1 gogol-fitness/gen/Network/Google/Fitness/Types/Product.hs+7−5 gogol-fitness/gogol-fitness.cabal+2−2 gogol-fonts/README.md+1−1 gogol-fonts/gogol-fonts.cabal+2−2 gogol-fusiontables/README.md+1−1 gogol-fusiontables/gogol-fusiontables.cabal+2−2 gogol-games-configuration/README.md+1−1 gogol-games-configuration/gogol-games-configuration.cabal+2−2 gogol-games-management/README.md+1−1 gogol-games-management/gogol-games-management.cabal+2−2 gogol-games/README.md+1−1 gogol-games/gen/Network/Google/Games.hs+1 gogol-games/gen/Network/Google/Games/Types.hs+5 gogol-games/gen/Network/Google/Resource/Games/AchievementDefinitions/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Achievements/Increment.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Achievements/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Achievements/Reveal.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Achievements/SetStepsAtLeast.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Achievements/Unlock.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Achievements/UpdateMultiple.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Applications/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Applications/Played.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Applications/Verify.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Events/ListByPlayer.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Events/ListDefinitions.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Events/Record.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Leaderboards/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Leaderboards/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Metagame/GetMetagameConfig.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Metagame/ListCategoriesByPlayer.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Players/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Players/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Pushtokens/Remove.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Pushtokens/Update.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/QuestMilestones/Claim.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Quests/Accept.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Quests/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Revisions/Check.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/Create.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/Decline.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/Dismiss.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/Join.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/Leave.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Rooms/ReportStatus.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Scores/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Scores/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Scores/ListWindow.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Scores/Submit.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Scores/SubmitMultiple.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Snapshots/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/Snapshots/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Cancel.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Create.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Decline.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Dismiss.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Finish.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Get.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Join.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Leave.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/LeaveTurn.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/List.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Rematch.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Sync.hs+2−1 gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/TakeTurn.hs+2−1 gogol-games/gogol-games.cabal+2−2 gogol-genomics/README.md+1−1 gogol-genomics/gogol-genomics.cabal+2−2 gogol-gmail/README.md+1−1 gogol-gmail/gen/Network/Google/Gmail/Types/Product.hs+6−2 gogol-gmail/gogol-gmail.cabal+2−2 gogol-groups-migration/README.md+1−1 gogol-groups-migration/gogol-groups-migration.cabal+2−2 gogol-groups-settings/README.md+1−1 gogol-groups-settings/gogol-groups-settings.cabal+2−2 gogol-healthcare/README.md+1−1 gogol-healthcare/gogol-healthcare.cabal+2−2 gogol-iam/README.md+1−1 gogol-iam/gen/Network/Google/Resource/IAM/Projects/ServiceAccounts/SignBlob.hs+8−2 gogol-iam/gen/Network/Google/Resource/IAM/Projects/ServiceAccounts/SignJwt.hs+12−6 gogol-iam/gogol-iam.cabal+2−2 gogol-iamcredentials/README.md+1−1 gogol-iamcredentials/gogol-iamcredentials.cabal+2−2 gogol-iap/README.md+1−1 gogol-iap/gen/Network/Google/IAP.hs+11−92 gogol-iap/gen/Network/Google/Resource/IAP/GetIAMPolicy.hs+167 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/GetIAMPolicy.hs−175 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/SetIAMPolicy.hs−175 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/TestIAMPermissions.hs−179 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/GetIAMPolicy.hs−176 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/Instances/GetIAMPolicy.hs−182 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/Instances/SetIAMPolicy.hs−182 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/Instances/TestIAMPermissions.hs−184 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/SetIAMPolicy.hs−176 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/TestIAMPermissions.hs−181 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/GetIAMPolicy.hs−174 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/GetIAMPolicy.hs−176 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/SetIAMPolicy.hs−176 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/TestIAMPermissions.hs−181 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/Versions/GetIAMPolicy.hs−182 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/Versions/SetIAMPolicy.hs−182 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/Versions/TestIAMPermissions.hs−184 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/SetIAMPolicy.hs−174 gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/TestIAMPermissions.hs−178 gogol-iap/gen/Network/Google/Resource/IAP/SetIAMPolicy.hs+167 gogol-iap/gen/Network/Google/Resource/IAP/TestIAMPermissions.hs+170 gogol-iap/gogol-iap.cabal+5−20 gogol-identity-toolkit/README.md+1−1 gogol-identity-toolkit/gogol-identity-toolkit.cabal+2−2 gogol-indexing/README.md+1−1 gogol-indexing/gogol-indexing.cabal+2−2 gogol-jobs/README.md+1−1 gogol-jobs/gen/Network/Google/Jobs.hs+36 gogol-jobs/gen/Network/Google/Jobs/Types.hs+31 gogol-jobs/gen/Network/Google/Jobs/Types/Product.hs+314−6 gogol-jobs/gen/Network/Google/Jobs/Types/Sum.hs+5−5 gogol-jobs/gen/Network/Google/Resource/Jobs/Projects/Operations/Get.hs+151 gogol-jobs/gogol-jobs.cabal+3−2 gogol-kgsearch/README.md+1−1 gogol-kgsearch/gogol-kgsearch.cabal+2−2 gogol-language/README.md+1−1 gogol-language/gogol-language.cabal+2−2 gogol-libraryagent/README.md+1−1 gogol-libraryagent/gogol-libraryagent.cabal+2−2 gogol-logging/README.md+1−1 gogol-logging/gen/Network/Google/Logging.hs+6 gogol-logging/gen/Network/Google/Logging/Types.hs+6 gogol-logging/gen/Network/Google/Logging/Types/Product.hs+100−23 gogol-logging/gen/Network/Google/Resource/Logging/BillingAccounts/Sinks/Patch.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/BillingAccounts/Sinks/Update.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Folders/Sinks/Patch.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Folders/Sinks/Update.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Organizations/Sinks/Patch.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Organizations/Sinks/Update.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/Patch.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/Update.hs+4−4 gogol-logging/gen/Network/Google/Resource/Logging/Sinks/Update.hs+4−4 gogol-logging/gogol-logging.cabal+2−2 gogol-manufacturers/README.md+1−1 gogol-manufacturers/gogol-manufacturers.cabal+2−2 gogol-mirror/README.md+1−1 gogol-mirror/gogol-mirror.cabal+2−2 gogol-ml/README.md+1−1 gogol-ml/gen/Network/Google/MachineLearning.hs+16−7 gogol-ml/gen/Network/Google/MachineLearning/Types.hs+9 gogol-ml/gen/Network/Google/MachineLearning/Types/Product.hs+118−29 gogol-ml/gen/Network/Google/MachineLearning/Types/Sum.hs+8−7 gogol-ml/gen/Network/Google/Resource/Ml/Operations/Delete.hs+152 gogol-ml/gen/Network/Google/Resource/Ml/Projects/Operations/Delete.hs−154 gogol-ml/gogol-ml.cabal+3−3 gogol-monitoring/README.md+1−1 gogol-monitoring/gen/Network/Google/Monitoring/Types/Product.hs+1−1 gogol-monitoring/gen/Network/Google/Resource/Monitoring/Projects/Groups/Delete.hs+16−2 gogol-monitoring/gogol-monitoring.cabal+2−2 gogol-oauth2/README.md+1−1 gogol-oauth2/gogol-oauth2.cabal+2−2 gogol-oslogin/README.md+1−1 gogol-oslogin/gen/Network/Google/OSLogin.hs+1−1 gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/GetLoginProFile.hs+1−1 gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/ImportSSHPublicKey.hs+1−1 gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/Projects/Delete.hs+1−1 gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/SSHPublicKeys/Delete.hs+1−1 gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/SSHPublicKeys/Get.hs+1−1 gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/SSHPublicKeys/Patch.hs+1−1 gogol-oslogin/gogol-oslogin.cabal+2−2 gogol-pagespeed/README.md+1−1 gogol-pagespeed/gogol-pagespeed.cabal+2−2 gogol-partners/README.md+1−1 gogol-partners/gogol-partners.cabal+2−2 gogol-people/README.md+1−1 gogol-people/gogol-people.cabal+2−2 gogol-photoslibrary/README.md+1−1 gogol-photoslibrary/gogol-photoslibrary.cabal+2−2 gogol-play-moviespartner/README.md+1−1 gogol-play-moviespartner/gogol-play-moviespartner.cabal+2−2 gogol-playcustomapp/README.md+1−1 gogol-playcustomapp/gogol-playcustomapp.cabal+2−2 gogol-plus-domains/README.md+1−1 gogol-plus-domains/gogol-plus-domains.cabal+2−2 gogol-plus/README.md+1−1 gogol-plus/gogol-plus.cabal+2−2 gogol-poly/README.md+1−1 gogol-poly/gogol-poly.cabal+2−2 gogol-prediction/README.md+1−1 gogol-prediction/gogol-prediction.cabal+2−2 gogol-proximitybeacon/README.md+1−1 gogol-proximitybeacon/gogol-proximitybeacon.cabal+2−2 gogol-pubsub/README.md+1−1 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Snapshots/Create.hs+6−6 gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs+6−6 gogol-pubsub/gogol-pubsub.cabal+2−2 gogol-qpxexpress/README.md+1−1 gogol-qpxexpress/gogol-qpxexpress.cabal+2−2 gogol-redis/README.md+1−1 gogol-redis/gen/Network/Google/Redis/Types/Sum.hs+1−2 gogol-redis/gogol-redis.cabal+2−2 gogol-remotebuildexecution/README.md+1−1 gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution.hs+8−6 gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution/Types.hs+8−6 gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution/Types/Product.hs+152−111 gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution/Types/Sum.hs+7−3 gogol-remotebuildexecution/gen/Network/Google/Resource/RemoteBuildExecution/ActionResults/Update.hs+18−18 gogol-remotebuildexecution/gen/Network/Google/Resource/RemoteBuildExecution/Actions/Execute.hs+16−10 gogol-remotebuildexecution/gogol-remotebuildexecution.cabal+2−2 gogol-replicapool-updater/README.md+1−1 gogol-replicapool-updater/gogol-replicapool-updater.cabal+2−2 gogol-replicapool/README.md+1−1 gogol-replicapool/gogol-replicapool.cabal+2−2 gogol-resourcemanager/README.md+1−1 gogol-resourcemanager/gogol-resourcemanager.cabal+2−2 gogol-runtimeconfig/README.md+1−1 gogol-runtimeconfig/gogol-runtimeconfig.cabal+2−2 gogol-safebrowsing/README.md+1−1 gogol-safebrowsing/gogol-safebrowsing.cabal+2−2 gogol-script/README.md+1−1 gogol-script/gen/Network/Google/Script/Types/Product.hs+5−4 gogol-script/gogol-script.cabal+2−2 gogol-searchconsole/README.md+1−1 gogol-searchconsole/gogol-searchconsole.cabal+2−2 gogol-servicebroker/README.md+1−1 gogol-servicebroker/gogol-servicebroker.cabal+2−2 gogol-serviceconsumermanagement/README.md+1−1 gogol-serviceconsumermanagement/gen/Network/Google/Resource/ServiceConsumerManagement/Services/TenancyUnits/ApplyProjectConfig.hs+8−6 gogol-serviceconsumermanagement/gen/Network/Google/Resource/ServiceConsumerManagement/Services/TenancyUnits/RemoveProject.hs+8−6 gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement.hs+5 gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement/Types.hs+5 gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement/Types/Product.hs+30−7 gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement/Types/Sum.hs+53 gogol-serviceconsumermanagement/gogol-serviceconsumermanagement.cabal+2−2 gogol-servicecontrol/README.md+1−1 gogol-servicecontrol/gen/Network/Google/ServiceControl.hs+1 gogol-servicecontrol/gen/Network/Google/ServiceControl/Types.hs+1 gogol-servicecontrol/gen/Network/Google/ServiceControl/Types/Product.hs+24−7 gogol-servicecontrol/gogol-servicecontrol.cabal+2−2 gogol-servicemanagement/README.md+1−1 gogol-servicemanagement/gen/Network/Google/ServiceManagement.hs+5 gogol-servicemanagement/gen/Network/Google/ServiceManagement/Types.hs+5 gogol-servicemanagement/gen/Network/Google/ServiceManagement/Types/Product.hs+30−7 gogol-servicemanagement/gen/Network/Google/ServiceManagement/Types/Sum.hs+53 gogol-servicemanagement/gogol-servicemanagement.cabal+2−2 gogol-servicenetworking/README.md+1−1 gogol-servicenetworking/gogol-servicenetworking.cabal+2−2 gogol-serviceusage/README.md+1−1 gogol-serviceusage/gen/Network/Google/Resource/ServiceUsage/Services/BatchEnable.hs+2−2 gogol-serviceusage/gen/Network/Google/Resource/ServiceUsage/Services/Disable.hs+2−2 gogol-serviceusage/gen/Network/Google/Resource/ServiceUsage/Services/Enable.hs+2−2 gogol-serviceusage/gen/Network/Google/ServiceUsage.hs+5 gogol-serviceusage/gen/Network/Google/ServiceUsage/Types.hs+5 gogol-serviceusage/gen/Network/Google/ServiceUsage/Types/Product.hs+30−7 gogol-serviceusage/gen/Network/Google/ServiceUsage/Types/Sum.hs+53 gogol-serviceusage/gogol-serviceusage.cabal+2−2 gogol-serviceuser/README.md+1−1 gogol-serviceuser/gogol-serviceuser.cabal+2−2 gogol-sheets/README.md+1−1 gogol-sheets/gogol-sheets.cabal+2−2 gogol-shopping-content/README.md+1−1 gogol-shopping-content/gen/Network/Google/Resource/Content/Accountstatuses/Custombatch.hs+3 gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/NotifyauthApproved.hs−126 gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/Notifyauthdeclined.hs−123 gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/Notifycharge.hs−120 gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/Notifyrefund.hs−119 gogol-shopping-content/gen/Network/Google/Resource/Content/Orderreturns/List.hs+50−53 gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Cancel.hs+28−27 gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Cancellineitem.hs+28−28 gogol-shopping-content/gen/Network/Google/ShoppingContent.hs+15−72 gogol-shopping-content/gen/Network/Google/ShoppingContent/Types.hs+15−52 gogol-shopping-content/gen/Network/Google/ShoppingContent/Types/Product.hs+167−478 gogol-shopping-content/gogol-shopping-content.cabal+2−6 gogol-siteverification/README.md+1−1 gogol-siteverification/gogol-siteverification.cabal+2−2 gogol-slides/README.md+1−1 gogol-slides/gen/Network/Google/Slides/Types/Product.hs+1−1 gogol-slides/gogol-slides.cabal+2−2 gogol-sourcerepo/README.md+1−1 gogol-sourcerepo/gogol-sourcerepo.cabal+2−2 gogol-spanner/README.md+1−1 gogol-spanner/gogol-spanner.cabal+2−2 gogol-spectrum/README.md+1−1 gogol-spectrum/gogol-spectrum.cabal+2−2 gogol-speech/README.md+2−2 gogol-speech/gen/Network/Google/Resource/Speech/Operations/Get.hs+1−1 gogol-speech/gen/Network/Google/Resource/Speech/Operations/List.hs+1−1 gogol-speech/gen/Network/Google/Resource/Speech/Projects/Locations/Operations/Get.hs+1−1 gogol-speech/gen/Network/Google/Resource/Speech/Projects/Locations/Operations/List.hs+1−1 gogol-speech/gen/Network/Google/Resource/Speech/Projects/Operations/ManualRecognitionTasks/Get.hs+1−1 gogol-speech/gen/Network/Google/Resource/Speech/Speech/Longrunningrecognize.hs+1−1 gogol-speech/gen/Network/Google/Resource/Speech/Speech/Recognize.hs+1−1 gogol-speech/gen/Network/Google/Speech.hs+2−2 gogol-speech/gen/Network/Google/Speech/Types.hs+1−1 gogol-speech/gen/Network/Google/Speech/Types/Product.hs+6−6 gogol-speech/gogol-speech.cabal+3−3 gogol-sqladmin/README.md+1−1 gogol-sqladmin/gogol-sqladmin.cabal+2−2 gogol-storage-transfer/README.md+1−1 gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Product.hs+5−4 gogol-storage-transfer/gogol-storage-transfer.cabal+2−2 gogol-storage/README.md+1−1 gogol-storage/gen/Network/Google/Storage.hs+9 gogol-storage/gen/Network/Google/Storage/Types.hs+9 gogol-storage/gen/Network/Google/Storage/Types/Product.hs+97−2 gogol-storage/gogol-storage.cabal+2−2 gogol-streetviewpublish/README.md+1−1 gogol-streetviewpublish/gogol-streetviewpublish.cabal+2−2 gogol-surveys/README.md+1−1 gogol-surveys/gogol-surveys.cabal+2−2 gogol-tagmanager/README.md+1−1 gogol-tagmanager/gogol-tagmanager.cabal+2−2 gogol-testing/README.md+1−1 gogol-testing/gen/Network/Google/Testing.hs+1 gogol-testing/gen/Network/Google/Testing/Types.hs+1 gogol-testing/gen/Network/Google/Testing/Types/Product.hs+17−3 gogol-testing/gen/Network/Google/Testing/Types/Sum.hs+6 gogol-testing/gogol-testing.cabal+2−2 gogol-texttospeech/README.md+1−1 gogol-texttospeech/gen/Network/Google/TextToSpeech.hs+1 gogol-texttospeech/gen/Network/Google/TextToSpeech/Types.hs+1 gogol-texttospeech/gen/Network/Google/TextToSpeech/Types/Product.hs+23−5 gogol-texttospeech/gogol-texttospeech.cabal+2−2 gogol-toolresults/README.md+1−1 gogol-toolresults/gen/Network/Google/ToolResults.hs+26 gogol-toolresults/gen/Network/Google/ToolResults/Types.hs+26 gogol-toolresults/gen/Network/Google/ToolResults/Types/Product.hs+177 gogol-toolresults/gen/Network/Google/ToolResults/Types/Sum.hs+105−15 gogol-toolresults/gogol-toolresults.cabal+2−2 gogol-tpu/README.md+1−1 gogol-tpu/gen/Network/Google/TPU/Types/Sum.hs+15−4 gogol-tpu/gogol-tpu.cabal+2−2 gogol-tracing/README.md+1−1 gogol-tracing/gogol-tracing.cabal+2−2 gogol-translate/README.md+1−1 gogol-translate/gogol-translate.cabal+2−2 gogol-urlshortener/README.md+1−1 gogol-urlshortener/gogol-urlshortener.cabal+2−2 gogol-vault/README.md+1−1 gogol-vault/gogol-vault.cabal+2−2 gogol-videointelligence/README.md+1−1 gogol-videointelligence/gogol-videointelligence.cabal+2−2 gogol-vision/README.md+1−1 gogol-vision/gen/Network/Google/Vision/Types/Product.hs+26−33 gogol-vision/gen/Network/Google/Vision/Types/Sum.hs+20 gogol-vision/gogol-vision.cabal+2−2 gogol-webmaster-tools/README.md+1−1 gogol-webmaster-tools/gogol-webmaster-tools.cabal+2−2 gogol-websecurityscanner/README.md+1−1 gogol-websecurityscanner/gen/Network/Google/WebSecurityScanner.hs+1 gogol-websecurityscanner/gen/Network/Google/WebSecurityScanner/Types.hs+1 gogol-websecurityscanner/gen/Network/Google/WebSecurityScanner/Types/Product.hs+16−5 gogol-websecurityscanner/gogol-websecurityscanner.cabal+2−2 gogol-youtube-analytics/README.md+1−1 gogol-youtube-analytics/gogol-youtube-analytics.cabal+2−2 gogol-youtube-reporting/README.md+1−1 gogol-youtube-reporting/gogol-youtube-reporting.cabal+2−2 gogol-youtube/README.md+1−1 gogol-youtube/gen/Network/Google/YouTube.hs+19−1 gogol-youtube/gen/Network/Google/YouTube/Types.hs+19−1 gogol-youtube/gen/Network/Google/YouTube/Types/Product.hs+221−35 gogol-youtube/gen/Network/Google/YouTube/Types/Sum.hs+85−13 gogol-youtube/gogol-youtube.cabal+2−2 gogol/gogol.cabal+2−2 stack-8.2.2.yaml+1 stack-8.4.4.yaml+1 stack-8.6.3.yaml+1
.travis.yml+2
@@ -253,6 +253,8 @@ matrix:
253253 addons: { apt: { packages: [ghc-8.2.2], sources: [hvr-ghc] } }
254254 - env: GHCVER=8.2.2 LIBRARY=gogol-groups-settings
255255 addons: { apt: { packages: [ghc-8.2.2], sources: [hvr-ghc] } }
256+ - env: GHCVER=8.2.2 LIBRARY=gogol-healthcare
257+ addons: { apt: { packages: [ghc-8.2.2], sources: [hvr-ghc] } }
256258 - env: GHCVER=8.2.2 LIBRARY=gogol-iam
257259 addons: { apt: { packages: [ghc-8.2.2], sources: [hvr-ghc] } }
258260 - env: GHCVER=8.2.2 LIBRARY=gogol-iamcredentials
core/gogol-core.cabal+1−1
@@ -1,5 +1,5 @@
11name: gogol-core
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Core data types and functionality for Gogol libraries.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
examples/gogol-examples.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-examples
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Basic examples for various gogol libraries.
44homepage: https://github.com/brendanhay/gogol
55license: OtherLicense
@@ -26,7 +26,7 @@ library
2626 , bytestring
2727 , conduit
2828 , conduit-extra
29− , gogol == 0.4.0.*
29+ , gogol == 0.5.0.*
3030 , gogol-core
3131 , gogol-storage
3232 , gogol-sheets
gen/gogol-gen.cabal+1−1
@@ -1,5 +1,5 @@
11name: gogol-gen
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Gogol Code Generator
44homepage: https://github.com/brendanhay/gogol
55license: OtherLicense
gogol-abusiveexperiencereport/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-abusiveexperiencereport/gogol-abusiveexperiencereport.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-abusiveexperiencereport
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Abusive Experience Report SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.AbusiveExperienceReport.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-acceleratedmobilepageurl/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-acceleratedmobilepageurl/gogol-acceleratedmobilepageurl.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-acceleratedmobilepageurl
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Accelerated Mobile Pages (AMP) URL SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -43,5 +43,5 @@ library
4343 , Network.Google.AcceleratedMobilePageURL.Types.Sum
4444
4545 build-depends:
46− gogol-core == 0.4.0.*
46+ gogol-core == 0.5.0.*
4747 , base >= 4.7 && < 5
gogol-accesscontextmanager/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-accesscontextmanager/gen/Network/Google/AccessContextManager/Types/Product.hs+3−3
@@ -1102,10 +1102,10 @@ condition =
11021102 , _cRequiredAccessLevels = Nothing
11031103 }
11041104
1105−-- | The signed-in user originating the request must be a part of one of the
1106−-- provided members. Syntax: \`user:{emailid}\` \`group:{emailid}\`
1105+-- | The request must be made by one of the provided user or service
1106+-- accounts. Groups are not supported. Syntax: \`user:{emailid}\`
11071107-- \`serviceAccount:{emailid}\` If not specified, a request may come from
1108−-- any user (logged in\/not logged in, not present in any groups, etc.).
1108+-- any user.
11091109cMembers :: Lens' Condition [Text]
11101110cMembers
11111111 = lens _cMembers (\ s a -> s{_cMembers = a}) .
gogol-accesscontextmanager/gogol-accesscontextmanager.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-accesscontextmanager
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Access Context Manager SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -58,5 +58,5 @@ library
5858 , Network.Google.AccessContextManager.Types.Sum
5959
6060 build-depends:
61− gogol-core == 0.4.0.*
61+ gogol-core == 0.5.0.*
6262 , base >= 4.7 && < 5
gogol-adexchange-buyer/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-adexchange-buyer/gogol-adexchange-buyer.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-adexchange-buyer
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Ad Exchange Buyer SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -81,5 +81,5 @@ library
8181 , Network.Google.AdExchangeBuyer.Types.Sum
8282
8383 build-depends:
84− gogol-core == 0.4.0.*
84+ gogol-core == 0.5.0.*
8585 , base >= 4.7 && < 5
gogol-adexchange-seller/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-adexchange-seller/gogol-adexchange-seller.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-adexchange-seller
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Ad Exchange Seller SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -56,5 +56,5 @@ library
5656 , Network.Google.AdExchangeSeller.Types.Sum
5757
5858 build-depends:
59− gogol-core == 0.4.0.*
59+ gogol-core == 0.5.0.*
6060 , base >= 4.7 && < 5
gogol-adexchangebuyer2/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-adexchangebuyer2/gen/Network/Google/AdExchangeBuyer2/Types/Product.hs+2−2
@@ -2152,7 +2152,7 @@ instance ToJSON PricePerBuyer where
21522152 ("advertiserIds" .=) <$> _ppbAdvertiserIds,
21532153 ("buyer" .=) <$> _ppbBuyer])
21542154
2155−-- | A creative and its classification data. Next ID: 39
2155+-- | A creative and its classification data. Next ID: 40
21562156--
21572157-- /See:/ 'creative' smart constructor.
21582158data Creative =
@@ -4198,7 +4198,7 @@ pauseProposalRequest
41984198pauseProposalRequest = PauseProposalRequest' {_pprReason = Nothing}
41994199
42004200-- | The reason why the proposal is being paused. This human readable message
4201−-- will be displayed in the seller\'s UI. (Max length: 100 unicode code
4201+-- will be displayed in the seller\'s UI. (Max length: 1000 unicode code
42024202-- units.)
42034203pprReason :: Lens' PauseProposalRequest (Maybe Text)
42044204pprReason
gogol-adexchangebuyer2/gogol-adexchangebuyer2.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-adexchangebuyer2
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Ad Exchange Buyer API II SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -106,5 +106,5 @@ library
106106 , Network.Google.AdExchangeBuyer2.Types.Sum
107107
108108 build-depends:
109− gogol-core == 0.4.0.*
109+ gogol-core == 0.5.0.*
110110 , base >= 4.7 && < 5
gogol-adexperiencereport/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-adexperiencereport/gogol-adexperiencereport.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-adexperiencereport
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Ad Experience Report SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.AdExperienceReport.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-admin-datatransfer/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-admin-datatransfer/gogol-admin-datatransfer.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-admin-datatransfer
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Admin Data Transfer SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@ library
4646 , Network.Google.DataTransfer.Types.Sum
4747
4848 build-depends:
49− gogol-core == 0.4.0.*
49+ gogol-core == 0.5.0.*
5050 , base >= 4.7 && < 5
gogol-admin-directory/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-admin-directory/gen/Network/Google/Directory.hs+23
@@ -679,6 +679,17 @@ module Network.Google.Directory
679679 -- ** UsersListOrderBy
680680 , UsersListOrderBy (..)
681681
682+ -- ** BuildingAddress
683+ , BuildingAddress
684+ , buildingAddress
685+ , baLanguageCode
686+ , baRegionCode
687+ , baSublocality
688+ , baPostalCode
689+ , baLocality
690+ , baAdministrativeArea
691+ , baAddressLines
692+
682693 -- ** Tokens
683694 , Tokens
684695 , tokens
@@ -781,6 +792,9 @@ module Network.Google.Directory
781792 , tokAnonymous
782793 , tokUserKey
783794
795+ -- ** ResourcesBuildingsPatchCoordinatesSource
796+ , ResourcesBuildingsPatchCoordinatesSource (..)
797+
784798 -- ** UserName
785799 , UserName
786800 , userName
@@ -797,6 +811,7 @@ module Network.Google.Directory
797811 , buiEtags
798812 , buiKind
799813 , buiBuildingId
814+ , buiAddress
800815 , buiCoordinates
801816 , buiBuildingName
802817 , buiFloorNames
@@ -852,6 +867,9 @@ module Network.Google.Directory
852867 , chromeOSMoveDevicesToOu
853868 , comdtoDeviceIds
854869
870+ -- ** ResourcesBuildingsUpdateCoordinatesSource
871+ , ResourcesBuildingsUpdateCoordinatesSource (..)
872+
855873 -- ** User
856874 , User
857875 , user
@@ -881,9 +899,11 @@ module Network.Google.Directory
881899 , useIncludeInGlobalAddressList
882900 , useGender
883901 , usePhones
902+ , useRecoveryEmail
884903 , useName
885904 , usePassword
886905 , useEmails
906+ , useRecoveryPhone
887907 , useIms
888908 , useKeywords
889909 , useIsAdmin
@@ -961,6 +981,9 @@ module Network.Google.Directory
961981 -- ** UsersListSortOrder
962982 , UsersListSortOrder (..)
963983
984+ -- ** ResourcesBuildingsInsertCoordinatesSource
985+ , ResourcesBuildingsInsertCoordinatesSource (..)
986+
964987 -- ** OrgUnits
965988 , OrgUnits
966989 , orgUnits
gogol-admin-directory/gen/Network/Google/Directory/Types.hs+23
@@ -330,6 +330,17 @@ module Network.Google.Directory.Types
330330 -- * UsersListOrderBy
331331 , UsersListOrderBy (..)
332332
333+ -- * BuildingAddress
334+ , BuildingAddress
335+ , buildingAddress
336+ , baLanguageCode
337+ , baRegionCode
338+ , baSublocality
339+ , baPostalCode
340+ , baLocality
341+ , baAdministrativeArea
342+ , baAddressLines
343+
333344 -- * Tokens
334345 , Tokens
335346 , tokens
@@ -432,6 +443,9 @@ module Network.Google.Directory.Types
432443 , tokAnonymous
433444 , tokUserKey
434445
446+ -- * ResourcesBuildingsPatchCoordinatesSource
447+ , ResourcesBuildingsPatchCoordinatesSource (..)
448+
435449 -- * UserName
436450 , UserName
437451 , userName
@@ -448,6 +462,7 @@ module Network.Google.Directory.Types
448462 , buiEtags
449463 , buiKind
450464 , buiBuildingId
465+ , buiAddress
451466 , buiCoordinates
452467 , buiBuildingName
453468 , buiFloorNames
@@ -503,6 +518,9 @@ module Network.Google.Directory.Types
503518 , chromeOSMoveDevicesToOu
504519 , comdtoDeviceIds
505520
521+ -- * ResourcesBuildingsUpdateCoordinatesSource
522+ , ResourcesBuildingsUpdateCoordinatesSource (..)
523+
506524 -- * User
507525 , User
508526 , user
@@ -532,9 +550,11 @@ module Network.Google.Directory.Types
532550 , useIncludeInGlobalAddressList
533551 , useGender
534552 , usePhones
553+ , useRecoveryEmail
535554 , useName
536555 , usePassword
537556 , useEmails
557+ , useRecoveryPhone
538558 , useIms
539559 , useKeywords
540560 , useIsAdmin
@@ -612,6 +632,9 @@ module Network.Google.Directory.Types
612632 -- * UsersListSortOrder
613633 , UsersListSortOrder (..)
614634
635+ -- * ResourcesBuildingsInsertCoordinatesSource
636+ , ResourcesBuildingsInsertCoordinatesSource (..)
637+
615638 -- * OrgUnits
616639 , OrgUnits
617640 , orgUnits
gogol-admin-directory/gen/Network/Google/Directory/Types/Product.hs+189−2
@@ -2456,6 +2456,156 @@ instance ToJSON UserIm where
24562456 ("type" .=) <$> _uiType,
24572457 ("customType" .=) <$> _uiCustomType])
24582458
2459+-- | JSON template for the postal address of a building in Directory API.
2460+--
2461+-- /See:/ 'buildingAddress' smart constructor.
2462+data BuildingAddress =
2463+ BuildingAddress'
2464+ { _baLanguageCode :: !(Maybe Text)
2465+ , _baRegionCode :: !(Maybe Text)
2466+ , _baSublocality :: !(Maybe Text)
2467+ , _baPostalCode :: !(Maybe Text)
2468+ , _baLocality :: !(Maybe Text)
2469+ , _baAdministrativeArea :: !(Maybe Text)
2470+ , _baAddressLines :: !(Maybe [Text])
2471+ }
2472+ deriving (Eq, Show, Data, Typeable, Generic)
2473+
2474+-- | Creates a value of 'BuildingAddress' with the minimum fields required to make a request.
2475+--
2476+-- Use one of the following lenses to modify other fields as desired:
2477+--
2478+-- * 'baLanguageCode'
2479+--
2480+-- * 'baRegionCode'
2481+--
2482+-- * 'baSublocality'
2483+--
2484+-- * 'baPostalCode'
2485+--
2486+-- * 'baLocality'
2487+--
2488+-- * 'baAdministrativeArea'
2489+--
2490+-- * 'baAddressLines'
2491+buildingAddress
2492+ :: BuildingAddress
2493+buildingAddress =
2494+ BuildingAddress'
2495+ { _baLanguageCode = Nothing
2496+ , _baRegionCode = Nothing
2497+ , _baSublocality = Nothing
2498+ , _baPostalCode = Nothing
2499+ , _baLocality = Nothing
2500+ , _baAdministrativeArea = Nothing
2501+ , _baAddressLines = Nothing
2502+ }
2503+
2504+-- | Optional. BCP-47 language code of the contents of this address (if
2505+-- known). This is often the UI language of the input form or is expected
2506+-- to match one of the languages used in the address\' country\/region, or
2507+-- their transliterated equivalents. This can affect formatting in certain
2508+-- countries, but is not critical to the correctness of the data and will
2509+-- never affect any validation or other non-formatting related operations.
2510+-- If this value is not known, it should be omitted (rather than specifying
2511+-- a possibly incorrect default). Examples: \"zh-Hant\", \"ja\",
2512+-- \"ja-Latn\", \"en\".
2513+baLanguageCode :: Lens' BuildingAddress (Maybe Text)
2514+baLanguageCode
2515+ = lens _baLanguageCode
2516+ (\ s a -> s{_baLanguageCode = a})
2517+
2518+-- | Required. CLDR region code of the country\/region of the address. This
2519+-- is never inferred and it is up to the user to ensure the value is
2520+-- correct. See http:\/\/cldr.unicode.org\/ and
2521+-- http:\/\/www.unicode.org\/cldr\/charts\/30\/supplemental\/territory_information.html
2522+baRegionCode :: Lens' BuildingAddress (Maybe Text)
2523+baRegionCode
2524+ = lens _baRegionCode (\ s a -> s{_baRegionCode = a})
2525+
2526+-- | Optional. Sublocality of the address. For example, this can be
2527+-- neighborhoods, boroughs, districts.
2528+baSublocality :: Lens' BuildingAddress (Maybe Text)
2529+baSublocality
2530+ = lens _baSublocality
2531+ (\ s a -> s{_baSublocality = a})
2532+
2533+-- | Optional. Postal code of the address. Not all countries use or require
2534+-- postal codes to be present, but where they are used, they may trigger
2535+-- additional validation with other parts of the address (e.g. state\/zip
2536+-- validation in the U.S.A.).
2537+baPostalCode :: Lens' BuildingAddress (Maybe Text)
2538+baPostalCode
2539+ = lens _baPostalCode (\ s a -> s{_baPostalCode = a})
2540+
2541+-- | Optional. Generally refers to the city\/town portion of the address.
2542+-- Examples: US city, IT comune, UK post town. In regions of the world
2543+-- where localities are not well defined or do not fit into this structure
2544+-- well, leave locality empty and use addressLines.
2545+baLocality :: Lens' BuildingAddress (Maybe Text)
2546+baLocality
2547+ = lens _baLocality (\ s a -> s{_baLocality = a})
2548+
2549+-- | Optional. Highest administrative subdivision which is used for postal
2550+-- addresses of a country or region. For example, this can be a state, a
2551+-- province, an oblast, or a prefecture. Specifically, for Spain this is
2552+-- the province and not the autonomous community (e.g. \"Barcelona\" and
2553+-- not \"Catalonia\"). Many countries don\'t use an administrative area in
2554+-- postal addresses. E.g. in Switzerland this should be left unpopulated.
2555+baAdministrativeArea :: Lens' BuildingAddress (Maybe Text)
2556+baAdministrativeArea
2557+ = lens _baAdministrativeArea
2558+ (\ s a -> s{_baAdministrativeArea = a})
2559+
2560+-- | Unstructured address lines describing the lower levels of an address.
2561+-- Because values in addressLines do not have type information and may
2562+-- sometimes contain multiple values in a single field (e.g. \"Austin,
2563+-- TX\"), it is important that the line order is clear. The order of
2564+-- address lines should be \"envelope order\" for the country\/region of
2565+-- the address. In places where this can vary (e.g. Japan),
2566+-- address_language is used to make it explicit (e.g. \"ja\" for
2567+-- large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large).
2568+-- This way, the most specific line of an address can be selected based on
2569+-- the language. The minimum permitted structural representation of an
2570+-- address consists of a regionCode with all remaining information placed
2571+-- in the addressLines. It would be possible to format such an address very
2572+-- approximately without geocoding, but no semantic reasoning could be made
2573+-- about any of the address components until it was at least partially
2574+-- resolved. Creating an address only containing a regionCode and
2575+-- addressLines, and then geocoding is the recommended way to handle
2576+-- completely unstructured addresses (as opposed to guessing which parts of
2577+-- the address should be localities or administrative areas).
2578+baAddressLines :: Lens' BuildingAddress [Text]
2579+baAddressLines
2580+ = lens _baAddressLines
2581+ (\ s a -> s{_baAddressLines = a})
2582+ . _Default
2583+ . _Coerce
2584+
2585+instance FromJSON BuildingAddress where
2586+ parseJSON
2587+ = withObject "BuildingAddress"
2588+ (\ o ->
2589+ BuildingAddress' <$>
2590+ (o .:? "languageCode") <*> (o .:? "regionCode") <*>
2591+ (o .:? "sublocality")
2592+ <*> (o .:? "postalCode")
2593+ <*> (o .:? "locality")
2594+ <*> (o .:? "administrativeArea")
2595+ <*> (o .:? "addressLines" .!= mempty))
2596+
2597+instance ToJSON BuildingAddress where
2598+ toJSON BuildingAddress'{..}
2599+ = object
2600+ (catMaybes
2601+ [("languageCode" .=) <$> _baLanguageCode,
2602+ ("regionCode" .=) <$> _baRegionCode,
2603+ ("sublocality" .=) <$> _baSublocality,
2604+ ("postalCode" .=) <$> _baPostalCode,
2605+ ("locality" .=) <$> _baLocality,
2606+ ("administrativeArea" .=) <$> _baAdministrativeArea,
2607+ ("addressLines" .=) <$> _baAddressLines])
2608+
24592609-- | JSON response template for List tokens operation in Directory API.
24602610--
24612611-- /See:/ 'tokens' smart constructor.
@@ -3429,6 +3579,7 @@ data Building =
34293579 { _buiEtags :: !(Maybe Text)
34303580 , _buiKind :: !Text
34313581 , _buiBuildingId :: !(Maybe Text)
3582+ , _buiAddress :: !(Maybe BuildingAddress)
34323583 , _buiCoordinates :: !(Maybe BuildingCoordinates)
34333584 , _buiBuildingName :: !(Maybe Text)
34343585 , _buiFloorNames :: !(Maybe [Text])
@@ -3446,6 +3597,8 @@ data Building =
34463597--
34473598-- * 'buiBuildingId'
34483599--
3600+-- * 'buiAddress'
3601+--
34493602-- * 'buiCoordinates'
34503603--
34513604-- * 'buiBuildingName'
@@ -3460,6 +3613,7 @@ building =
34603613 { _buiEtags = Nothing
34613614 , _buiKind = "admin#directory#resources#buildings#Building"
34623615 , _buiBuildingId = Nothing
3616+ , _buiAddress = Nothing
34633617 , _buiCoordinates = Nothing
34643618 , _buiBuildingName = Nothing
34653619 , _buiFloorNames = Nothing
@@ -3481,6 +3635,12 @@ buiBuildingId
34813635 = lens _buiBuildingId
34823636 (\ s a -> s{_buiBuildingId = a})
34833637
3638+-- | The postal address of the building. See PostalAddress for details. Note
3639+-- that only a single address line and region code are required.
3640+buiAddress :: Lens' Building (Maybe BuildingAddress)
3641+buiAddress
3642+ = lens _buiAddress (\ s a -> s{_buiAddress = a})
3643+
34843644-- | The geographic coordinates of the center of the building, expressed as
34853645-- latitude and longitude in decimal degrees.
34863646buiCoordinates :: Lens' Building (Maybe BuildingCoordinates)
@@ -3522,6 +3682,7 @@ instance FromJSON Building where
35223682 (o .:? "kind" .!=
35233683 "admin#directory#resources#buildings#Building")
35243684 <*> (o .:? "buildingId")
3685+ <*> (o .:? "address")
35253686 <*> (o .:? "coordinates")
35263687 <*> (o .:? "buildingName")
35273688 <*> (o .:? "floorNames" .!= mempty)
@@ -3534,6 +3695,7 @@ instance ToJSON Building where
35343695 [("etags" .=) <$> _buiEtags,
35353696 Just ("kind" .= _buiKind),
35363697 ("buildingId" .=) <$> _buiBuildingId,
3698+ ("address" .=) <$> _buiAddress,
35373699 ("coordinates" .=) <$> _buiCoordinates,
35383700 ("buildingName" .=) <$> _buiBuildingName,
35393701 ("floorNames" .=) <$> _buiFloorNames,
@@ -3981,9 +4143,11 @@ data User =
39814143 , _useIncludeInGlobalAddressList :: !(Maybe Bool)
39824144 , _useGender :: !(Maybe JSONValue)
39834145 , _usePhones :: !(Maybe JSONValue)
4146+ , _useRecoveryEmail :: !(Maybe Text)
39844147 , _useName :: !(Maybe UserName)
39854148 , _usePassword :: !(Maybe Text)
39864149 , _useEmails :: !(Maybe JSONValue)
4150+ , _useRecoveryPhone :: !(Maybe Text)
39874151 , _useIms :: !(Maybe JSONValue)
39884152 , _useKeywords :: !(Maybe JSONValue)
39894153 , _useIsAdmin :: !(Maybe Bool)
@@ -4058,12 +4222,16 @@ data User =
40584222--
40594223-- * 'usePhones'
40604224--
4225+-- * 'useRecoveryEmail'
4226+--
40614227-- * 'useName'
40624228--
40634229-- * 'usePassword'
40644230--
40654231-- * 'useEmails'
40664232--
4233+-- * 'useRecoveryPhone'
4234+--
40674235-- * 'useIms'
40684236--
40694237-- * 'useKeywords'
@@ -4123,9 +4291,11 @@ user =
41234291 , _useIncludeInGlobalAddressList = Nothing
41244292 , _useGender = Nothing
41254293 , _usePhones = Nothing
4294+ , _useRecoveryEmail = Nothing
41264295 , _useName = Nothing
41274296 , _usePassword = Nothing
41284297 , _useEmails = Nothing
4298+ , _useRecoveryPhone = Nothing
41294299 , _useIms = Nothing
41304300 , _useKeywords = Nothing
41314301 , _useIsAdmin = Nothing
@@ -4284,6 +4454,12 @@ usePhones :: Lens' User (Maybe JSONValue)
42844454usePhones
42854455 = lens _usePhones (\ s a -> s{_usePhones = a})
42864456
4457+-- | Recovery email of the user.
4458+useRecoveryEmail :: Lens' User (Maybe Text)
4459+useRecoveryEmail
4460+ = lens _useRecoveryEmail
4461+ (\ s a -> s{_useRecoveryEmail = a})
4462+
42874463-- | User\'s name
42884464useName :: Lens' User (Maybe UserName)
42894465useName = lens _useName (\ s a -> s{_useName = a})
@@ -4297,6 +4473,12 @@ useEmails :: Lens' User (Maybe JSONValue)
42974473useEmails
42984474 = lens _useEmails (\ s a -> s{_useEmails = a})
42994475
4476+-- | Recovery phone of the user.
4477+useRecoveryPhone :: Lens' User (Maybe Text)
4478+useRecoveryPhone
4479+ = lens _useRecoveryPhone
4480+ (\ s a -> s{_useRecoveryPhone = a})
4481+
43004482useIms :: Lens' User (Maybe JSONValue)
43014483useIms = lens _useIms (\ s a -> s{_useIms = a})
43024484
@@ -4402,9 +4584,11 @@ instance FromJSON User where
44024584 <*> (o .:? "includeInGlobalAddressList")
44034585 <*> (o .:? "gender")
44044586 <*> (o .:? "phones")
4587+ <*> (o .:? "recoveryEmail")
44054588 <*> (o .:? "name")
44064589 <*> (o .:? "password")
44074590 <*> (o .:? "emails")
4591+ <*> (o .:? "recoveryPhone")
44084592 <*> (o .:? "ims")
44094593 <*> (o .:? "keywords")
44104594 <*> (o .:? "isAdmin")
@@ -4453,9 +4637,12 @@ instance ToJSON User where
44534637 _useIncludeInGlobalAddressList,
44544638 ("gender" .=) <$> _useGender,
44554639 ("phones" .=) <$> _usePhones,
4640+ ("recoveryEmail" .=) <$> _useRecoveryEmail,
44564641 ("name" .=) <$> _useName,
44574642 ("password" .=) <$> _usePassword,
4458− ("emails" .=) <$> _useEmails, ("ims" .=) <$> _useIms,
4643+ ("emails" .=) <$> _useEmails,
4644+ ("recoveryPhone" .=) <$> _useRecoveryPhone,
4645+ ("ims" .=) <$> _useIms,
44594646 ("keywords" .=) <$> _useKeywords,
44604647 ("isAdmin" .=) <$> _useIsAdmin,
44614648 ("isEnrolledIn2Sv" .=) <$> _useIsEnrolledIn2Sv,
@@ -6215,7 +6402,7 @@ upaPrimary :: Lens' UserPosixAccount (Maybe Bool)
62156402upaPrimary
62166403 = lens _upaPrimary (\ s a -> s{_upaPrimary = a})
62176404
6218−-- | A POSIX account field identifier. (Read-only)
6405+-- | A POSIX account field identifier.
62196406upaAccountId :: Lens' UserPosixAccount (Maybe Text)
62206407upaAccountId
62216408 = lens _upaAccountId (\ s a -> s{_upaAccountId = a})
gogol-admin-directory/gen/Network/Google/Directory/Types/Sum.hs+108
@@ -370,6 +370,42 @@ instance FromJSON GroupsListOrderBy where
370370instance ToJSON GroupsListOrderBy where
371371 toJSON = toJSONText
372372
373+-- | Source from which Building.coordinates are derived.
374+data ResourcesBuildingsPatchCoordinatesSource
375+ = ClientSpecified
376+ -- ^ @CLIENT_SPECIFIED@
377+ -- Building.coordinates are set to the coordinates included in the request.
378+ | ResolvedFromAddress
379+ -- ^ @RESOLVED_FROM_ADDRESS@
380+ -- Building.coordinates are automatically populated based on the postal
381+ -- address.
382+ | SourceUnspecified
383+ -- ^ @SOURCE_UNSPECIFIED@
384+ -- Defaults to RESOLVED_FROM_ADDRESS if postal address is provided.
385+ -- Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided.
386+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
387+
388+instance Hashable ResourcesBuildingsPatchCoordinatesSource
389+
390+instance FromHttpApiData ResourcesBuildingsPatchCoordinatesSource where
391+ parseQueryParam = \case
392+ "CLIENT_SPECIFIED" -> Right ClientSpecified
393+ "RESOLVED_FROM_ADDRESS" -> Right ResolvedFromAddress
394+ "SOURCE_UNSPECIFIED" -> Right SourceUnspecified
395+ x -> Left ("Unable to parse ResourcesBuildingsPatchCoordinatesSource from: " <> x)
396+
397+instance ToHttpApiData ResourcesBuildingsPatchCoordinatesSource where
398+ toQueryParam = \case
399+ ClientSpecified -> "CLIENT_SPECIFIED"
400+ ResolvedFromAddress -> "RESOLVED_FROM_ADDRESS"
401+ SourceUnspecified -> "SOURCE_UNSPECIFIED"
402+
403+instance FromJSON ResourcesBuildingsPatchCoordinatesSource where
404+ parseJSON = parseJSONText "ResourcesBuildingsPatchCoordinatesSource"
405+
406+instance ToJSON ResourcesBuildingsPatchCoordinatesSource where
407+ toJSON = toJSONText
408+
373409-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
374410data UsersWatchViewType
375411 = UWVTAdminView
@@ -433,6 +469,42 @@ instance FromJSON UsersGetProjection where
433469instance ToJSON UsersGetProjection where
434470 toJSON = toJSONText
435471
472+-- | Source from which Building.coordinates are derived.
473+data ResourcesBuildingsUpdateCoordinatesSource
474+ = RBUCSClientSpecified
475+ -- ^ @CLIENT_SPECIFIED@
476+ -- Building.coordinates are set to the coordinates included in the request.
477+ | RBUCSResolvedFromAddress
478+ -- ^ @RESOLVED_FROM_ADDRESS@
479+ -- Building.coordinates are automatically populated based on the postal
480+ -- address.
481+ | RBUCSSourceUnspecified
482+ -- ^ @SOURCE_UNSPECIFIED@
483+ -- Defaults to RESOLVED_FROM_ADDRESS if postal address is provided.
484+ -- Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided.
485+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
486+
487+instance Hashable ResourcesBuildingsUpdateCoordinatesSource
488+
489+instance FromHttpApiData ResourcesBuildingsUpdateCoordinatesSource where
490+ parseQueryParam = \case
491+ "CLIENT_SPECIFIED" -> Right RBUCSClientSpecified
492+ "RESOLVED_FROM_ADDRESS" -> Right RBUCSResolvedFromAddress
493+ "SOURCE_UNSPECIFIED" -> Right RBUCSSourceUnspecified
494+ x -> Left ("Unable to parse ResourcesBuildingsUpdateCoordinatesSource from: " <> x)
495+
496+instance ToHttpApiData ResourcesBuildingsUpdateCoordinatesSource where
497+ toQueryParam = \case
498+ RBUCSClientSpecified -> "CLIENT_SPECIFIED"
499+ RBUCSResolvedFromAddress -> "RESOLVED_FROM_ADDRESS"
500+ RBUCSSourceUnspecified -> "SOURCE_UNSPECIFIED"
501+
502+instance FromJSON ResourcesBuildingsUpdateCoordinatesSource where
503+ parseJSON = parseJSONText "ResourcesBuildingsUpdateCoordinatesSource"
504+
505+instance ToJSON ResourcesBuildingsUpdateCoordinatesSource where
506+ toJSON = toJSONText
507+
436508-- | Restrict information returned to a set of selected fields.
437509data MobileDevicesListProjection
438510 = MDLPBasic
@@ -551,6 +623,42 @@ instance FromJSON UsersListSortOrder where
551623instance ToJSON UsersListSortOrder where
552624 toJSON = toJSONText
553625
626+-- | Source from which Building.coordinates are derived.
627+data ResourcesBuildingsInsertCoordinatesSource
628+ = RBICSClientSpecified
629+ -- ^ @CLIENT_SPECIFIED@
630+ -- Building.coordinates are set to the coordinates included in the request.
631+ | RBICSResolvedFromAddress
632+ -- ^ @RESOLVED_FROM_ADDRESS@
633+ -- Building.coordinates are automatically populated based on the postal
634+ -- address.
635+ | RBICSSourceUnspecified
636+ -- ^ @SOURCE_UNSPECIFIED@
637+ -- Defaults to RESOLVED_FROM_ADDRESS if postal address is provided.
638+ -- Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided.
639+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
640+
641+instance Hashable ResourcesBuildingsInsertCoordinatesSource
642+
643+instance FromHttpApiData ResourcesBuildingsInsertCoordinatesSource where
644+ parseQueryParam = \case
645+ "CLIENT_SPECIFIED" -> Right RBICSClientSpecified
646+ "RESOLVED_FROM_ADDRESS" -> Right RBICSResolvedFromAddress
647+ "SOURCE_UNSPECIFIED" -> Right RBICSSourceUnspecified
648+ x -> Left ("Unable to parse ResourcesBuildingsInsertCoordinatesSource from: " <> x)
649+
650+instance ToHttpApiData ResourcesBuildingsInsertCoordinatesSource where
651+ toQueryParam = \case
652+ RBICSClientSpecified -> "CLIENT_SPECIFIED"
653+ RBICSResolvedFromAddress -> "RESOLVED_FROM_ADDRESS"
654+ RBICSSourceUnspecified -> "SOURCE_UNSPECIFIED"
655+
656+instance FromJSON ResourcesBuildingsInsertCoordinatesSource where
657+ parseJSON = parseJSONText "ResourcesBuildingsInsertCoordinatesSource"
658+
659+instance ToJSON ResourcesBuildingsInsertCoordinatesSource where
660+ toJSON = toJSONText
661+
554662-- | Whether to return results in ascending or descending order. Only of use
555663-- when orderBy is also used
556664data ChromeosDevicesListSortOrder
gogol-admin-directory/gen/Network/Google/Resource/Directory/Resources/Buildings/Insert.hs+24−6
@@ -35,6 +35,7 @@ module Network.Google.Resource.Directory.Resources.Buildings.Insert
3535 -- * Request Lenses
3636 , rbiPayload
3737 , rbiCustomer
38+ , rbiCoordinatesSource
3839 ) where
3940
4041import Network.Google.Directory.Types
@@ -50,16 +51,20 @@ type ResourcesBuildingsInsertResource =
5051 Capture "customer" Text :>
5152 "resources" :>
5253 "buildings" :>
53− QueryParam "alt" AltJSON :>
54− ReqBody '[JSON] Building :> Post '[JSON] Building
54+ QueryParam "coordinatesSource"
55+ ResourcesBuildingsInsertCoordinatesSource
56+ :>
57+ QueryParam "alt" AltJSON :>
58+ ReqBody '[JSON] Building :> Post '[JSON] Building
5559
5660-- | Inserts a building.
5761--
5862-- /See:/ 'resourcesBuildingsInsert' smart constructor.
5963data ResourcesBuildingsInsert =
6064 ResourcesBuildingsInsert'
61− { _rbiPayload :: !Building
62− , _rbiCustomer :: !Text
65+ { _rbiPayload :: !Building
66+ , _rbiCustomer :: !Text
67+ , _rbiCoordinatesSource :: !ResourcesBuildingsInsertCoordinatesSource
6368 }
6469 deriving (Eq, Show, Data, Typeable, Generic)
6570
@@ -70,13 +75,18 @@ data ResourcesBuildingsInsert =
7075-- * 'rbiPayload'
7176--
7277-- * 'rbiCustomer'
78+--
79+-- * 'rbiCoordinatesSource'
7380resourcesBuildingsInsert
7481 :: Building -- ^ 'rbiPayload'
7582 -> Text -- ^ 'rbiCustomer'
7683 -> ResourcesBuildingsInsert
7784resourcesBuildingsInsert pRbiPayload_ pRbiCustomer_ =
7885 ResourcesBuildingsInsert'
79− {_rbiPayload = pRbiPayload_, _rbiCustomer = pRbiCustomer_}
86+ { _rbiPayload = pRbiPayload_
87+ , _rbiCustomer = pRbiCustomer_
88+ , _rbiCoordinatesSource = RBICSSourceUnspecified
89+ }
8090
8191-- | Multipart request metadata.
8292rbiPayload :: Lens' ResourcesBuildingsInsert Building
@@ -90,12 +100,20 @@ rbiCustomer :: Lens' ResourcesBuildingsInsert Text
90100rbiCustomer
91101 = lens _rbiCustomer (\ s a -> s{_rbiCustomer = a})
92102
103+-- | Source from which Building.coordinates are derived.
104+rbiCoordinatesSource :: Lens' ResourcesBuildingsInsert ResourcesBuildingsInsertCoordinatesSource
105+rbiCoordinatesSource
106+ = lens _rbiCoordinatesSource
107+ (\ s a -> s{_rbiCoordinatesSource = a})
108+
93109instance GoogleRequest ResourcesBuildingsInsert where
94110 type Rs ResourcesBuildingsInsert = Building
95111 type Scopes ResourcesBuildingsInsert =
96112 '["https://www.googleapis.com/auth/admin.directory.resource.calendar"]
97113 requestClient ResourcesBuildingsInsert'{..}
98− = go _rbiCustomer (Just AltJSON) _rbiPayload
114+ = go _rbiCustomer (Just _rbiCoordinatesSource)
115+ (Just AltJSON)
116+ _rbiPayload
99117 directoryService
100118 where go
101119 = buildClient
gogol-admin-directory/gen/Network/Google/Resource/Directory/Resources/Buildings/Patch.hs+22−6
@@ -36,6 +36,7 @@ module Network.Google.Resource.Directory.Resources.Buildings.Patch
3636 , rbpBuildingId
3737 , rbpPayload
3838 , rbpCustomer
39+ , rbpCoordinatesSource
3940 ) where
4041
4142import Network.Google.Directory.Types
@@ -52,17 +53,21 @@ type ResourcesBuildingsPatchResource =
5253 "resources" :>
5354 "buildings" :>
5455 Capture "buildingId" Text :>
55− QueryParam "alt" AltJSON :>
56− ReqBody '[JSON] Building :> Patch '[JSON] Building
56+ QueryParam "coordinatesSource"
57+ ResourcesBuildingsPatchCoordinatesSource
58+ :>
59+ QueryParam "alt" AltJSON :>
60+ ReqBody '[JSON] Building :> Patch '[JSON] Building
5761
5862-- | Updates a building. This method supports patch semantics.
5963--
6064-- /See:/ 'resourcesBuildingsPatch' smart constructor.
6165data ResourcesBuildingsPatch =
6266 ResourcesBuildingsPatch'
63− { _rbpBuildingId :: !Text
64− , _rbpPayload :: !Building
65− , _rbpCustomer :: !Text
67+ { _rbpBuildingId :: !Text
68+ , _rbpPayload :: !Building
69+ , _rbpCustomer :: !Text
70+ , _rbpCoordinatesSource :: !ResourcesBuildingsPatchCoordinatesSource
6671 }
6772 deriving (Eq, Show, Data, Typeable, Generic)
6873
@@ -75,6 +80,8 @@ data ResourcesBuildingsPatch =
7580-- * 'rbpPayload'
7681--
7782-- * 'rbpCustomer'
83+--
84+-- * 'rbpCoordinatesSource'
7885resourcesBuildingsPatch
7986 :: Text -- ^ 'rbpBuildingId'
8087 -> Building -- ^ 'rbpPayload'
@@ -85,6 +92,7 @@ resourcesBuildingsPatch pRbpBuildingId_ pRbpPayload_ pRbpCustomer_ =
8592 { _rbpBuildingId = pRbpBuildingId_
8693 , _rbpPayload = pRbpPayload_
8794 , _rbpCustomer = pRbpCustomer_
95+ , _rbpCoordinatesSource = SourceUnspecified
8896 }
8997
9098-- | The ID of the building to update.
@@ -105,12 +113,20 @@ rbpCustomer :: Lens' ResourcesBuildingsPatch Text
105113rbpCustomer
106114 = lens _rbpCustomer (\ s a -> s{_rbpCustomer = a})
107115
116+-- | Source from which Building.coordinates are derived.
117+rbpCoordinatesSource :: Lens' ResourcesBuildingsPatch ResourcesBuildingsPatchCoordinatesSource
118+rbpCoordinatesSource
119+ = lens _rbpCoordinatesSource
120+ (\ s a -> s{_rbpCoordinatesSource = a})
121+
108122instance GoogleRequest ResourcesBuildingsPatch where
109123 type Rs ResourcesBuildingsPatch = Building
110124 type Scopes ResourcesBuildingsPatch =
111125 '["https://www.googleapis.com/auth/admin.directory.resource.calendar"]
112126 requestClient ResourcesBuildingsPatch'{..}
113− = go _rbpCustomer _rbpBuildingId (Just AltJSON)
127+ = go _rbpCustomer _rbpBuildingId
128+ (Just _rbpCoordinatesSource)
129+ (Just AltJSON)
114130 _rbpPayload
115131 directoryService
116132 where go
gogol-admin-directory/gen/Network/Google/Resource/Directory/Resources/Buildings/Update.hs+22−6
@@ -36,6 +36,7 @@ module Network.Google.Resource.Directory.Resources.Buildings.Update
3636 , rbuBuildingId
3737 , rbuPayload
3838 , rbuCustomer
39+ , rbuCoordinatesSource
3940 ) where
4041
4142import Network.Google.Directory.Types
@@ -52,17 +53,21 @@ type ResourcesBuildingsUpdateResource =
5253 "resources" :>
5354 "buildings" :>
5455 Capture "buildingId" Text :>
55− QueryParam "alt" AltJSON :>
56− ReqBody '[JSON] Building :> Put '[JSON] Building
56+ QueryParam "coordinatesSource"
57+ ResourcesBuildingsUpdateCoordinatesSource
58+ :>
59+ QueryParam "alt" AltJSON :>
60+ ReqBody '[JSON] Building :> Put '[JSON] Building
5761
5862-- | Updates a building.
5963--
6064-- /See:/ 'resourcesBuildingsUpdate' smart constructor.
6165data ResourcesBuildingsUpdate =
6266 ResourcesBuildingsUpdate'
63− { _rbuBuildingId :: !Text
64− , _rbuPayload :: !Building
65− , _rbuCustomer :: !Text
67+ { _rbuBuildingId :: !Text
68+ , _rbuPayload :: !Building
69+ , _rbuCustomer :: !Text
70+ , _rbuCoordinatesSource :: !ResourcesBuildingsUpdateCoordinatesSource
6671 }
6772 deriving (Eq, Show, Data, Typeable, Generic)
6873
@@ -75,6 +80,8 @@ data ResourcesBuildingsUpdate =
7580-- * 'rbuPayload'
7681--
7782-- * 'rbuCustomer'
83+--
84+-- * 'rbuCoordinatesSource'
7885resourcesBuildingsUpdate
7986 :: Text -- ^ 'rbuBuildingId'
8087 -> Building -- ^ 'rbuPayload'
@@ -85,6 +92,7 @@ resourcesBuildingsUpdate pRbuBuildingId_ pRbuPayload_ pRbuCustomer_ =
8592 { _rbuBuildingId = pRbuBuildingId_
8693 , _rbuPayload = pRbuPayload_
8794 , _rbuCustomer = pRbuCustomer_
95+ , _rbuCoordinatesSource = RBUCSSourceUnspecified
8896 }
8997
9098-- | The ID of the building to update.
@@ -105,12 +113,20 @@ rbuCustomer :: Lens' ResourcesBuildingsUpdate Text
105113rbuCustomer
106114 = lens _rbuCustomer (\ s a -> s{_rbuCustomer = a})
107115
116+-- | Source from which Building.coordinates are derived.
117+rbuCoordinatesSource :: Lens' ResourcesBuildingsUpdate ResourcesBuildingsUpdateCoordinatesSource
118+rbuCoordinatesSource
119+ = lens _rbuCoordinatesSource
120+ (\ s a -> s{_rbuCoordinatesSource = a})
121+
108122instance GoogleRequest ResourcesBuildingsUpdate where
109123 type Rs ResourcesBuildingsUpdate = Building
110124 type Scopes ResourcesBuildingsUpdate =
111125 '["https://www.googleapis.com/auth/admin.directory.resource.calendar"]
112126 requestClient ResourcesBuildingsUpdate'{..}
113− = go _rbuCustomer _rbuBuildingId (Just AltJSON)
127+ = go _rbuCustomer _rbuBuildingId
128+ (Just _rbuCoordinatesSource)
129+ (Just AltJSON)
114130 _rbuPayload
115131 directoryService
116132 where go
gogol-admin-directory/gogol-admin-directory.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-admin-directory
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Admin Directory SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -155,5 +155,5 @@ library
155155 , Network.Google.Directory.Types.Sum
156156
157157 build-depends:
158− gogol-core == 0.4.0.*
158+ gogol-core == 0.5.0.*
159159 , base >= 4.7 && < 5
gogol-admin-reports/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-admin-reports/gogol-admin-reports.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-admin-reports
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Admin Reports SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -48,5 +48,5 @@ library
4848 , Network.Google.Reports.Types.Sum
4949
5050 build-depends:
51− gogol-core == 0.4.0.*
51+ gogol-core == 0.5.0.*
5252 , base >= 4.7 && < 5
gogol-adsense-host/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-adsense-host/gogol-adsense-host.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-adsense-host
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google AdSense Host SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -72,5 +72,5 @@ library
7272 , Network.Google.AdSenseHost.Types.Sum
7373
7474 build-depends:
75− gogol-core == 0.4.0.*
75+ gogol-core == 0.5.0.*
7676 , base >= 4.7 && < 5
gogol-adsense/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-adsense/gogol-adsense.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-adsense
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google AdSense Management SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -81,5 +81,5 @@ library
8181 , Network.Google.AdSense.Types.Sum
8282
8383 build-depends:
84− gogol-core == 0.4.0.*
84+ gogol-core == 0.5.0.*
8585 , base >= 4.7 && < 5
gogol-alertcenter/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-alertcenter/gen/Network/Google/AlertCenter.hs+12
@@ -194,6 +194,13 @@ module Network.Google.AlertCenter
194194 , attachment
195195 , aCSV
196196
197+ -- ** RequestInfo
198+ , RequestInfo
199+ , requestInfo
200+ , riNumberOfRequests
201+ , riAppDeveloperEmail
202+ , riAppName
203+
197204 -- ** GoogleOperations
198205 , GoogleOperations
199206 , googleOperations
@@ -214,6 +221,11 @@ module Network.Google.AlertCenter
214221 -- ** Xgafv
215222 , Xgafv (..)
216223
224+ -- ** AppMakerSQLSetupNotification
225+ , AppMakerSQLSetupNotification
226+ , appMakerSQLSetupNotification
227+ , amsqlsnRequestInfo
228+
217229 -- ** DomainWideTakeoutInitiated
218230 , DomainWideTakeoutInitiated
219231 , domainWideTakeoutInitiated
gogol-alertcenter/gen/Network/Google/AlertCenter/Types.hs+12
@@ -161,6 +161,13 @@ module Network.Google.AlertCenter.Types
161161 , attachment
162162 , aCSV
163163
164+ -- * RequestInfo
165+ , RequestInfo
166+ , requestInfo
167+ , riNumberOfRequests
168+ , riAppDeveloperEmail
169+ , riAppName
170+
164171 -- * GoogleOperations
165172 , GoogleOperations
166173 , googleOperations
@@ -181,6 +188,11 @@ module Network.Google.AlertCenter.Types
181188 -- * Xgafv
182189 , Xgafv (..)
183190
191+ -- * AppMakerSQLSetupNotification
192+ , AppMakerSQLSetupNotification
193+ , appMakerSQLSetupNotification
194+ , amsqlsnRequestInfo
195+
184196 -- * DomainWideTakeoutInitiated
185197 , DomainWideTakeoutInitiated
186198 , domainWideTakeoutInitiated
gogol-alertcenter/gen/Network/Google/AlertCenter/Types/Product.hs+118−7
@@ -649,7 +649,8 @@ awEmail = lens _awEmail (\ s a -> s{_awEmail = a})
649649
650650-- | Optional. Details of the login action associated with the warning event.
651651-- This is only available for: * Suspicious login * Suspicious login (less
652−-- secure app) * User suspended (suspicious activity)
652+-- secure app) * Suspicious programmatic login * User suspended (suspicious
653+-- activity)
653654awLoginDetails :: Lens' AccountWarning (Maybe LoginDetails)
654655awLoginDetails
655656 = lens _awLoginDetails
@@ -1034,7 +1035,7 @@ instance ToJSON CSV where
10341035 [("dataRows" .=) <$> _cDataRows,
10351036 ("headers" .=) <$> _cHeaders])
10361037
1037−-- | An alert affecting a customer. All fields are read-only once created.
1038+-- | An alert affecting a customer.
10381039--
10391040-- /See:/ 'alert' smart constructor.
10401041data Alert =
@@ -1130,9 +1131,10 @@ aEndTime
11301131 mapping _DateTime
11311132
11321133-- | Required. A unique identifier for the system that reported the alert.
1133−-- Supported sources are any of the following: * Google Operations * Mobile
1134−-- device management * Gmail phishing * Domain wide takeout * Government
1135−-- attack warning * Google identity
1134+-- This is output only after alert is created. Supported sources are any of
1135+-- the following: * Google Operations * Mobile device management * Gmail
1136+-- phishing * Domain wide takeout * Government attack warning * Google
1137+-- identity
11361138aSource :: Lens' Alert (Maybe Text)
11371139aSource = lens _aSource (\ s a -> s{_aSource = a})
11381140
@@ -1140,8 +1142,9 @@ aSource = lens _aSource (\ s a -> s{_aSource = a})
11401142aDeleted :: Lens' Alert (Maybe Bool)
11411143aDeleted = lens _aDeleted (\ s a -> s{_aDeleted = a})
11421144
1143−-- | Required. The type of the alert. For a list of available alert types see
1144−-- [G Suite Alert types](\/admin-sdk\/alertcenter\/reference\/alert-types).
1145+-- | Required. The type of the alert. This is output only after alert is
1146+-- created. For a list of available alert types see [G Suite Alert
1147+-- types](\/admin-sdk\/alertcenter\/reference\/alert-types).
11451148aType :: Lens' Alert (Maybe Text)
11461149aType = lens _aType (\ s a -> s{_aType = a})
11471150
@@ -1211,6 +1214,74 @@ instance ToJSON Attachment where
12111214 toJSON Attachment'{..}
12121215 = object (catMaybes [("csv" .=) <$> _aCSV])
12131216
1217+-- | Requests for one application that needs default SQL setup.
1218+--
1219+-- /See:/ 'requestInfo' smart constructor.
1220+data RequestInfo =
1221+ RequestInfo'
1222+ { _riNumberOfRequests :: !(Maybe (Textual Int64))
1223+ , _riAppDeveloperEmail :: !(Maybe [Text])
1224+ , _riAppName :: !(Maybe Text)
1225+ }
1226+ deriving (Eq, Show, Data, Typeable, Generic)
1227+
1228+-- | Creates a value of 'RequestInfo' with the minimum fields required to make a request.
1229+--
1230+-- Use one of the following lenses to modify other fields as desired:
1231+--
1232+-- * 'riNumberOfRequests'
1233+--
1234+-- * 'riAppDeveloperEmail'
1235+--
1236+-- * 'riAppName'
1237+requestInfo
1238+ :: RequestInfo
1239+requestInfo =
1240+ RequestInfo'
1241+ { _riNumberOfRequests = Nothing
1242+ , _riAppDeveloperEmail = Nothing
1243+ , _riAppName = Nothing
1244+ }
1245+
1246+-- | Required. Number of requests sent for this application to set up default
1247+-- SQL instance.
1248+riNumberOfRequests :: Lens' RequestInfo (Maybe Int64)
1249+riNumberOfRequests
1250+ = lens _riNumberOfRequests
1251+ (\ s a -> s{_riNumberOfRequests = a})
1252+ . mapping _Coerce
1253+
1254+-- | List of app developers who triggered notifications for above
1255+-- application.
1256+riAppDeveloperEmail :: Lens' RequestInfo [Text]
1257+riAppDeveloperEmail
1258+ = lens _riAppDeveloperEmail
1259+ (\ s a -> s{_riAppDeveloperEmail = a})
1260+ . _Default
1261+ . _Coerce
1262+
1263+-- | Required. The application that requires the SQL setup.
1264+riAppName :: Lens' RequestInfo (Maybe Text)
1265+riAppName
1266+ = lens _riAppName (\ s a -> s{_riAppName = a})
1267+
1268+instance FromJSON RequestInfo where
1269+ parseJSON
1270+ = withObject "RequestInfo"
1271+ (\ o ->
1272+ RequestInfo' <$>
1273+ (o .:? "numberOfRequests") <*>
1274+ (o .:? "appDeveloperEmail" .!= mempty)
1275+ <*> (o .:? "appName"))
1276+
1277+instance ToJSON RequestInfo where
1278+ toJSON RequestInfo'{..}
1279+ = object
1280+ (catMaybes
1281+ [("numberOfRequests" .=) <$> _riNumberOfRequests,
1282+ ("appDeveloperEmail" .=) <$> _riAppDeveloperEmail,
1283+ ("appName" .=) <$> _riAppName])
1284+
12141285-- | An incident reported by Google Operations for a G Suite application.
12151286--
12161287-- /See:/ 'googleOperations' smart constructor.
@@ -1337,6 +1408,46 @@ instance ToJSON SuspiciousActivity where
13371408 [("email" .=) <$> _saEmail,
13381409 ("events" .=) <$> _saEvents])
13391410
1411+-- | Alerts from App Maker to notify admins to set up default SQL instance.
1412+--
1413+-- /See:/ 'appMakerSQLSetupNotification' smart constructor.
1414+newtype AppMakerSQLSetupNotification =
1415+ AppMakerSQLSetupNotification'
1416+ { _amsqlsnRequestInfo :: Maybe [RequestInfo]
1417+ }
1418+ deriving (Eq, Show, Data, Typeable, Generic)
1419+
1420+-- | Creates a value of 'AppMakerSQLSetupNotification' with the minimum fields required to make a request.
1421+--
1422+-- Use one of the following lenses to modify other fields as desired:
1423+--
1424+-- * 'amsqlsnRequestInfo'
1425+appMakerSQLSetupNotification
1426+ :: AppMakerSQLSetupNotification
1427+appMakerSQLSetupNotification =
1428+ AppMakerSQLSetupNotification' {_amsqlsnRequestInfo = Nothing}
1429+
1430+-- | List of applications with requests for default SQL set up.
1431+amsqlsnRequestInfo :: Lens' AppMakerSQLSetupNotification [RequestInfo]
1432+amsqlsnRequestInfo
1433+ = lens _amsqlsnRequestInfo
1434+ (\ s a -> s{_amsqlsnRequestInfo = a})
1435+ . _Default
1436+ . _Coerce
1437+
1438+instance FromJSON AppMakerSQLSetupNotification where
1439+ parseJSON
1440+ = withObject "AppMakerSQLSetupNotification"
1441+ (\ o ->
1442+ AppMakerSQLSetupNotification' <$>
1443+ (o .:? "requestInfo" .!= mempty))
1444+
1445+instance ToJSON AppMakerSQLSetupNotification where
1446+ toJSON AppMakerSQLSetupNotification'{..}
1447+ = object
1448+ (catMaybes
1449+ [("requestInfo" .=) <$> _amsqlsnRequestInfo])
1450+
13401451-- | A takeout operation for the entire domain was initiated by an admin.
13411452-- Derived from audit logs.
13421453--
gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/Alerts/Feedback/Create.hs+5−4
@@ -20,7 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Creates new feedback for an alert.
23+-- Creates new feedback for an alert. Attempting to create a feedback for a
24+-- non-existent alert returns \`NOT_FOUND\` error.
2425--
2526-- /See:/ <https://developers.google.com/admin-sdk/alertcenter/ G Suite Alert Center API Reference> for @alertcenter.alerts.feedback.create@.
2627module Network.Google.Resource.AlertCenter.Alerts.Feedback.Create
@@ -63,7 +64,8 @@ type AlertsFeedbackCreateResource =
6364 ReqBody '[JSON] AlertFeedback :>
6465 Post '[JSON] AlertFeedback
6566
66−-- | Creates new feedback for an alert.
67+-- | Creates new feedback for an alert. Attempting to create a feedback for a
68+-- non-existent alert returns \`NOT_FOUND\` error.
6769--
6870-- /See:/ 'alertsFeedbackCreate' smart constructor.
6971data AlertsFeedbackCreate =
@@ -130,8 +132,7 @@ afcAccessToken
130132 = lens _afcAccessToken
131133 (\ s a -> s{_afcAccessToken = a})
132134
133−-- | Required. The identifier of the alert this feedback belongs to. Returns
134−-- a \`NOT_FOUND\` error if no such alert.
135+-- | Required. The identifier of the alert this feedback belongs to.
135136afcAlertId :: Lens' AlertsFeedbackCreate Text
136137afcAlertId
137138 = lens _afcAlertId (\ s a -> s{_afcAlertId = a})
gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/Alerts/Feedback/List.hs+5−4
@@ -20,7 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Lists all the feedback for an alert.
23+-- Lists all the feedback for an alert. Attempting to list feedbacks for a
24+-- non-existent alert returns \`NOT_FOUND\` error.
2425--
2526-- /See:/ <https://developers.google.com/admin-sdk/alertcenter/ G Suite Alert Center API Reference> for @alertcenter.alerts.feedback.list@.
2627module Network.Google.Resource.AlertCenter.Alerts.Feedback.List
@@ -63,7 +64,8 @@ type AlertsFeedbackListResource =
6364 QueryParam "alt" AltJSON :>
6465 Get '[JSON] ListAlertFeedbackResponse
6566
66−-- | Lists all the feedback for an alert.
67+-- | Lists all the feedback for an alert. Attempting to list feedbacks for a
68+-- non-existent alert returns \`NOT_FOUND\` error.
6769--
6870-- /See:/ 'alertsFeedbackList' smart constructor.
6971data AlertsFeedbackList =
@@ -130,8 +132,7 @@ aflAccessToken
130132 (\ s a -> s{_aflAccessToken = a})
131133
132134-- | Required. The alert identifier. The \"-\" wildcard could be used to
133−-- represent all alerts. If alert does not exist returns a \`NOT_FOUND\`
134−-- error.
135+-- represent all alerts.
135136aflAlertId :: Lens' AlertsFeedbackList Text
136137aflAlertId
137138 = lens _aflAlertId (\ s a -> s{_aflAlertId = a})
gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/Alerts/Get.hs+5−4
@@ -20,7 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Gets the specified alert.
23+-- Gets the specified alert. Attempting to get a nonexistent alert returns
24+-- \`NOT_FOUND\` error.
2425--
2526-- /See:/ <https://developers.google.com/admin-sdk/alertcenter/ G Suite Alert Center API Reference> for @alertcenter.alerts.get@.
2627module Network.Google.Resource.AlertCenter.Alerts.Get
@@ -59,7 +60,8 @@ type AlertsGetResource =
5960 QueryParam "callback" Text :>
6061 QueryParam "alt" AltJSON :> Get '[JSON] Alert
6162
62−-- | Gets the specified alert.
63+-- | Gets the specified alert. Attempting to get a nonexistent alert returns
64+-- \`NOT_FOUND\` error.
6365--
6466-- /See:/ 'alertsGet' smart constructor.
6567data AlertsGet =
@@ -121,8 +123,7 @@ agAccessToken
121123 = lens _agAccessToken
122124 (\ s a -> s{_agAccessToken = a})
123125
124−-- | Required. The identifier of the alert to retrieve. Returns a NOT_FOUND
125−-- error if no such alert.
126+-- | Required. The identifier of the alert to retrieve.
126127agAlertId :: Lens' AlertsGet Text
127128agAlertId
128129 = lens _agAlertId (\ s a -> s{_agAlertId = a})
gogol-alertcenter/gen/Network/Google/Resource/AlertCenter/UpdateSettings.hs+2−2
@@ -20,7 +20,7 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Update the customer-level settings.
23+-- Updates the customer-level settings.
2424--
2525-- /See:/ <https://developers.google.com/admin-sdk/alertcenter/ G Suite Alert Center API Reference> for @alertcenter.updateSettings@.
2626module Network.Google.Resource.AlertCenter.UpdateSettings
@@ -59,7 +59,7 @@ type UpdateSettingsResource =
5959 QueryParam "alt" AltJSON :>
6060 ReqBody '[JSON] Settings :> Patch '[JSON] Settings
6161
62−-- | Update the customer-level settings.
62+-- | Updates the customer-level settings.
6363--
6464-- /See:/ 'updateSettings' smart constructor.
6565data UpdateSettings =
gogol-alertcenter/gogol-alertcenter.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-alertcenter
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google G Suite Alert Center SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -49,5 +49,5 @@ library
4949 , Network.Google.AlertCenter.Types.Sum
5050
5151 build-depends:
52− gogol-core == 0.4.0.*
52+ gogol-core == 0.5.0.*
5353 , base >= 4.7 && < 5
gogol-analytics/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-analytics/gen/Network/Google/Analytics.hs−18
@@ -763,7 +763,6 @@ module Network.Google.Analytics
763763 -- ** AccountTreeRequest
764764 , AccountTreeRequest
765765 , accountTreeRequest
766− , atrAccountSettings
767766 , atrWebPropertyName
768767 , atrKind
769768 , atrAccountName
@@ -947,7 +946,6 @@ module Network.Google.Analytics
947946 -- ** AccountTreeResponse
948947 , AccountTreeResponse
949948 , accountTreeResponse
950− , atrtAccountSettings
951949 , atrtKind
952950 , atrtProFile
953951 , atrtAccount
@@ -1090,14 +1088,6 @@ module Network.Google.Analytics
10901088 , gedeciType
10911089 , gedeciComparisonType
10921090
1093− -- ** AccountTreeRequestAccountSettings
1094− , AccountTreeRequestAccountSettings
1095− , accountTreeRequestAccountSettings
1096− , atrasShareWithSpeciaLists
1097− , atrasShareWithSupport
1098− , atrasShareAnonymouslyWithOthers
1099− , atrasShareWithGoogleProducts
1100−
11011091 -- ** McfDataQuery
11021092 , McfDataQuery
11031093 , mcfDataQuery
@@ -1250,14 +1240,6 @@ module Network.Google.Analytics
12501240 , rasbadExcludeConditions
12511241 , rasbadIncludeConditions
12521242
1253− -- ** AccountTreeResponseAccountSettings
1254− , AccountTreeResponseAccountSettings
1255− , accountTreeResponseAccountSettings
1256− , aShareWithSpeciaLists
1257− , aShareWithSupport
1258− , aShareAnonymouslyWithOthers
1259− , aShareWithGoogleProducts
1260−
12611243 -- ** GoalURLDestinationDetails
12621244 , GoalURLDestinationDetails
12631245 , goalURLDestinationDetails
gogol-analytics/gen/Network/Google/Analytics/Types.hs−18
@@ -490,7 +490,6 @@ module Network.Google.Analytics.Types
490490 -- * AccountTreeRequest
491491 , AccountTreeRequest
492492 , accountTreeRequest
493− , atrAccountSettings
494493 , atrWebPropertyName
495494 , atrKind
496495 , atrAccountName
@@ -674,7 +673,6 @@ module Network.Google.Analytics.Types
674673 -- * AccountTreeResponse
675674 , AccountTreeResponse
676675 , accountTreeResponse
677− , atrtAccountSettings
678676 , atrtKind
679677 , atrtProFile
680678 , atrtAccount
@@ -817,14 +815,6 @@ module Network.Google.Analytics.Types
817815 , gedeciType
818816 , gedeciComparisonType
819817
820− -- * AccountTreeRequestAccountSettings
821− , AccountTreeRequestAccountSettings
822− , accountTreeRequestAccountSettings
823− , atrasShareWithSpeciaLists
824− , atrasShareWithSupport
825− , atrasShareAnonymouslyWithOthers
826− , atrasShareWithGoogleProducts
827−
828818 -- * McfDataQuery
829819 , McfDataQuery
830820 , mcfDataQuery
@@ -977,14 +967,6 @@ module Network.Google.Analytics.Types
977967 , rasbadExcludeConditions
978968 , rasbadIncludeConditions
979969
980− -- * AccountTreeResponseAccountSettings
981− , AccountTreeResponseAccountSettings
982− , accountTreeResponseAccountSettings
983− , aShareWithSpeciaLists
984− , aShareWithSupport
985− , aShareAnonymouslyWithOthers
986− , aShareWithGoogleProducts
987−
988970 -- * GoalURLDestinationDetails
989971 , GoalURLDestinationDetails
990972 , goalURLDestinationDetails
gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+32−205
@@ -2804,8 +2804,8 @@ instance ToJSON AccountRef where
28042804 [Just ("kind" .= _arKind), ("href" .=) <$> _arHref,
28052805 ("name" .=) <$> _arName, ("id" .=) <$> _arId])
28062806
2807−-- | An entity AdWords link collection provides a list of GA-AdWords links
2808−-- Each resource in this collection corresponds to a single link.
2807+-- | An entity Google Ads link collection provides a list of GA-Google Ads
2808+-- links Each resource in this collection corresponds to a single link.
28092809--
28102810-- /See:/ 'entityAdWordsLinks' smart constructor.
28112811data EntityAdWordsLinks =
@@ -2850,7 +2850,7 @@ entityAdWordsLinks =
28502850 , _eawlPreviousLink = Nothing
28512851 }
28522852
2853−-- | Next link for this AdWords link collection.
2853+-- | Next link for this Google Ads link collection.
28542854eawlNextLink :: Lens' EntityAdWordsLinks (Maybe Text)
28552855eawlNextLink
28562856 = lens _eawlNextLink (\ s a -> s{_eawlNextLink = a})
@@ -2869,7 +2869,7 @@ eawlItemsPerPage
28692869eawlKind :: Lens' EntityAdWordsLinks Text
28702870eawlKind = lens _eawlKind (\ s a -> s{_eawlKind = a})
28712871
2872−-- | A list of entity AdWords links.
2872+-- | A list of entity Google Ads links.
28732873eawlItems :: Lens' EntityAdWordsLinks [EntityAdWordsLink]
28742874eawlItems
28752875 = lens _eawlItems (\ s a -> s{_eawlItems = a}) .
@@ -2892,7 +2892,7 @@ eawlStartIndex
28922892 (\ s a -> s{_eawlStartIndex = a})
28932893 . mapping _Coerce
28942894
2895−-- | Previous link for this AdWords link collection.
2895+-- | Previous link for this Google Ads link collection.
28962896eawlPreviousLink :: Lens' EntityAdWordsLinks (Maybe Text)
28972897eawlPreviousLink
28982898 = lens _eawlPreviousLink
@@ -3098,7 +3098,7 @@ instance ToJSON
30983098 [("customDataImportUids" .=) <$>
30993099 _addudrCustomDataImportUids])
31003100
3101−-- | JSON template for Analytics Entity AdWords Link.
3101+-- | JSON template for Analytics Entity Google Ads Link.
31023102--
31033103-- /See:/ 'entityAdWordsLink' smart constructor.
31043104data EntityAdWordsLink =
@@ -3143,8 +3143,8 @@ entityAdWordsLink =
31433143 , _entEntity = Nothing
31443144 }
31453145
3146−-- | A list of AdWords client accounts. These cannot be MCC accounts. This
3147−-- field is required when creating an AdWords link. It cannot be empty.
3146+-- | A list of Google Ads client accounts. These cannot be MCC accounts. This
3147+-- field is required when creating a Google Ads link. It cannot be empty.
31483148entAdWordsAccounts :: Lens' EntityAdWordsLink [AdWordsAccount]
31493149entAdWordsAccounts
31503150 = lens _entAdWordsAccounts
@@ -3160,20 +3160,21 @@ entProFileIds
31603160 . _Default
31613161 . _Coerce
31623162
3163−-- | Resource type for entity AdWords link.
3163+-- | Resource type for entity Google Ads link.
31643164entKind :: Lens' EntityAdWordsLink Text
31653165entKind = lens _entKind (\ s a -> s{_entKind = a})
31663166
3167−-- | URL link for this Google Analytics - Google AdWords link.
3167+-- | URL link for this Google Analytics - Google Ads link.
31683168entSelfLink :: Lens' EntityAdWordsLink (Maybe Text)
31693169entSelfLink
31703170 = lens _entSelfLink (\ s a -> s{_entSelfLink = a})
31713171
3172−-- | Name of the link. This field is required when creating an AdWords link.
3172+-- | Name of the link. This field is required when creating a Google Ads
3173+-- link.
31733174entName :: Lens' EntityAdWordsLink (Maybe Text)
31743175entName = lens _entName (\ s a -> s{_entName = a})
31753176
3176−-- | Entity AdWords link ID
3177+-- | Entity Google Ads link ID
31773178entId :: Lens' EntityAdWordsLink (Maybe Text)
31783179entId = lens _entId (\ s a -> s{_entId = a})
31793180
@@ -4589,8 +4590,7 @@ instance ToJSON CustomDataSource where
45894590-- /See:/ 'accountTreeRequest' smart constructor.
45904591data AccountTreeRequest =
45914592 AccountTreeRequest'
4592− { _atrAccountSettings :: !(Maybe AccountTreeRequestAccountSettings)
4593− , _atrWebPropertyName :: !(Maybe Text)
4593+ { _atrWebPropertyName :: !(Maybe Text)
45944594 , _atrKind :: !Text
45954595 , _atrAccountName :: !(Maybe Text)
45964596 , _atrProFileName :: !(Maybe Text)
@@ -4603,8 +4603,6 @@ data AccountTreeRequest =
46034603--
46044604-- Use one of the following lenses to modify other fields as desired:
46054605--
4606−-- * 'atrAccountSettings'
4607−--
46084606-- * 'atrWebPropertyName'
46094607--
46104608-- * 'atrKind'
@@ -4620,8 +4618,7 @@ accountTreeRequest
46204618 :: AccountTreeRequest
46214619accountTreeRequest =
46224620 AccountTreeRequest'
4623− { _atrAccountSettings = Nothing
4624− , _atrWebPropertyName = Nothing
4621+ { _atrWebPropertyName = Nothing
46254622 , _atrKind = "analytics#accountTreeRequest"
46264623 , _atrAccountName = Nothing
46274624 , _atrProFileName = Nothing
@@ -4629,11 +4626,6 @@ accountTreeRequest =
46294626 , _atrTimezone = Nothing
46304627 }
46314628
4632−atrAccountSettings :: Lens' AccountTreeRequest (Maybe AccountTreeRequestAccountSettings)
4633−atrAccountSettings
4634− = lens _atrAccountSettings
4635− (\ s a -> s{_atrAccountSettings = a})
4636−
46374629atrWebPropertyName :: Lens' AccountTreeRequest (Maybe Text)
46384630atrWebPropertyName
46394631 = lens _atrWebPropertyName
@@ -4667,9 +4659,8 @@ instance FromJSON AccountTreeRequest where
46674659 = withObject "AccountTreeRequest"
46684660 (\ o ->
46694661 AccountTreeRequest' <$>
4670− (o .:? "accountSettings") <*>
4671− (o .:? "webpropertyName")
4672− <*> (o .:? "kind" .!= "analytics#accountTreeRequest")
4662+ (o .:? "webpropertyName") <*>
4663+ (o .:? "kind" .!= "analytics#accountTreeRequest")
46734664 <*> (o .:? "accountName")
46744665 <*> (o .:? "profileName")
46754666 <*> (o .:? "websiteUrl")
@@ -4679,8 +4670,7 @@ instance ToJSON AccountTreeRequest where
46794670 toJSON AccountTreeRequest'{..}
46804671 = object
46814672 (catMaybes
4682− [("accountSettings" .=) <$> _atrAccountSettings,
4683− ("webpropertyName" .=) <$> _atrWebPropertyName,
4673+ [("webpropertyName" .=) <$> _atrWebPropertyName,
46844674 Just ("kind" .= _atrKind),
46854675 ("accountName" .=) <$> _atrAccountName,
46864676 ("profileName" .=) <$> _atrProFileName,
@@ -4868,8 +4858,8 @@ lfaRemarketingAudienceId
48684858 = lens _lfaRemarketingAudienceId
48694859 (\ s a -> s{_lfaRemarketingAudienceId = a})
48704860
4871−-- | The foreign account ID. For example the an AdWords \`linkedAccountId\`
4872−-- has the following format XXX-XXX-XXXX.
4861+-- | The foreign account ID. For example the an Google Ads
4862+-- \`linkedAccountId\` has the following format XXX-XXX-XXXX.
48734863lfaLinkedAccountId :: Lens' LinkedForeignAccount (Maybe Text)
48744864lfaLinkedAccountId
48754865 = lens _lfaLinkedAccountId
@@ -5866,7 +5856,7 @@ instance ToJSON EntityUserLinks where
58665856 ("startIndex" .=) <$> _eulStartIndex,
58675857 ("previousLink" .=) <$> _eulPreviousLink])
58685858
5869−-- | JSON template for an AdWords account.
5859+-- | JSON template for an Google Ads account.
58705860--
58715861-- /See:/ 'adWordsAccount' smart constructor.
58725862data AdWordsAccount =
@@ -5895,18 +5885,18 @@ adWordsAccount =
58955885 , _awaCustomerId = Nothing
58965886 }
58975887
5898−-- | True if auto-tagging is enabled on the AdWords account. Read-only after
5899−-- the insert operation.
5888+-- | True if auto-tagging is enabled on the Google Ads account. Read-only
5889+-- after the insert operation.
59005890awaAutoTaggingEnabled :: Lens' AdWordsAccount (Maybe Bool)
59015891awaAutoTaggingEnabled
59025892 = lens _awaAutoTaggingEnabled
59035893 (\ s a -> s{_awaAutoTaggingEnabled = a})
59045894
5905−-- | Resource type for AdWords account.
5895+-- | Resource type for Google Ads account.
59065896awaKind :: Lens' AdWordsAccount Text
59075897awaKind = lens _awaKind (\ s a -> s{_awaKind = a})
59085898
5909−-- | Customer ID. This field is required when creating an AdWords link.
5899+-- | Customer ID. This field is required when creating a Google Ads link.
59105900awaCustomerId :: Lens' AdWordsAccount (Maybe Text)
59115901awaCustomerId
59125902 = lens _awaCustomerId
@@ -6508,11 +6498,10 @@ instance ToJSON FilterAdvancedDetails where
65086498-- /See:/ 'accountTreeResponse' smart constructor.
65096499data AccountTreeResponse =
65106500 AccountTreeResponse'
6511− { _atrtAccountSettings :: !(Maybe AccountTreeResponseAccountSettings)
6512− , _atrtKind :: !Text
6513− , _atrtProFile :: !(Maybe ProFile)
6514− , _atrtAccount :: !(Maybe Account)
6515− , _atrtWebProperty :: !(Maybe WebProperty)
6501+ { _atrtKind :: !Text
6502+ , _atrtProFile :: !(Maybe ProFile)
6503+ , _atrtAccount :: !(Maybe Account)
6504+ , _atrtWebProperty :: !(Maybe WebProperty)
65166505 }
65176506 deriving (Eq, Show, Data, Typeable, Generic)
65186507
@@ -6520,8 +6509,6 @@ data AccountTreeResponse =
65206509--
65216510-- Use one of the following lenses to modify other fields as desired:
65226511--
6523−-- * 'atrtAccountSettings'
6524−--
65256512-- * 'atrtKind'
65266513--
65276514-- * 'atrtProFile'
@@ -6533,18 +6520,12 @@ accountTreeResponse
65336520 :: AccountTreeResponse
65346521accountTreeResponse =
65356522 AccountTreeResponse'
6536− { _atrtAccountSettings = Nothing
6537− , _atrtKind = "analytics#accountTreeResponse"
6523+ { _atrtKind = "analytics#accountTreeResponse"
65386524 , _atrtProFile = Nothing
65396525 , _atrtAccount = Nothing
65406526 , _atrtWebProperty = Nothing
65416527 }
65426528
6543−atrtAccountSettings :: Lens' AccountTreeResponse (Maybe AccountTreeResponseAccountSettings)
6544−atrtAccountSettings
6545− = lens _atrtAccountSettings
6546− (\ s a -> s{_atrtAccountSettings = a})
6547−
65486529-- | Resource type for account ticket.
65496530atrtKind :: Lens' AccountTreeResponse Text
65506531atrtKind = lens _atrtKind (\ s a -> s{_atrtKind = a})
@@ -6570,8 +6551,7 @@ instance FromJSON AccountTreeResponse where
65706551 = withObject "AccountTreeResponse"
65716552 (\ o ->
65726553 AccountTreeResponse' <$>
6573− (o .:? "accountSettings") <*>
6574− (o .:? "kind" .!= "analytics#accountTreeResponse")
6554+ (o .:? "kind" .!= "analytics#accountTreeResponse")
65756555 <*> (o .:? "profile")
65766556 <*> (o .:? "account")
65776557 <*> (o .:? "webproperty"))
@@ -6580,8 +6560,7 @@ instance ToJSON AccountTreeResponse where
65806560 toJSON AccountTreeResponse'{..}
65816561 = object
65826562 (catMaybes
6583− [("accountSettings" .=) <$> _atrtAccountSettings,
6584− Just ("kind" .= _atrtKind),
6563+ [Just ("kind" .= _atrtKind),
65856564 ("profile" .=) <$> _atrtProFile,
65866565 ("account" .=) <$> _atrtAccount,
65876566 ("webproperty" .=) <$> _atrtWebProperty])
@@ -7855,82 +7834,6 @@ instance ToJSON GoalEventDetailsEventConditionsItem
78557834 ("type" .=) <$> _gedeciType,
78567835 ("comparisonType" .=) <$> _gedeciComparisonType])
78577836
7858−--
7859−-- /See:/ 'accountTreeRequestAccountSettings' smart constructor.
7860−data AccountTreeRequestAccountSettings =
7861− AccountTreeRequestAccountSettings'
7862− { _atrasShareWithSpeciaLists :: !(Maybe Bool)
7863− , _atrasShareWithSupport :: !(Maybe Bool)
7864− , _atrasShareAnonymouslyWithOthers :: !(Maybe Bool)
7865− , _atrasShareWithGoogleProducts :: !(Maybe Bool)
7866− }
7867− deriving (Eq, Show, Data, Typeable, Generic)
7868−
7869−-- | Creates a value of 'AccountTreeRequestAccountSettings' with the minimum fields required to make a request.
7870−--
7871−-- Use one of the following lenses to modify other fields as desired:
7872−--
7873−-- * 'atrasShareWithSpeciaLists'
7874−--
7875−-- * 'atrasShareWithSupport'
7876−--
7877−-- * 'atrasShareAnonymouslyWithOthers'
7878−--
7879−-- * 'atrasShareWithGoogleProducts'
7880−accountTreeRequestAccountSettings
7881− :: AccountTreeRequestAccountSettings
7882−accountTreeRequestAccountSettings =
7883− AccountTreeRequestAccountSettings'
7884− { _atrasShareWithSpeciaLists = Nothing
7885− , _atrasShareWithSupport = Nothing
7886− , _atrasShareAnonymouslyWithOthers = Nothing
7887− , _atrasShareWithGoogleProducts = Nothing
7888− }
7889−
7890−atrasShareWithSpeciaLists :: Lens' AccountTreeRequestAccountSettings (Maybe Bool)
7891−atrasShareWithSpeciaLists
7892− = lens _atrasShareWithSpeciaLists
7893− (\ s a -> s{_atrasShareWithSpeciaLists = a})
7894−
7895−atrasShareWithSupport :: Lens' AccountTreeRequestAccountSettings (Maybe Bool)
7896−atrasShareWithSupport
7897− = lens _atrasShareWithSupport
7898− (\ s a -> s{_atrasShareWithSupport = a})
7899−
7900−atrasShareAnonymouslyWithOthers :: Lens' AccountTreeRequestAccountSettings (Maybe Bool)
7901−atrasShareAnonymouslyWithOthers
7902− = lens _atrasShareAnonymouslyWithOthers
7903− (\ s a -> s{_atrasShareAnonymouslyWithOthers = a})
7904−
7905−atrasShareWithGoogleProducts :: Lens' AccountTreeRequestAccountSettings (Maybe Bool)
7906−atrasShareWithGoogleProducts
7907− = lens _atrasShareWithGoogleProducts
7908− (\ s a -> s{_atrasShareWithGoogleProducts = a})
7909−
7910−instance FromJSON AccountTreeRequestAccountSettings
7911− where
7912− parseJSON
7913− = withObject "AccountTreeRequestAccountSettings"
7914− (\ o ->
7915− AccountTreeRequestAccountSettings' <$>
7916− (o .:? "shareWithSpecialists") <*>
7917− (o .:? "shareWithSupport")
7918− <*> (o .:? "shareAnonymouslyWithOthers")
7919− <*> (o .:? "shareWithGoogleProducts"))
7920−
7921−instance ToJSON AccountTreeRequestAccountSettings
7922− where
7923− toJSON AccountTreeRequestAccountSettings'{..}
7924− = object
7925− (catMaybes
7926− [("shareWithSpecialists" .=) <$>
7927− _atrasShareWithSpeciaLists,
7928− ("shareWithSupport" .=) <$> _atrasShareWithSupport,
7929− ("shareAnonymouslyWithOthers" .=) <$>
7930− _atrasShareAnonymouslyWithOthers,
7931− ("shareWithGoogleProducts" .=) <$>
7932− _atrasShareWithGoogleProducts])
7933−
79347837-- | Analytics data request query parameters.
79357838--
79367839-- /See:/ 'mcfDataQuery' smart constructor.
@@ -9457,82 +9360,6 @@ instance ToJSON
94579360 ("includeConditions" .=) <$>
94589361 _rasbadIncludeConditions])
94599362
9460−--
9461−-- /See:/ 'accountTreeResponseAccountSettings' smart constructor.
9462−data AccountTreeResponseAccountSettings =
9463− AccountTreeResponseAccountSettings'
9464− { _aShareWithSpeciaLists :: !(Maybe Bool)
9465− , _aShareWithSupport :: !(Maybe Bool)
9466− , _aShareAnonymouslyWithOthers :: !(Maybe Bool)
9467− , _aShareWithGoogleProducts :: !(Maybe Bool)
9468− }
9469− deriving (Eq, Show, Data, Typeable, Generic)
9470−
9471−-- | Creates a value of 'AccountTreeResponseAccountSettings' with the minimum fields required to make a request.
9472−--
9473−-- Use one of the following lenses to modify other fields as desired:
9474−--
9475−-- * 'aShareWithSpeciaLists'
9476−--
9477−-- * 'aShareWithSupport'
9478−--
9479−-- * 'aShareAnonymouslyWithOthers'
9480−--
9481−-- * 'aShareWithGoogleProducts'
9482−accountTreeResponseAccountSettings
9483− :: AccountTreeResponseAccountSettings
9484−accountTreeResponseAccountSettings =
9485− AccountTreeResponseAccountSettings'
9486− { _aShareWithSpeciaLists = Nothing
9487− , _aShareWithSupport = Nothing
9488− , _aShareAnonymouslyWithOthers = Nothing
9489− , _aShareWithGoogleProducts = Nothing
9490− }
9491−
9492−aShareWithSpeciaLists :: Lens' AccountTreeResponseAccountSettings (Maybe Bool)
9493−aShareWithSpeciaLists
9494− = lens _aShareWithSpeciaLists
9495− (\ s a -> s{_aShareWithSpeciaLists = a})
9496−
9497−aShareWithSupport :: Lens' AccountTreeResponseAccountSettings (Maybe Bool)
9498−aShareWithSupport
9499− = lens _aShareWithSupport
9500− (\ s a -> s{_aShareWithSupport = a})
9501−
9502−aShareAnonymouslyWithOthers :: Lens' AccountTreeResponseAccountSettings (Maybe Bool)
9503−aShareAnonymouslyWithOthers
9504− = lens _aShareAnonymouslyWithOthers
9505− (\ s a -> s{_aShareAnonymouslyWithOthers = a})
9506−
9507−aShareWithGoogleProducts :: Lens' AccountTreeResponseAccountSettings (Maybe Bool)
9508−aShareWithGoogleProducts
9509− = lens _aShareWithGoogleProducts
9510− (\ s a -> s{_aShareWithGoogleProducts = a})
9511−
9512−instance FromJSON AccountTreeResponseAccountSettings
9513− where
9514− parseJSON
9515− = withObject "AccountTreeResponseAccountSettings"
9516− (\ o ->
9517− AccountTreeResponseAccountSettings' <$>
9518− (o .:? "shareWithSpecialists") <*>
9519− (o .:? "shareWithSupport")
9520− <*> (o .:? "shareAnonymouslyWithOthers")
9521− <*> (o .:? "shareWithGoogleProducts"))
9522−
9523−instance ToJSON AccountTreeResponseAccountSettings
9524− where
9525− toJSON AccountTreeResponseAccountSettings'{..}
9526− = object
9527− (catMaybes
9528− [("shareWithSpecialists" .=) <$>
9529− _aShareWithSpeciaLists,
9530− ("shareWithSupport" .=) <$> _aShareWithSupport,
9531− ("shareAnonymouslyWithOthers" .=) <$>
9532− _aShareAnonymouslyWithOthers,
9533− ("shareWithGoogleProducts" .=) <$>
9534− _aShareWithGoogleProducts])
9535−
95369363-- | Details for the goal of the type URL_DESTINATION.
95379364--
95389365-- /See:/ 'goalURLDestinationDetails' smart constructor.
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Delete.hs+4−4
@@ -20,7 +20,7 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Deletes a web property-AdWords link.
23+-- Deletes a web property-Google Ads link.
2424--
2525-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference> for @analytics.management.webPropertyAdWordsLinks.delete@.
2626module Network.Google.Resource.Analytics.Management.WebPropertyAdWordsLinks.Delete
@@ -56,7 +56,7 @@ type ManagementWebPropertyAdWordsLinksDeleteResource
5656 Capture "webPropertyAdWordsLinkId" Text :>
5757 QueryParam "alt" AltJSON :> Delete '[JSON] ()
5858
59−-- | Deletes a web property-AdWords link.
59+-- | Deletes a web property-Google Ads link.
6060--
6161-- /See:/ 'managementWebPropertyAdWordsLinksDelete' smart constructor.
6262data ManagementWebPropertyAdWordsLinksDelete =
@@ -88,7 +88,7 @@ managementWebPropertyAdWordsLinksDelete pMwpawldWebPropertyId_ pMwpawldAccountId
8888 , _mwpawldWebPropertyAdWordsLinkId = pMwpawldWebPropertyAdWordsLinkId_
8989 }
9090
91−-- | Web property ID to delete the AdWords link for.
91+-- | Web property ID to delete the Google Ads link for.
9292mwpawldWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksDelete Text
9393mwpawldWebPropertyId
9494 = lens _mwpawldWebPropertyId
@@ -100,7 +100,7 @@ mwpawldAccountId
100100 = lens _mwpawldAccountId
101101 (\ s a -> s{_mwpawldAccountId = a})
102102
103−-- | Web property AdWords link ID.
103+-- | Web property Google Ads link ID.
104104mwpawldWebPropertyAdWordsLinkId :: Lens' ManagementWebPropertyAdWordsLinksDelete Text
105105mwpawldWebPropertyAdWordsLinkId
106106 = lens _mwpawldWebPropertyAdWordsLinkId
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Get.hs+4−4
@@ -20,7 +20,7 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Returns a web property-AdWords link to which the user has access.
23+-- Returns a web property-Google Ads link to which the user has access.
2424--
2525-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference> for @analytics.management.webPropertyAdWordsLinks.get@.
2626module Network.Google.Resource.Analytics.Management.WebPropertyAdWordsLinks.Get
@@ -56,7 +56,7 @@ type ManagementWebPropertyAdWordsLinksGetResource =
5656 QueryParam "alt" AltJSON :>
5757 Get '[JSON] EntityAdWordsLink
5858
59−-- | Returns a web property-AdWords link to which the user has access.
59+-- | Returns a web property-Google Ads link to which the user has access.
6060--
6161-- /See:/ 'managementWebPropertyAdWordsLinksGet' smart constructor.
6262data ManagementWebPropertyAdWordsLinksGet =
@@ -88,7 +88,7 @@ managementWebPropertyAdWordsLinksGet pMwpawlgWebPropertyId_ pMwpawlgAccountId_ p
8888 , _mwpawlgWebPropertyAdWordsLinkId = pMwpawlgWebPropertyAdWordsLinkId_
8989 }
9090
91−-- | Web property ID to retrieve the AdWords link for.
91+-- | Web property ID to retrieve the Google Ads link for.
9292mwpawlgWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksGet Text
9393mwpawlgWebPropertyId
9494 = lens _mwpawlgWebPropertyId
@@ -100,7 +100,7 @@ mwpawlgAccountId
100100 = lens _mwpawlgAccountId
101101 (\ s a -> s{_mwpawlgAccountId = a})
102102
103−-- | Web property-AdWords link ID.
103+-- | Web property-Google Ads link ID.
104104mwpawlgWebPropertyAdWordsLinkId :: Lens' ManagementWebPropertyAdWordsLinksGet Text
105105mwpawlgWebPropertyAdWordsLinkId
106106 = lens _mwpawlgWebPropertyAdWordsLinkId
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Insert.hs+2−2
@@ -20,7 +20,7 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Creates a webProperty-AdWords link.
23+-- Creates a webProperty-Google Ads link.
2424--
2525-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference> for @analytics.management.webPropertyAdWordsLinks.insert@.
2626module Network.Google.Resource.Analytics.Management.WebPropertyAdWordsLinks.Insert
@@ -57,7 +57,7 @@ type ManagementWebPropertyAdWordsLinksInsertResource
5757 ReqBody '[JSON] EntityAdWordsLink :>
5858 Post '[JSON] EntityAdWordsLink
5959
60−-- | Creates a webProperty-AdWords link.
60+-- | Creates a webProperty-Google Ads link.
6161--
6262-- /See:/ 'managementWebPropertyAdWordsLinksInsert' smart constructor.
6363data ManagementWebPropertyAdWordsLinksInsert =
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/List.hs+5−5
@@ -20,7 +20,7 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Lists webProperty-AdWords links for a given web property.
23+-- Lists webProperty-Google Ads links for a given web property.
2424--
2525-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference> for @analytics.management.webPropertyAdWordsLinks.list@.
2626module Network.Google.Resource.Analytics.Management.WebPropertyAdWordsLinks.List
@@ -58,7 +58,7 @@ type ManagementWebPropertyAdWordsLinksListResource =
5858 QueryParam "alt" AltJSON :>
5959 Get '[JSON] EntityAdWordsLinks
6060
61−-- | Lists webProperty-AdWords links for a given web property.
61+-- | Lists webProperty-Google Ads links for a given web property.
6262--
6363-- /See:/ 'managementWebPropertyAdWordsLinksList' smart constructor.
6464data ManagementWebPropertyAdWordsLinksList =
@@ -93,7 +93,7 @@ managementWebPropertyAdWordsLinksList pMwpawllWebPropertyId_ pMwpawllAccountId_
9393 , _mwpawllMaxResults = Nothing
9494 }
9595
96−-- | Web property ID to retrieve the AdWords links for.
96+-- | Web property ID to retrieve the Google Ads links for.
9797mwpawllWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksList Text
9898mwpawllWebPropertyId
9999 = lens _mwpawllWebPropertyId
@@ -105,7 +105,7 @@ mwpawllAccountId
105105 = lens _mwpawllAccountId
106106 (\ s a -> s{_mwpawllAccountId = a})
107107
108−-- | An index of the first webProperty-AdWords link to retrieve. Use this
108+-- | An index of the first webProperty-Google Ads link to retrieve. Use this
109109-- parameter as a pagination mechanism along with the max-results
110110-- parameter.
111111mwpawllStartIndex :: Lens' ManagementWebPropertyAdWordsLinksList (Maybe Int32)
@@ -114,7 +114,7 @@ mwpawllStartIndex
114114 (\ s a -> s{_mwpawllStartIndex = a})
115115 . mapping _Coerce
116116
117−-- | The maximum number of webProperty-AdWords links to include in this
117+-- | The maximum number of webProperty-Google Ads links to include in this
118118-- response.
119119mwpawllMaxResults :: Lens' ManagementWebPropertyAdWordsLinksList (Maybe Int32)
120120mwpawllMaxResults
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Patch.hs+6−6
@@ -20,8 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Updates an existing webProperty-AdWords link. This method supports patch
24−-- semantics.
23+-- Updates an existing webProperty-Google Ads link. This method supports
24+-- patch semantics.
2525--
2626-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference> for @analytics.management.webPropertyAdWordsLinks.patch@.
2727module Network.Google.Resource.Analytics.Management.WebPropertyAdWordsLinks.Patch
@@ -59,8 +59,8 @@ type ManagementWebPropertyAdWordsLinksPatchResource =
5959 ReqBody '[JSON] EntityAdWordsLink :>
6060 Patch '[JSON] EntityAdWordsLink
6161
62−-- | Updates an existing webProperty-AdWords link. This method supports patch
63−-- semantics.
62+-- | Updates an existing webProperty-Google Ads link. This method supports
63+-- patch semantics.
6464--
6565-- /See:/ 'managementWebPropertyAdWordsLinksPatch' smart constructor.
6666data ManagementWebPropertyAdWordsLinksPatch =
@@ -97,7 +97,7 @@ managementWebPropertyAdWordsLinksPatch pMwpawlpWebPropertyId_ pMwpawlpPayload_ p
9797 , _mwpawlpWebPropertyAdWordsLinkId = pMwpawlpWebPropertyAdWordsLinkId_
9898 }
9999
100−-- | Web property ID to retrieve the AdWords link for.
100+-- | Web property ID to retrieve the Google Ads link for.
101101mwpawlpWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksPatch Text
102102mwpawlpWebPropertyId
103103 = lens _mwpawlpWebPropertyId
@@ -115,7 +115,7 @@ mwpawlpAccountId
115115 = lens _mwpawlpAccountId
116116 (\ s a -> s{_mwpawlpAccountId = a})
117117
118−-- | Web property-AdWords link ID.
118+-- | Web property-Google Ads link ID.
119119mwpawlpWebPropertyAdWordsLinkId :: Lens' ManagementWebPropertyAdWordsLinksPatch Text
120120mwpawlpWebPropertyAdWordsLinkId
121121 = lens _mwpawlpWebPropertyAdWordsLinkId
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Update.hs+4−4
@@ -20,7 +20,7 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Updates an existing webProperty-AdWords link.
23+-- Updates an existing webProperty-Google Ads link.
2424--
2525-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference> for @analytics.management.webPropertyAdWordsLinks.update@.
2626module Network.Google.Resource.Analytics.Management.WebPropertyAdWordsLinks.Update
@@ -59,7 +59,7 @@ type ManagementWebPropertyAdWordsLinksUpdateResource
5959 ReqBody '[JSON] EntityAdWordsLink :>
6060 Put '[JSON] EntityAdWordsLink
6161
62−-- | Updates an existing webProperty-AdWords link.
62+-- | Updates an existing webProperty-Google Ads link.
6363--
6464-- /See:/ 'managementWebPropertyAdWordsLinksUpdate' smart constructor.
6565data ManagementWebPropertyAdWordsLinksUpdate =
@@ -96,7 +96,7 @@ managementWebPropertyAdWordsLinksUpdate pMwpawluWebPropertyId_ pMwpawluPayload_
9696 , _mwpawluWebPropertyAdWordsLinkId = pMwpawluWebPropertyAdWordsLinkId_
9797 }
9898
99−-- | Web property ID to retrieve the AdWords link for.
99+-- | Web property ID to retrieve the Google Ads link for.
100100mwpawluWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksUpdate Text
101101mwpawluWebPropertyId
102102 = lens _mwpawluWebPropertyId
@@ -114,7 +114,7 @@ mwpawluAccountId
114114 = lens _mwpawluAccountId
115115 (\ s a -> s{_mwpawluAccountId = a})
116116
117−-- | Web property-AdWords link ID.
117+-- | Web property-Google Ads link ID.
118118mwpawluWebPropertyAdWordsLinkId :: Lens' ManagementWebPropertyAdWordsLinksUpdate Text
119119mwpawluWebPropertyAdWordsLinkId
120120 = lens _mwpawluWebPropertyAdWordsLinkId
gogol-analytics/gogol-analytics.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-analytics
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Analytics SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -129,5 +129,5 @@ library
129129 , Network.Google.Analytics.Types.Sum
130130
131131 build-depends:
132− gogol-core == 0.4.0.*
132+ gogol-core == 0.5.0.*
133133 , base >= 4.7 && < 5
gogol-analyticsreporting/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-analyticsreporting/gogol-analyticsreporting.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-analyticsreporting
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Analytics Reporting SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.AnalyticsReporting.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-android-enterprise/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-android-enterprise/gen/Network/Google/AndroidEnterprise.hs+6−5
@@ -65,9 +65,6 @@ module Network.Google.AndroidEnterprise
6565 -- ** androidenterprise.enterprises.get
6666 , module Network.Google.Resource.AndroidEnterprise.Enterprises.Get
6767
68− -- ** androidenterprise.enterprises.getAndroidDevicePolicyConfig
69− , module Network.Google.Resource.AndroidEnterprise.Enterprises.GetAndroidDevicePolicyConfig
70−
7168 -- ** androidenterprise.enterprises.getServiceAccount
7269 , module Network.Google.Resource.AndroidEnterprise.Enterprises.GetServiceAccount
7370
@@ -409,6 +406,7 @@ module Network.Google.AndroidEnterprise
409406 , awtsWebApps
410407 , awtsPermission
411408 , awtsStoreBuilder
409+ , awtsManagedConfigurations
412410
413411 -- ** ProductVisibility
414412 , ProductVisibility
@@ -831,6 +829,11 @@ module Network.Google.AndroidEnterprise
831829 , ppsPermission
832830 , ppsProductId
833831
832+ -- ** AdministratorWebTokenSpecManagedConfigurations
833+ , AdministratorWebTokenSpecManagedConfigurations
834+ , administratorWebTokenSpecManagedConfigurations
835+ , awtsmcEnabled
836+
834837 -- ** Permission
835838 , Permission
836839 , permission
@@ -900,7 +903,6 @@ import Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWeb
900903import Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll
901904import Network.Google.Resource.AndroidEnterprise.Enterprises.GenerateSignupURL
902905import Network.Google.Resource.AndroidEnterprise.Enterprises.Get
903−import Network.Google.Resource.AndroidEnterprise.Enterprises.GetAndroidDevicePolicyConfig
904906import Network.Google.Resource.AndroidEnterprise.Enterprises.GetServiceAccount
905907import Network.Google.Resource.AndroidEnterprise.Enterprises.GetStoreLayout
906908import Network.Google.Resource.AndroidEnterprise.Enterprises.List
@@ -1028,7 +1030,6 @@ type AndroidEnterpriseAPI =
10281030 :<|> EnterprisesGenerateSignupURLResource
10291031 :<|> EnterprisesSendTestPushNotificationResource
10301032 :<|> EnterprisesSetStoreLayoutResource
1031− :<|> EnterprisesGetAndroidDevicePolicyConfigResource
10321033 :<|> EnterprisesAcknowledgeNotificationSetResource
10331034 :<|> EnterprisesPullNotificationSetResource
10341035 :<|> ManagedConfigurationsforUserListResource
gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types.hs+6
@@ -139,6 +139,7 @@ module Network.Google.AndroidEnterprise.Types
139139 , awtsWebApps
140140 , awtsPermission
141141 , awtsStoreBuilder
142+ , awtsManagedConfigurations
142143
143144 -- * ProductVisibility
144145 , ProductVisibility
@@ -561,6 +562,11 @@ module Network.Google.AndroidEnterprise.Types
561562 , ppsPermission
562563 , ppsProductId
563564
565+ -- * AdministratorWebTokenSpecManagedConfigurations
566+ , AdministratorWebTokenSpecManagedConfigurations
567+ , administratorWebTokenSpecManagedConfigurations
568+ , awtsmcEnabled
569+
564570 -- * Permission
565571 , Permission
566572 , permission
gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Product.hs+77−22
@@ -1086,13 +1086,14 @@ instance ToJSON StoreCluster where
10861086-- /See:/ 'administratorWebTokenSpec' smart constructor.
10871087data AdministratorWebTokenSpec =
10881088 AdministratorWebTokenSpec'
1089− { _awtsParent :: !(Maybe Text)
1090− , _awtsPrivateApps :: !(Maybe AdministratorWebTokenSpecPrivateApps)
1091− , _awtsPlaySearch :: !(Maybe AdministratorWebTokenSpecPlaySearch)
1092− , _awtsKind :: !Text
1093− , _awtsWebApps :: !(Maybe AdministratorWebTokenSpecWebApps)
1094− , _awtsPermission :: !(Maybe [Text])
1095− , _awtsStoreBuilder :: !(Maybe AdministratorWebTokenSpecStoreBuilder)
1089+ { _awtsParent :: !(Maybe Text)
1090+ , _awtsPrivateApps :: !(Maybe AdministratorWebTokenSpecPrivateApps)
1091+ , _awtsPlaySearch :: !(Maybe AdministratorWebTokenSpecPlaySearch)
1092+ , _awtsKind :: !Text
1093+ , _awtsWebApps :: !(Maybe AdministratorWebTokenSpecWebApps)
1094+ , _awtsPermission :: !(Maybe [Text])
1095+ , _awtsStoreBuilder :: !(Maybe AdministratorWebTokenSpecStoreBuilder)
1096+ , _awtsManagedConfigurations :: !(Maybe AdministratorWebTokenSpecManagedConfigurations)
10961097 }
10971098 deriving (Eq, Show, Data, Typeable, Generic)
10981099
@@ -1113,6 +1114,8 @@ data AdministratorWebTokenSpec =
11131114-- * 'awtsPermission'
11141115--
11151116-- * 'awtsStoreBuilder'
1117+--
1118+-- * 'awtsManagedConfigurations'
11161119administratorWebTokenSpec
11171120 :: AdministratorWebTokenSpec
11181121administratorWebTokenSpec =
@@ -1124,6 +1127,7 @@ administratorWebTokenSpec =
11241127 , _awtsWebApps = Nothing
11251128 , _awtsPermission = Nothing
11261129 , _awtsStoreBuilder = Nothing
1130+ , _awtsManagedConfigurations = Nothing
11271131 }
11281132
11291133-- | The URI of the parent frame hosting the iframe. To prevent XSS, the
@@ -1168,6 +1172,12 @@ awtsStoreBuilder
11681172 = lens _awtsStoreBuilder
11691173 (\ s a -> s{_awtsStoreBuilder = a})
11701174
1175+-- | Options for displaying the Managed Configuration page.
1176+awtsManagedConfigurations :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecManagedConfigurations)
1177+awtsManagedConfigurations
1178+ = lens _awtsManagedConfigurations
1179+ (\ s a -> s{_awtsManagedConfigurations = a})
1180+
11711181instance FromJSON AdministratorWebTokenSpec where
11721182 parseJSON
11731183 = withObject "AdministratorWebTokenSpec"
@@ -1180,7 +1190,8 @@ instance FromJSON AdministratorWebTokenSpec where
11801190 "androidenterprise#administratorWebTokenSpec")
11811191 <*> (o .:? "webApps")
11821192 <*> (o .:? "permission" .!= mempty)
1183− <*> (o .:? "storeBuilder"))
1193+ <*> (o .:? "storeBuilder")
1194+ <*> (o .:? "managedConfigurations"))
11841195
11851196instance ToJSON AdministratorWebTokenSpec where
11861197 toJSON AdministratorWebTokenSpec'{..}
@@ -1192,7 +1203,9 @@ instance ToJSON AdministratorWebTokenSpec where
11921203 Just ("kind" .= _awtsKind),
11931204 ("webApps" .=) <$> _awtsWebApps,
11941205 ("permission" .=) <$> _awtsPermission,
1195− ("storeBuilder" .=) <$> _awtsStoreBuilder])
1206+ ("storeBuilder" .=) <$> _awtsStoreBuilder,
1207+ ("managedConfigurations" .=) <$>
1208+ _awtsManagedConfigurations])
11961209
11971210-- | A product to be made visible to a user.
11981211--
@@ -1779,7 +1792,7 @@ instance ToJSON Device where
17791792 ("managementType" .=) <$> _dManagementType,
17801793 ("androidId" .=) <$> _dAndroidId])
17811794
1782−-- | The Auto install constraint. Defines a set of restrictions for
1795+-- | The auto-install constraint. Defines a set of restrictions for
17831796-- installation. At least one of the fields must be set.
17841797--
17851798-- /See:/ 'autoInstallConstraint' smart constructor.
@@ -1809,19 +1822,19 @@ autoInstallConstraint =
18091822 , _aicNetworkTypeConstraint = Nothing
18101823 }
18111824
1812−-- | Charging state to constrain on.
1825+-- | Charging state constraint.
18131826aicChargingStateConstraint :: Lens' AutoInstallConstraint (Maybe Text)
18141827aicChargingStateConstraint
18151828 = lens _aicChargingStateConstraint
18161829 (\ s a -> s{_aicChargingStateConstraint = a})
18171830
1818−-- | The idle state of the device to constrain on.
1831+-- | Device idle state constraint.
18191832aicDeviceIdleStateConstraint :: Lens' AutoInstallConstraint (Maybe Text)
18201833aicDeviceIdleStateConstraint
18211834 = lens _aicDeviceIdleStateConstraint
18221835 (\ s a -> s{_aicDeviceIdleStateConstraint = a})
18231836
1824−-- | Network type to constrain on.
1837+-- | Network type constraint.
18251838aicNetworkTypeConstraint :: Lens' AutoInstallConstraint (Maybe Text)
18261839aicNetworkTypeConstraint
18271840 = lens _aicNetworkTypeConstraint
@@ -2171,7 +2184,7 @@ ppTrackIds
21712184 _Default
21722185 . _Coerce
21732186
2174−-- | The auto install policy for the product.
2187+-- | The auto-install policy for the product.
21752188ppAutoInstallPolicy :: Lens' ProductPolicy (Maybe AutoInstallPolicy)
21762189ppAutoInstallPolicy
21772190 = lens _ppAutoInstallPolicy
@@ -5195,6 +5208,48 @@ instance ToJSON ProductPermissions where
51955208 ("permission" .=) <$> _ppsPermission,
51965209 ("productId" .=) <$> _ppsProductId])
51975210
5211+--
5212+-- /See:/ 'administratorWebTokenSpecManagedConfigurations' smart constructor.
5213+newtype AdministratorWebTokenSpecManagedConfigurations =
5214+ AdministratorWebTokenSpecManagedConfigurations'
5215+ { _awtsmcEnabled :: Maybe Bool
5216+ }
5217+ deriving (Eq, Show, Data, Typeable, Generic)
5218+
5219+-- | Creates a value of 'AdministratorWebTokenSpecManagedConfigurations' with the minimum fields required to make a request.
5220+--
5221+-- Use one of the following lenses to modify other fields as desired:
5222+--
5223+-- * 'awtsmcEnabled'
5224+administratorWebTokenSpecManagedConfigurations
5225+ :: AdministratorWebTokenSpecManagedConfigurations
5226+administratorWebTokenSpecManagedConfigurations =
5227+ AdministratorWebTokenSpecManagedConfigurations' {_awtsmcEnabled = Nothing}
5228+
5229+-- | Whether the Managed Configuration page is displayed. Default is true.
5230+awtsmcEnabled :: Lens' AdministratorWebTokenSpecManagedConfigurations (Maybe Bool)
5231+awtsmcEnabled
5232+ = lens _awtsmcEnabled
5233+ (\ s a -> s{_awtsmcEnabled = a})
5234+
5235+instance FromJSON
5236+ AdministratorWebTokenSpecManagedConfigurations
5237+ where
5238+ parseJSON
5239+ = withObject
5240+ "AdministratorWebTokenSpecManagedConfigurations"
5241+ (\ o ->
5242+ AdministratorWebTokenSpecManagedConfigurations' <$>
5243+ (o .:? "enabled"))
5244+
5245+instance ToJSON
5246+ AdministratorWebTokenSpecManagedConfigurations
5247+ where
5248+ toJSON
5249+ AdministratorWebTokenSpecManagedConfigurations'{..}
5250+ = object
5251+ (catMaybes [("enabled" .=) <$> _awtsmcEnabled])
5252+
51985253-- | A Permissions resource represents some extra capability, to be granted
51995254-- to an Android app, which requires explicit consent. An enterprise admin
52005255-- must consent to these permissions on behalf of their users before an
@@ -5417,8 +5472,8 @@ autoInstallPolicy =
54175472 , _aipMinimumVersionCode = Nothing
54185473 }
54195474
5420−-- | The constraints for the install. Currently there can be at most one
5421−-- constraint.
5475+-- | The constraints for auto-installing the app. You can specify a maximum
5476+-- of one constraint.
54225477aipAutoInstallConstraint :: Lens' AutoInstallPolicy [AutoInstallConstraint]
54235478aipAutoInstallConstraint
54245479 = lens _aipAutoInstallConstraint
@@ -5426,22 +5481,22 @@ aipAutoInstallConstraint
54265481 . _Default
54275482 . _Coerce
54285483
5429−-- | The priority of the install, as an unsigned integer. Lower number means
5430−-- higher priority.
5484+-- | The priority of the install, as an unsigned integer. A lower number
5485+-- means higher priority.
54315486aipAutoInstallPriority :: Lens' AutoInstallPolicy (Maybe Int32)
54325487aipAutoInstallPriority
54335488 = lens _aipAutoInstallPriority
54345489 (\ s a -> s{_aipAutoInstallPriority = a})
54355490 . mapping _Coerce
54365491
5437−-- | The auto install mode. If unset defaults to AVAILABLE.
5492+-- | The auto-install mode. If unset defaults to \"doNotAutoInstall\".
54385493aipAutoInstallMode :: Lens' AutoInstallPolicy (Maybe Text)
54395494aipAutoInstallMode
54405495 = lens _aipAutoInstallMode
54415496 (\ s a -> s{_aipAutoInstallMode = a})
54425497
54435498-- | The minimum version of the app. If a lower version of the app is
5444−-- installed then the app will be auto-updated according to the
5499+-- installed, then the app will be auto-updated according to the
54455500-- auto-install constraints, instead of waiting for the regular
54465501-- auto-update.
54475502aipMinimumVersionCode :: Lens' AutoInstallPolicy (Maybe Int32)
@@ -5689,8 +5744,8 @@ waVersionCode
56895744 (\ s a -> s{_waVersionCode = a})
56905745 . mapping _Coerce
56915746
5692−-- | A list of icons representing this website. Must have at least one
5693−-- element.
5747+-- | A list of icons representing this website. If absent, a default icon
5748+-- (for create) or the current icon (for update) will be used.
56945749waIcons :: Lens' WebApp [WebAppIcon]
56955750waIcons
56965751 = lens _waIcons (\ s a -> s{_waIcons = a}) . _Default
gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Enterprises/GetAndroidDevicePolicyConfig.hsdeleted−97
@@ -1,97 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.AndroidEnterprise.Enterprises.GetAndroidDevicePolicyConfig
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Deprecated and unused.
24−--
25−-- /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.enterprises.getAndroidDevicePolicyConfig@.
26−module Network.Google.Resource.AndroidEnterprise.Enterprises.GetAndroidDevicePolicyConfig
27− (
28− -- * REST Resource
29− EnterprisesGetAndroidDevicePolicyConfigResource
30−
31− -- * Creating a Request
32− , enterprisesGetAndroidDevicePolicyConfig
33− , EnterprisesGetAndroidDevicePolicyConfig
34−
35− -- * Request Lenses
36− , egadpcEnterpriseId
37− ) where
38−
39−import Network.Google.AndroidEnterprise.Types
40−import Network.Google.Prelude
41−
42−-- | A resource alias for @androidenterprise.enterprises.getAndroidDevicePolicyConfig@ method which the
43−-- 'EnterprisesGetAndroidDevicePolicyConfig' request conforms to.
44−type EnterprisesGetAndroidDevicePolicyConfigResource
45− =
46− "androidenterprise" :>
47− "v1" :>
48− "enterprises" :>
49− Capture "enterpriseId" Text :>
50− "androidDevicePolicyConfig" :>
51− QueryParam "alt" AltJSON :>
52− Get '[JSON] AndroidDevicePolicyConfig
53−
54−-- | Deprecated and unused.
55−--
56−-- /See:/ 'enterprisesGetAndroidDevicePolicyConfig' smart constructor.
57−newtype EnterprisesGetAndroidDevicePolicyConfig =
58− EnterprisesGetAndroidDevicePolicyConfig'
59− { _egadpcEnterpriseId :: Text
60− }
61− deriving (Eq, Show, Data, Typeable, Generic)
62−
63−-- | Creates a value of 'EnterprisesGetAndroidDevicePolicyConfig' with the minimum fields required to make a request.
64−--
65−-- Use one of the following lenses to modify other fields as desired:
66−--
67−-- * 'egadpcEnterpriseId'
68−enterprisesGetAndroidDevicePolicyConfig
69− :: Text -- ^ 'egadpcEnterpriseId'
70− -> EnterprisesGetAndroidDevicePolicyConfig
71−enterprisesGetAndroidDevicePolicyConfig pEgadpcEnterpriseId_ =
72− EnterprisesGetAndroidDevicePolicyConfig'
73− {_egadpcEnterpriseId = pEgadpcEnterpriseId_}
74−
75−-- | The ID of the enterprise.
76−egadpcEnterpriseId :: Lens' EnterprisesGetAndroidDevicePolicyConfig Text
77−egadpcEnterpriseId
78− = lens _egadpcEnterpriseId
79− (\ s a -> s{_egadpcEnterpriseId = a})
80−
81−instance GoogleRequest
82− EnterprisesGetAndroidDevicePolicyConfig
83− where
84− type Rs EnterprisesGetAndroidDevicePolicyConfig =
85− AndroidDevicePolicyConfig
86− type Scopes EnterprisesGetAndroidDevicePolicyConfig =
87− '["https://www.googleapis.com/auth/androidenterprise"]
88− requestClient
89− EnterprisesGetAndroidDevicePolicyConfig'{..}
90− = go _egadpcEnterpriseId (Just AltJSON)
91− androidEnterpriseService
92− where go
93− = buildClient
94− (Proxy ::
95− Proxy
96− EnterprisesGetAndroidDevicePolicyConfigResource)
97− mempty
gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Products/List.hs+3−3
@@ -110,9 +110,9 @@ plEnterpriseId
110110 = lens _plEnterpriseId
111111 (\ s a -> s{_plEnterpriseId = a})
112112
113−-- | A pagination token is contained in a request\'\'s response when there
114−-- are more products. The token can be used in a subsequent request to
115−-- obtain more products, and so forth. This parameter cannot be used in the
113+-- | A pagination token is contained in a request\'s response when there are
114+-- more products. The token can be used in a subsequent request to obtain
115+-- more products, and so forth. This parameter cannot be used in the
116116-- initial request.
117117plToken :: Lens' ProductsList (Maybe Text)
118118plToken = lens _plToken (\ s a -> s{_plToken = a})
gogol-android-enterprise/gogol-android-enterprise.cabal+2−3
@@ -1,5 +1,5 @@
11name: gogol-android-enterprise
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play EMM SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,7 +47,6 @@ library
4747 , Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll
4848 , Network.Google.Resource.AndroidEnterprise.Enterprises.GenerateSignupURL
4949 , Network.Google.Resource.AndroidEnterprise.Enterprises.Get
50− , Network.Google.Resource.AndroidEnterprise.Enterprises.GetAndroidDevicePolicyConfig
5150 , Network.Google.Resource.AndroidEnterprise.Enterprises.GetServiceAccount
5251 , Network.Google.Resource.AndroidEnterprise.Enterprises.GetStoreLayout
5352 , Network.Google.Resource.AndroidEnterprise.Enterprises.List
@@ -128,5 +127,5 @@ library
128127 , Network.Google.AndroidEnterprise.Types.Sum
129128
130129 build-depends:
131− gogol-core == 0.4.0.*
130+ gogol-core == 0.5.0.*
132131 , base >= 4.7 && < 5
gogol-android-publisher/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Product.hs+2−1
@@ -1147,7 +1147,8 @@ ppPurchaseTimeMillis
11471147-- | The type of purchase of the inapp product. This field is only set if
11481148-- this purchase was not made using the standard in-app billing flow.
11491149-- Possible values are: - Test (i.e. purchased from a license testing
1150−-- account) - Promo (i.e. purchased using a promo code)
1150+-- account) - Promo (i.e. purchased using a promo code) - Rewarded (i.e.
1151+-- from watching a video ad instead of paying)
11511152ppPurchaseType :: Lens' ProductPurchase (Maybe Int32)
11521153ppPurchaseType
11531154 = lens _ppPurchaseType
gogol-android-publisher/gogol-android-publisher.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-android-publisher
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play Developer SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -93,5 +93,5 @@ library
9393 , Network.Google.AndroidPublisher.Types.Sum
9494
9595 build-depends:
96− gogol-core == 0.4.0.*
96+ gogol-core == 0.5.0.*
9797 , base >= 4.7 && < 5
gogol-androiddeviceprovisioning/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-androiddeviceprovisioning/gogol-androiddeviceprovisioning.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-androiddeviceprovisioning
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Android Device Provisioning Partner SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -68,5 +68,5 @@ library
6868 , Network.Google.AndroidDeviceProvisioning.Types.Sum
6969
7070 build-depends:
71− gogol-core == 0.4.0.*
71+ gogol-core == 0.5.0.*
7272 , base >= 4.7 && < 5
gogol-androidmanagement/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-androidmanagement/gen/Network/Google/AndroidManagement.hs+13
@@ -167,6 +167,11 @@ module Network.Google.AndroidManagement
167167 , policyOpenNetworkConfiguration
168168 , poncAddtional
169169
170+ -- ** LaunchAppAction
171+ , LaunchAppAction
172+ , launchAppAction
173+ , laaPackageName
174+
170175 -- ** CommandErrorCode
171176 , CommandErrorCode (..)
172177
@@ -577,6 +582,7 @@ module Network.Google.AndroidManagement
577582 , pEnsureVerifyAppsEnabled
578583 , pSetWallpaperDisabled
579584 , pVPNConfigDisabled
585+ , pSetupActions
580586 , pOpenNetworkConfiguration
581587 , pModifyAccountsDisabled
582588 , pBlockApplicationsEnabled
@@ -711,6 +717,13 @@ module Network.Google.AndroidManagement
711717 , apDescription
712718 , apPermissionId
713719
720+ -- ** SetupAction
721+ , SetupAction
722+ , setupAction
723+ , saLaunchApp
724+ , saTitle
725+ , saDescription
726+
714727 -- ** PasswordRequirementsPasswordQuality
715728 , PasswordRequirementsPasswordQuality (..)
716729 ) where
gogol-androidmanagement/gen/Network/Google/AndroidManagement/Types.hs+13
@@ -94,6 +94,11 @@ module Network.Google.AndroidManagement.Types
9494 , policyOpenNetworkConfiguration
9595 , poncAddtional
9696
97+ -- * LaunchAppAction
98+ , LaunchAppAction
99+ , launchAppAction
100+ , laaPackageName
101+
97102 -- * CommandErrorCode
98103 , CommandErrorCode (..)
99104
@@ -504,6 +509,7 @@ module Network.Google.AndroidManagement.Types
504509 , pEnsureVerifyAppsEnabled
505510 , pSetWallpaperDisabled
506511 , pVPNConfigDisabled
512+ , pSetupActions
507513 , pOpenNetworkConfiguration
508514 , pModifyAccountsDisabled
509515 , pBlockApplicationsEnabled
@@ -638,6 +644,13 @@ module Network.Google.AndroidManagement.Types
638644 , apDescription
639645 , apPermissionId
640646
647+ -- * SetupAction
648+ , SetupAction
649+ , setupAction
650+ , saLaunchApp
651+ , saTitle
652+ , saDescription
653+
641654 -- * PasswordRequirementsPasswordQuality
642655 , PasswordRequirementsPasswordQuality (..)
643656 ) where
gogol-androidmanagement/gen/Network/Google/AndroidManagement/Types/Product.hs+106−2
@@ -615,6 +615,40 @@ instance FromJSON PolicyOpenNetworkConfiguration
615615instance ToJSON PolicyOpenNetworkConfiguration where
616616 toJSON = toJSON . _poncAddtional
617617
618+-- | An action to launch an app.
619+--
620+-- /See:/ 'launchAppAction' smart constructor.
621+newtype LaunchAppAction =
622+ LaunchAppAction'
623+ { _laaPackageName :: Maybe Text
624+ }
625+ deriving (Eq, Show, Data, Typeable, Generic)
626+
627+-- | Creates a value of 'LaunchAppAction' with the minimum fields required to make a request.
628+--
629+-- Use one of the following lenses to modify other fields as desired:
630+--
631+-- * 'laaPackageName'
632+launchAppAction
633+ :: LaunchAppAction
634+launchAppAction = LaunchAppAction' {_laaPackageName = Nothing}
635+
636+-- | Package name of app to be launched
637+laaPackageName :: Lens' LaunchAppAction (Maybe Text)
638+laaPackageName
639+ = lens _laaPackageName
640+ (\ s a -> s{_laaPackageName = a})
641+
642+instance FromJSON LaunchAppAction where
643+ parseJSON
644+ = withObject "LaunchAppAction"
645+ (\ o -> LaunchAppAction' <$> (o .:? "packageName"))
646+
647+instance ToJSON LaunchAppAction where
648+ toJSON LaunchAppAction'{..}
649+ = object
650+ (catMaybes [("packageName" .=) <$> _laaPackageName])
651+
618652-- | Hardware status. Temperatures may be compared to the temperature
619653-- thresholds available in hardwareInfo to determine hardware health.
620654--
@@ -3764,6 +3798,7 @@ data Policy =
37643798 , _pEnsureVerifyAppsEnabled :: !(Maybe Bool)
37653799 , _pSetWallpaperDisabled :: !(Maybe Bool)
37663800 , _pVPNConfigDisabled :: !(Maybe Bool)
3801+ , _pSetupActions :: !(Maybe [SetupAction])
37673802 , _pOpenNetworkConfiguration :: !(Maybe PolicyOpenNetworkConfiguration)
37683803 , _pModifyAccountsDisabled :: !(Maybe Bool)
37693804 , _pBlockApplicationsEnabled :: !(Maybe Bool)
@@ -3893,6 +3928,8 @@ data Policy =
38933928--
38943929-- * 'pVPNConfigDisabled'
38953930--
3931+-- * 'pSetupActions'
3932+--
38963933-- * 'pOpenNetworkConfiguration'
38973934--
38983935-- * 'pModifyAccountsDisabled'
@@ -3996,6 +4033,7 @@ policy =
39964033 , _pEnsureVerifyAppsEnabled = Nothing
39974034 , _pSetWallpaperDisabled = Nothing
39984035 , _pVPNConfigDisabled = Nothing
4036+ , _pSetupActions = Nothing
39994037 , _pOpenNetworkConfiguration = Nothing
40004038 , _pModifyAccountsDisabled = Nothing
40014039 , _pBlockApplicationsEnabled = Nothing
@@ -4262,8 +4300,7 @@ pKioskCustomLauncherEnabled
42624300 = lens _pKioskCustomLauncherEnabled
42634301 (\ s a -> s{_pKioskCustomLauncherEnabled = a})
42644302
4265−-- | Whether Wi-Fi networks defined in Open Network Configuration are locked
4266−-- so they can\'t be edited by the user.
4303+-- | DEPRECATED - Use wifi_config_disabled.
42674304pWifiConfigsLockdownEnabled :: Lens' Policy (Maybe Bool)
42684305pWifiConfigsLockdownEnabled
42694306 = lens _pWifiConfigsLockdownEnabled
@@ -4365,6 +4402,14 @@ pVPNConfigDisabled
43654402 = lens _pVPNConfigDisabled
43664403 (\ s a -> s{_pVPNConfigDisabled = a})
43674404
4405+-- | Actions to take during the setup process.
4406+pSetupActions :: Lens' Policy [SetupAction]
4407+pSetupActions
4408+ = lens _pSetupActions
4409+ (\ s a -> s{_pSetupActions = a})
4410+ . _Default
4411+ . _Coerce
4412+
43684413-- | Network configuration for the device. See configure networks for more
43694414-- information.
43704415pOpenNetworkConfiguration :: Lens' Policy (Maybe PolicyOpenNetworkConfiguration)
@@ -4605,6 +4650,7 @@ instance FromJSON Policy where
46054650 <*> (o .:? "ensureVerifyAppsEnabled")
46064651 <*> (o .:? "setWallpaperDisabled")
46074652 <*> (o .:? "vpnConfigDisabled")
4653+ <*> (o .:? "setupActions" .!= mempty)
46084654 <*> (o .:? "openNetworkConfiguration")
46094655 <*> (o .:? "modifyAccountsDisabled")
46104656 <*> (o .:? "blockApplicationsEnabled")
@@ -4716,6 +4762,7 @@ instance ToJSON Policy where
47164762 ("setWallpaperDisabled" .=) <$>
47174763 _pSetWallpaperDisabled,
47184764 ("vpnConfigDisabled" .=) <$> _pVPNConfigDisabled,
4765+ ("setupActions" .=) <$> _pSetupActions,
47194766 ("openNetworkConfiguration" .=) <$>
47204767 _pOpenNetworkConfiguration,
47214768 ("modifyAccountsDisabled" .=) <$>
@@ -5757,3 +5804,60 @@ instance ToJSON ApplicationPermission where
57575804 [("name" .=) <$> _apName,
57585805 ("description" .=) <$> _apDescription,
57595806 ("permissionId" .=) <$> _apPermissionId])
5807+
5808+-- | An action executed during setup.
5809+--
5810+-- /See:/ 'setupAction' smart constructor.
5811+data SetupAction =
5812+ SetupAction'
5813+ { _saLaunchApp :: !(Maybe LaunchAppAction)
5814+ , _saTitle :: !(Maybe UserFacingMessage)
5815+ , _saDescription :: !(Maybe UserFacingMessage)
5816+ }
5817+ deriving (Eq, Show, Data, Typeable, Generic)
5818+
5819+-- | Creates a value of 'SetupAction' with the minimum fields required to make a request.
5820+--
5821+-- Use one of the following lenses to modify other fields as desired:
5822+--
5823+-- * 'saLaunchApp'
5824+--
5825+-- * 'saTitle'
5826+--
5827+-- * 'saDescription'
5828+setupAction
5829+ :: SetupAction
5830+setupAction =
5831+ SetupAction'
5832+ {_saLaunchApp = Nothing, _saTitle = Nothing, _saDescription = Nothing}
5833+
5834+-- | An action to launch an app.
5835+saLaunchApp :: Lens' SetupAction (Maybe LaunchAppAction)
5836+saLaunchApp
5837+ = lens _saLaunchApp (\ s a -> s{_saLaunchApp = a})
5838+
5839+-- | Title of this action.
5840+saTitle :: Lens' SetupAction (Maybe UserFacingMessage)
5841+saTitle = lens _saTitle (\ s a -> s{_saTitle = a})
5842+
5843+-- | Description of this action.
5844+saDescription :: Lens' SetupAction (Maybe UserFacingMessage)
5845+saDescription
5846+ = lens _saDescription
5847+ (\ s a -> s{_saDescription = a})
5848+
5849+instance FromJSON SetupAction where
5850+ parseJSON
5851+ = withObject "SetupAction"
5852+ (\ o ->
5853+ SetupAction' <$>
5854+ (o .:? "launchApp") <*> (o .:? "title") <*>
5855+ (o .:? "description"))
5856+
5857+instance ToJSON SetupAction where
5858+ toJSON SetupAction'{..}
5859+ = object
5860+ (catMaybes
5861+ [("launchApp" .=) <$> _saLaunchApp,
5862+ ("title" .=) <$> _saTitle,
5863+ ("description" .=) <$> _saDescription])
gogol-androidmanagement/gen/Network/Google/AndroidManagement/Types/Sum.hs+7−1
@@ -320,7 +320,7 @@ data PolicyPlayStoreMode
320320 | BlackList
321321 -- ^ @BLACKLIST@
322322 -- All apps are available and any app that should not be on the device
323− -- should be explicitly markeds as \'BLOCKED\' in the applications policy.
323+ -- should be explicitly marked as \'BLOCKED\' in the applications policy.
324324 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
325325
326326instance Hashable PolicyPlayStoreMode
@@ -437,6 +437,10 @@ data ApplicationPolicyInstallType
437437 | Available
438438 -- ^ @AVAILABLE@
439439 -- The app is available to install.
440+ | RequiredForSetup
441+ -- ^ @REQUIRED_FOR_SETUP@
442+ -- The app is automatically installed and can\'t be removed by the user and
443+ -- will prevent setup from completion until installation is complete.
440444 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
441445
442446instance Hashable ApplicationPolicyInstallType
@@ -448,6 +452,7 @@ instance FromHttpApiData ApplicationPolicyInstallType where
448452 "FORCE_INSTALLED" -> Right ForceInstalled
449453 "BLOCKED" -> Right Blocked
450454 "AVAILABLE" -> Right Available
455+ "REQUIRED_FOR_SETUP" -> Right RequiredForSetup
451456 x -> Left ("Unable to parse ApplicationPolicyInstallType from: " <> x)
452457
453458instance ToHttpApiData ApplicationPolicyInstallType where
@@ -457,6 +462,7 @@ instance ToHttpApiData ApplicationPolicyInstallType where
457462 ForceInstalled -> "FORCE_INSTALLED"
458463 Blocked -> "BLOCKED"
459464 Available -> "AVAILABLE"
465+ RequiredForSetup -> "REQUIRED_FOR_SETUP"
460466
461467instance FromJSON ApplicationPolicyInstallType where
462468 parseJSON = parseJSONText "ApplicationPolicyInstallType"
gogol-androidmanagement/gogol-androidmanagement.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-androidmanagement
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Android Management SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -63,5 +63,5 @@ library
6363 , Network.Google.AndroidManagement.Types.Sum
6464
6565 build-depends:
66− gogol-core == 0.4.0.*
66+ gogol-core == 0.5.0.*
6767 , base >= 4.7 && < 5
gogol-appengine/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-appengine/gen/Network/Google/AppEngine.hs+1
@@ -467,6 +467,7 @@ module Network.Google.AppEngine
467467 -- ** Network
468468 , Network
469469 , network
470+ , nSessionAffinity
470471 , nSubnetworkName
471472 , nForwardedPorts
472473 , nInstanceTag
gogol-appengine/gen/Network/Google/AppEngine/Types.hs+1
@@ -344,6 +344,7 @@ module Network.Google.AppEngine.Types
344344 -- * Network
345345 , Network
346346 , network
347+ , nSessionAffinity
347348 , nSubnetworkName
348349 , nForwardedPorts
349350 , nInstanceTag
gogol-appengine/gen/Network/Google/AppEngine/Types/Product.hs+21−8
@@ -2842,10 +2842,11 @@ instance ToJSON ListIngressRulesResponse where
28422842-- /See:/ 'network' smart constructor.
28432843data Network =
28442844 Network'
2845− { _nSubnetworkName :: !(Maybe Text)
2846− , _nForwardedPorts :: !(Maybe [Text])
2847− , _nInstanceTag :: !(Maybe Text)
2848− , _nName :: !(Maybe Text)
2845+ { _nSessionAffinity :: !(Maybe Bool)
2846+ , _nSubnetworkName :: !(Maybe Text)
2847+ , _nForwardedPorts :: !(Maybe [Text])
2848+ , _nInstanceTag :: !(Maybe Text)
2849+ , _nName :: !(Maybe Text)
28492850 }
28502851 deriving (Eq, Show, Data, Typeable, Generic)
28512852
@@ -2853,6 +2854,8 @@ data Network =
28532854--
28542855-- Use one of the following lenses to modify other fields as desired:
28552856--
2857+-- * 'nSessionAffinity'
2858+--
28562859-- * 'nSubnetworkName'
28572860--
28582861-- * 'nForwardedPorts'
@@ -2864,12 +2867,20 @@ network
28642867 :: Network
28652868network =
28662869 Network'
2867− { _nSubnetworkName = Nothing
2870+ { _nSessionAffinity = Nothing
2871+ , _nSubnetworkName = Nothing
28682872 , _nForwardedPorts = Nothing
28692873 , _nInstanceTag = Nothing
28702874 , _nName = Nothing
28712875 }
28722876
2877+-- | Enable session affinity. Only applicable in the App Engine flexible
2878+-- environment.
2879+nSessionAffinity :: Lens' Network (Maybe Bool)
2880+nSessionAffinity
2881+ = lens _nSessionAffinity
2882+ (\ s a -> s{_nSessionAffinity = a})
2883+
28732884-- | Google Cloud Platform sub-network where the virtual machines are
28742885-- created. Specify the short name, not the resource path.If a subnetwork
28752886-- name is specified, a network name will also be required unless it is for
@@ -2915,8 +2926,9 @@ instance FromJSON Network where
29152926 = withObject "Network"
29162927 (\ o ->
29172928 Network' <$>
2918− (o .:? "subnetworkName") <*>
2919− (o .:? "forwardedPorts" .!= mempty)
2929+ (o .:? "sessionAffinity") <*>
2930+ (o .:? "subnetworkName")
2931+ <*> (o .:? "forwardedPorts" .!= mempty)
29202932 <*> (o .:? "instanceTag")
29212933 <*> (o .:? "name"))
29222934
@@ -2924,7 +2936,8 @@ instance ToJSON Network where
29242936 toJSON Network'{..}
29252937 = object
29262938 (catMaybes
2927− [("subnetworkName" .=) <$> _nSubnetworkName,
2939+ [("sessionAffinity" .=) <$> _nSessionAffinity,
2940+ ("subnetworkName" .=) <$> _nSubnetworkName,
29282941 ("forwardedPorts" .=) <$> _nForwardedPorts,
29292942 ("instanceTag" .=) <$> _nInstanceTag,
29302943 ("name" .=) <$> _nName])
gogol-appengine/gogol-appengine.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-appengine
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google App Engine Admin SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -79,5 +79,5 @@ library
7979 , Network.Google.AppEngine.Types.Sum
8080
8181 build-depends:
82− gogol-core == 0.4.0.*
82+ gogol-core == 0.5.0.*
8383 , base >= 4.7 && < 5
gogol-apps-activity/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-apps-activity/gogol-apps-activity.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-apps-activity
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Drive Activity SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.AppsActivity.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-apps-calendar/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-apps-calendar/gogol-apps-calendar.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-apps-calendar
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Calendar SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -78,5 +78,5 @@ library
7878 , Network.Google.AppsCalendar.Types.Sum
7979
8080 build-depends:
81− gogol-core == 0.4.0.*
81+ gogol-core == 0.5.0.*
8282 , base >= 4.7 && < 5
gogol-apps-licensing/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-apps-licensing/gogol-apps-licensing.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-apps-licensing
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Enterprise License Manager SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -48,5 +48,5 @@ library
4848 , Network.Google.AppsLicensing.Types.Sum
4949
5050 build-depends:
51− gogol-core == 0.4.0.*
51+ gogol-core == 0.5.0.*
5252 , base >= 4.7 && < 5
gogol-apps-reseller/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-apps-reseller/gogol-apps-reseller.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-apps-reseller
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Enterprise Apps Reseller SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -62,5 +62,5 @@ library
6262 , Network.Google.AppsReseller.Types.Sum
6363
6464 build-depends:
65− gogol-core == 0.4.0.*
65+ gogol-core == 0.5.0.*
6666 , base >= 4.7 && < 5
gogol-apps-tasks/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-apps-tasks/gogol-apps-tasks.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-apps-tasks
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Tasks SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -55,5 +55,5 @@ library
5555 , Network.Google.AppsTasks.Types.Sum
5656
5757 build-depends:
58− gogol-core == 0.4.0.*
58+ gogol-core == 0.5.0.*
5959 , base >= 4.7 && < 5
gogol-appstate/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-appstate/gogol-appstate.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-appstate
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google App State SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@ library
4646 , Network.Google.AppState.Types.Sum
4747
4848 build-depends:
49− gogol-core == 0.4.0.*
49+ gogol-core == 0.5.0.*
5050 , base >= 4.7 && < 5
gogol-bigquery/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-bigquery/gen/Network/Google/BigQuery.hs+8
@@ -276,6 +276,7 @@ module Network.Google.BigQuery
276276 , externalDataConfiguration
277277 , edcBigtableOptions
278278 , edcIgnoreUnknownValues
279+ , edcHivePartitioningMode
279280 , edcCompression
280281 , edcSourceFormat
281282 , edcSchema
@@ -309,6 +310,7 @@ module Network.Google.BigQuery
309310 , TableFieldSchema
310311 , tableFieldSchema
311312 , tfsMode
313+ , tfsCategories
312314 , tfsName
313315 , tfsType
314316 , tfsDescription
@@ -448,6 +450,7 @@ module Network.Google.BigQuery
448450 , jclSchemaInline
449451 , jclIgnoreUnknownValues
450452 , jclSchemaUpdateOptions
453+ , jclHivePartitioningMode
451454 , jclCreateDisPosition
452455 , jclSchemaInlineFormat
453456 , jclAllowQuotedNewlines
@@ -728,6 +731,11 @@ module Network.Google.BigQuery
728731 , jDdlOperationPerformed
729732 , jTotalPartitionsProcessed
730733
734+ -- ** TableFieldSchemaCategories
735+ , TableFieldSchemaCategories
736+ , tableFieldSchemaCategories
737+ , tfscNames
738+
731739 -- ** JobStatus
732740 , JobStatus
733741 , jobStatus
gogol-bigquery/gen/Network/Google/BigQuery/Types.hs+8
@@ -201,6 +201,7 @@ module Network.Google.BigQuery.Types
201201 , externalDataConfiguration
202202 , edcBigtableOptions
203203 , edcIgnoreUnknownValues
204+ , edcHivePartitioningMode
204205 , edcCompression
205206 , edcSourceFormat
206207 , edcSchema
@@ -234,6 +235,7 @@ module Network.Google.BigQuery.Types
234235 , TableFieldSchema
235236 , tableFieldSchema
236237 , tfsMode
238+ , tfsCategories
237239 , tfsName
238240 , tfsType
239241 , tfsDescription
@@ -373,6 +375,7 @@ module Network.Google.BigQuery.Types
373375 , jclSchemaInline
374376 , jclIgnoreUnknownValues
375377 , jclSchemaUpdateOptions
378+ , jclHivePartitioningMode
376379 , jclCreateDisPosition
377380 , jclSchemaInlineFormat
378381 , jclAllowQuotedNewlines
@@ -653,6 +656,11 @@ module Network.Google.BigQuery.Types
653656 , jDdlOperationPerformed
654657 , jTotalPartitionsProcessed
655658
659+ -- * TableFieldSchemaCategories
660+ , TableFieldSchemaCategories
661+ , tableFieldSchemaCategories
662+ , tfscNames
663+
656664 -- * JobStatus
657665 , JobStatus
658666 , jobStatus
gogol-bigquery/gen/Network/Google/BigQuery/Types/Product.hs+102−13
@@ -1686,16 +1686,17 @@ instance ToJSON Clustering where
16861686-- /See:/ 'externalDataConfiguration' smart constructor.
16871687data ExternalDataConfiguration =
16881688 ExternalDataConfiguration'
1689− { _edcBigtableOptions :: !(Maybe BigtableOptions)
1690− , _edcIgnoreUnknownValues :: !(Maybe Bool)
1691− , _edcCompression :: !(Maybe Text)
1692− , _edcSourceFormat :: !(Maybe Text)
1693− , _edcSchema :: !(Maybe TableSchema)
1694− , _edcMaxBadRecords :: !(Maybe (Textual Int32))
1695− , _edcGoogleSheetsOptions :: !(Maybe GoogleSheetsOptions)
1696− , _edcAutodetect :: !(Maybe Bool)
1697− , _edcSourceURIs :: !(Maybe [Text])
1698− , _edcCSVOptions :: !(Maybe CSVOptions)
1689+ { _edcBigtableOptions :: !(Maybe BigtableOptions)
1690+ , _edcIgnoreUnknownValues :: !(Maybe Bool)
1691+ , _edcHivePartitioningMode :: !(Maybe Text)
1692+ , _edcCompression :: !(Maybe Text)
1693+ , _edcSourceFormat :: !(Maybe Text)
1694+ , _edcSchema :: !(Maybe TableSchema)
1695+ , _edcMaxBadRecords :: !(Maybe (Textual Int32))
1696+ , _edcGoogleSheetsOptions :: !(Maybe GoogleSheetsOptions)
1697+ , _edcAutodetect :: !(Maybe Bool)
1698+ , _edcSourceURIs :: !(Maybe [Text])
1699+ , _edcCSVOptions :: !(Maybe CSVOptions)
16991700 }
17001701 deriving (Eq, Show, Data, Typeable, Generic)
17011702
@@ -1707,6 +1708,8 @@ data ExternalDataConfiguration =
17071708--
17081709-- * 'edcIgnoreUnknownValues'
17091710--
1711+-- * 'edcHivePartitioningMode'
1712+--
17101713-- * 'edcCompression'
17111714--
17121715-- * 'edcSourceFormat'
@@ -1728,6 +1731,7 @@ externalDataConfiguration =
17281731 ExternalDataConfiguration'
17291732 { _edcBigtableOptions = Nothing
17301733 , _edcIgnoreUnknownValues = Nothing
1734+ , _edcHivePartitioningMode = Nothing
17311735 , _edcCompression = Nothing
17321736 , _edcSourceFormat = Nothing
17331737 , _edcSchema = Nothing
@@ -1758,6 +1762,17 @@ edcIgnoreUnknownValues
17581762 = lens _edcIgnoreUnknownValues
17591763 (\ s a -> s{_edcIgnoreUnknownValues = a})
17601764
1765+-- | [Optional, Experimental] If hive partitioning is enabled, which mode to
1766+-- use. Two modes are supported: - AUTO: automatically infer partition key
1767+-- name(s) and type(s). - STRINGS: automatic infer partition key name(s).
1768+-- All types are strings. Not all storage formats support hive partitioning
1769+-- -- requesting hive partitioning on an unsupported format will lead to an
1770+-- error.
1771+edcHivePartitioningMode :: Lens' ExternalDataConfiguration (Maybe Text)
1772+edcHivePartitioningMode
1773+ = lens _edcHivePartitioningMode
1774+ (\ s a -> s{_edcHivePartitioningMode = a})
1775+
17611776-- | [Optional] The compression type of the data source. Possible values
17621777-- include GZIP and NONE. The default value is NONE. This setting is
17631778-- ignored for Google Cloud Bigtable, Google Cloud Datastore backups and
@@ -1837,6 +1852,7 @@ instance FromJSON ExternalDataConfiguration where
18371852 ExternalDataConfiguration' <$>
18381853 (o .:? "bigtableOptions") <*>
18391854 (o .:? "ignoreUnknownValues")
1855+ <*> (o .:? "hivePartitioningMode")
18401856 <*> (o .:? "compression")
18411857 <*> (o .:? "sourceFormat")
18421858 <*> (o .:? "schema")
@@ -1853,6 +1869,8 @@ instance ToJSON ExternalDataConfiguration where
18531869 [("bigtableOptions" .=) <$> _edcBigtableOptions,
18541870 ("ignoreUnknownValues" .=) <$>
18551871 _edcIgnoreUnknownValues,
1872+ ("hivePartitioningMode" .=) <$>
1873+ _edcHivePartitioningMode,
18561874 ("compression" .=) <$> _edcCompression,
18571875 ("sourceFormat" .=) <$> _edcSourceFormat,
18581876 ("schema" .=) <$> _edcSchema,
@@ -2029,6 +2047,7 @@ instance ToJSON RangePartitioning where
20292047data TableFieldSchema =
20302048 TableFieldSchema'
20312049 { _tfsMode :: !(Maybe Text)
2050+ , _tfsCategories :: !(Maybe TableFieldSchemaCategories)
20322051 , _tfsName :: !(Maybe Text)
20332052 , _tfsType :: !(Maybe Text)
20342053 , _tfsDescription :: !(Maybe Text)
@@ -2042,6 +2061,8 @@ data TableFieldSchema =
20422061--
20432062-- * 'tfsMode'
20442063--
2064+-- * 'tfsCategories'
2065+--
20452066-- * 'tfsName'
20462067--
20472068-- * 'tfsType'
@@ -2054,6 +2075,7 @@ tableFieldSchema
20542075tableFieldSchema =
20552076 TableFieldSchema'
20562077 { _tfsMode = Nothing
2078+ , _tfsCategories = Nothing
20572079 , _tfsName = Nothing
20582080 , _tfsType = Nothing
20592081 , _tfsDescription = Nothing
@@ -2065,6 +2087,13 @@ tableFieldSchema =
20652087tfsMode :: Lens' TableFieldSchema (Maybe Text)
20662088tfsMode = lens _tfsMode (\ s a -> s{_tfsMode = a})
20672089
2090+-- | [Optional] The categories attached to this field, used for field-level
2091+-- access control.
2092+tfsCategories :: Lens' TableFieldSchema (Maybe TableFieldSchemaCategories)
2093+tfsCategories
2094+ = lens _tfsCategories
2095+ (\ s a -> s{_tfsCategories = a})
2096+
20682097-- | [Required] The field name. The name must contain only letters (a-z,
20692098-- A-Z), numbers (0-9), or underscores (_), and must start with a letter or
20702099-- underscore. The maximum length is 128 characters.
@@ -2099,7 +2128,9 @@ instance FromJSON TableFieldSchema where
20992128 = withObject "TableFieldSchema"
21002129 (\ o ->
21012130 TableFieldSchema' <$>
2102− (o .:? "mode") <*> (o .:? "name") <*> (o .:? "type")
2131+ (o .:? "mode") <*> (o .:? "categories") <*>
2132+ (o .:? "name")
2133+ <*> (o .:? "type")
21032134 <*> (o .:? "description")
21042135 <*> (o .:? "fields" .!= mempty))
21052136
@@ -2107,8 +2138,9 @@ instance ToJSON TableFieldSchema where
21072138 toJSON TableFieldSchema'{..}
21082139 = object
21092140 (catMaybes
2110− [("mode" .=) <$> _tfsMode, ("name" .=) <$> _tfsName,
2111− ("type" .=) <$> _tfsType,
2141+ [("mode" .=) <$> _tfsMode,
2142+ ("categories" .=) <$> _tfsCategories,
2143+ ("name" .=) <$> _tfsName, ("type" .=) <$> _tfsType,
21122144 ("description" .=) <$> _tfsDescription,
21132145 ("fields" .=) <$> _tfsFields])
21142146
@@ -3401,6 +3433,7 @@ data JobConfigurationLoad =
34013433 , _jclSchemaInline :: !(Maybe Text)
34023434 , _jclIgnoreUnknownValues :: !(Maybe Bool)
34033435 , _jclSchemaUpdateOptions :: !(Maybe [Text])
3436+ , _jclHivePartitioningMode :: !(Maybe Text)
34043437 , _jclCreateDisPosition :: !(Maybe Text)
34053438 , _jclSchemaInlineFormat :: !(Maybe Text)
34063439 , _jclAllowQuotedNewlines :: !(Maybe Bool)
@@ -3444,6 +3477,8 @@ data JobConfigurationLoad =
34443477--
34453478-- * 'jclSchemaUpdateOptions'
34463479--
3480+-- * 'jclHivePartitioningMode'
3481+--
34473482-- * 'jclCreateDisPosition'
34483483--
34493484-- * 'jclSchemaInlineFormat'
@@ -3489,6 +3524,7 @@ jobConfigurationLoad =
34893524 , _jclSchemaInline = Nothing
34903525 , _jclIgnoreUnknownValues = Nothing
34913526 , _jclSchemaUpdateOptions = Nothing
3527+ , _jclHivePartitioningMode = Nothing
34923528 , _jclCreateDisPosition = Nothing
34933529 , _jclSchemaInlineFormat = Nothing
34943530 , _jclAllowQuotedNewlines = Nothing
@@ -3611,6 +3647,17 @@ jclSchemaUpdateOptions
36113647 . _Default
36123648 . _Coerce
36133649
3650+-- | [Optional, Experimental] If hive partitioning is enabled, which mode to
3651+-- use. Two modes are supported: - AUTO: automatically infer partition key
3652+-- name(s) and type(s). - STRINGS: automatic infer partition key name(s).
3653+-- All types are strings. Not all storage formats support hive partitioning
3654+-- -- requesting hive partitioning on an unsupported format will lead to an
3655+-- error.
3656+jclHivePartitioningMode :: Lens' JobConfigurationLoad (Maybe Text)
3657+jclHivePartitioningMode
3658+ = lens _jclHivePartitioningMode
3659+ (\ s a -> s{_jclHivePartitioningMode = a})
3660+
36143661-- | [Optional] Specifies whether the job is allowed to create new tables.
36153662-- The following values are supported: CREATE_IF_NEEDED: If the table does
36163663-- not exist, BigQuery creates the table. CREATE_NEVER: The table must
@@ -3771,6 +3818,7 @@ instance FromJSON JobConfigurationLoad where
37713818 <*> (o .:? "schemaInline")
37723819 <*> (o .:? "ignoreUnknownValues")
37733820 <*> (o .:? "schemaUpdateOptions" .!= mempty)
3821+ <*> (o .:? "hivePartitioningMode")
37743822 <*> (o .:? "createDisposition")
37753823 <*> (o .:? "schemaInlineFormat")
37763824 <*> (o .:? "allowQuotedNewlines")
@@ -3804,6 +3852,8 @@ instance ToJSON JobConfigurationLoad where
38043852 _jclIgnoreUnknownValues,
38053853 ("schemaUpdateOptions" .=) <$>
38063854 _jclSchemaUpdateOptions,
3855+ ("hivePartitioningMode" .=) <$>
3856+ _jclHivePartitioningMode,
38073857 ("createDisposition" .=) <$> _jclCreateDisPosition,
38083858 ("schemaInlineFormat" .=) <$> _jclSchemaInlineFormat,
38093859 ("allowQuotedNewlines" .=) <$>
@@ -6404,6 +6454,45 @@ instance ToJSON JobStatistics2 where
64046454 ("totalPartitionsProcessed" .=) <$>
64056455 _jTotalPartitionsProcessed])
64066456
6457+-- | [Optional] The categories attached to this field, used for field-level
6458+-- access control.
6459+--
6460+-- /See:/ 'tableFieldSchemaCategories' smart constructor.
6461+newtype TableFieldSchemaCategories =
6462+ TableFieldSchemaCategories'
6463+ { _tfscNames :: Maybe [Text]
6464+ }
6465+ deriving (Eq, Show, Data, Typeable, Generic)
6466+
6467+-- | Creates a value of 'TableFieldSchemaCategories' with the minimum fields required to make a request.
6468+--
6469+-- Use one of the following lenses to modify other fields as desired:
6470+--
6471+-- * 'tfscNames'
6472+tableFieldSchemaCategories
6473+ :: TableFieldSchemaCategories
6474+tableFieldSchemaCategories = TableFieldSchemaCategories' {_tfscNames = Nothing}
6475+
6476+-- | A list of category resource names. For example,
6477+-- \"projects\/1\/taxonomies\/2\/categories\/3\". At most 5 categories are
6478+-- allowed.
6479+tfscNames :: Lens' TableFieldSchemaCategories [Text]
6480+tfscNames
6481+ = lens _tfscNames (\ s a -> s{_tfscNames = a}) .
6482+ _Default
6483+ . _Coerce
6484+
6485+instance FromJSON TableFieldSchemaCategories where
6486+ parseJSON
6487+ = withObject "TableFieldSchemaCategories"
6488+ (\ o ->
6489+ TableFieldSchemaCategories' <$>
6490+ (o .:? "names" .!= mempty))
6491+
6492+instance ToJSON TableFieldSchemaCategories where
6493+ toJSON TableFieldSchemaCategories'{..}
6494+ = object (catMaybes [("names" .=) <$> _tfscNames])
6495+
64076496--
64086497-- /See:/ 'jobStatus' smart constructor.
64096498data JobStatus =
gogol-bigquery/gogol-bigquery.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-bigquery
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google BigQuery SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -63,5 +63,5 @@ library
6363 , Network.Google.BigQuery.Types.Sum
6464
6565 build-depends:
66− gogol-core == 0.4.0.*
66+ gogol-core == 0.5.0.*
6767 , base >= 4.7 && < 5
gogol-bigquerydatatransfer/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-bigquerydatatransfer/gen/Network/Google/BigQueryDataTransfer.hs+8
@@ -179,6 +179,13 @@ module Network.Google.BigQueryDataTransfer
179179 , Empty
180180 , empty
181181
182+ -- ** ScheduleOptions
183+ , ScheduleOptions
184+ , scheduleOptions
185+ , soStartTime
186+ , soDisableAutoScheduling
187+ , soEndTime
188+
182189 -- ** TransferRunState
183190 , TransferRunState (..)
184191
@@ -307,6 +314,7 @@ module Network.Google.BigQueryDataTransfer
307314 , transferConfig
308315 , tcState
309316 , tcSchedule
317+ , tcScheduleOptions
310318 , tcDisabled
311319 , tcDataSourceId
312320 , tcParams
gogol-bigquerydatatransfer/gen/Network/Google/BigQueryDataTransfer/Types.hs+8
@@ -85,6 +85,13 @@ module Network.Google.BigQueryDataTransfer.Types
8585 , Empty
8686 , empty
8787
88+ -- * ScheduleOptions
89+ , ScheduleOptions
90+ , scheduleOptions
91+ , soStartTime
92+ , soDisableAutoScheduling
93+ , soEndTime
94+
8895 -- * TransferRunState
8996 , TransferRunState (..)
9097
@@ -213,6 +220,7 @@ module Network.Google.BigQueryDataTransfer.Types
213220 , transferConfig
214221 , tcState
215222 , tcSchedule
223+ , tcScheduleOptions
216224 , tcDisabled
217225 , tcDataSourceId
218226 , tcParams
gogol-bigquerydatatransfer/gen/Network/Google/BigQueryDataTransfer/Types/Product.hs+88−1
@@ -571,6 +571,81 @@ instance FromJSON Empty where
571571instance ToJSON Empty where
572572 toJSON = const emptyObject
573573
574+-- | Options customizing the data transfer schedule.
575+--
576+-- /See:/ 'scheduleOptions' smart constructor.
577+data ScheduleOptions =
578+ ScheduleOptions'
579+ { _soStartTime :: !(Maybe DateTime')
580+ , _soDisableAutoScheduling :: !(Maybe Bool)
581+ , _soEndTime :: !(Maybe DateTime')
582+ }
583+ deriving (Eq, Show, Data, Typeable, Generic)
584+
585+-- | Creates a value of 'ScheduleOptions' with the minimum fields required to make a request.
586+--
587+-- Use one of the following lenses to modify other fields as desired:
588+--
589+-- * 'soStartTime'
590+--
591+-- * 'soDisableAutoScheduling'
592+--
593+-- * 'soEndTime'
594+scheduleOptions
595+ :: ScheduleOptions
596+scheduleOptions =
597+ ScheduleOptions'
598+ { _soStartTime = Nothing
599+ , _soDisableAutoScheduling = Nothing
600+ , _soEndTime = Nothing
601+ }
602+
603+-- | Specifies time to start scheduling transfer runs. The first run will be
604+-- scheduled at or after the start time according to a recurrence pattern
605+-- defined in the schedule string. The start time can be changed at any
606+-- moment. The time when a data transfer can be trigerred manually is not
607+-- limited by this option.
608+soStartTime :: Lens' ScheduleOptions (Maybe UTCTime)
609+soStartTime
610+ = lens _soStartTime (\ s a -> s{_soStartTime = a}) .
611+ mapping _DateTime
612+
613+-- | If true, automatic scheduling of data transfer runs for this
614+-- configuration will be disabled. The runs can be started on ad-hoc basis
615+-- using StartManualTransferRuns API. When automatic scheduling is
616+-- disabled, the TransferConfig.schedule field will be ignored.
617+soDisableAutoScheduling :: Lens' ScheduleOptions (Maybe Bool)
618+soDisableAutoScheduling
619+ = lens _soDisableAutoScheduling
620+ (\ s a -> s{_soDisableAutoScheduling = a})
621+
622+-- | Defines time to stop scheduling transfer runs. A transfer run cannot be
623+-- scheduled at or after the end time. The end time can be changed at any
624+-- moment. The time when a data transfer can be trigerred manually is not
625+-- limited by this option.
626+soEndTime :: Lens' ScheduleOptions (Maybe UTCTime)
627+soEndTime
628+ = lens _soEndTime (\ s a -> s{_soEndTime = a}) .
629+ mapping _DateTime
630+
631+instance FromJSON ScheduleOptions where
632+ parseJSON
633+ = withObject "ScheduleOptions"
634+ (\ o ->
635+ ScheduleOptions' <$>
636+ (o .:? "startTime") <*>
637+ (o .:? "disableAutoScheduling")
638+ <*> (o .:? "endTime"))
639+
640+instance ToJSON ScheduleOptions where
641+ toJSON ScheduleOptions'{..}
642+ = object
643+ (catMaybes
644+ [("startTime" .=) <$> _soStartTime,
645+ ("disableAutoScheduling" .=) <$>
646+ _soDisableAutoScheduling,
647+ ("endTime" .=) <$> _soEndTime])
648+
574649-- | The returned list transfer run messages.
575650--
576651-- /See:/ 'listTransferLogsResponse' smart constructor.
@@ -1540,6 +1615,7 @@ data TransferConfig =
15401615 TransferConfig'
15411616 { _tcState :: !(Maybe TransferConfigState)
15421617 , _tcSchedule :: !(Maybe Text)
1618+ , _tcScheduleOptions :: !(Maybe ScheduleOptions)
15431619 , _tcDisabled :: !(Maybe Bool)
15441620 , _tcDataSourceId :: !(Maybe Text)
15451621 , _tcParams :: !(Maybe TransferConfigParams)
@@ -1562,6 +1638,8 @@ data TransferConfig =
15621638--
15631639-- * 'tcSchedule'
15641640--
1641+-- * 'tcScheduleOptions'
1642+--
15651643-- * 'tcDisabled'
15661644--
15671645-- * 'tcDataSourceId'
@@ -1589,6 +1667,7 @@ transferConfig =
15891667 TransferConfig'
15901668 { _tcState = Nothing
15911669 , _tcSchedule = Nothing
1670+ , _tcScheduleOptions = Nothing
15921671 , _tcDisabled = Nothing
15931672 , _tcDataSourceId = Nothing
15941673 , _tcParams = Nothing
@@ -1618,6 +1697,12 @@ tcSchedule :: Lens' TransferConfig (Maybe Text)
16181697tcSchedule
16191698 = lens _tcSchedule (\ s a -> s{_tcSchedule = a})
16201699
1700+-- | Options customizing the data transfer schedule.
1701+tcScheduleOptions :: Lens' TransferConfig (Maybe ScheduleOptions)
1702+tcScheduleOptions
1703+ = lens _tcScheduleOptions
1704+ (\ s a -> s{_tcScheduleOptions = a})
1705+
16211706-- | Is this config disabled. When set to true, no runs are scheduled for a
16221707-- given transfer.
16231708tcDisabled :: Lens' TransferConfig (Maybe Bool)
@@ -1699,7 +1784,8 @@ instance FromJSON TransferConfig where
16991784 (\ o ->
17001785 TransferConfig' <$>
17011786 (o .:? "state") <*> (o .:? "schedule") <*>
1702− (o .:? "disabled")
1787+ (o .:? "scheduleOptions")
1788+ <*> (o .:? "disabled")
17031789 <*> (o .:? "dataSourceId")
17041790 <*> (o .:? "params")
17051791 <*> (o .:? "userId")
@@ -1717,6 +1803,7 @@ instance ToJSON TransferConfig where
17171803 (catMaybes
17181804 [("state" .=) <$> _tcState,
17191805 ("schedule" .=) <$> _tcSchedule,
1806+ ("scheduleOptions" .=) <$> _tcScheduleOptions,
17201807 ("disabled" .=) <$> _tcDisabled,
17211808 ("dataSourceId" .=) <$> _tcDataSourceId,
17221809 ("params" .=) <$> _tcParams,
gogol-bigquerydatatransfer/gogol-bigquerydatatransfer.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-bigquerydatatransfer
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google BigQuery Data Transfer SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -70,5 +70,5 @@ library
7070 , Network.Google.BigQueryDataTransfer.Types.Sum
7171
7272 build-depends:
73− gogol-core == 0.4.0.*
73+ gogol-core == 0.5.0.*
7474 , base >= 4.7 && < 5
gogol-bigtableadmin/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-bigtableadmin/gen/Network/Google/BigtableAdmin.hs+16
@@ -265,9 +265,17 @@ module Network.Google.BigtableAdmin
265265 , CreateClusterMetadata
266266 , createClusterMetadata
267267 , ccmRequestTime
268+ , ccmTables
268269 , ccmOriginalRequest
269270 , ccmFinishTime
270271
272+ -- ** TableProgress
273+ , TableProgress
274+ , tableProgress
275+ , tpState
276+ , tpEstimatedSizeBytes
277+ , tpEstimatedCopiedBytes
278+
271279 -- ** Union
272280 , Union
273281 , union
@@ -278,6 +286,11 @@ module Network.Google.BigtableAdmin
278286 , statusDetailsItem
279287 , sdiAddtional
280288
289+ -- ** CreateClusterMetadataTables
290+ , CreateClusterMetadataTables
291+ , createClusterMetadataTables
292+ , ccmtAddtional
293+
281294 -- ** UpdateAppProFileMetadata
282295 , UpdateAppProFileMetadata
283296 , updateAppProFileMetadata
@@ -312,6 +325,9 @@ module Network.Google.BigtableAdmin
312325 , ltrNextPageToken
313326 , ltrTables
314327
328+ -- ** TableProgressState
329+ , TableProgressState (..)
330+
315331 -- ** AuditLogConfigLogType
316332 , AuditLogConfigLogType (..)
317333
gogol-bigtableadmin/gen/Network/Google/BigtableAdmin/Types.hs+16
@@ -163,9 +163,17 @@ module Network.Google.BigtableAdmin.Types
163163 , CreateClusterMetadata
164164 , createClusterMetadata
165165 , ccmRequestTime
166+ , ccmTables
166167 , ccmOriginalRequest
167168 , ccmFinishTime
168169
170+ -- * TableProgress
171+ , TableProgress
172+ , tableProgress
173+ , tpState
174+ , tpEstimatedSizeBytes
175+ , tpEstimatedCopiedBytes
176+
169177 -- * Union
170178 , Union
171179 , union
@@ -176,6 +184,11 @@ module Network.Google.BigtableAdmin.Types
176184 , statusDetailsItem
177185 , sdiAddtional
178186
187+ -- * CreateClusterMetadataTables
188+ , CreateClusterMetadataTables
189+ , createClusterMetadataTables
190+ , ccmtAddtional
191+
179192 -- * UpdateAppProFileMetadata
180193 , UpdateAppProFileMetadata
181194 , updateAppProFileMetadata
@@ -210,6 +223,9 @@ module Network.Google.BigtableAdmin.Types
210223 , ltrNextPageToken
211224 , ltrTables
212225
226+ -- * TableProgressState
227+ , TableProgressState (..)
228+
213229 -- * AuditLogConfigLogType
214230 , AuditLogConfigLogType (..)
215231
gogol-bigtableadmin/gen/Network/Google/BigtableAdmin/Types/Product.hs+122−1
@@ -1152,6 +1152,7 @@ instance ToJSON CreateTableRequest where
11521152data CreateClusterMetadata =
11531153 CreateClusterMetadata'
11541154 { _ccmRequestTime :: !(Maybe DateTime')
1155+ , _ccmTables :: !(Maybe CreateClusterMetadataTables)
11551156 , _ccmOriginalRequest :: !(Maybe CreateClusterRequest)
11561157 , _ccmFinishTime :: !(Maybe DateTime')
11571158 }
@@ -1163,6 +1164,8 @@ data CreateClusterMetadata =
11631164--
11641165-- * 'ccmRequestTime'
11651166--
1167+-- * 'ccmTables'
1168+--
11661169-- * 'ccmOriginalRequest'
11671170--
11681171-- * 'ccmFinishTime'
@@ -1171,6 +1174,7 @@ createClusterMetadata
11711174createClusterMetadata =
11721175 CreateClusterMetadata'
11731176 { _ccmRequestTime = Nothing
1177+ , _ccmTables = Nothing
11741178 , _ccmOriginalRequest = Nothing
11751179 , _ccmFinishTime = Nothing
11761180 }
@@ -1182,6 +1186,16 @@ ccmRequestTime
11821186 (\ s a -> s{_ccmRequestTime = a})
11831187 . mapping _DateTime
11841188
1189+-- | Keys: the full \`name\` of each table that existed in the instance when
1190+-- CreateCluster was first called, i.e. \`projects\/\/instances\/\/tables\/
1191+-- \`. Any table added to the instance by a later API call will be created
1192+-- in the new cluster by that API call, not this one. Values: information
1193+-- on how much of a table\'s data has been copied to the newly-created
1194+-- cluster so far.
1195+ccmTables :: Lens' CreateClusterMetadata (Maybe CreateClusterMetadataTables)
1196+ccmTables
1197+ = lens _ccmTables (\ s a -> s{_ccmTables = a})
1198+
11851199-- | The request that prompted the initiation of this CreateCluster
11861200-- operation.
11871201ccmOriginalRequest :: Lens' CreateClusterMetadata (Maybe CreateClusterRequest)
@@ -1201,7 +1215,8 @@ instance FromJSON CreateClusterMetadata where
12011215 = withObject "CreateClusterMetadata"
12021216 (\ o ->
12031217 CreateClusterMetadata' <$>
1204− (o .:? "requestTime") <*> (o .:? "originalRequest")
1218+ (o .:? "requestTime") <*> (o .:? "tables") <*>
1219+ (o .:? "originalRequest")
12051220 <*> (o .:? "finishTime"))
12061221
12071222instance ToJSON CreateClusterMetadata where
@@ -1209,9 +1224,75 @@ instance ToJSON CreateClusterMetadata where
12091224 = object
12101225 (catMaybes
12111226 [("requestTime" .=) <$> _ccmRequestTime,
1227+ ("tables" .=) <$> _ccmTables,
12121228 ("originalRequest" .=) <$> _ccmOriginalRequest,
12131229 ("finishTime" .=) <$> _ccmFinishTime])
12141230
1231+-- | Progress info for copying a table\'s data to the new cluster.
1232+--
1233+-- /See:/ 'tableProgress' smart constructor.
1234+data TableProgress =
1235+ TableProgress'
1236+ { _tpState :: !(Maybe TableProgressState)
1237+ , _tpEstimatedSizeBytes :: !(Maybe (Textual Int64))
1238+ , _tpEstimatedCopiedBytes :: !(Maybe (Textual Int64))
1239+ }
1240+ deriving (Eq, Show, Data, Typeable, Generic)
1241+
1242+-- | Creates a value of 'TableProgress' with the minimum fields required to make a request.
1243+--
1244+-- Use one of the following lenses to modify other fields as desired:
1245+--
1246+-- * 'tpState'
1247+--
1248+-- * 'tpEstimatedSizeBytes'
1249+--
1250+-- * 'tpEstimatedCopiedBytes'
1251+tableProgress
1252+ :: TableProgress
1253+tableProgress =
1254+ TableProgress'
1255+ { _tpState = Nothing
1256+ , _tpEstimatedSizeBytes = Nothing
1257+ , _tpEstimatedCopiedBytes = Nothing
1258+ }
1259+
1260+tpState :: Lens' TableProgress (Maybe TableProgressState)
1261+tpState = lens _tpState (\ s a -> s{_tpState = a})
1262+
1263+-- | Estimate of the size of the table to be copied.
1264+tpEstimatedSizeBytes :: Lens' TableProgress (Maybe Int64)
1265+tpEstimatedSizeBytes
1266+ = lens _tpEstimatedSizeBytes
1267+ (\ s a -> s{_tpEstimatedSizeBytes = a})
1268+ . mapping _Coerce
1269+
1270+-- | Estimate of the number of bytes copied so far for this table. This will
1271+-- eventually reach \'estimated_size_bytes\' unless the table copy is
1272+-- CANCELLED.
1273+tpEstimatedCopiedBytes :: Lens' TableProgress (Maybe Int64)
1274+tpEstimatedCopiedBytes
1275+ = lens _tpEstimatedCopiedBytes
1276+ (\ s a -> s{_tpEstimatedCopiedBytes = a})
1277+ . mapping _Coerce
1278+
1279+instance FromJSON TableProgress where
1280+ parseJSON
1281+ = withObject "TableProgress"
1282+ (\ o ->
1283+ TableProgress' <$>
1284+ (o .:? "state") <*> (o .:? "estimatedSizeBytes") <*>
1285+ (o .:? "estimatedCopiedBytes"))
1286+
1287+instance ToJSON TableProgress where
1288+ toJSON TableProgress'{..}
1289+ = object
1290+ (catMaybes
1291+ [("state" .=) <$> _tpState,
1292+ ("estimatedSizeBytes" .=) <$> _tpEstimatedSizeBytes,
1293+ ("estimatedCopiedBytes" .=) <$>
1294+ _tpEstimatedCopiedBytes])
1295+
12151296-- | A GcRule which deletes cells matching any of the given rules.
12161297--
12171298-- /See:/ 'union' smart constructor.
@@ -1278,6 +1359,46 @@ instance FromJSON StatusDetailsItem where
12781359instance ToJSON StatusDetailsItem where
12791360 toJSON = toJSON . _sdiAddtional
12801361
1362+-- | Keys: the full \`name\` of each table that existed in the instance when
1363+-- CreateCluster was first called, i.e. \`projects\/\/instances\/\/tables\/
1364+-- \`. Any table added to the instance by a later API call will be created
1365+-- in the new cluster by that API call, not this one. Values: information
1366+-- on how much of a table\'s data has been copied to the newly-created
1367+-- cluster so far.
1368+--
1369+-- /See:/ 'createClusterMetadataTables' smart constructor.
1370+newtype CreateClusterMetadataTables =
1371+ CreateClusterMetadataTables'
1372+ { _ccmtAddtional :: HashMap Text TableProgress
1373+ }
1374+ deriving (Eq, Show, Data, Typeable, Generic)
1375+
1376+-- | Creates a value of 'CreateClusterMetadataTables' with the minimum fields required to make a request.
1377+--
1378+-- Use one of the following lenses to modify other fields as desired:
1379+--
1380+-- * 'ccmtAddtional'
1381+createClusterMetadataTables
1382+ :: HashMap Text TableProgress -- ^ 'ccmtAddtional'
1383+ -> CreateClusterMetadataTables
1384+createClusterMetadataTables pCcmtAddtional_ =
1385+ CreateClusterMetadataTables' {_ccmtAddtional = _Coerce # pCcmtAddtional_}
1386+
1387+ccmtAddtional :: Lens' CreateClusterMetadataTables (HashMap Text TableProgress)
1388+ccmtAddtional
1389+ = lens _ccmtAddtional
1390+ (\ s a -> s{_ccmtAddtional = a})
1391+ . _Coerce
1392+
1393+instance FromJSON CreateClusterMetadataTables where
1394+ parseJSON
1395+ = withObject "CreateClusterMetadataTables"
1396+ (\ o ->
1397+ CreateClusterMetadataTables' <$> (parseJSONObject o))
1398+
1399+instance ToJSON CreateClusterMetadataTables where
1400+ toJSON = toJSON . _ccmtAddtional
1401+
12811402-- | The metadata for the Operation returned by UpdateAppProfile.
12821403--
12831404-- /See:/ 'updateAppProFileMetadata' smart constructor.
gogol-bigtableadmin/gen/Network/Google/BigtableAdmin/Types/Sum.hs+44
@@ -145,6 +145,50 @@ instance FromJSON InstanceType where
145145instance ToJSON InstanceType where
146146 toJSON = toJSONText
147147
148+data TableProgressState
149+ = StateUnspecified
150+ -- ^ @STATE_UNSPECIFIED@
151+ | Pending
152+ -- ^ @PENDING@
153+ -- The table has not yet begun copying to the new cluster.
154+ | Copying
155+ -- ^ @COPYING@
156+ -- The table is actively being copied to the new cluster.
157+ | Completed
158+ -- ^ @COMPLETED@
159+ -- The table has been fully copied to the new cluster.
160+ | Cancelled
161+ -- ^ @CANCELLED@
162+ -- The table was deleted before it finished copying to the new cluster.
163+ -- Note that tables deleted after completion will stay marked as COMPLETED,
164+ -- not CANCELLED.
165+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
166+
167+instance Hashable TableProgressState
168+
169+instance FromHttpApiData TableProgressState where
170+ parseQueryParam = \case
171+ "STATE_UNSPECIFIED" -> Right StateUnspecified
172+ "PENDING" -> Right Pending
173+ "COPYING" -> Right Copying
174+ "COMPLETED" -> Right Completed
175+ "CANCELLED" -> Right Cancelled
176+ x -> Left ("Unable to parse TableProgressState from: " <> x)
177+
178+instance ToHttpApiData TableProgressState where
179+ toQueryParam = \case
180+ StateUnspecified -> "STATE_UNSPECIFIED"
181+ Pending -> "PENDING"
182+ Copying -> "COPYING"
183+ Completed -> "COMPLETED"
184+ Cancelled -> "CANCELLED"
185+
186+instance FromJSON TableProgressState where
187+ parseJSON = parseJSONText "TableProgressState"
188+
189+instance ToJSON TableProgressState where
190+ toJSON = toJSONText
191+
148192-- | The log type that this config enables.
149193data AuditLogConfigLogType
150194 = LogTypeUnspecified
gogol-bigtableadmin/gogol-bigtableadmin.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-bigtableadmin
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Bigtable Admin SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -72,5 +72,5 @@ library
7272 , Network.Google.BigtableAdmin.Types.Sum
7373
7474 build-depends:
75− gogol-core == 0.4.0.*
75+ gogol-core == 0.5.0.*
7676 , base >= 4.7 && < 5
gogol-billing/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-billing/gen/Network/Google/Billing.hs+1
@@ -99,6 +99,7 @@ module Network.Google.Billing
9999 -- ** Service
100100 , Service
101101 , service
102+ , sBusinessEntityName
102103 , sName
103104 , sDisplayName
104105 , sServiceId
gogol-billing/gen/Network/Google/Billing/Types.hs+1
@@ -53,6 +53,7 @@ module Network.Google.Billing.Types
5353 -- * Service
5454 , Service
5555 , service
56+ , sBusinessEntityName
5657 , sName
5758 , sDisplayName
5859 , sServiceId
gogol-billing/gen/Network/Google/Billing/Types/Product.hs+24−7
@@ -305,9 +305,10 @@ instance ToJSON BillingAccount where
305305-- /See:/ 'service' smart constructor.
306306data Service =
307307 Service'
308− { _sName :: !(Maybe Text)
309− , _sDisplayName :: !(Maybe Text)
310− , _sServiceId :: !(Maybe Text)
308+ { _sBusinessEntityName :: !(Maybe Text)
309+ , _sName :: !(Maybe Text)
310+ , _sDisplayName :: !(Maybe Text)
311+ , _sServiceId :: !(Maybe Text)
311312 }
312313 deriving (Eq, Show, Data, Typeable, Generic)
313314
@@ -315,6 +316,8 @@ data Service =
315316--
316317-- Use one of the following lenses to modify other fields as desired:
317318--
319+-- * 'sBusinessEntityName'
320+--
318321-- * 'sName'
319322--
320323-- * 'sDisplayName'
@@ -323,7 +326,19 @@ data Service =
323326service
324327 :: Service
325328service =
326− Service' {_sName = Nothing, _sDisplayName = Nothing, _sServiceId = Nothing}
329+ Service'
330+ { _sBusinessEntityName = Nothing
331+ , _sName = Nothing
332+ , _sDisplayName = Nothing
333+ , _sServiceId = Nothing
334+ }
335+
336+-- | The business under which the service is offered. Ex.
337+-- \"businessEntities\/GCP\", \"businessEntities\/Maps\"
338+sBusinessEntityName :: Lens' Service (Maybe Text)
339+sBusinessEntityName
340+ = lens _sBusinessEntityName
341+ (\ s a -> s{_sBusinessEntityName = a})
327342
328343-- | The resource name for the service. Example: \"services\/DA34-426B-A397\"
329344sName :: Lens' Service (Maybe Text)
@@ -344,14 +359,16 @@ instance FromJSON Service where
344359 = withObject "Service"
345360 (\ o ->
346361 Service' <$>
347− (o .:? "name") <*> (o .:? "displayName") <*>
348− (o .:? "serviceId"))
362+ (o .:? "businessEntityName") <*> (o .:? "name") <*>
363+ (o .:? "displayName")
364+ <*> (o .:? "serviceId"))
349365
350366instance ToJSON Service where
351367 toJSON Service'{..}
352368 = object
353369 (catMaybes
354− [("name" .=) <$> _sName,
370+ [("businessEntityName" .=) <$> _sBusinessEntityName,
371+ ("name" .=) <$> _sName,
355372 ("displayName" .=) <$> _sDisplayName,
356373 ("serviceId" .=) <$> _sServiceId])
357374
gogol-billing/gogol-billing.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-billing
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Billing SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -54,5 +54,5 @@ library
5454 , Network.Google.Billing.Types.Sum
5555
5656 build-depends:
57− gogol-core == 0.4.0.*
57+ gogol-core == 0.5.0.*
5858 , base >= 4.7 && < 5
gogol-binaryauthorization/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-binaryauthorization/gogol-binaryauthorization.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-binaryauthorization
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Binary Authorization SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -55,5 +55,5 @@ library
5555 , Network.Google.BinaryAuthorization.Types.Sum
5656
5757 build-depends:
58− gogol-core == 0.4.0.*
58+ gogol-core == 0.5.0.*
5959 , base >= 4.7 && < 5
gogol-blogger/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-blogger/gogol-blogger.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-blogger
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Blogger SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -78,5 +78,5 @@ library
7878 , Network.Google.Blogger.Types.Sum
7979
8080 build-depends:
81− gogol-core == 0.4.0.*
81+ gogol-core == 0.5.0.*
8282 , base >= 4.7 && < 5
gogol-books/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-books/gen/Network/Google/Books.hs+1
@@ -462,6 +462,7 @@ module Network.Google.Books
462462 , nKind
463463 , nBody
464464 , nCrmExperimentIds
465+ , nTimeToExpireMs
465466 , nPcampaignId
466467 , nReason
467468 , nIsDocumentMature
gogol-books/gen/Network/Google/Books/Types.hs+1
@@ -300,6 +300,7 @@ module Network.Google.Books.Types
300300 , nKind
301301 , nBody
302302 , nCrmExperimentIds
303+ , nTimeToExpireMs
303304 , nPcampaignId
304305 , nReason
305306 , nIsDocumentMature
gogol-books/gen/Network/Google/Books/Types/Product.hs+12
@@ -2471,6 +2471,7 @@ data Notification =
24712471 , _nKind :: !Text
24722472 , _nBody :: !(Maybe Text)
24732473 , _nCrmExperimentIds :: !(Maybe [Textual Int64])
2474+ , _nTimeToExpireMs :: !(Maybe (Textual Int64))
24742475 , _nPcampaignId :: !(Maybe Text)
24752476 , _nReason :: !(Maybe Text)
24762477 , _nIsDocumentMature :: !(Maybe Bool)
@@ -2500,6 +2501,8 @@ data Notification =
25002501--
25012502-- * 'nCrmExperimentIds'
25022503--
2504+-- * 'nTimeToExpireMs'
2505+--
25032506-- * 'nPcampaignId'
25042507--
25052508-- * 'nReason'
@@ -2526,6 +2529,7 @@ notification =
25262529 , _nKind = "books#notification"
25272530 , _nBody = Nothing
25282531 , _nCrmExperimentIds = Nothing
2532+ , _nTimeToExpireMs = Nothing
25292533 , _nPcampaignId = Nothing
25302534 , _nReason = Nothing
25312535 , _nIsDocumentMature = Nothing
@@ -2566,6 +2570,12 @@ nCrmExperimentIds
25662570 . _Default
25672571 . _Coerce
25682572
2573+nTimeToExpireMs :: Lens' Notification (Maybe Int64)
2574+nTimeToExpireMs
2575+ = lens _nTimeToExpireMs
2576+ (\ s a -> s{_nTimeToExpireMs = a})
2577+ . mapping _Coerce
2578+
25692579nPcampaignId :: Lens' Notification (Maybe Text)
25702580nPcampaignId
25712581 = lens _nPcampaignId (\ s a -> s{_nPcampaignId = a})
@@ -2610,6 +2620,7 @@ instance FromJSON Notification where
26102620 <*> (o .:? "kind" .!= "books#notification")
26112621 <*> (o .:? "body")
26122622 <*> (o .:? "crmExperimentIds" .!= mempty)
2623+ <*> (o .:? "timeToExpireMs")
26132624 <*> (o .:? "pcampaign_id")
26142625 <*> (o .:? "reason")
26152626 <*> (o .:? "is_document_mature")
@@ -2630,6 +2641,7 @@ instance ToJSON Notification where
26302641 ("doc_id" .=) <$> _nDocId, Just ("kind" .= _nKind),
26312642 ("body" .=) <$> _nBody,
26322643 ("crmExperimentIds" .=) <$> _nCrmExperimentIds,
2644+ ("timeToExpireMs" .=) <$> _nTimeToExpireMs,
26332645 ("pcampaign_id" .=) <$> _nPcampaignId,
26342646 ("reason" .=) <$> _nReason,
26352647 ("is_document_mature" .=) <$> _nIsDocumentMature,
gogol-books/gogol-books.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-books
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Books SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -92,5 +92,5 @@ library
9292 , Network.Google.Books.Types.Sum
9393
9494 build-depends:
95− gogol-core == 0.4.0.*
95+ gogol-core == 0.5.0.*
9696 , base >= 4.7 && < 5
gogol-chat/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-chat/gogol-chat.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-chat
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Hangouts Chat SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -49,5 +49,5 @@ library
4949 , Network.Google.Chat.Types.Sum
5050
5151 build-depends:
52− gogol-core == 0.4.0.*
52+ gogol-core == 0.5.0.*
5353 , base >= 4.7 && < 5
gogol-civicinfo/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-civicinfo/gogol-civicinfo.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-civicinfo
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Civic Information SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -48,5 +48,5 @@ library
4848 , Network.Google.CivicInfo.Types.Sum
4949
5050 build-depends:
51− gogol-core == 0.4.0.*
51+ gogol-core == 0.5.0.*
5252 , base >= 4.7 && < 5
gogol-classroom/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-classroom/gogol-classroom.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-classroom
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Classroom SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -92,5 +92,5 @@ library
9292 , Network.Google.Classroom.Types.Sum
9393
9494 build-depends:
95− gogol-core == 0.4.0.*
95+ gogol-core == 0.5.0.*
9696 , base >= 4.7 && < 5
gogol-cloudasset/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudasset/gen/Network/Google/CloudAsset.hs+12−2
@@ -30,6 +30,12 @@ module Network.Google.CloudAsset
3030
3131 -- * Resources
3232
33+ -- ** cloudasset.folders.exportAssets
34+ , module Network.Google.Resource.CloudAsset.Folders.ExportAssets
35+
36+ -- ** cloudasset.folders.operations.get
37+ , module Network.Google.Resource.CloudAsset.Folders.Operations.Get
38+
3339 -- ** cloudasset.organizations.batchGetAssetsHistory
3440 , module Network.Google.Resource.CloudAsset.Organizations.BatchGetAssetsHistory
3541
@@ -187,6 +193,8 @@ module Network.Google.CloudAsset
187193
188194import Network.Google.CloudAsset.Types
189195import Network.Google.Prelude
196+import Network.Google.Resource.CloudAsset.Folders.ExportAssets
197+import Network.Google.Resource.CloudAsset.Folders.Operations.Get
190198import Network.Google.Resource.CloudAsset.Organizations.BatchGetAssetsHistory
191199import Network.Google.Resource.CloudAsset.Organizations.ExportAssets
192200import Network.Google.Resource.CloudAsset.Organizations.Operations.Get
@@ -200,8 +208,10 @@ TODO
200208
201209-- | Represents the entirety of the methods and resources available for the Cloud Asset API service.
202210type CloudAssetAPI =
203− OrganizationsOperationsGetResource :<|>
204− OrganizationsExportAssetsResource
211+ FoldersOperationsGetResource :<|>
212+ FoldersExportAssetsResource
213+ :<|> OrganizationsOperationsGetResource
214+ :<|> OrganizationsExportAssetsResource
205215 :<|> OrganizationsBatchGetAssetsHistoryResource
206216 :<|> ProjectsOperationsGetResource
207217 :<|> ProjectsExportAssetsResource
gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Folders/ExportAssets.hsnew file+170
@@ -0,0 +1,170 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.CloudAsset.Folders.ExportAssets
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Exports assets with time and resource types to a given Cloud Storage
24+-- location. The output format is newline-delimited JSON. This API
25+-- implements the google.longrunning.Operation API allowing you to keep
26+-- track of the export.
27+--
28+-- /See:/ <https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview Cloud Asset API Reference> for @cloudasset.folders.exportAssets@.
29+module Network.Google.Resource.CloudAsset.Folders.ExportAssets
30+ (
31+ -- * REST Resource
32+ FoldersExportAssetsResource
33+
34+ -- * Creating a Request
35+ , foldersExportAssets
36+ , FoldersExportAssets
37+
38+ -- * Request Lenses
39+ , feaParent
40+ , feaXgafv
41+ , feaUploadProtocol
42+ , feaAccessToken
43+ , feaUploadType
44+ , feaPayload
45+ , feaCallback
46+ ) where
47+
48+import Network.Google.CloudAsset.Types
49+import Network.Google.Prelude
50+
51+-- | A resource alias for @cloudasset.folders.exportAssets@ method which the
52+-- 'FoldersExportAssets' request conforms to.
53+type FoldersExportAssetsResource =
54+ "v1beta1" :>
55+ CaptureMode "parent" "exportAssets" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
57+ QueryParam "upload_protocol" Text :>
58+ QueryParam "access_token" Text :>
59+ QueryParam "uploadType" Text :>
60+ QueryParam "callback" Text :>
61+ QueryParam "alt" AltJSON :>
62+ ReqBody '[JSON] ExportAssetsRequest :>
63+ Post '[JSON] Operation
64+
65+-- | Exports assets with time and resource types to a given Cloud Storage
66+-- location. The output format is newline-delimited JSON. This API
67+-- implements the google.longrunning.Operation API allowing you to keep
68+-- track of the export.
69+--
70+-- /See:/ 'foldersExportAssets' smart constructor.
71+data FoldersExportAssets =
72+ FoldersExportAssets'
73+ { _feaParent :: !Text
74+ , _feaXgafv :: !(Maybe Xgafv)
75+ , _feaUploadProtocol :: !(Maybe Text)
76+ , _feaAccessToken :: !(Maybe Text)
77+ , _feaUploadType :: !(Maybe Text)
78+ , _feaPayload :: !ExportAssetsRequest
79+ , _feaCallback :: !(Maybe Text)
80+ }
81+ deriving (Eq, Show, Data, Typeable, Generic)
82+
83+-- | Creates a value of 'FoldersExportAssets' with the minimum fields required to make a request.
84+--
85+-- Use one of the following lenses to modify other fields as desired:
86+--
87+-- * 'feaParent'
88+--
89+-- * 'feaXgafv'
90+--
91+-- * 'feaUploadProtocol'
92+--
93+-- * 'feaAccessToken'
94+--
95+-- * 'feaUploadType'
96+--
97+-- * 'feaPayload'
98+--
99+-- * 'feaCallback'
100+foldersExportAssets
101+ :: Text -- ^ 'feaParent'
102+ -> ExportAssetsRequest -- ^ 'feaPayload'
103+ -> FoldersExportAssets
104+foldersExportAssets pFeaParent_ pFeaPayload_ =
105+ FoldersExportAssets'
106+ { _feaParent = pFeaParent_
107+ , _feaXgafv = Nothing
108+ , _feaUploadProtocol = Nothing
109+ , _feaAccessToken = Nothing
110+ , _feaUploadType = Nothing
111+ , _feaPayload = pFeaPayload_
112+ , _feaCallback = Nothing
113+ }
114+
115+-- | Required. The relative name of the root asset. This can only be an
116+-- organization number (such as \"organizations\/123\"), a project ID (such
117+-- as \"projects\/my-project-id\"), a project number (such as
118+-- \"projects\/12345\"), or a folder number (such as \"folders\/123\").
119+feaParent :: Lens' FoldersExportAssets Text
120+feaParent
121+ = lens _feaParent (\ s a -> s{_feaParent = a})
122+
123+-- | V1 error format.
124+feaXgafv :: Lens' FoldersExportAssets (Maybe Xgafv)
125+feaXgafv = lens _feaXgafv (\ s a -> s{_feaXgafv = a})
126+
127+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
128+feaUploadProtocol :: Lens' FoldersExportAssets (Maybe Text)
129+feaUploadProtocol
130+ = lens _feaUploadProtocol
131+ (\ s a -> s{_feaUploadProtocol = a})
132+
133+-- | OAuth access token.
134+feaAccessToken :: Lens' FoldersExportAssets (Maybe Text)
135+feaAccessToken
136+ = lens _feaAccessToken
137+ (\ s a -> s{_feaAccessToken = a})
138+
139+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
140+feaUploadType :: Lens' FoldersExportAssets (Maybe Text)
141+feaUploadType
142+ = lens _feaUploadType
143+ (\ s a -> s{_feaUploadType = a})
144+
145+-- | Multipart request metadata.
146+feaPayload :: Lens' FoldersExportAssets ExportAssetsRequest
147+feaPayload
148+ = lens _feaPayload (\ s a -> s{_feaPayload = a})
149+
150+-- | JSONP
151+feaCallback :: Lens' FoldersExportAssets (Maybe Text)
152+feaCallback
153+ = lens _feaCallback (\ s a -> s{_feaCallback = a})
154+
155+instance GoogleRequest FoldersExportAssets where
156+ type Rs FoldersExportAssets = Operation
157+ type Scopes FoldersExportAssets =
158+ '["https://www.googleapis.com/auth/cloud-platform"]
159+ requestClient FoldersExportAssets'{..}
160+ = go _feaParent _feaXgafv _feaUploadProtocol
161+ _feaAccessToken
162+ _feaUploadType
163+ _feaCallback
164+ (Just AltJSON)
165+ _feaPayload
166+ cloudAssetService
167+ where go
168+ = buildClient
169+ (Proxy :: Proxy FoldersExportAssetsResource)
170+ mempty
gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Folders/Operations/Get.hsnew file+150
@@ -0,0 +1,150 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.CloudAsset.Folders.Operations.Get
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Gets the latest state of a long-running operation. Clients can use this
24+-- method to poll the operation result at intervals as recommended by the
25+-- API service.
26+--
27+-- /See:/ <https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview Cloud Asset API Reference> for @cloudasset.folders.operations.get@.
28+module Network.Google.Resource.CloudAsset.Folders.Operations.Get
29+ (
30+ -- * REST Resource
31+ FoldersOperationsGetResource
32+
33+ -- * Creating a Request
34+ , foldersOperationsGet
35+ , FoldersOperationsGet
36+
37+ -- * Request Lenses
38+ , fogXgafv
39+ , fogUploadProtocol
40+ , fogAccessToken
41+ , fogUploadType
42+ , fogName
43+ , fogCallback
44+ ) where
45+
46+import Network.Google.CloudAsset.Types
47+import Network.Google.Prelude
48+
49+-- | A resource alias for @cloudasset.folders.operations.get@ method which the
50+-- 'FoldersOperationsGet' request conforms to.
51+type FoldersOperationsGetResource =
52+ "v1beta1" :>
53+ Capture "name" Text :>
54+ QueryParam "$.xgafv" Xgafv :>
55+ QueryParam "upload_protocol" Text :>
56+ QueryParam "access_token" Text :>
57+ QueryParam "uploadType" Text :>
58+ QueryParam "callback" Text :>
59+ QueryParam "alt" AltJSON :> Get '[JSON] Operation
60+
61+-- | Gets the latest state of a long-running operation. Clients can use this
62+-- method to poll the operation result at intervals as recommended by the
63+-- API service.
64+--
65+-- /See:/ 'foldersOperationsGet' smart constructor.
66+data FoldersOperationsGet =
67+ FoldersOperationsGet'
68+ { _fogXgafv :: !(Maybe Xgafv)
69+ , _fogUploadProtocol :: !(Maybe Text)
70+ , _fogAccessToken :: !(Maybe Text)
71+ , _fogUploadType :: !(Maybe Text)
72+ , _fogName :: !Text
73+ , _fogCallback :: !(Maybe Text)
74+ }
75+ deriving (Eq, Show, Data, Typeable, Generic)
76+
77+-- | Creates a value of 'FoldersOperationsGet' with the minimum fields required to make a request.
78+--
79+-- Use one of the following lenses to modify other fields as desired:
80+--
81+-- * 'fogXgafv'
82+--
83+-- * 'fogUploadProtocol'
84+--
85+-- * 'fogAccessToken'
86+--
87+-- * 'fogUploadType'
88+--
89+-- * 'fogName'
90+--
91+-- * 'fogCallback'
92+foldersOperationsGet
93+ :: Text -- ^ 'fogName'
94+ -> FoldersOperationsGet
95+foldersOperationsGet pFogName_ =
96+ FoldersOperationsGet'
97+ { _fogXgafv = Nothing
98+ , _fogUploadProtocol = Nothing
99+ , _fogAccessToken = Nothing
100+ , _fogUploadType = Nothing
101+ , _fogName = pFogName_
102+ , _fogCallback = Nothing
103+ }
104+
105+-- | V1 error format.
106+fogXgafv :: Lens' FoldersOperationsGet (Maybe Xgafv)
107+fogXgafv = lens _fogXgafv (\ s a -> s{_fogXgafv = a})
108+
109+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
110+fogUploadProtocol :: Lens' FoldersOperationsGet (Maybe Text)
111+fogUploadProtocol
112+ = lens _fogUploadProtocol
113+ (\ s a -> s{_fogUploadProtocol = a})
114+
115+-- | OAuth access token.
116+fogAccessToken :: Lens' FoldersOperationsGet (Maybe Text)
117+fogAccessToken
118+ = lens _fogAccessToken
119+ (\ s a -> s{_fogAccessToken = a})
120+
121+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
122+fogUploadType :: Lens' FoldersOperationsGet (Maybe Text)
123+fogUploadType
124+ = lens _fogUploadType
125+ (\ s a -> s{_fogUploadType = a})
126+
127+-- | The name of the operation resource.
128+fogName :: Lens' FoldersOperationsGet Text
129+fogName = lens _fogName (\ s a -> s{_fogName = a})
130+
131+-- | JSONP
132+fogCallback :: Lens' FoldersOperationsGet (Maybe Text)
133+fogCallback
134+ = lens _fogCallback (\ s a -> s{_fogCallback = a})
135+
136+instance GoogleRequest FoldersOperationsGet where
137+ type Rs FoldersOperationsGet = Operation
138+ type Scopes FoldersOperationsGet =
139+ '["https://www.googleapis.com/auth/cloud-platform"]
140+ requestClient FoldersOperationsGet'{..}
141+ = go _fogName _fogXgafv _fogUploadProtocol
142+ _fogAccessToken
143+ _fogUploadType
144+ _fogCallback
145+ (Just AltJSON)
146+ cloudAssetService
147+ where go
148+ = buildClient
149+ (Proxy :: Proxy FoldersOperationsGetResource)
150+ mempty
gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Organizations/BatchGetAssetsHistory.hs+4−2
@@ -24,7 +24,8 @@
2424-- RESOURCE content, this API outputs history with asset in both non-delete
2525-- or deleted status. For IAM_POLICY content, this API outputs history when
2626-- the asset and its attached IAM POLICY both exist. This can create gaps
27−-- in the output history.
27+-- in the output history. If a specified asset does not exist, this API
28+-- returns an INVALID_ARGUMENT error.
2829--
2930-- /See:/ <https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview Cloud Asset API Reference> for @cloudasset.organizations.batchGetAssetsHistory@.
3031module Network.Google.Resource.CloudAsset.Organizations.BatchGetAssetsHistory
@@ -73,7 +74,8 @@ type OrganizationsBatchGetAssetsHistoryResource =
7374-- RESOURCE content, this API outputs history with asset in both non-delete
7475-- or deleted status. For IAM_POLICY content, this API outputs history when
7576-- the asset and its attached IAM POLICY both exist. This can create gaps
76−-- in the output history.
77+-- in the output history. If a specified asset does not exist, this API
78+-- returns an INVALID_ARGUMENT error.
7779--
7880-- /See:/ 'organizationsBatchGetAssetsHistory' smart constructor.
7981data OrganizationsBatchGetAssetsHistory =
gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Organizations/ExportAssets.hs+2−2
@@ -114,8 +114,8 @@ organizationsExportAssets pOeaParent_ pOeaPayload_ =
114114
115115-- | Required. The relative name of the root asset. This can only be an
116116-- organization number (such as \"organizations\/123\"), a project ID (such
117−-- as \"projects\/my-project-id\"), or a project number (such as
118−-- \"projects\/12345\").
117+-- as \"projects\/my-project-id\"), a project number (such as
118+-- \"projects\/12345\"), or a folder number (such as \"folders\/123\").
119119oeaParent :: Lens' OrganizationsExportAssets Text
120120oeaParent
121121 = lens _oeaParent (\ s a -> s{_oeaParent = a})
gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Projects/BatchGetAssetsHistory.hs+4−2
@@ -24,7 +24,8 @@
2424-- RESOURCE content, this API outputs history with asset in both non-delete
2525-- or deleted status. For IAM_POLICY content, this API outputs history when
2626-- the asset and its attached IAM POLICY both exist. This can create gaps
27−-- in the output history.
27+-- in the output history. If a specified asset does not exist, this API
28+-- returns an INVALID_ARGUMENT error.
2829--
2930-- /See:/ <https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview Cloud Asset API Reference> for @cloudasset.projects.batchGetAssetsHistory@.
3031module Network.Google.Resource.CloudAsset.Projects.BatchGetAssetsHistory
@@ -73,7 +74,8 @@ type ProjectsBatchGetAssetsHistoryResource =
7374-- RESOURCE content, this API outputs history with asset in both non-delete
7475-- or deleted status. For IAM_POLICY content, this API outputs history when
7576-- the asset and its attached IAM POLICY both exist. This can create gaps
76−-- in the output history.
77+-- in the output history. If a specified asset does not exist, this API
78+-- returns an INVALID_ARGUMENT error.
7779--
7880-- /See:/ 'projectsBatchGetAssetsHistory' smart constructor.
7981data ProjectsBatchGetAssetsHistory =
gogol-cloudasset/gen/Network/Google/Resource/CloudAsset/Projects/ExportAssets.hs+2−2
@@ -114,8 +114,8 @@ projectsExportAssets pPeaParent_ pPeaPayload_ =
114114
115115-- | Required. The relative name of the root asset. This can only be an
116116-- organization number (such as \"organizations\/123\"), a project ID (such
117−-- as \"projects\/my-project-id\"), or a project number (such as
118−-- \"projects\/12345\").
117+-- as \"projects\/my-project-id\"), a project number (such as
118+-- \"projects\/12345\"), or a folder number (such as \"folders\/123\").
119119peaParent :: Lens' ProjectsExportAssets Text
120120peaParent
121121 = lens _peaParent (\ s a -> s{_peaParent = a})
gogol-cloudasset/gogol-cloudasset.cabal+4−2
@@ -1,5 +1,5 @@
11name: gogol-cloudasset
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Asset SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -36,6 +36,8 @@ library
3636 exposed-modules:
3737 Network.Google.CloudAsset
3838 , Network.Google.CloudAsset.Types
39+ , Network.Google.Resource.CloudAsset.Folders.ExportAssets
40+ , Network.Google.Resource.CloudAsset.Folders.Operations.Get
3941 , Network.Google.Resource.CloudAsset.Organizations.BatchGetAssetsHistory
4042 , Network.Google.Resource.CloudAsset.Organizations.ExportAssets
4143 , Network.Google.Resource.CloudAsset.Organizations.Operations.Get
@@ -48,5 +50,5 @@ library
4850 , Network.Google.CloudAsset.Types.Sum
4951
5052 build-depends:
51− gogol-core == 0.4.0.*
53+ gogol-core == 0.5.0.*
5254 , base >= 4.7 && < 5
gogol-clouderrorreporting/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-clouderrorreporting/gogol-clouderrorreporting.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-clouderrorreporting
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Stackdriver Error Reporting SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -49,5 +49,5 @@ library
4949 , Network.Google.CloudErrorReporting.Types.Sum
5050
5151 build-depends:
52− gogol-core == 0.4.0.*
52+ gogol-core == 0.5.0.*
5353 , base >= 4.7 && < 5
gogol-cloudfunctions/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudfunctions/gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GetIAMPolicy.hs+4−4
@@ -20,8 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Gets the access control policy for a resource. Returns an empty policy
24−-- if the resource exists and does not have a policy set.
23+-- Gets the IAM access control policy for a function. Returns an empty
24+-- policy if the function exists and does not have a policy set.
2525--
2626-- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.getIamPolicy@.
2727module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GetIAMPolicy
@@ -57,8 +57,8 @@ type ProjectsLocationsFunctionsGetIAMPolicyResource =
5757 QueryParam "callback" Text :>
5858 QueryParam "alt" AltJSON :> Get '[JSON] Policy
5959
60−-- | Gets the access control policy for a resource. Returns an empty policy
61−-- if the resource exists and does not have a policy set.
60+-- | Gets the IAM access control policy for a function. Returns an empty
61+-- policy if the function exists and does not have a policy set.
6262--
6363-- /See:/ 'projectsLocationsFunctionsGetIAMPolicy' smart constructor.
6464data ProjectsLocationsFunctionsGetIAMPolicy =
gogol-cloudfunctions/gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/SetIAMPolicy.hs+4−4
@@ -20,8 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Sets the access control policy on the specified resource. Replaces any
24−-- existing policy.
23+-- Sets the IAM access control policy on the specified function. Replaces
24+-- any existing policy.
2525--
2626-- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.setIamPolicy@.
2727module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.SetIAMPolicy
@@ -60,8 +60,8 @@ type ProjectsLocationsFunctionsSetIAMPolicyResource =
6060 ReqBody '[JSON] SetIAMPolicyRequest :>
6161 Post '[JSON] Policy
6262
63−-- | Sets the access control policy on the specified resource. Replaces any
64−-- existing policy.
63+-- | Sets the IAM access control policy on the specified function. Replaces
64+-- any existing policy.
6565--
6666-- /See:/ 'projectsLocationsFunctionsSetIAMPolicy' smart constructor.
6767data ProjectsLocationsFunctionsSetIAMPolicy =
gogol-cloudfunctions/gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/TestIAMPermissions.hs+6−12
@@ -20,12 +20,9 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Returns permissions that a caller has on the specified resource. If the
24−-- resource does not exist, this will return an empty set of permissions,
25−-- not a NOT_FOUND error. Note: This operation is designed to be used for
26−-- building permission-aware UIs and command-line tools, not for
27−-- authorization checking. This operation may \"fail open\" without
28−-- warning.
23+-- Tests the specified permissions against the IAM access control policy
24+-- for a function. If the function does not exist, this will return an
25+-- empty set of permissions, not a NOT_FOUND error.
2926--
3027-- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.testIamPermissions@.
3128module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions
@@ -65,12 +62,9 @@ type ProjectsLocationsFunctionsTestIAMPermissionsResource
6562 ReqBody '[JSON] TestIAMPermissionsRequest :>
6663 Post '[JSON] TestIAMPermissionsResponse
6764
68−-- | Returns permissions that a caller has on the specified resource. If the
69−-- resource does not exist, this will return an empty set of permissions,
70−-- not a NOT_FOUND error. Note: This operation is designed to be used for
71−-- building permission-aware UIs and command-line tools, not for
72−-- authorization checking. This operation may \"fail open\" without
73−-- warning.
65+-- | Tests the specified permissions against the IAM access control policy
66+-- for a function. If the function does not exist, this will return an
67+-- empty set of permissions, not a NOT_FOUND error.
7468--
7569-- /See:/ 'projectsLocationsFunctionsTestIAMPermissions' smart constructor.
7670data ProjectsLocationsFunctionsTestIAMPermissions =
gogol-cloudfunctions/gogol-cloudfunctions.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudfunctions
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Functions SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -56,5 +56,5 @@ library
5656 , Network.Google.CloudFunctions.Types.Sum
5757
5858 build-depends:
59− gogol-core == 0.4.0.*
59+ gogol-core == 0.5.0.*
6060 , base >= 4.7 && < 5
gogol-cloudidentity/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudidentity/gen/Network/Google/Resource/CloudIdentity/Groups/List.hs+2−2
@@ -154,8 +154,8 @@ gllPageToken :: Lens' GroupsList (Maybe Text)
154154gllPageToken
155155 = lens _gllPageToken (\ s a -> s{_gllPageToken = a})
156156
157−-- | Maximum number of Groups to return. View | Default | Maximum
158−-- -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
157+-- | Maximum number of groups to return. View | Default | Maximum ----- |
158+-- ------- | ------- BASIC | 200 | 1000 FULL | 50 | 500
159159gllPageSize :: Lens' GroupsList (Maybe Int32)
160160gllPageSize
161161 = lens _gllPageSize (\ s a -> s{_gllPageSize = a}) .
gogol-cloudidentity/gen/Network/Google/Resource/CloudIdentity/Groups/Memberships/List.hs+1−1
@@ -158,7 +158,7 @@ groPageToken
158158 = lens _groPageToken (\ s a -> s{_groPageToken = a})
159159
160160-- | Maximum number of Memberships to return. View | Default | Maximum
161−-- -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
161+-- -----|---------|-------- BASIC| 200 | 1000 FULL | 50 | 500
162162groPageSize :: Lens' GroupsMembershipsList (Maybe Int32)
163163groPageSize
164164 = lens _groPageSize (\ s a -> s{_groPageSize = a}) .
gogol-cloudidentity/gen/Network/Google/Resource/CloudIdentity/Groups/Search.hs+2−2
@@ -154,8 +154,8 @@ gsPageToken :: Lens' GroupsSearch (Maybe Text)
154154gsPageToken
155155 = lens _gsPageToken (\ s a -> s{_gsPageToken = a})
156156
157−-- | Maximum number of Groups to return. View | Default | Maximum
158−-- -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
157+-- | Maximum number of groups to return. View | Default | Maximum ----- |
158+-- ------- | ------- BASIC | 200 | 1000 FULL | 50 | 500
159159gsPageSize :: Lens' GroupsSearch (Maybe Int32)
160160gsPageSize
161161 = lens _gsPageSize (\ s a -> s{_gsPageSize = a}) .
gogol-cloudidentity/gogol-cloudidentity.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudidentity
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Identity SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -53,5 +53,5 @@ library
5353 , Network.Google.CloudIdentity.Types.Sum
5454
5555 build-depends:
56− gogol-core == 0.4.0.*
56+ gogol-core == 0.5.0.*
5757 , base >= 4.7 && < 5
gogol-cloudiot/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudiot/gogol-cloudiot.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudiot
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud IoT SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -73,5 +73,5 @@ library
7373 , Network.Google.CloudIOT.Types.Sum
7474
7575 build-depends:
76− gogol-core == 0.4.0.*
76+ gogol-core == 0.5.0.*
7777 , base >= 4.7 && < 5
gogol-cloudkms/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudkms/gen/Network/Google/CloudKMS.hs+1
@@ -24,6 +24,7 @@ module Network.Google.CloudKMS
2424
2525 -- * OAuth Scopes
2626 , cloudPlatformScope
27+ , cloudKMSScope
2728
2829 -- * API Declaration
2930 , CloudKMSAPI
gogol-cloudkms/gen/Network/Google/CloudKMS/Types.hs+6
@@ -21,6 +21,7 @@ module Network.Google.CloudKMS.Types
2121
2222 -- * OAuth Scopes
2323 , cloudPlatformScope
24+ , cloudKMSScope
2425
2526 -- * AsymmetricDecryptResponse
2627 , AsymmetricDecryptResponse
@@ -285,3 +286,8 @@ cloudKMSService
285286-- | View and manage your data across Google Cloud Platform services
286287cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
287288cloudPlatformScope = Proxy
289+
290+-- | View and manage your keys and secrets stored in Cloud Key Management
291+-- Service
292+cloudKMSScope :: Proxy '["https://www.googleapis.com/auth/cloudkms"]
293+cloudKMSScope = Proxy
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/Get.hs+2−1
@@ -132,7 +132,8 @@ plgCallback
132132instance GoogleRequest ProjectsLocationsGet where
133133 type Rs ProjectsLocationsGet = Location
134134 type Scopes ProjectsLocationsGet =
135− '["https://www.googleapis.com/auth/cloud-platform"]
135+ '["https://www.googleapis.com/auth/cloud-platform",
136+ "https://www.googleapis.com/auth/cloudkms"]
136137 requestClient ProjectsLocationsGet'{..}
137138 = go _plgName _plgXgafv _plgUploadProtocol
138139 _plgAccessToken
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/Create.hs+2−1
@@ -164,7 +164,8 @@ instance GoogleRequest
164164 where
165165 type Rs ProjectsLocationsKeyRingsCreate = KeyRing
166166 type Scopes ProjectsLocationsKeyRingsCreate =
167− '["https://www.googleapis.com/auth/cloud-platform"]
167+ '["https://www.googleapis.com/auth/cloud-platform",
168+ "https://www.googleapis.com/auth/cloudkms"]
168169 requestClient ProjectsLocationsKeyRingsCreate'{..}
169170 = go _plkrcParent _plkrcXgafv _plkrcUploadProtocol
170171 _plkrcAccessToken
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Create.hs+3−1
@@ -169,7 +169,9 @@ instance GoogleRequest
169169 type Rs ProjectsLocationsKeyRingsCryptoKeysCreate =
170170 CryptoKey
171171 type Scopes ProjectsLocationsKeyRingsCryptoKeysCreate
172− = '["https://www.googleapis.com/auth/cloud-platform"]
172+ =
173+ '["https://www.googleapis.com/auth/cloud-platform",
174+ "https://www.googleapis.com/auth/cloudkms"]
173175 requestClient
174176 ProjectsLocationsKeyRingsCryptoKeysCreate'{..}
175177 = go _plkrckcParent _plkrckcXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/AsymmetricDecrypt.hs+3−1
@@ -162,7 +162,9 @@ instance GoogleRequest
162162 = AsymmetricDecryptResponse
163163 type Scopes
164164 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricDecrypt
165− = '["https://www.googleapis.com/auth/cloud-platform"]
165+ =
166+ '["https://www.googleapis.com/auth/cloud-platform",
167+ "https://www.googleapis.com/auth/cloudkms"]
166168 requestClient
167169 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricDecrypt'{..}
168170 = go _plkrckckvadName _plkrckckvadXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/AsymmetricSign.hs+3−1
@@ -161,7 +161,9 @@ instance GoogleRequest
161161 = AsymmetricSignResponse
162162 type Scopes
163163 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricSign
164− = '["https://www.googleapis.com/auth/cloud-platform"]
164+ =
165+ '["https://www.googleapis.com/auth/cloud-platform",
166+ "https://www.googleapis.com/auth/cloudkms"]
165167 requestClient
166168 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricSign'{..}
167169 = go _plkrckckvasName _plkrckckvasXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Create.hs+3−1
@@ -161,7 +161,9 @@ instance GoogleRequest
161161 = CryptoKeyVersion
162162 type Scopes
163163 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsCreate
164− = '["https://www.googleapis.com/auth/cloud-platform"]
164+ =
165+ '["https://www.googleapis.com/auth/cloud-platform",
166+ "https://www.googleapis.com/auth/cloudkms"]
165167 requestClient
166168 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsCreate'{..}
167169 = go _plkrckckvcParent _plkrckckvcXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Destroy.hs+3−1
@@ -167,7 +167,9 @@ instance GoogleRequest
167167 = CryptoKeyVersion
168168 type Scopes
169169 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroy
170− = '["https://www.googleapis.com/auth/cloud-platform"]
170+ =
171+ '["https://www.googleapis.com/auth/cloud-platform",
172+ "https://www.googleapis.com/auth/cloudkms"]
171173 requestClient
172174 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroy'{..}
173175 = go _plkrckckvdName _plkrckckvdXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Get.hs+3−1
@@ -144,7 +144,9 @@ instance GoogleRequest
144144 = CryptoKeyVersion
145145 type Scopes
146146 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGet
147− = '["https://www.googleapis.com/auth/cloud-platform"]
147+ =
148+ '["https://www.googleapis.com/auth/cloud-platform",
149+ "https://www.googleapis.com/auth/cloudkms"]
148150 requestClient
149151 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGet'{..}
150152 = go _plkrckckvgName _plkrckckvgXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/GetPublicKey.hs+3−1
@@ -146,7 +146,9 @@ instance GoogleRequest
146146 = PublicKey
147147 type Scopes
148148 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetPublicKey
149− = '["https://www.googleapis.com/auth/cloud-platform"]
149+ =
150+ '["https://www.googleapis.com/auth/cloud-platform",
151+ "https://www.googleapis.com/auth/cloudkms"]
150152 requestClient
151153 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetPublicKey'{..}
152154 = go _plkrckckvgpkName _plkrckckvgpkXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/List.hs+3−1
@@ -188,7 +188,9 @@ instance GoogleRequest
188188 = ListCryptoKeyVersionsResponse
189189 type Scopes
190190 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsList
191− = '["https://www.googleapis.com/auth/cloud-platform"]
191+ =
192+ '["https://www.googleapis.com/auth/cloud-platform",
193+ "https://www.googleapis.com/auth/cloudkms"]
192194 requestClient
193195 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsList'{..}
194196 = go _plkrckckvlParent _plkrckckvlXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Patch.hs+3−1
@@ -174,7 +174,9 @@ instance GoogleRequest
174174 = CryptoKeyVersion
175175 type Scopes
176176 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsPatch
177− = '["https://www.googleapis.com/auth/cloud-platform"]
177+ =
178+ '["https://www.googleapis.com/auth/cloud-platform",
179+ "https://www.googleapis.com/auth/cloudkms"]
178180 requestClient
179181 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsPatch'{..}
180182 = go _plkrckckvpName _plkrckckvpXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/CryptoKeyVersions/Restore.hs+3−1
@@ -161,7 +161,9 @@ instance GoogleRequest
161161 = CryptoKeyVersion
162162 type Scopes
163163 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestore
164− = '["https://www.googleapis.com/auth/cloud-platform"]
164+ =
165+ '["https://www.googleapis.com/auth/cloud-platform",
166+ "https://www.googleapis.com/auth/cloudkms"]
165167 requestClient
166168 ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestore'{..}
167169 = go _plkrckckvrName _plkrckckvrXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Decrypt.hs+3−1
@@ -157,7 +157,9 @@ instance GoogleRequest
157157 DecryptResponse
158158 type Scopes
159159 ProjectsLocationsKeyRingsCryptoKeysDecrypt
160− = '["https://www.googleapis.com/auth/cloud-platform"]
160+ =
161+ '["https://www.googleapis.com/auth/cloud-platform",
162+ "https://www.googleapis.com/auth/cloudkms"]
161163 requestClient
162164 ProjectsLocationsKeyRingsCryptoKeysDecrypt'{..}
163165 = go _plkrckdName _plkrckdXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Encrypt.hs+3−1
@@ -158,7 +158,9 @@ instance GoogleRequest
158158 EncryptResponse
159159 type Scopes
160160 ProjectsLocationsKeyRingsCryptoKeysEncrypt
161− = '["https://www.googleapis.com/auth/cloud-platform"]
161+ =
162+ '["https://www.googleapis.com/auth/cloud-platform",
163+ "https://www.googleapis.com/auth/cloudkms"]
162164 requestClient
163165 ProjectsLocationsKeyRingsCryptoKeysEncrypt'{..}
164166 = go _plkrckeName _plkrckeXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Get.hs+2−1
@@ -140,7 +140,8 @@ instance GoogleRequest
140140 type Rs ProjectsLocationsKeyRingsCryptoKeysGet =
141141 CryptoKey
142142 type Scopes ProjectsLocationsKeyRingsCryptoKeysGet =
143− '["https://www.googleapis.com/auth/cloud-platform"]
143+ '["https://www.googleapis.com/auth/cloud-platform",
144+ "https://www.googleapis.com/auth/cloudkms"]
144145 requestClient
145146 ProjectsLocationsKeyRingsCryptoKeysGet'{..}
146147 = go _plkrckgName _plkrckgXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/GetIAMPolicy.hs+3−1
@@ -146,7 +146,9 @@ instance GoogleRequest
146146 = Policy
147147 type Scopes
148148 ProjectsLocationsKeyRingsCryptoKeysGetIAMPolicy
149− = '["https://www.googleapis.com/auth/cloud-platform"]
149+ =
150+ '["https://www.googleapis.com/auth/cloud-platform",
151+ "https://www.googleapis.com/auth/cloudkms"]
150152 requestClient
151153 ProjectsLocationsKeyRingsCryptoKeysGetIAMPolicy'{..}
152154 = go _plkrckgipResource _plkrckgipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/List.hs+2−1
@@ -184,7 +184,8 @@ instance GoogleRequest
184184 type Rs ProjectsLocationsKeyRingsCryptoKeysList =
185185 ListCryptoKeysResponse
186186 type Scopes ProjectsLocationsKeyRingsCryptoKeysList =
187− '["https://www.googleapis.com/auth/cloud-platform"]
187+ '["https://www.googleapis.com/auth/cloud-platform",
188+ "https://www.googleapis.com/auth/cloudkms"]
188189 requestClient
189190 ProjectsLocationsKeyRingsCryptoKeysList'{..}
190191 = go _plkrcklParent _plkrcklXgafv _plkrcklVersionView
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/Patch.hs+3−1
@@ -165,7 +165,9 @@ instance GoogleRequest
165165 type Rs ProjectsLocationsKeyRingsCryptoKeysPatch =
166166 CryptoKey
167167 type Scopes ProjectsLocationsKeyRingsCryptoKeysPatch
168− = '["https://www.googleapis.com/auth/cloud-platform"]
168+ =
169+ '["https://www.googleapis.com/auth/cloud-platform",
170+ "https://www.googleapis.com/auth/cloudkms"]
169171 requestClient
170172 ProjectsLocationsKeyRingsCryptoKeysPatch'{..}
171173 = go _plkrckpName _plkrckpXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/SetIAMPolicy.hs+3−1
@@ -160,7 +160,9 @@ instance GoogleRequest
160160 = Policy
161161 type Scopes
162162 ProjectsLocationsKeyRingsCryptoKeysSetIAMPolicy
163− = '["https://www.googleapis.com/auth/cloud-platform"]
163+ =
164+ '["https://www.googleapis.com/auth/cloud-platform",
165+ "https://www.googleapis.com/auth/cloudkms"]
164166 requestClient
165167 ProjectsLocationsKeyRingsCryptoKeysSetIAMPolicy'{..}
166168 = go _plkrcksipResource _plkrcksipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/TestIAMPermissions.hs+3−1
@@ -169,7 +169,9 @@ instance GoogleRequest
169169 = TestIAMPermissionsResponse
170170 type Scopes
171171 ProjectsLocationsKeyRingsCryptoKeysTestIAMPermissions
172− = '["https://www.googleapis.com/auth/cloud-platform"]
172+ =
173+ '["https://www.googleapis.com/auth/cloud-platform",
174+ "https://www.googleapis.com/auth/cloudkms"]
173175 requestClient
174176 ProjectsLocationsKeyRingsCryptoKeysTestIAMPermissions'{..}
175177 = go _plkrcktipResource _plkrcktipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/CryptoKeys/UpdatePrimaryVersion.hs+3−1
@@ -159,7 +159,9 @@ instance GoogleRequest
159159 = CryptoKey
160160 type Scopes
161161 ProjectsLocationsKeyRingsCryptoKeysUpdatePrimaryVersion
162− = '["https://www.googleapis.com/auth/cloud-platform"]
162+ =
163+ '["https://www.googleapis.com/auth/cloud-platform",
164+ "https://www.googleapis.com/auth/cloudkms"]
163165 requestClient
164166 ProjectsLocationsKeyRingsCryptoKeysUpdatePrimaryVersion'{..}
165167 = go _plkrckupvName _plkrckupvXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/Get.hs+2−1
@@ -136,7 +136,8 @@ instance GoogleRequest ProjectsLocationsKeyRingsGet
136136 where
137137 type Rs ProjectsLocationsKeyRingsGet = KeyRing
138138 type Scopes ProjectsLocationsKeyRingsGet =
139− '["https://www.googleapis.com/auth/cloud-platform"]
139+ '["https://www.googleapis.com/auth/cloud-platform",
140+ "https://www.googleapis.com/auth/cloudkms"]
140141 requestClient ProjectsLocationsKeyRingsGet'{..}
141142 = go _plkrgName _plkrgXgafv _plkrgUploadProtocol
142143 _plkrgAccessToken
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/GetIAMPolicy.hs+2−1
@@ -142,7 +142,8 @@ instance GoogleRequest
142142 type Rs ProjectsLocationsKeyRingsGetIAMPolicy =
143143 Policy
144144 type Scopes ProjectsLocationsKeyRingsGetIAMPolicy =
145− '["https://www.googleapis.com/auth/cloud-platform"]
145+ '["https://www.googleapis.com/auth/cloud-platform",
146+ "https://www.googleapis.com/auth/cloudkms"]
146147 requestClient
147148 ProjectsLocationsKeyRingsGetIAMPolicy'{..}
148149 = go _plkrgipResource _plkrgipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/ImportJobs/GetIAMPolicy.hs+3−1
@@ -146,7 +146,9 @@ instance GoogleRequest
146146 = Policy
147147 type Scopes
148148 ProjectsLocationsKeyRingsImportJobsGetIAMPolicy
149− = '["https://www.googleapis.com/auth/cloud-platform"]
149+ =
150+ '["https://www.googleapis.com/auth/cloud-platform",
151+ "https://www.googleapis.com/auth/cloudkms"]
150152 requestClient
151153 ProjectsLocationsKeyRingsImportJobsGetIAMPolicy'{..}
152154 = go _plkrijgipResource _plkrijgipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/ImportJobs/SetIAMPolicy.hs+3−1
@@ -160,7 +160,9 @@ instance GoogleRequest
160160 = Policy
161161 type Scopes
162162 ProjectsLocationsKeyRingsImportJobsSetIAMPolicy
163− = '["https://www.googleapis.com/auth/cloud-platform"]
163+ =
164+ '["https://www.googleapis.com/auth/cloud-platform",
165+ "https://www.googleapis.com/auth/cloudkms"]
164166 requestClient
165167 ProjectsLocationsKeyRingsImportJobsSetIAMPolicy'{..}
166168 = go _plkrijsipResource _plkrijsipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/ImportJobs/TestIAMPermissions.hs+3−1
@@ -169,7 +169,9 @@ instance GoogleRequest
169169 = TestIAMPermissionsResponse
170170 type Scopes
171171 ProjectsLocationsKeyRingsImportJobsTestIAMPermissions
172− = '["https://www.googleapis.com/auth/cloud-platform"]
172+ =
173+ '["https://www.googleapis.com/auth/cloud-platform",
174+ "https://www.googleapis.com/auth/cloudkms"]
173175 requestClient
174176 ProjectsLocationsKeyRingsImportJobsTestIAMPermissions'{..}
175177 = go _plkrijtipResource _plkrijtipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/List.hs+2−1
@@ -169,7 +169,8 @@ instance GoogleRequest ProjectsLocationsKeyRingsList
169169 type Rs ProjectsLocationsKeyRingsList =
170170 ListKeyRingsResponse
171171 type Scopes ProjectsLocationsKeyRingsList =
172− '["https://www.googleapis.com/auth/cloud-platform"]
172+ '["https://www.googleapis.com/auth/cloud-platform",
173+ "https://www.googleapis.com/auth/cloudkms"]
173174 requestClient ProjectsLocationsKeyRingsList'{..}
174175 = go _plkrlParent _plkrlXgafv _plkrlUploadProtocol
175176 _plkrlAccessToken
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/SetIAMPolicy.hs+2−1
@@ -156,7 +156,8 @@ instance GoogleRequest
156156 type Rs ProjectsLocationsKeyRingsSetIAMPolicy =
157157 Policy
158158 type Scopes ProjectsLocationsKeyRingsSetIAMPolicy =
159− '["https://www.googleapis.com/auth/cloud-platform"]
159+ '["https://www.googleapis.com/auth/cloud-platform",
160+ "https://www.googleapis.com/auth/cloudkms"]
160161 requestClient
161162 ProjectsLocationsKeyRingsSetIAMPolicy'{..}
162163 = go _plkrsipResource _plkrsipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/KeyRings/TestIAMPermissions.hs+3−1
@@ -167,7 +167,9 @@ instance GoogleRequest
167167 TestIAMPermissionsResponse
168168 type Scopes
169169 ProjectsLocationsKeyRingsTestIAMPermissions
170− = '["https://www.googleapis.com/auth/cloud-platform"]
170+ =
171+ '["https://www.googleapis.com/auth/cloud-platform",
172+ "https://www.googleapis.com/auth/cloudkms"]
171173 requestClient
172174 ProjectsLocationsKeyRingsTestIAMPermissions'{..}
173175 = go _plkrtipResource _plkrtipXgafv
gogol-cloudkms/gen/Network/Google/Resource/CloudKMS/Projects/Locations/List.hs+2−1
@@ -168,7 +168,8 @@ pllCallback
168168instance GoogleRequest ProjectsLocationsList where
169169 type Rs ProjectsLocationsList = ListLocationsResponse
170170 type Scopes ProjectsLocationsList =
171− '["https://www.googleapis.com/auth/cloud-platform"]
171+ '["https://www.googleapis.com/auth/cloud-platform",
172+ "https://www.googleapis.com/auth/cloudkms"]
172173 requestClient ProjectsLocationsList'{..}
173174 = go _pllName _pllXgafv _pllUploadProtocol
174175 _pllAccessToken
gogol-cloudkms/gogol-cloudkms.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudkms
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Key Management Service (KMS) SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -72,5 +72,5 @@ library
7272 , Network.Google.CloudKMS.Types.Sum
7373
7474 build-depends:
75− gogol-core == 0.4.0.*
75+ gogol-core == 0.5.0.*
7676 , base >= 4.7 && < 5
gogol-cloudprofiler/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudprofiler/gogol-cloudprofiler.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudprofiler
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Stackdriver Profiler SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.CloudProFiler.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-cloudscheduler/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudscheduler/gogol-cloudscheduler.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudscheduler
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Scheduler SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -51,5 +51,5 @@ library
5151 , Network.Google.CloudScheduler.Types.Sum
5252
5353 build-depends:
54− gogol-core == 0.4.0.*
54+ gogol-core == 0.5.0.*
5555 , base >= 4.7 && < 5
gogol-cloudsearch/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudsearch/gen/Network/Google/CloudSearch/Types/Product.hs+5−13
@@ -1918,8 +1918,7 @@ textValues
19181918 :: TextValues
19191919textValues = TextValues' {_tvValues = Nothing}
19201920
1921−-- | The maximum allowable length for text values is 2048 characters. The
1922−-- maximum number of string elements is 100.
1921+-- | The maximum allowable length for text values is 2048 characters.
19231922tvValues :: Lens' TextValues [Text]
19241923tvValues
19251924 = lens _tvValues (\ s a -> s{_tvValues = a}) .
@@ -2338,7 +2337,6 @@ doubleValues
23382337 :: DoubleValues
23392338doubleValues = DoubleValues' {_dvValues = Nothing}
23402339
2341−-- | The maximum number of elements is 100.
23422340dvValues :: Lens' DoubleValues [Double]
23432341dvValues
23442342 = lens _dvValues (\ s a -> s{_dvValues = a}) .
@@ -4540,7 +4538,6 @@ dateValues
45404538 :: DateValues
45414539dateValues = DateValues' {_dValues = Nothing}
45424540
4543−-- | The maximum number of elements is 100.
45444541dValues :: Lens' DateValues [Date]
45454542dValues
45464543 = lens _dValues (\ s a -> s{_dValues = a}) . _Default
@@ -6390,8 +6387,8 @@ dataSource =
63906387-- source. The value must be unique across all data sources. The value must
63916388-- only contain alphanumeric characters (a-zA-Z0-9). The value cannot start
63926389-- with \'google\' and cannot be one of the following: mail, gmail, docs,
6393−-- drive, groups, sites, calendar, hangouts, gplus, keep. Its maximum
6394−-- length is 32 characters.
6390+-- drive, groups, sites, calendar, hangouts, gplus, keep, people, teams.
6391+-- Its maximum length is 32 characters.
63956392dsShortName :: Lens' DataSource (Maybe Text)
63966393dsShortName
63976394 = lens _dsShortName (\ s a -> s{_dsShortName = a})
@@ -6499,8 +6496,7 @@ htmlValues
64996496 :: HTMLValues
65006497htmlValues = HTMLValues' {_hvValues = Nothing}
65016498
6502−-- | The maximum allowable length for html values is 2048 characters. The
6503−-- maximum number of string elements is 100.
6499+-- | The maximum allowable length for html values is 2048 characters.
65046500hvValues :: Lens' HTMLValues [Text]
65056501hvValues
65066502 = lens _hvValues (\ s a -> s{_hvValues = a}) .
@@ -6812,7 +6808,6 @@ objectValues
68126808 :: ObjectValues
68136809objectValues = ObjectValues' {_ovValues = Nothing}
68146810
6815−-- | The maximum number of elements is 100.
68166811ovValues :: Lens' ObjectValues [StructuredDataObject]
68176812ovValues
68186813 = lens _ovValues (\ s a -> s{_ovValues = a}) .
@@ -7759,8 +7754,7 @@ enumValues
77597754 :: EnumValues
77607755enumValues = EnumValues' {_evValues = Nothing}
77617756
7762−-- | The maximum allowable length for string values is 32 characters. The
7763−-- maximum number of elements is 100.
7757+-- | The maximum allowable length for string values is 32 characters.
77647758evValues :: Lens' EnumValues [Text]
77657759evValues
77667760 = lens _evValues (\ s a -> s{_evValues = a}) .
@@ -7893,7 +7887,6 @@ timestampValues
78937887 :: TimestampValues
78947888timestampValues = TimestampValues' {_tValues = Nothing}
78957889
7896−-- | The maximum number of elements is 100.
78977890tValues :: Lens' TimestampValues [UTCTime]
78987891tValues
78997892 = lens _tValues (\ s a -> s{_tValues = a}) . _Default
@@ -8055,7 +8048,6 @@ integerValues
80558048 :: IntegerValues
80568049integerValues = IntegerValues' {_ivValues = Nothing}
80578050
8058−-- | The maximum number of elements is 100.
80598051ivValues :: Lens' IntegerValues [Int64]
80608052ivValues
80618053 = lens _ivValues (\ s a -> s{_ivValues = a}) .
gogol-cloudsearch/gogol-cloudsearch.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudsearch
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Search SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -78,5 +78,5 @@ library
7878 , Network.Google.CloudSearch.Types.Sum
7979
8080 build-depends:
81− gogol-core == 0.4.0.*
81+ gogol-core == 0.5.0.*
8282 , base >= 4.7 && < 5
gogol-cloudshell/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudshell/gogol-cloudshell.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudshell
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Shell SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@ library
4646 , Network.Google.CloudShell.Types.Sum
4747
4848 build-depends:
49− gogol-core == 0.4.0.*
49+ gogol-core == 0.5.0.*
5050 , base >= 4.7 && < 5
gogol-cloudtasks/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudtasks/gen/Network/Google/CloudTasks.hs+1
@@ -232,6 +232,7 @@ module Network.Google.CloudTasks
232232 , Task
233233 , task
234234 , tLastAttempt
235+ , tDispatchDeadline
235236 , tScheduleTime
236237 , tName
237238 , tFirstAttempt
gogol-cloudtasks/gen/Network/Google/CloudTasks/Types.hs+1
@@ -169,6 +169,7 @@ module Network.Google.CloudTasks.Types
169169 , Task
170170 , task
171171 , tLastAttempt
172+ , tDispatchDeadline
172173 , tScheduleTime
173174 , tName
174175 , tFirstAttempt
gogol-cloudtasks/gen/Network/Google/CloudTasks/Types/Product.hs+53−15
@@ -927,13 +927,18 @@ queue =
927927 }
928928
929929-- | Rate limits for task dispatches. rate_limits and retry_config are
930−-- related because they both control task attempts however they control how
931−-- tasks are attempted in different ways: * rate_limits controls the total
932−-- rate of dispatches from a queue (i.e. all traffic dispatched from the
933−-- queue, regardless of whether the dispatch is from a first attempt or a
934−-- retry). * retry_config controls what happens to particular a task after
935−-- its first attempt fails. That is, retry_config controls task retries
936−-- (the second attempt, third attempt, etc).
930+-- related because they both control task attempts. However they control
931+-- task attempts in different ways: * rate_limits controls the total rate
932+-- of dispatches from a queue (i.e. all traffic dispatched from the queue,
933+-- regardless of whether the dispatch is from a first attempt or a retry).
934+-- * retry_config controls what happens to particular a task after its
935+-- first attempt fails. That is, retry_config controls task retries (the
936+-- second attempt, third attempt, etc). The queue\'s actual dispatch rate
937+-- is the result of: * Number of tasks in the queue * User-specified
938+-- throttling: rate limits retry configuration, and the queue\'s state. *
939+-- System throttling due to \`429\` (Too Many Requests) or \`503\` (Service
940+-- Unavailable) responses from the worker, high error rates, or to smooth
941+-- sudden large traffic spikes.
937942qRateLimits :: Lens' Queue (Maybe RateLimits)
938943qRateLimits
939944 = lens _qRateLimits (\ s a -> s{_qRateLimits = a})
@@ -957,8 +962,8 @@ qRetryConfig :: Lens' Queue (Maybe RetryConfig)
957962qRetryConfig
958963 = lens _qRetryConfig (\ s a -> s{_qRetryConfig = a})
959964
960−-- | App Engine HTTP queue. An App Engine queue is a queue that has an
961−-- AppEngineHttpQueue type.
965+-- | AppEngineHttpQueue settings apply only to App Engine tasks in this
966+-- queue.
962967qAppEngineHTTPQueue :: Lens' Queue (Maybe AppEngineHTTPQueue)
963968qAppEngineHTTPQueue
964969 = lens _qAppEngineHTTPQueue
@@ -1221,7 +1226,7 @@ attempt =
12211226 , _aResponseTime = Nothing
12221227 }
12231228
1224−-- | Output only. The response from the target for this attempt. If
1229+-- | Output only. The response from the worker for this attempt. If
12251230-- \`response_time\` is unset, then the task has not been attempted or is
12261231-- currently running and the \`response_status\` field is meaningless.
12271232aResponseStatus :: Lens' Attempt (Maybe Status)
@@ -1298,6 +1303,7 @@ instance ToJSON PurgeQueueRequest where
12981303data Task =
12991304 Task'
13001305 { _tLastAttempt :: !(Maybe Attempt)
1306+ , _tDispatchDeadline :: !(Maybe GDuration)
13011307 , _tScheduleTime :: !(Maybe DateTime')
13021308 , _tName :: !(Maybe Text)
13031309 , _tFirstAttempt :: !(Maybe Attempt)
@@ -1315,6 +1321,8 @@ data Task =
13151321--
13161322-- * 'tLastAttempt'
13171323--
1324+-- * 'tDispatchDeadline'
1325+--
13181326-- * 'tScheduleTime'
13191327--
13201328-- * 'tName'
@@ -1335,6 +1343,7 @@ task
13351343task =
13361344 Task'
13371345 { _tLastAttempt = Nothing
1346+ , _tDispatchDeadline = Nothing
13381347 , _tScheduleTime = Nothing
13391348 , _tName = Nothing
13401349 , _tFirstAttempt = Nothing
@@ -1350,6 +1359,34 @@ tLastAttempt :: Lens' Task (Maybe Attempt)
13501359tLastAttempt
13511360 = lens _tLastAttempt (\ s a -> s{_tLastAttempt = a})
13521361
1362+-- | The deadline for requests sent to the worker. If the worker does not
1363+-- respond by this deadline then the request is cancelled and the attempt
1364+-- is marked as a \`DEADLINE_EXCEEDED\` failure. Cloud Tasks will retry the
1365+-- task according to the RetryConfig. Note that when the request is
1366+-- cancelled, Cloud Tasks will stop listing for the response, but whether
1367+-- the worker stops processing depends on the worker. For example, if the
1368+-- worker is stuck, it may not react to cancelled requests. The default and
1369+-- maximum values depend on the type of request: * For App Engine tasks, 0
1370+-- indicates that the request has the default deadline. The default
1371+-- deadline depends on the [scaling
1372+-- type](https:\/\/cloud.google.com\/appengine\/docs\/standard\/go\/how-instances-are-managed#instance_scaling)
1373+-- of the service: 10 minutes for standard apps with automatic scaling, 24
1374+-- hours for standard apps with manual and basic scaling, and 60 minutes
1375+-- for flex apps. If the request deadline is set, it must be in the
1376+-- interval [15 seconds, 24 hours 15 seconds]. Regardless of the task\'s
1377+-- \`dispatch_deadline\`, the app handler will not run for longer than than
1378+-- the service\'s timeout. We recommend setting the \`dispatch_deadline\`
1379+-- to at most a few seconds more than the app handler\'s timeout. For more
1380+-- information see
1381+-- [Timeouts](https:\/\/cloud.google.com\/tasks\/docs\/creating-appengine-handlers#timeouts).
1382+-- \`dispatch_deadline\` will be truncated to the nearest millisecond. The
1383+-- deadline is an approximate deadline.
1384+tDispatchDeadline :: Lens' Task (Maybe Scientific)
1385+tDispatchDeadline
1386+ = lens _tDispatchDeadline
1387+ (\ s a -> s{_tDispatchDeadline = a})
1388+ . mapping _GDuration
1389+
13531390-- | The time when the task is scheduled to be attempted. For App Engine
13541391-- queues, this is when the task will be attempted or retried.
13551392-- \`schedule_time\` will be truncated to the nearest microsecond.
@@ -1404,9 +1441,8 @@ tDispatchCount
14041441 (\ s a -> s{_tDispatchCount = a})
14051442 . mapping _Coerce
14061443
1407−-- | App Engine HTTP request that is sent to the task\'s target. Can be set
1408−-- only if app_engine_http_queue is set on the queue. An App Engine task is
1409−-- a task that has AppEngineHttpRequest set.
1444+-- | HTTP request that is sent to the App Engine app handler. An App Engine
1445+-- task is a task that has AppEngineHttpRequest set.
14101446tAppEngineHTTPRequest :: Lens' Task (Maybe AppEngineHTTPRequest)
14111447tAppEngineHTTPRequest
14121448 = lens _tAppEngineHTTPRequest
@@ -1424,8 +1460,9 @@ instance FromJSON Task where
14241460 = withObject "Task"
14251461 (\ o ->
14261462 Task' <$>
1427− (o .:? "lastAttempt") <*> (o .:? "scheduleTime") <*>
1428− (o .:? "name")
1463+ (o .:? "lastAttempt") <*> (o .:? "dispatchDeadline")
1464+ <*> (o .:? "scheduleTime")
1465+ <*> (o .:? "name")
14291466 <*> (o .:? "firstAttempt")
14301467 <*> (o .:? "view")
14311468 <*> (o .:? "responseCount")
@@ -1438,6 +1475,7 @@ instance ToJSON Task where
14381475 = object
14391476 (catMaybes
14401477 [("lastAttempt" .=) <$> _tLastAttempt,
1478+ ("dispatchDeadline" .=) <$> _tDispatchDeadline,
14411479 ("scheduleTime" .=) <$> _tScheduleTime,
14421480 ("name" .=) <$> _tName,
14431481 ("firstAttempt" .=) <$> _tFirstAttempt,
gogol-cloudtasks/gen/Network/Google/CloudTasks/Types/Sum.hs+10
@@ -190,6 +190,12 @@ data AppEngineHTTPRequestHTTPMethod
190190 | Delete'
191191 -- ^ @DELETE@
192192 -- HTTP DELETE
193+ | Patch'
194+ -- ^ @PATCH@
195+ -- HTTP PATCH
196+ | Options
197+ -- ^ @OPTIONS@
198+ -- HTTP OPTIONS
193199 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
194200
195201instance Hashable AppEngineHTTPRequestHTTPMethod
@@ -202,6 +208,8 @@ instance FromHttpApiData AppEngineHTTPRequestHTTPMethod where
202208 "HEAD" -> Right Head'
203209 "PUT" -> Right Put'
204210 "DELETE" -> Right Delete'
211+ "PATCH" -> Right Patch'
212+ "OPTIONS" -> Right Options
205213 x -> Left ("Unable to parse AppEngineHTTPRequestHTTPMethod from: " <> x)
206214
207215instance ToHttpApiData AppEngineHTTPRequestHTTPMethod where
@@ -212,6 +220,8 @@ instance ToHttpApiData AppEngineHTTPRequestHTTPMethod where
212220 Head' -> "HEAD"
213221 Put' -> "PUT"
214222 Delete' -> "DELETE"
223+ Patch' -> "PATCH"
224+ Options -> "OPTIONS"
215225
216226instance FromJSON AppEngineHTTPRequestHTTPMethod where
217227 parseJSON = parseJSONText "AppEngineHTTPRequestHTTPMethod"
gogol-cloudtasks/gogol-cloudtasks.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudtasks
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Tasks SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -59,5 +59,5 @@ library
5959 , Network.Google.CloudTasks.Types.Sum
6060
6161 build-depends:
62− gogol-core == 0.4.0.*
62+ gogol-core == 0.5.0.*
6363 , base >= 4.7 && < 5
gogol-cloudtrace/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-cloudtrace/gogol-cloudtrace.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-cloudtrace
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Stackdriver Trace SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -48,5 +48,5 @@ library
4848 , Network.Google.CloudTrace.Types.Sum
4949
5050 build-depends:
51− gogol-core == 0.4.0.*
51+ gogol-core == 0.5.0.*
5252 , base >= 4.7 && < 5
gogol-composer/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-composer/gen/Network/Google/Composer.hs+18
@@ -44,6 +44,9 @@ module Network.Google.Composer
4444 -- ** composer.projects.locations.environments.patch
4545 , module Network.Google.Resource.Composer.Projects.Locations.Environments.Patch
4646
47+ -- ** composer.projects.locations.imageVersions.list
48+ , module Network.Google.Resource.Composer.Projects.Locations.ImageVersions.List
49+
4750 -- ** composer.projects.locations.operations.delete
4851 , module Network.Google.Resource.Composer.Projects.Locations.Operations.Delete
4952
@@ -67,6 +70,12 @@ module Network.Google.Composer
6770 , operationSchema
6871 , osAddtional
6972
73+ -- ** ListImageVersionsResponse
74+ , ListImageVersionsResponse
75+ , listImageVersionsResponse
76+ , livrNextPageToken
77+ , livrImageVersions
78+
7079 -- ** ListEnvironmentsResponse
7180 , ListEnvironmentsResponse
7281 , listEnvironmentsResponse
@@ -122,6 +131,13 @@ module Network.Google.Composer
122131 , softwareConfigEnvVariables
123132 , scevAddtional
124133
134+ -- ** ImageVersion
135+ , ImageVersion
136+ , imageVersion
137+ , ivImageVersionId
138+ , ivSupportedPythonVersions
139+ , ivIsDefault
140+
125141 -- ** Environment
126142 , Environment
127143 , environment
@@ -194,6 +210,7 @@ import Network.Google.Resource.Composer.Projects.Locations.Environment
194210import Network.Google.Resource.Composer.Projects.Locations.Environments.Get
195211import Network.Google.Resource.Composer.Projects.Locations.Environments.List
196212import Network.Google.Resource.Composer.Projects.Locations.Environments.Patch
213+import Network.Google.Resource.Composer.Projects.Locations.ImageVersions.List
197214import Network.Google.Resource.Composer.Projects.Locations.Operations.Delete
198215import Network.Google.Resource.Composer.Projects.Locations.Operations.Get
199216import Network.Google.Resource.Composer.Projects.Locations.Operations.List
@@ -207,6 +224,7 @@ type ComposerAPI =
207224 ProjectsLocationsOperationsListResource :<|>
208225 ProjectsLocationsOperationsGetResource
209226 :<|> ProjectsLocationsOperationsDeleteResource
227+ :<|> ProjectsLocationsImageVersionsListResource
210228 :<|> ProjectsLocationsEnvironmentsListResource
211229 :<|> ProjectsLocationsEnvironmentsPatchResource
212230 :<|> ProjectsLocationsEnvironmentsGetResource
gogol-composer/gen/Network/Google/Composer/Types.hs+13
@@ -34,6 +34,12 @@ module Network.Google.Composer.Types
3434 , operationSchema
3535 , osAddtional
3636
37+ -- * ListImageVersionsResponse
38+ , ListImageVersionsResponse
39+ , listImageVersionsResponse
40+ , livrNextPageToken
41+ , livrImageVersions
42+
3743 -- * ListEnvironmentsResponse
3844 , ListEnvironmentsResponse
3945 , listEnvironmentsResponse
@@ -89,6 +95,13 @@ module Network.Google.Composer.Types
8995 , softwareConfigEnvVariables
9096 , scevAddtional
9197
98+ -- * ImageVersion
99+ , ImageVersion
100+ , imageVersion
101+ , ivImageVersionId
102+ , ivSupportedPythonVersions
103+ , ivIsDefault
104+
92105 -- * Environment
93106 , Environment
94107 , environment
gogol-composer/gen/Network/Google/Composer/Types/Product.hs+136−8
@@ -151,6 +151,58 @@ instance FromJSON OperationSchema where
151151instance ToJSON OperationSchema where
152152 toJSON = toJSON . _osAddtional
153153
154+-- | The ImageVersions in a project and location.
155+--
156+-- /See:/ 'listImageVersionsResponse' smart constructor.
157+data ListImageVersionsResponse =
158+ ListImageVersionsResponse'
159+ { _livrNextPageToken :: !(Maybe Text)
160+ , _livrImageVersions :: !(Maybe [ImageVersion])
161+ }
162+ deriving (Eq, Show, Data, Typeable, Generic)
163+
164+-- | Creates a value of 'ListImageVersionsResponse' with the minimum fields required to make a request.
165+--
166+-- Use one of the following lenses to modify other fields as desired:
167+--
168+-- * 'livrNextPageToken'
169+--
170+-- * 'livrImageVersions'
171+listImageVersionsResponse
172+ :: ListImageVersionsResponse
173+listImageVersionsResponse =
174+ ListImageVersionsResponse'
175+ {_livrNextPageToken = Nothing, _livrImageVersions = Nothing}
176+
177+-- | The page token used to query for the next page if one exists.
178+livrNextPageToken :: Lens' ListImageVersionsResponse (Maybe Text)
179+livrNextPageToken
180+ = lens _livrNextPageToken
181+ (\ s a -> s{_livrNextPageToken = a})
182+
183+-- | The list of supported ImageVersions in a location.
184+livrImageVersions :: Lens' ListImageVersionsResponse [ImageVersion]
185+livrImageVersions
186+ = lens _livrImageVersions
187+ (\ s a -> s{_livrImageVersions = a})
188+ . _Default
189+ . _Coerce
190+
191+instance FromJSON ListImageVersionsResponse where
192+ parseJSON
193+ = withObject "ListImageVersionsResponse"
194+ (\ o ->
195+ ListImageVersionsResponse' <$>
196+ (o .:? "nextPageToken") <*>
197+ (o .:? "imageVersions" .!= mempty))
198+
199+instance ToJSON ListImageVersionsResponse where
200+ toJSON ListImageVersionsResponse'{..}
201+ = object
202+ (catMaybes
203+ [("nextPageToken" .=) <$> _livrNextPageToken,
204+ ("imageVersions" .=) <$> _livrImageVersions])
205+
154206-- | The environments in a project and location.
155207--
156208-- /See:/ 'listEnvironmentsResponse' smart constructor.
@@ -692,6 +744,74 @@ instance FromJSON SoftwareConfigEnvVariables where
692744instance ToJSON SoftwareConfigEnvVariables where
693745 toJSON = toJSON . _scevAddtional
694746
747+-- | ImageVersion information
748+--
749+-- /See:/ 'imageVersion' smart constructor.
750+data ImageVersion =
751+ ImageVersion'
752+ { _ivImageVersionId :: !(Maybe Text)
753+ , _ivSupportedPythonVersions :: !(Maybe [Text])
754+ , _ivIsDefault :: !(Maybe Bool)
755+ }
756+ deriving (Eq, Show, Data, Typeable, Generic)
757+
758+-- | Creates a value of 'ImageVersion' with the minimum fields required to make a request.
759+--
760+-- Use one of the following lenses to modify other fields as desired:
761+--
762+-- * 'ivImageVersionId'
763+--
764+-- * 'ivSupportedPythonVersions'
765+--
766+-- * 'ivIsDefault'
767+imageVersion
768+ :: ImageVersion
769+imageVersion =
770+ ImageVersion'
771+ { _ivImageVersionId = Nothing
772+ , _ivSupportedPythonVersions = Nothing
773+ , _ivIsDefault = Nothing
774+ }
775+
776+-- | The string identifier of the ImageVersion, in the form:
777+-- \"composer-x.y.z-airflow-a.b(.c)\"
778+ivImageVersionId :: Lens' ImageVersion (Maybe Text)
779+ivImageVersionId
780+ = lens _ivImageVersionId
781+ (\ s a -> s{_ivImageVersionId = a})
782+
783+-- | supported python versions
784+ivSupportedPythonVersions :: Lens' ImageVersion [Text]
785+ivSupportedPythonVersions
786+ = lens _ivSupportedPythonVersions
787+ (\ s a -> s{_ivSupportedPythonVersions = a})
788+ . _Default
789+ . _Coerce
790+
791+-- | Whether this is the default ImageVersion used by Composer during
792+-- environment creation if no input ImageVersion is specified.
793+ivIsDefault :: Lens' ImageVersion (Maybe Bool)
794+ivIsDefault
795+ = lens _ivIsDefault (\ s a -> s{_ivIsDefault = a})
796+
797+instance FromJSON ImageVersion where
798+ parseJSON
799+ = withObject "ImageVersion"
800+ (\ o ->
801+ ImageVersion' <$>
802+ (o .:? "imageVersionId") <*>
803+ (o .:? "supportedPythonVersions" .!= mempty)
804+ <*> (o .:? "isDefault"))
805+
806+instance ToJSON ImageVersion where
807+ toJSON ImageVersion'{..}
808+ = object
809+ (catMaybes
810+ [("imageVersionId" .=) <$> _ivImageVersionId,
811+ ("supportedPythonVersions" .=) <$>
812+ _ivSupportedPythonVersions,
813+ ("isDefault" .=) <$> _ivIsDefault])
814+
695815-- | An environment for running orchestration tasks.
696816--
697817-- /See:/ 'environment' smart constructor.
@@ -962,15 +1082,23 @@ softwareConfig =
9621082 , _scEnvVariables = Nothing
9631083 }
9641084
965−-- | Output only. The version of the software running in the environment.
966−-- This encapsulates both the version of Cloud Composer functionality and
967−-- the version of Apache Airflow. It must match the regular expression
968−-- \`composer-[0-9]+\\.[0-9]+(\\.[0-9]+)?-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?\`.
969−-- The Cloud Composer portion of the version is a [semantic
970−-- version](https:\/\/semver.org). The portion of the image version
971−-- following _airflow-_ is an official Apache Airflow repository [release
1085+-- | The version of the software running in the environment. This
1086+-- encapsulates both the version of Cloud Composer functionality and the
1087+-- version of Apache Airflow. It must match the regular expression
1088+-- \`composer-([0-9]+\\.[0-9]+\\.[0-9]+|latest)-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?\`.
1089+-- When used as input, the server also checks if the provided version is
1090+-- supported and denies the request for an unsupported version. The Cloud
1091+-- Composer portion of the version is a [semantic
1092+-- version](https:\/\/semver.org) or \`latest\`. When the patch version is
1093+-- omitted, the current Cloud Composer patch version is selected. When
1094+-- \`latest\` is provided instead of an explicit version number, the server
1095+-- replaces \`latest\` with the current Cloud Composer version and stores
1096+-- that version number in the same field. The portion of the image version
1097+-- that follows /airflow-/ is an official Apache Airflow repository
1098+-- [release
9721099-- name](https:\/\/github.com\/apache\/incubator-airflow\/releases). See
973−-- also [Release Notes](\/composer\/docs\/release-notes).
1100+-- also [Version
1101+-- List](\/composer\/docs\/concepts\/versioning\/composer-versions).
9741102scImageVersion :: Lens' SoftwareConfig (Maybe Text)
9751103scImageVersion
9761104 = lens _scImageVersion
gogol-composer/gen/Network/Google/Resource/Composer/Projects/Locations/ImageVersions/List.hsnew file+183
@@ -0,0 +1,183 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.Composer.Projects.Locations.ImageVersions.List
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- List ImageVersions for provided location.
24+--
25+-- /See:/ <https://cloud.google.com/composer/ Cloud Composer API Reference> for @composer.projects.locations.imageVersions.list@.
26+module Network.Google.Resource.Composer.Projects.Locations.ImageVersions.List
27+ (
28+ -- * REST Resource
29+ ProjectsLocationsImageVersionsListResource
30+
31+ -- * Creating a Request
32+ , projectsLocationsImageVersionsList
33+ , ProjectsLocationsImageVersionsList
34+
35+ -- * Request Lenses
36+ , plivlParent
37+ , plivlXgafv
38+ , plivlUploadProtocol
39+ , plivlAccessToken
40+ , plivlUploadType
41+ , plivlPageToken
42+ , plivlPageSize
43+ , plivlCallback
44+ ) where
45+
46+import Network.Google.Composer.Types
47+import Network.Google.Prelude
48+
49+-- | A resource alias for @composer.projects.locations.imageVersions.list@ method which the
50+-- 'ProjectsLocationsImageVersionsList' request conforms to.
51+type ProjectsLocationsImageVersionsListResource =
52+ "v1" :>
53+ Capture "parent" Text :>
54+ "imageVersions" :>
55+ QueryParam "$.xgafv" Xgafv :>
56+ QueryParam "upload_protocol" Text :>
57+ QueryParam "access_token" Text :>
58+ QueryParam "uploadType" Text :>
59+ QueryParam "pageToken" Text :>
60+ QueryParam "pageSize" (Textual Int32) :>
61+ QueryParam "callback" Text :>
62+ QueryParam "alt" AltJSON :>
63+ Get '[JSON] ListImageVersionsResponse
64+
65+-- | List ImageVersions for provided location.
66+--
67+-- /See:/ 'projectsLocationsImageVersionsList' smart constructor.
68+data ProjectsLocationsImageVersionsList =
69+ ProjectsLocationsImageVersionsList'
70+ { _plivlParent :: !Text
71+ , _plivlXgafv :: !(Maybe Xgafv)
72+ , _plivlUploadProtocol :: !(Maybe Text)
73+ , _plivlAccessToken :: !(Maybe Text)
74+ , _plivlUploadType :: !(Maybe Text)
75+ , _plivlPageToken :: !(Maybe Text)
76+ , _plivlPageSize :: !(Maybe (Textual Int32))
77+ , _plivlCallback :: !(Maybe Text)
78+ }
79+ deriving (Eq, Show, Data, Typeable, Generic)
80+
81+-- | Creates a value of 'ProjectsLocationsImageVersionsList' with the minimum fields required to make a request.
82+--
83+-- Use one of the following lenses to modify other fields as desired:
84+--
85+-- * 'plivlParent'
86+--
87+-- * 'plivlXgafv'
88+--
89+-- * 'plivlUploadProtocol'
90+--
91+-- * 'plivlAccessToken'
92+--
93+-- * 'plivlUploadType'
94+--
95+-- * 'plivlPageToken'
96+--
97+-- * 'plivlPageSize'
98+--
99+-- * 'plivlCallback'
100+projectsLocationsImageVersionsList
101+ :: Text -- ^ 'plivlParent'
102+ -> ProjectsLocationsImageVersionsList
103+projectsLocationsImageVersionsList pPlivlParent_ =
104+ ProjectsLocationsImageVersionsList'
105+ { _plivlParent = pPlivlParent_
106+ , _plivlXgafv = Nothing
107+ , _plivlUploadProtocol = Nothing
108+ , _plivlAccessToken = Nothing
109+ , _plivlUploadType = Nothing
110+ , _plivlPageToken = Nothing
111+ , _plivlPageSize = Nothing
112+ , _plivlCallback = Nothing
113+ }
114+
115+-- | List ImageVersions in the given project and location, in the form:
116+-- \"projects\/{projectId}\/locations\/{locationId}\"
117+plivlParent :: Lens' ProjectsLocationsImageVersionsList Text
118+plivlParent
119+ = lens _plivlParent (\ s a -> s{_plivlParent = a})
120+
121+-- | V1 error format.
122+plivlXgafv :: Lens' ProjectsLocationsImageVersionsList (Maybe Xgafv)
123+plivlXgafv
124+ = lens _plivlXgafv (\ s a -> s{_plivlXgafv = a})
125+
126+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
127+plivlUploadProtocol :: Lens' ProjectsLocationsImageVersionsList (Maybe Text)
128+plivlUploadProtocol
129+ = lens _plivlUploadProtocol
130+ (\ s a -> s{_plivlUploadProtocol = a})
131+
132+-- | OAuth access token.
133+plivlAccessToken :: Lens' ProjectsLocationsImageVersionsList (Maybe Text)
134+plivlAccessToken
135+ = lens _plivlAccessToken
136+ (\ s a -> s{_plivlAccessToken = a})
137+
138+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
139+plivlUploadType :: Lens' ProjectsLocationsImageVersionsList (Maybe Text)
140+plivlUploadType
141+ = lens _plivlUploadType
142+ (\ s a -> s{_plivlUploadType = a})
143+
144+-- | The next_page_token value returned from a previous List request, if any.
145+plivlPageToken :: Lens' ProjectsLocationsImageVersionsList (Maybe Text)
146+plivlPageToken
147+ = lens _plivlPageToken
148+ (\ s a -> s{_plivlPageToken = a})
149+
150+-- | The maximum number of image_versions to return.
151+plivlPageSize :: Lens' ProjectsLocationsImageVersionsList (Maybe Int32)
152+plivlPageSize
153+ = lens _plivlPageSize
154+ (\ s a -> s{_plivlPageSize = a})
155+ . mapping _Coerce
156+
157+-- | JSONP
158+plivlCallback :: Lens' ProjectsLocationsImageVersionsList (Maybe Text)
159+plivlCallback
160+ = lens _plivlCallback
161+ (\ s a -> s{_plivlCallback = a})
162+
163+instance GoogleRequest
164+ ProjectsLocationsImageVersionsList
165+ where
166+ type Rs ProjectsLocationsImageVersionsList =
167+ ListImageVersionsResponse
168+ type Scopes ProjectsLocationsImageVersionsList =
169+ '["https://www.googleapis.com/auth/cloud-platform"]
170+ requestClient ProjectsLocationsImageVersionsList'{..}
171+ = go _plivlParent _plivlXgafv _plivlUploadProtocol
172+ _plivlAccessToken
173+ _plivlUploadType
174+ _plivlPageToken
175+ _plivlPageSize
176+ _plivlCallback
177+ (Just AltJSON)
178+ composerService
179+ where go
180+ = buildClient
181+ (Proxy ::
182+ Proxy ProjectsLocationsImageVersionsListResource)
183+ mempty
gogol-composer/gogol-composer.cabal+3−2
@@ -1,5 +1,5 @@
11name: gogol-composer
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Composer SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -40,6 +40,7 @@ library
4040 , Network.Google.Resource.Composer.Projects.Locations.Environments.Get
4141 , Network.Google.Resource.Composer.Projects.Locations.Environments.List
4242 , Network.Google.Resource.Composer.Projects.Locations.Environments.Patch
43+ , Network.Google.Resource.Composer.Projects.Locations.ImageVersions.List
4344 , Network.Google.Resource.Composer.Projects.Locations.Operations.Delete
4445 , Network.Google.Resource.Composer.Projects.Locations.Operations.Get
4546 , Network.Google.Resource.Composer.Projects.Locations.Operations.List
@@ -49,5 +50,5 @@ library
4950 , Network.Google.Composer.Types.Sum
5051
5152 build-depends:
52− gogol-core == 0.4.0.*
53+ gogol-core == 0.5.0.*
5354 , base >= 4.7 && < 5
gogol-compute/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-compute/gen/Network/Google/Compute.hs+51
@@ -1289,6 +1289,14 @@ module Network.Google.Compute
12891289 -- ** SchedulingOnHostMaintenance
12901290 , SchedulingOnHostMaintenance (..)
12911291
1292+ -- ** InstanceGroupManagerUpdatePolicy
1293+ , InstanceGroupManagerUpdatePolicy
1294+ , instanceGroupManagerUpdatePolicy
1295+ , igmupMaxSurge
1296+ , igmupMaxUnavailable
1297+ , igmupMinimalAction
1298+ , igmupType
1299+
12921300 -- ** RegionInstanceGroupsListInstancesRequest
12931301 , RegionInstanceGroupsListInstancesRequest
12941302 , regionInstanceGroupsListInstancesRequest
@@ -1689,6 +1697,13 @@ module Network.Google.Compute
16891697 , igmlWarning
16901698 , igmlId
16911699
1700+ -- ** InstanceGroupManagerVersion
1701+ , InstanceGroupManagerVersion
1702+ , instanceGroupManagerVersion
1703+ , igmvInstanceTemplate
1704+ , igmvTargetSize
1705+ , igmvName
1706+
16921707 -- ** SubnetworksScopedListWarning
16931708 , SubnetworksScopedListWarning
16941709 , subnetworksScopedListWarning
@@ -2132,6 +2147,12 @@ module Network.Google.Compute
21322147 , interconnectAttachmentAggregatedListItems
21332148 , iaaliAddtional
21342149
2150+ -- ** InstanceGroupManagerAutoHealingPolicy
2151+ , InstanceGroupManagerAutoHealingPolicy
2152+ , instanceGroupManagerAutoHealingPolicy
2153+ , igmahpHealthCheck
2154+ , igmahpInitialDelaySec
2155+
21352156 -- ** LogConfigCounterOptions
21362157 , LogConfigCounterOptions
21372158 , logConfigCounterOptions
@@ -2292,10 +2313,12 @@ module Network.Google.Compute
22922313 , frName
22932314 , frIPProtocol
22942315 , frCreationTimestamp
2316+ , frServiceName
22952317 , frSubnetwork
22962318 , frPorts
22972319 , frId
22982320 , frRegion
2321+ , frServiceLabel
22992322 , frDescription
23002323 , frTarget
23012324 , frBackendService
@@ -2528,11 +2551,15 @@ module Network.Google.Compute
25282551 -- ** InstanceGroupManager
25292552 , InstanceGroupManager
25302553 , instanceGroupManager
2554+ , igmStatus
25312555 , igmKind
25322556 , igmFingerprint
25332557 , igmBaseInstanceName
25342558 , igmZone
2559+ , igmAutoHealingPolicies
2560+ , igmVersions
25352561 , igmInstanceTemplate
2562+ , igmUpdatePolicy
25362563 , igmTargetSize
25372564 , igmSelfLink
25382565 , igmCurrentActions
@@ -2804,6 +2831,13 @@ module Network.Google.Compute
28042831 , vtalwdiValue
28052832 , vtalwdiKey
28062833
2834+ -- ** FixedOrPercent
2835+ , FixedOrPercent
2836+ , fixedOrPercent
2837+ , fopCalculated
2838+ , fopPercent
2839+ , fopFixed
2840+
28072841 -- ** FirewallLogConfig
28082842 , FirewallLogConfig
28092843 , firewallLogConfig
@@ -3677,6 +3711,11 @@ module Network.Google.Compute
36773711 , tspProxyHeader
36783712 , tspDescription
36793713
3714+ -- ** InstanceGroupManagerStatus
3715+ , InstanceGroupManagerStatus
3716+ , instanceGroupManagerStatus
3717+ , igmsIsStable
3718+
36803719 -- ** SSLCertificateListWarning
36813720 , SSLCertificateListWarning
36823721 , sslCertificateListWarning
@@ -3800,6 +3839,9 @@ module Network.Google.Compute
38003839 , targetPoolsAddHealthCheckRequest
38013840 , tpahcrHealthChecks
38023841
3842+ -- ** InstanceGroupManagerUpdatePolicyType
3843+ , InstanceGroupManagerUpdatePolicyType (..)
3844+
38033845 -- ** CommitmentsScopedList
38043846 , CommitmentsScopedList
38053847 , commitmentsScopedList
@@ -4201,6 +4243,7 @@ module Network.Google.Compute
42014243 , InterconnectLocation
42024244 , interconnectLocation
42034245 , intFacilityProviderFacilityId
4246+ , intStatus
42044247 , intRegionInfos
42054248 , intKind
42064249 , intAddress
@@ -5804,6 +5847,9 @@ module Network.Google.Compute
58045847 , igslwCode
58055848 , igslwMessage
58065849
5850+ -- ** InterconnectLocationStatus
5851+ , InterconnectLocationStatus (..)
5852+
58075853 -- ** AutoscalingPolicyCPUUtilization
58085854 , AutoscalingPolicyCPUUtilization
58095855 , autoscalingPolicyCPUUtilization
@@ -5904,6 +5950,7 @@ module Network.Google.Compute
59045950 -- ** Quota
59055951 , Quota
59065952 , quota
5953+ , qOwner
59075954 , qMetric
59085955 , qLimit
59095956 , qUsage
@@ -6377,6 +6424,7 @@ module Network.Google.Compute
63776424 , i1Status
63786425 , i1ServiceAccounts
63796426 , i1DeletionProtection
6427+ , i1Hostname
63806428 , i1NetworkInterfaces
63816429 , i1Kind
63826430 , i1Zone
@@ -6407,6 +6455,9 @@ module Network.Google.Compute
64076455 , pmPathRules
64086456 , pmDescription
64096457
6458+ -- ** InstanceGroupManagerUpdatePolicyMinimalAction
6459+ , InstanceGroupManagerUpdatePolicyMinimalAction (..)
6460+
64106461 -- ** BackendServiceListWarning
64116462 , BackendServiceListWarning
64126463 , backendServiceListWarning
gogol-compute/gen/Network/Google/Compute/Types.hs+51
@@ -89,6 +89,14 @@ module Network.Google.Compute.Types
8989 -- * SchedulingOnHostMaintenance
9090 , SchedulingOnHostMaintenance (..)
9191
92+ -- * InstanceGroupManagerUpdatePolicy
93+ , InstanceGroupManagerUpdatePolicy
94+ , instanceGroupManagerUpdatePolicy
95+ , igmupMaxSurge
96+ , igmupMaxUnavailable
97+ , igmupMinimalAction
98+ , igmupType
99+
92100 -- * RegionInstanceGroupsListInstancesRequest
93101 , RegionInstanceGroupsListInstancesRequest
94102 , regionInstanceGroupsListInstancesRequest
@@ -489,6 +497,13 @@ module Network.Google.Compute.Types
489497 , igmlWarning
490498 , igmlId
491499
500+ -- * InstanceGroupManagerVersion
501+ , InstanceGroupManagerVersion
502+ , instanceGroupManagerVersion
503+ , igmvInstanceTemplate
504+ , igmvTargetSize
505+ , igmvName
506+
492507 -- * SubnetworksScopedListWarning
493508 , SubnetworksScopedListWarning
494509 , subnetworksScopedListWarning
@@ -932,6 +947,12 @@ module Network.Google.Compute.Types
932947 , interconnectAttachmentAggregatedListItems
933948 , iaaliAddtional
934949
950+ -- * InstanceGroupManagerAutoHealingPolicy
951+ , InstanceGroupManagerAutoHealingPolicy
952+ , instanceGroupManagerAutoHealingPolicy
953+ , igmahpHealthCheck
954+ , igmahpInitialDelaySec
955+
935956 -- * LogConfigCounterOptions
936957 , LogConfigCounterOptions
937958 , logConfigCounterOptions
@@ -1092,10 +1113,12 @@ module Network.Google.Compute.Types
10921113 , frName
10931114 , frIPProtocol
10941115 , frCreationTimestamp
1116+ , frServiceName
10951117 , frSubnetwork
10961118 , frPorts
10971119 , frId
10981120 , frRegion
1121+ , frServiceLabel
10991122 , frDescription
11001123 , frTarget
11011124 , frBackendService
@@ -1328,11 +1351,15 @@ module Network.Google.Compute.Types
13281351 -- * InstanceGroupManager
13291352 , InstanceGroupManager
13301353 , instanceGroupManager
1354+ , igmStatus
13311355 , igmKind
13321356 , igmFingerprint
13331357 , igmBaseInstanceName
13341358 , igmZone
1359+ , igmAutoHealingPolicies
1360+ , igmVersions
13351361 , igmInstanceTemplate
1362+ , igmUpdatePolicy
13361363 , igmTargetSize
13371364 , igmSelfLink
13381365 , igmCurrentActions
@@ -1604,6 +1631,13 @@ module Network.Google.Compute.Types
16041631 , vtalwdiValue
16051632 , vtalwdiKey
16061633
1634+ -- * FixedOrPercent
1635+ , FixedOrPercent
1636+ , fixedOrPercent
1637+ , fopCalculated
1638+ , fopPercent
1639+ , fopFixed
1640+
16071641 -- * FirewallLogConfig
16081642 , FirewallLogConfig
16091643 , firewallLogConfig
@@ -2477,6 +2511,11 @@ module Network.Google.Compute.Types
24772511 , tspProxyHeader
24782512 , tspDescription
24792513
2514+ -- * InstanceGroupManagerStatus
2515+ , InstanceGroupManagerStatus
2516+ , instanceGroupManagerStatus
2517+ , igmsIsStable
2518+
24802519 -- * SSLCertificateListWarning
24812520 , SSLCertificateListWarning
24822521 , sslCertificateListWarning
@@ -2600,6 +2639,9 @@ module Network.Google.Compute.Types
26002639 , targetPoolsAddHealthCheckRequest
26012640 , tpahcrHealthChecks
26022641
2642+ -- * InstanceGroupManagerUpdatePolicyType
2643+ , InstanceGroupManagerUpdatePolicyType (..)
2644+
26032645 -- * CommitmentsScopedList
26042646 , CommitmentsScopedList
26052647 , commitmentsScopedList
@@ -3001,6 +3043,7 @@ module Network.Google.Compute.Types
30013043 , InterconnectLocation
30023044 , interconnectLocation
30033045 , intFacilityProviderFacilityId
3046+ , intStatus
30043047 , intRegionInfos
30053048 , intKind
30063049 , intAddress
@@ -4604,6 +4647,9 @@ module Network.Google.Compute.Types
46044647 , igslwCode
46054648 , igslwMessage
46064649
4650+ -- * InterconnectLocationStatus
4651+ , InterconnectLocationStatus (..)
4652+
46074653 -- * AutoscalingPolicyCPUUtilization
46084654 , AutoscalingPolicyCPUUtilization
46094655 , autoscalingPolicyCPUUtilization
@@ -4704,6 +4750,7 @@ module Network.Google.Compute.Types
47044750 -- * Quota
47054751 , Quota
47064752 , quota
4753+ , qOwner
47074754 , qMetric
47084755 , qLimit
47094756 , qUsage
@@ -5177,6 +5224,7 @@ module Network.Google.Compute.Types
51775224 , i1Status
51785225 , i1ServiceAccounts
51795226 , i1DeletionProtection
5227+ , i1Hostname
51805228 , i1NetworkInterfaces
51815229 , i1Kind
51825230 , i1Zone
@@ -5207,6 +5255,9 @@ module Network.Google.Compute.Types
52075255 , pmPathRules
52085256 , pmDescription
52095257
5258+ -- * InstanceGroupManagerUpdatePolicyMinimalAction
5259+ , InstanceGroupManagerUpdatePolicyMinimalAction (..)
5260+
52105261 -- * BackendServiceListWarning
52115262 , BackendServiceListWarning
52125263 , backendServiceListWarning
gogol-compute/gen/Network/Google/Compute/Types/Product.hs+522−51
@@ -483,6 +483,102 @@ instance ToJSON OperationWarningsItemDataItem where
483483 [("value" .=) <$> _owidiValue,
484484 ("key" .=) <$> _owidiKey])
485485
486+--
487+-- /See:/ 'instanceGroupManagerUpdatePolicy' smart constructor.
488+data InstanceGroupManagerUpdatePolicy =
489+ InstanceGroupManagerUpdatePolicy'
490+ { _igmupMaxSurge :: !(Maybe FixedOrPercent)
491+ , _igmupMaxUnavailable :: !(Maybe FixedOrPercent)
492+ , _igmupMinimalAction :: !(Maybe InstanceGroupManagerUpdatePolicyMinimalAction)
493+ , _igmupType :: !(Maybe InstanceGroupManagerUpdatePolicyType)
494+ }
495+ deriving (Eq, Show, Data, Typeable, Generic)
496+
497+-- | Creates a value of 'InstanceGroupManagerUpdatePolicy' with the minimum fields required to make a request.
498+--
499+-- Use one of the following lenses to modify other fields as desired:
500+--
501+-- * 'igmupMaxSurge'
502+--
503+-- * 'igmupMaxUnavailable'
504+--
505+-- * 'igmupMinimalAction'
506+--
507+-- * 'igmupType'
508+instanceGroupManagerUpdatePolicy
509+ :: InstanceGroupManagerUpdatePolicy
510+instanceGroupManagerUpdatePolicy =
511+ InstanceGroupManagerUpdatePolicy'
512+ { _igmupMaxSurge = Nothing
513+ , _igmupMaxUnavailable = Nothing
514+ , _igmupMinimalAction = Nothing
515+ , _igmupType = Nothing
516+ }
517+
518+-- | The maximum number of instances that can be created above the specified
519+-- targetSize during the update process. By default, a fixed value of 1 is
520+-- used. This value can be either a fixed number or a percentage if the
521+-- instance group has 10 or more instances. If you set a percentage, the
522+-- number of instances will be rounded up if necessary. At least one of
523+-- either maxSurge or maxUnavailable must be greater than 0. Learn more
524+-- about maxSurge.
525+igmupMaxSurge :: Lens' InstanceGroupManagerUpdatePolicy (Maybe FixedOrPercent)
526+igmupMaxSurge
527+ = lens _igmupMaxSurge
528+ (\ s a -> s{_igmupMaxSurge = a})
529+
530+-- | The maximum number of instances that can be unavailable during the
531+-- update process. An instance is considered available if all of the
532+-- following conditions are satisfied: - The instance\'s status is RUNNING.
533+-- - If there is a health check on the instance group, the instance\'s
534+-- liveness health check result must be HEALTHY at least once. If there is
535+-- no health check on the group, then the instance only needs to have a
536+-- status of RUNNING to be considered available. By default, a fixed value
537+-- of 1 is used. This value can be either a fixed number or a percentage if
538+-- the instance group has 10 or more instances. If you set a percentage,
539+-- the number of instances will be rounded up if necessary. At least one of
540+-- either maxSurge or maxUnavailable must be greater than 0. Learn more
541+-- about maxUnavailable.
542+igmupMaxUnavailable :: Lens' InstanceGroupManagerUpdatePolicy (Maybe FixedOrPercent)
543+igmupMaxUnavailable
544+ = lens _igmupMaxUnavailable
545+ (\ s a -> s{_igmupMaxUnavailable = a})
546+
547+-- | Minimal action to be taken on an instance. You can specify either
548+-- RESTART to restart existing instances or REPLACE to delete and create
549+-- new instances from the target template. If you specify a RESTART, the
550+-- Updater will attempt to perform that action only. However, if the
551+-- Updater determines that the minimal action you specify is not enough to
552+-- perform the update, it might perform a more disruptive action.
553+igmupMinimalAction :: Lens' InstanceGroupManagerUpdatePolicy (Maybe InstanceGroupManagerUpdatePolicyMinimalAction)
554+igmupMinimalAction
555+ = lens _igmupMinimalAction
556+ (\ s a -> s{_igmupMinimalAction = a})
557+
558+igmupType :: Lens' InstanceGroupManagerUpdatePolicy (Maybe InstanceGroupManagerUpdatePolicyType)
559+igmupType
560+ = lens _igmupType (\ s a -> s{_igmupType = a})
561+
562+instance FromJSON InstanceGroupManagerUpdatePolicy
563+ where
564+ parseJSON
565+ = withObject "InstanceGroupManagerUpdatePolicy"
566+ (\ o ->
567+ InstanceGroupManagerUpdatePolicy' <$>
568+ (o .:? "maxSurge") <*> (o .:? "maxUnavailable") <*>
569+ (o .:? "minimalAction")
570+ <*> (o .:? "type"))
571+
572+instance ToJSON InstanceGroupManagerUpdatePolicy
573+ where
574+ toJSON InstanceGroupManagerUpdatePolicy'{..}
575+ = object
576+ (catMaybes
577+ [("maxSurge" .=) <$> _igmupMaxSurge,
578+ ("maxUnavailable" .=) <$> _igmupMaxUnavailable,
579+ ("minimalAction" .=) <$> _igmupMinimalAction,
580+ ("type" .=) <$> _igmupType])
581+
486582--
487583-- /See:/ 'regionInstanceGroupsListInstancesRequest' smart constructor.
488584data RegionInstanceGroupsListInstancesRequest =
@@ -3962,6 +4058,74 @@ instance ToJSON InstanceGroupManagerList where
39624058 ("warning" .=) <$> _igmlWarning,
39634059 ("id" .=) <$> _igmlId])
39644060
4061+--
4062+-- /See:/ 'instanceGroupManagerVersion' smart constructor.
4063+data InstanceGroupManagerVersion =
4064+ InstanceGroupManagerVersion'
4065+ { _igmvInstanceTemplate :: !(Maybe Text)
4066+ , _igmvTargetSize :: !(Maybe FixedOrPercent)
4067+ , _igmvName :: !(Maybe Text)
4068+ }
4069+ deriving (Eq, Show, Data, Typeable, Generic)
4070+
4071+-- | Creates a value of 'InstanceGroupManagerVersion' with the minimum fields required to make a request.
4072+--
4073+-- Use one of the following lenses to modify other fields as desired:
4074+--
4075+-- * 'igmvInstanceTemplate'
4076+--
4077+-- * 'igmvTargetSize'
4078+--
4079+-- * 'igmvName'
4080+instanceGroupManagerVersion
4081+ :: InstanceGroupManagerVersion
4082+instanceGroupManagerVersion =
4083+ InstanceGroupManagerVersion'
4084+ { _igmvInstanceTemplate = Nothing
4085+ , _igmvTargetSize = Nothing
4086+ , _igmvName = Nothing
4087+ }
4088+
4089+igmvInstanceTemplate :: Lens' InstanceGroupManagerVersion (Maybe Text)
4090+igmvInstanceTemplate
4091+ = lens _igmvInstanceTemplate
4092+ (\ s a -> s{_igmvInstanceTemplate = a})
4093+
4094+-- | Specifies the intended number of instances to be created from the
4095+-- instanceTemplate. The final number of instances created from the
4096+-- template will be equal to: - If expressed as a fixed number, the minimum
4097+-- of either targetSize.fixed or instanceGroupManager.targetSize is used. -
4098+-- if expressed as a percent, the targetSize would be
4099+-- (targetSize.percent\/100 * InstanceGroupManager.targetSize) If there is
4100+-- a remainder, the number is rounded up. If unset, this version will
4101+-- update any remaining instances not updated by another version. Read
4102+-- Starting a canary update for more information.
4103+igmvTargetSize :: Lens' InstanceGroupManagerVersion (Maybe FixedOrPercent)
4104+igmvTargetSize
4105+ = lens _igmvTargetSize
4106+ (\ s a -> s{_igmvTargetSize = a})
4107+
4108+-- | Name of the version. Unique among all versions in the scope of this
4109+-- managed instance group.
4110+igmvName :: Lens' InstanceGroupManagerVersion (Maybe Text)
4111+igmvName = lens _igmvName (\ s a -> s{_igmvName = a})
4112+
4113+instance FromJSON InstanceGroupManagerVersion where
4114+ parseJSON
4115+ = withObject "InstanceGroupManagerVersion"
4116+ (\ o ->
4117+ InstanceGroupManagerVersion' <$>
4118+ (o .:? "instanceTemplate") <*> (o .:? "targetSize")
4119+ <*> (o .:? "name"))
4120+
4121+instance ToJSON InstanceGroupManagerVersion where
4122+ toJSON InstanceGroupManagerVersion'{..}
4123+ = object
4124+ (catMaybes
4125+ [("instanceTemplate" .=) <$> _igmvInstanceTemplate,
4126+ ("targetSize" .=) <$> _igmvTargetSize,
4127+ ("name" .=) <$> _igmvName])
4128+
39654129-- | An informational warning that appears when the list of addresses is
39664130-- empty.
39674131--
@@ -4845,11 +5009,15 @@ umFingerprint
48455009 (\ s a -> s{_umFingerprint = a})
48465010 . mapping _Bytes
48475011
4848−-- | The URL of the backendService resource if none of the hostRules match.
4849−-- Use defaultService instead of defaultRouteAction when simple routing to
4850−-- a backendService is desired and other advanced capabilities like traffic
4851−-- splitting and rewrites are not required. Only one of defaultService,
4852−-- defaultRouteAction or defaultUrlRedirect should must be set.
5012+-- | The full or partial URL of the defaultService resource to which traffic
5013+-- is directed if none of the hostRules match. If defaultRouteAction is
5014+-- additionally specified, advanced routing actions like URL Rewrites, etc.
5015+-- take effect prior to sending the request to the backend. However, if
5016+-- defaultService is specified, defaultRouteAction cannot contain any
5017+-- weightedBackendServices. Conversely, if routeAction specifies any
5018+-- weightedBackendServices, service must not be specified. Only one of
5019+-- defaultService, defaultUrlRedirect or
5020+-- defaultRouteAction.weightedBackendService must be set.
48535021umDefaultService :: Lens' URLMap (Maybe Text)
48545022umDefaultService
48555023 = lens _umDefaultService
@@ -7680,6 +7848,64 @@ instance ToJSON
76807848 where
76817849 toJSON = toJSON . _iaaliAddtional
76827850
7851+-- |
7852+--
7853+-- /See:/ 'instanceGroupManagerAutoHealingPolicy' smart constructor.
7854+data InstanceGroupManagerAutoHealingPolicy =
7855+ InstanceGroupManagerAutoHealingPolicy'
7856+ { _igmahpHealthCheck :: !(Maybe Text)
7857+ , _igmahpInitialDelaySec :: !(Maybe (Textual Int32))
7858+ }
7859+ deriving (Eq, Show, Data, Typeable, Generic)
7860+
7861+-- | Creates a value of 'InstanceGroupManagerAutoHealingPolicy' with the minimum fields required to make a request.
7862+--
7863+-- Use one of the following lenses to modify other fields as desired:
7864+--
7865+-- * 'igmahpHealthCheck'
7866+--
7867+-- * 'igmahpInitialDelaySec'
7868+instanceGroupManagerAutoHealingPolicy
7869+ :: InstanceGroupManagerAutoHealingPolicy
7870+instanceGroupManagerAutoHealingPolicy =
7871+ InstanceGroupManagerAutoHealingPolicy'
7872+ {_igmahpHealthCheck = Nothing, _igmahpInitialDelaySec = Nothing}
7873+
7874+-- | The URL for the health check that signals autohealing.
7875+igmahpHealthCheck :: Lens' InstanceGroupManagerAutoHealingPolicy (Maybe Text)
7876+igmahpHealthCheck
7877+ = lens _igmahpHealthCheck
7878+ (\ s a -> s{_igmahpHealthCheck = a})
7879+
7880+-- | The number of seconds that the managed instance group waits before it
7881+-- applies autohealing policies to new instances or recently recreated
7882+-- instances. This initial delay allows instances to initialize and run
7883+-- their startup scripts before the instance group determines that they are
7884+-- UNHEALTHY. This prevents the managed instance group from recreating its
7885+-- instances prematurely. This value must be from range [0, 3600].
7886+igmahpInitialDelaySec :: Lens' InstanceGroupManagerAutoHealingPolicy (Maybe Int32)
7887+igmahpInitialDelaySec
7888+ = lens _igmahpInitialDelaySec
7889+ (\ s a -> s{_igmahpInitialDelaySec = a})
7890+ . mapping _Coerce
7891+
7892+instance FromJSON
7893+ InstanceGroupManagerAutoHealingPolicy
7894+ where
7895+ parseJSON
7896+ = withObject "InstanceGroupManagerAutoHealingPolicy"
7897+ (\ o ->
7898+ InstanceGroupManagerAutoHealingPolicy' <$>
7899+ (o .:? "healthCheck") <*> (o .:? "initialDelaySec"))
7900+
7901+instance ToJSON InstanceGroupManagerAutoHealingPolicy
7902+ where
7903+ toJSON InstanceGroupManagerAutoHealingPolicy'{..}
7904+ = object
7905+ (catMaybes
7906+ [("healthCheck" .=) <$> _igmahpHealthCheck,
7907+ ("initialDelaySec" .=) <$> _igmahpInitialDelaySec])
7908+
76837909-- | Increment a streamz counter with the specified metric and field names.
76847910-- Metric names should start with a \'\/\', generally be lowercase-only,
76857911-- and end in \"_count\". Field names should not contain an initial slash.
@@ -8932,10 +9158,12 @@ data ForwardingRule =
89329158 , _frName :: !(Maybe Text)
89339159 , _frIPProtocol :: !(Maybe ForwardingRuleIPProtocol)
89349160 , _frCreationTimestamp :: !(Maybe Text)
9161+ , _frServiceName :: !(Maybe Text)
89359162 , _frSubnetwork :: !(Maybe Text)
89369163 , _frPorts :: !(Maybe [Text])
89379164 , _frId :: !(Maybe (Textual Word64))
89389165 , _frRegion :: !(Maybe Text)
9166+ , _frServiceLabel :: !(Maybe Text)
89399167 , _frDescription :: !(Maybe Text)
89409168 , _frTarget :: !(Maybe Text)
89419169 , _frBackendService :: !(Maybe Text)
@@ -8968,6 +9196,8 @@ data ForwardingRule =
89689196--
89699197-- * 'frCreationTimestamp'
89709198--
9199+-- * 'frServiceName'
9200+--
89719201-- * 'frSubnetwork'
89729202--
89739203-- * 'frPorts'
@@ -8976,6 +9206,8 @@ data ForwardingRule =
89769206--
89779207-- * 'frRegion'
89789208--
9209+-- * 'frServiceLabel'
9210+--
89799211-- * 'frDescription'
89809212--
89819213-- * 'frTarget'
@@ -8996,10 +9228,12 @@ forwardingRule =
89969228 , _frName = Nothing
89979229 , _frIPProtocol = Nothing
89989230 , _frCreationTimestamp = Nothing
9231+ , _frServiceName = Nothing
89999232 , _frSubnetwork = Nothing
90009233 , _frPorts = Nothing
90019234 , _frId = Nothing
90029235 , _frRegion = Nothing
9236+ , _frServiceLabel = Nothing
90039237 , _frDescription = Nothing
90049238 , _frTarget = Nothing
90059239 , _frBackendService = Nothing
@@ -9120,6 +9354,13 @@ frCreationTimestamp
91209354 = lens _frCreationTimestamp
91219355 (\ s a -> s{_frCreationTimestamp = a})
91229356
9357+-- | [Output Only] The internal fully qualified service name for this
9358+-- Forwarding Rule. This field is only used for internal load balancing.
9359+frServiceName :: Lens' ForwardingRule (Maybe Text)
9360+frServiceName
9361+ = lens _frServiceName
9362+ (\ s a -> s{_frServiceName = a})
9363+
91239364-- | This field is only used for INTERNAL load balancing. For internal load
91249365-- balancing, this field identifies the subnetwork that the load balanced
91259366-- IP should belong to for this Forwarding Rule. If the network specified
@@ -9154,6 +9395,19 @@ frId
91549395frRegion :: Lens' ForwardingRule (Maybe Text)
91559396frRegion = lens _frRegion (\ s a -> s{_frRegion = a})
91569397
9398+-- | An optional prefix to the service name for this Forwarding Rule. If
9399+-- specified, will be the first label of the fully qualified service name.
9400+-- The label must be 1-63 characters long, and comply with RFC1035.
9401+-- Specifically, the label must be 1-63 characters long and match the
9402+-- regular expression \`[a-z]([-a-z0-9]*[a-z0-9])?\` which means the first
9403+-- character must be a lowercase letter, and all following characters must
9404+-- be a dash, lowercase letter, or digit, except the last character, which
9405+-- cannot be a dash. This field is only used for internal load balancing.
9406+frServiceLabel :: Lens' ForwardingRule (Maybe Text)
9407+frServiceLabel
9408+ = lens _frServiceLabel
9409+ (\ s a -> s{_frServiceLabel = a})
9410+
91579411-- | An optional description of this resource. Provide this property when you
91589412-- create the resource.
91599413frDescription :: Lens' ForwardingRule (Maybe Text)
@@ -9193,10 +9447,12 @@ instance FromJSON ForwardingRule where
91939447 <*> (o .:? "name")
91949448 <*> (o .:? "IPProtocol")
91959449 <*> (o .:? "creationTimestamp")
9450+ <*> (o .:? "serviceName")
91969451 <*> (o .:? "subnetwork")
91979452 <*> (o .:? "ports" .!= mempty)
91989453 <*> (o .:? "id")
91999454 <*> (o .:? "region")
9455+ <*> (o .:? "serviceLabel")
92009456 <*> (o .:? "description")
92019457 <*> (o .:? "target")
92029458 <*> (o .:? "backendService"))
@@ -9217,9 +9473,11 @@ instance ToJSON ForwardingRule where
92179473 ("name" .=) <$> _frName,
92189474 ("IPProtocol" .=) <$> _frIPProtocol,
92199475 ("creationTimestamp" .=) <$> _frCreationTimestamp,
9476+ ("serviceName" .=) <$> _frServiceName,
92209477 ("subnetwork" .=) <$> _frSubnetwork,
92219478 ("ports" .=) <$> _frPorts, ("id" .=) <$> _frId,
92229479 ("region" .=) <$> _frRegion,
9480+ ("serviceLabel" .=) <$> _frServiceLabel,
92239481 ("description" .=) <$> _frDescription,
92249482 ("target" .=) <$> _frTarget,
92259483 ("backendService" .=) <$> _frBackendService])
@@ -11205,7 +11463,7 @@ autoscalingPolicyLoadBalancingUtilization
1120511463autoscalingPolicyLoadBalancingUtilization =
1120611464 AutoscalingPolicyLoadBalancingUtilization' {_aplbuUtilizationTarget = Nothing}
1120711465
11208−-- | Fraction of backend capacity utilization (set in HTTP(s) load balancing
11466+-- | Fraction of backend capacity utilization (set in HTTP(S) load balancing
1120911467-- configuration) that autoscaler should maintain. Must be a positive float
1121011468-- value. If not defined, the default is 0.8.
1121111469aplbuUtilizationTarget :: Lens' AutoscalingPolicyLoadBalancingUtilization (Maybe Double)
@@ -11354,23 +11612,27 @@ instance ToJSON TargetPoolsScopedListWarningDataItem
1135411612-- /See:/ 'instanceGroupManager' smart constructor.
1135511613data InstanceGroupManager =
1135611614 InstanceGroupManager'
11357− { _igmKind :: !Text
11358− , _igmFingerprint :: !(Maybe Bytes)
11359− , _igmBaseInstanceName :: !(Maybe Text)
11360− , _igmZone :: !(Maybe Text)
11361− , _igmInstanceTemplate :: !(Maybe Text)
11362− , _igmTargetSize :: !(Maybe (Textual Int32))
11363− , _igmSelfLink :: !(Maybe Text)
11364− , _igmCurrentActions :: !(Maybe InstanceGroupManagerActionsSummary)
11365− , _igmName :: !(Maybe Text)
11366− , _igmCreationTimestamp :: !(Maybe Text)
11367− , _igmDistributionPolicy :: !(Maybe DistributionPolicy)
11368− , _igmId :: !(Maybe (Textual Word64))
11369− , _igmRegion :: !(Maybe Text)
11370− , _igmTargetPools :: !(Maybe [Text])
11371− , _igmDescription :: !(Maybe Text)
11372− , _igmInstanceGroup :: !(Maybe Text)
11373− , _igmNamedPorts :: !(Maybe [NamedPort])
11615+ { _igmStatus :: !(Maybe InstanceGroupManagerStatus)
11616+ , _igmKind :: !Text
11617+ , _igmFingerprint :: !(Maybe Bytes)
11618+ , _igmBaseInstanceName :: !(Maybe Text)
11619+ , _igmZone :: !(Maybe Text)
11620+ , _igmAutoHealingPolicies :: !(Maybe [InstanceGroupManagerAutoHealingPolicy])
11621+ , _igmVersions :: !(Maybe [InstanceGroupManagerVersion])
11622+ , _igmInstanceTemplate :: !(Maybe Text)
11623+ , _igmUpdatePolicy :: !(Maybe InstanceGroupManagerUpdatePolicy)
11624+ , _igmTargetSize :: !(Maybe (Textual Int32))
11625+ , _igmSelfLink :: !(Maybe Text)
11626+ , _igmCurrentActions :: !(Maybe InstanceGroupManagerActionsSummary)
11627+ , _igmName :: !(Maybe Text)
11628+ , _igmCreationTimestamp :: !(Maybe Text)
11629+ , _igmDistributionPolicy :: !(Maybe DistributionPolicy)
11630+ , _igmId :: !(Maybe (Textual Word64))
11631+ , _igmRegion :: !(Maybe Text)
11632+ , _igmTargetPools :: !(Maybe [Text])
11633+ , _igmDescription :: !(Maybe Text)
11634+ , _igmInstanceGroup :: !(Maybe Text)
11635+ , _igmNamedPorts :: !(Maybe [NamedPort])
1137411636 }
1137511637 deriving (Eq, Show, Data, Typeable, Generic)
1137611638
@@ -11378,6 +11640,8 @@ data InstanceGroupManager =
1137811640--
1137911641-- Use one of the following lenses to modify other fields as desired:
1138011642--
11643+-- * 'igmStatus'
11644+--
1138111645-- * 'igmKind'
1138211646--
1138311647-- * 'igmFingerprint'
@@ -11386,8 +11650,14 @@ data InstanceGroupManager =
1138611650--
1138711651-- * 'igmZone'
1138811652--
11653+-- * 'igmAutoHealingPolicies'
11654+--
11655+-- * 'igmVersions'
11656+--
1138911657-- * 'igmInstanceTemplate'
1139011658--
11659+-- * 'igmUpdatePolicy'
11660+--
1139111661-- * 'igmTargetSize'
1139211662--
1139311663-- * 'igmSelfLink'
@@ -11415,11 +11685,15 @@ instanceGroupManager
1141511685 :: InstanceGroupManager
1141611686instanceGroupManager =
1141711687 InstanceGroupManager'
11418− { _igmKind = "compute#instanceGroupManager"
11688+ { _igmStatus = Nothing
11689+ , _igmKind = "compute#instanceGroupManager"
1141911690 , _igmFingerprint = Nothing
1142011691 , _igmBaseInstanceName = Nothing
1142111692 , _igmZone = Nothing
11693+ , _igmAutoHealingPolicies = Nothing
11694+ , _igmVersions = Nothing
1142211695 , _igmInstanceTemplate = Nothing
11696+ , _igmUpdatePolicy = Nothing
1142311697 , _igmTargetSize = Nothing
1142411698 , _igmSelfLink = Nothing
1142511699 , _igmCurrentActions = Nothing
@@ -11434,6 +11708,11 @@ instanceGroupManager =
1143411708 , _igmNamedPorts = Nothing
1143511709 }
1143611710
11711+-- | [Output Only] The status of this managed instance group.
11712+igmStatus :: Lens' InstanceGroupManager (Maybe InstanceGroupManagerStatus)
11713+igmStatus
11714+ = lens _igmStatus (\ s a -> s{_igmStatus = a})
11715+
1143711716-- | [Output Only] The resource type, which is always
1143811717-- compute#instanceGroupManager for managed instance groups.
1143911718igmKind :: Lens' InstanceGroupManager Text
@@ -11465,6 +11744,28 @@ igmBaseInstanceName
1146511744igmZone :: Lens' InstanceGroupManager (Maybe Text)
1146611745igmZone = lens _igmZone (\ s a -> s{_igmZone = a})
1146711746
11747+-- | The autohealing policy for this managed instance group. You can specify
11748+-- only one value.
11749+igmAutoHealingPolicies :: Lens' InstanceGroupManager [InstanceGroupManagerAutoHealingPolicy]
11750+igmAutoHealingPolicies
11751+ = lens _igmAutoHealingPolicies
11752+ (\ s a -> s{_igmAutoHealingPolicies = a})
11753+ . _Default
11754+ . _Coerce
11755+
11756+-- | Specifies the instance templates used by this managed instance group to
11757+-- create instances. Each version is defined by an instanceTemplate. Every
11758+-- template can appear at most once per instance group. This field
11759+-- overrides the top-level instanceTemplate field. Read more about the
11760+-- relationships between these fields. Exactly one version must leave the
11761+-- targetSize field unset. That version will be applied to all remaining
11762+-- instances. For more information, read about canary updates.
11763+igmVersions :: Lens' InstanceGroupManager [InstanceGroupManagerVersion]
11764+igmVersions
11765+ = lens _igmVersions (\ s a -> s{_igmVersions = a}) .
11766+ _Default
11767+ . _Coerce
11768+
1146811769-- | The URL of the instance template that is specified for this managed
1146911770-- instance group. The group uses this template to create all new instances
1147011771-- in the managed instance group.
@@ -11473,6 +11774,12 @@ igmInstanceTemplate
1147311774 = lens _igmInstanceTemplate
1147411775 (\ s a -> s{_igmInstanceTemplate = a})
1147511776
11777+-- | The update policy for this managed instance group.
11778+igmUpdatePolicy :: Lens' InstanceGroupManager (Maybe InstanceGroupManagerUpdatePolicy)
11779+igmUpdatePolicy
11780+ = lens _igmUpdatePolicy
11781+ (\ s a -> s{_igmUpdatePolicy = a})
11782+
1147611783-- | The target number of running instances for this managed instance group.
1147711784-- Deleting or abandoning instances reduces this number. Resizing the group
1147811785-- changes this number.
@@ -11565,11 +11872,15 @@ instance FromJSON InstanceGroupManager where
1156511872 = withObject "InstanceGroupManager"
1156611873 (\ o ->
1156711874 InstanceGroupManager' <$>
11568− (o .:? "kind" .!= "compute#instanceGroupManager") <*>
11569− (o .:? "fingerprint")
11875+ (o .:? "status") <*>
11876+ (o .:? "kind" .!= "compute#instanceGroupManager")
11877+ <*> (o .:? "fingerprint")
1157011878 <*> (o .:? "baseInstanceName")
1157111879 <*> (o .:? "zone")
11880+ <*> (o .:? "autoHealingPolicies" .!= mempty)
11881+ <*> (o .:? "versions" .!= mempty)
1157211882 <*> (o .:? "instanceTemplate")
11883+ <*> (o .:? "updatePolicy")
1157311884 <*> (o .:? "targetSize")
1157411885 <*> (o .:? "selfLink")
1157511886 <*> (o .:? "currentActions")
@@ -11587,11 +11898,16 @@ instance ToJSON InstanceGroupManager where
1158711898 toJSON InstanceGroupManager'{..}
1158811899 = object
1158911900 (catMaybes
11590− [Just ("kind" .= _igmKind),
11901+ [("status" .=) <$> _igmStatus,
11902+ Just ("kind" .= _igmKind),
1159111903 ("fingerprint" .=) <$> _igmFingerprint,
1159211904 ("baseInstanceName" .=) <$> _igmBaseInstanceName,
1159311905 ("zone" .=) <$> _igmZone,
11906+ ("autoHealingPolicies" .=) <$>
11907+ _igmAutoHealingPolicies,
11908+ ("versions" .=) <$> _igmVersions,
1159411909 ("instanceTemplate" .=) <$> _igmInstanceTemplate,
11910+ ("updatePolicy" .=) <$> _igmUpdatePolicy,
1159511911 ("targetSize" .=) <$> _igmTargetSize,
1159611912 ("selfLink" .=) <$> _igmSelfLink,
1159711913 ("currentActions" .=) <$> _igmCurrentActions,
@@ -13576,6 +13892,75 @@ instance ToJSON
1357613892 [("value" .=) <$> _vtalwdiValue,
1357713893 ("key" .=) <$> _vtalwdiKey])
1357813894
13895+-- | Encapsulates numeric value that can be either absolute or relative.
13896+--
13897+-- /See:/ 'fixedOrPercent' smart constructor.
13898+data FixedOrPercent =
13899+ FixedOrPercent'
13900+ { _fopCalculated :: !(Maybe (Textual Int32))
13901+ , _fopPercent :: !(Maybe (Textual Int32))
13902+ , _fopFixed :: !(Maybe (Textual Int32))
13903+ }
13904+ deriving (Eq, Show, Data, Typeable, Generic)
13905+
13906+-- | Creates a value of 'FixedOrPercent' with the minimum fields required to make a request.
13907+--
13908+-- Use one of the following lenses to modify other fields as desired:
13909+--
13910+-- * 'fopCalculated'
13911+--
13912+-- * 'fopPercent'
13913+--
13914+-- * 'fopFixed'
13915+fixedOrPercent
13916+ :: FixedOrPercent
13917+fixedOrPercent =
13918+ FixedOrPercent'
13919+ {_fopCalculated = Nothing, _fopPercent = Nothing, _fopFixed = Nothing}
13920+
13921+-- | [Output Only] Absolute value of VM instances calculated based on the
13922+-- specific mode. - If the value is fixed, then the caculated value is
13923+-- equal to the fixed value. - If the value is a percent, then the
13924+-- calculated value is percent\/100 * targetSize. For example, the
13925+-- calculated value of a 80% of a managed instance group with 150 instances
13926+-- would be (80\/100 * 150) = 120 VM instances. If there is a remainder,
13927+-- the number is rounded up.
13928+fopCalculated :: Lens' FixedOrPercent (Maybe Int32)
13929+fopCalculated
13930+ = lens _fopCalculated
13931+ (\ s a -> s{_fopCalculated = a})
13932+ . mapping _Coerce
13933+
13934+-- | Specifies a percentage of instances between 0 to 100%, inclusive. For
13935+-- example, specify 80 for 80%.
13936+fopPercent :: Lens' FixedOrPercent (Maybe Int32)
13937+fopPercent
13938+ = lens _fopPercent (\ s a -> s{_fopPercent = a}) .
13939+ mapping _Coerce
13940+
13941+-- | Specifies a fixed number of VM instances. This must be a positive
13942+-- integer.
13943+fopFixed :: Lens' FixedOrPercent (Maybe Int32)
13944+fopFixed
13945+ = lens _fopFixed (\ s a -> s{_fopFixed = a}) .
13946+ mapping _Coerce
13947+
13948+instance FromJSON FixedOrPercent where
13949+ parseJSON
13950+ = withObject "FixedOrPercent"
13951+ (\ o ->
13952+ FixedOrPercent' <$>
13953+ (o .:? "calculated") <*> (o .:? "percent") <*>
13954+ (o .:? "fixed"))
13955+
13956+instance ToJSON FixedOrPercent where
13957+ toJSON FixedOrPercent'{..}
13958+ = object
13959+ (catMaybes
13960+ [("calculated" .=) <$> _fopCalculated,
13961+ ("percent" .=) <$> _fopPercent,
13962+ ("fixed" .=) <$> _fopFixed])
13963+
1357913964-- | The available logging options for a firewall rule.
1358013965--
1358113966-- /See:/ 'firewallLogConfig' smart constructor.
@@ -20950,6 +21335,45 @@ instance ToJSON TargetSSLProxy where
2095021335 ("proxyHeader" .=) <$> _tspProxyHeader,
2095121336 ("description" .=) <$> _tspDescription])
2095221337
21338+--
21339+-- /See:/ 'instanceGroupManagerStatus' smart constructor.
21340+newtype InstanceGroupManagerStatus =
21341+ InstanceGroupManagerStatus'
21342+ { _igmsIsStable :: Maybe Bool
21343+ }
21344+ deriving (Eq, Show, Data, Typeable, Generic)
21345+
21346+-- | Creates a value of 'InstanceGroupManagerStatus' with the minimum fields required to make a request.
21347+--
21348+-- Use one of the following lenses to modify other fields as desired:
21349+--
21350+-- * 'igmsIsStable'
21351+instanceGroupManagerStatus
21352+ :: InstanceGroupManagerStatus
21353+instanceGroupManagerStatus =
21354+ InstanceGroupManagerStatus' {_igmsIsStable = Nothing}
21355+
21356+-- | [Output Only] A bit indicating whether the managed instance group is in
21357+-- a stable state. A stable state means that: none of the instances in the
21358+-- managed instance group is currently undergoing any type of change (for
21359+-- example, creation, restart, or deletion); no future changes are
21360+-- scheduled for instances in the managed instance group; and the managed
21361+-- instance group itself is not being modified.
21362+igmsIsStable :: Lens' InstanceGroupManagerStatus (Maybe Bool)
21363+igmsIsStable
21364+ = lens _igmsIsStable (\ s a -> s{_igmsIsStable = a})
21365+
21366+instance FromJSON InstanceGroupManagerStatus where
21367+ parseJSON
21368+ = withObject "InstanceGroupManagerStatus"
21369+ (\ o ->
21370+ InstanceGroupManagerStatus' <$> (o .:? "isStable"))
21371+
21372+instance ToJSON InstanceGroupManagerStatus where
21373+ toJSON InstanceGroupManagerStatus'{..}
21374+ = object
21375+ (catMaybes [("isStable" .=) <$> _igmsIsStable])
21376+
2095321377-- | [Output Only] Informational warning message.
2095421378--
2095521379-- /See:/ 'sslCertificateListWarning' smart constructor.
@@ -25116,6 +25540,7 @@ instance ToJSON SubnetworkAggregatedListWarning where
2511625540data InterconnectLocation =
2511725541 InterconnectLocation'
2511825542 { _intFacilityProviderFacilityId :: !(Maybe Text)
25543+ , _intStatus :: !(Maybe InterconnectLocationStatus)
2511925544 , _intRegionInfos :: !(Maybe [InterconnectLocationRegionInfo])
2512025545 , _intKind :: !Text
2512125546 , _intAddress :: !(Maybe Text)
@@ -25138,6 +25563,8 @@ data InterconnectLocation =
2513825563--
2513925564-- * 'intFacilityProviderFacilityId'
2514025565--
25566+-- * 'intStatus'
25567+--
2514125568-- * 'intRegionInfos'
2514225569--
2514325570-- * 'intKind'
@@ -25168,6 +25595,7 @@ interconnectLocation
2516825595interconnectLocation =
2516925596 InterconnectLocation'
2517025597 { _intFacilityProviderFacilityId = Nothing
25598+ , _intStatus = Nothing
2517125599 , _intRegionInfos = Nothing
2517225600 , _intKind = "compute#interconnectLocation"
2517325601 , _intAddress = Nothing
@@ -25190,6 +25618,14 @@ intFacilityProviderFacilityId
2519025618 = lens _intFacilityProviderFacilityId
2519125619 (\ s a -> s{_intFacilityProviderFacilityId = a})
2519225620
25621+-- | [Output Only] The status of this InterconnectLocation. If the status is
25622+-- AVAILABLE, new Interconnects may be provisioned in this
25623+-- InterconnectLocation. Otherwise, no new Interconnects may be
25624+-- provisioned.
25625+intStatus :: Lens' InterconnectLocation (Maybe InterconnectLocationStatus)
25626+intStatus
25627+ = lens _intStatus (\ s a -> s{_intStatus = a})
25628+
2519325629-- | [Output Only] A list of InterconnectLocation.RegionInfo objects, that
2519425630-- describe parameters pertaining to the relation between this
2519525631-- InterconnectLocation and various Google Cloud regions.
@@ -25279,7 +25715,8 @@ instance FromJSON InterconnectLocation where
2527925715 (\ o ->
2528025716 InterconnectLocation' <$>
2528125717 (o .:? "facilityProviderFacilityId") <*>
25282− (o .:? "regionInfos" .!= mempty)
25718+ (o .:? "status")
25719+ <*> (o .:? "regionInfos" .!= mempty)
2528325720 <*> (o .:? "kind" .!= "compute#interconnectLocation")
2528425721 <*> (o .:? "address")
2528525722 <*> (o .:? "facilityProvider")
@@ -25299,6 +25736,7 @@ instance ToJSON InterconnectLocation where
2529925736 (catMaybes
2530025737 [("facilityProviderFacilityId" .=) <$>
2530125738 _intFacilityProviderFacilityId,
25739+ ("status" .=) <$> _intStatus,
2530225740 ("regionInfos" .=) <$> _intRegionInfos,
2530325741 Just ("kind" .= _intKind),
2530425742 ("address" .=) <$> _intAddress,
@@ -25704,7 +26142,7 @@ adInitializeParams
2570426142-- within the instance. This name can be used to reference the device for
2570526143-- mounting, resizing, and so on, from within the instance. If not
2570626144-- specified, the server chooses a default device name to apply to this
25707−-- disk, in the form persistent-disks-x, where x is a number assigned by
26145+-- disk, in the form persistent-disk-x, where x is a number assigned by
2570826146-- Google Compute Engine. This field is only applicable for persistent
2570926147-- disks.
2571026148adDeviceName :: Lens' AttachedDisk (Maybe Text)
@@ -28996,8 +29434,7 @@ iiInterconnectAttachments
2899629434 . _Coerce
2899729435
2899829436-- | Type of link requested. This field indicates speed of each of the links
28999−-- in the bundle, not the entire bundle. Only 10G per link is allowed for a
29000−-- dedicated interconnect. Options: Ethernet_10G_LR
29437+-- in the bundle, not the entire bundle.
2900129438iiLinkType :: Lens' Interconnect (Maybe InterconnectLinkType)
2900229439iiLinkType
2900329440 = lens _iiLinkType (\ s a -> s{_iiLinkType = a})
@@ -31543,8 +31980,10 @@ acAcceleratorCount
3154331980 . mapping _Coerce
3154431981
3154531982-- | Full or partial URL of the accelerator type resource to attach to this
31546−-- instance. If you are creating an instance template, specify only the
31547−-- accelerator name.
31983+-- instance. For example:
31984+-- projects\/my-project\/zones\/us-central1-c\/acceleratorTypes\/nvidia-tesla-p100
31985+-- If you are creating an instance template, specify only the accelerator
31986+-- name. See GPUs on Compute Engine for a full list of accelerator types.
3154831987acAcceleratorType :: Lens' AcceleratorConfig (Maybe Text)
3154931988acAcceleratorType
3155031989 = lens _acAcceleratorType
@@ -36789,11 +37228,14 @@ pathRule
3678937228 :: PathRule
3679037229pathRule = PathRule' {_prService = Nothing, _prPaths = Nothing}
3679137230
36792−-- | The URL of the backend service resource if this rule is matched. Use
36793−-- service instead of routeAction when simple routing to a backend service
36794−-- is desired and other advanced capabilities like traffic splitting and
36795−-- rewrites are not required. Only one of service, routeAction or
36796−-- urlRedirect should must be set.
37231+-- | The full or partial URL of the backend service resource to which traffic
37232+-- is directed if this rule is matched. If routeAction is additionally
37233+-- specified, advanced routing actions like URL Rewrites, etc. take effect
37234+-- prior to sending the request to the backend. However, if service is
37235+-- specified, routeAction cannot contain any weightedBackendService s.
37236+-- Conversely, if routeAction specifies any weightedBackendServices,
37237+-- service must not be specified. Only one of urlRedirect, service or
37238+-- routeAction.weightedBackendService must be set.
3679737239prService :: Lens' PathRule (Maybe Text)
3679837240prService
3679937241 = lens _prService (\ s a -> s{_prService = a})
@@ -39533,7 +39975,8 @@ instance ToJSON SecurityPolicyListWarning where
3953339975-- /See:/ 'quota' smart constructor.
3953439976data Quota =
3953539977 Quota'
39536− { _qMetric :: !(Maybe QuotaMetric)
39978+ { _qOwner :: !(Maybe Text)
39979+ , _qMetric :: !(Maybe QuotaMetric)
3953739980 , _qLimit :: !(Maybe (Textual Double))
3953839981 , _qUsage :: !(Maybe (Textual Double))
3953939982 }
@@ -39543,6 +39986,8 @@ data Quota =
3954339986--
3954439987-- Use one of the following lenses to modify other fields as desired:
3954539988--
39989+-- * 'qOwner'
39990+--
3954639991-- * 'qMetric'
3954739992--
3954839993-- * 'qLimit'
@@ -39550,7 +39995,18 @@ data Quota =
3955039995-- * 'qUsage'
3955139996quota
3955239997 :: Quota
39553−quota = Quota' {_qMetric = Nothing, _qLimit = Nothing, _qUsage = Nothing}
39998+quota =
39999+ Quota'
40000+ { _qOwner = Nothing
40001+ , _qMetric = Nothing
40002+ , _qLimit = Nothing
40003+ , _qUsage = Nothing
40004+ }
40005+
40006+-- | [Output Only] Owning resource. This is the resource on which this quota
40007+-- is applied.
40008+qOwner :: Lens' Quota (Maybe Text)
40009+qOwner = lens _qOwner (\ s a -> s{_qOwner = a})
3955440010
3955540011-- | [Output Only] Name of the quota metric.
3955640012qMetric :: Lens' Quota (Maybe QuotaMetric)
@@ -39573,15 +40029,17 @@ instance FromJSON Quota where
3957340029 = withObject "Quota"
3957440030 (\ o ->
3957540031 Quota' <$>
39576− (o .:? "metric") <*> (o .:? "limit") <*>
39577− (o .:? "usage"))
40032+ (o .:? "owner") <*> (o .:? "metric") <*>
40033+ (o .:? "limit")
40034+ <*> (o .:? "usage"))
3957840035
3957940036instance ToJSON Quota where
3958040037 toJSON Quota'{..}
3958140038 = object
3958240039 (catMaybes
39583− [("metric" .=) <$> _qMetric,
39584− ("limit" .=) <$> _qLimit, ("usage" .=) <$> _qUsage])
40040+ [("owner" .=) <$> _qOwner,
40041+ ("metric" .=) <$> _qMetric, ("limit" .=) <$> _qLimit,
40042+ ("usage" .=) <$> _qUsage])
3958540043
3958640044-- | InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for
3958740045-- v1.instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (==
@@ -43563,6 +44021,7 @@ data Instance =
4356344021 { _i1Status :: !(Maybe InstanceStatus)
4356444022 , _i1ServiceAccounts :: !(Maybe [ServiceAccount])
4356544023 , _i1DeletionProtection :: !(Maybe Bool)
44024+ , _i1Hostname :: !(Maybe Text)
4356644025 , _i1NetworkInterfaces :: !(Maybe [NetworkInterface])
4356744026 , _i1Kind :: !Text
4356844027 , _i1Zone :: !(Maybe Text)
@@ -43597,6 +44056,8 @@ data Instance =
4359744056--
4359844057-- * 'i1DeletionProtection'
4359944058--
44059+-- * 'i1Hostname'
44060+--
4360044061-- * 'i1NetworkInterfaces'
4360144062--
4360244063-- * 'i1Kind'
@@ -43645,6 +44106,7 @@ instance' =
4364544106 { _i1Status = Nothing
4364644107 , _i1ServiceAccounts = Nothing
4364744108 , _i1DeletionProtection = Nothing
44109+ , _i1Hostname = Nothing
4364844110 , _i1NetworkInterfaces = Nothing
4364944111 , _i1Kind = "compute#instance"
4365044112 , _i1Zone = Nothing
@@ -43692,6 +44154,10 @@ i1DeletionProtection
4369244154 = lens _i1DeletionProtection
4369344155 (\ s a -> s{_i1DeletionProtection = a})
4369444156
44157+i1Hostname :: Lens' Instance (Maybe Text)
44158+i1Hostname
44159+ = lens _i1Hostname (\ s a -> s{_i1Hostname = a})
44160+
4369544161-- | An array of network configurations for this instance. These specify how
4369644162-- interfaces are configured to interact with other network services, such
4369744163-- as connecting to the internet. Multiple interfaces are supported per
@@ -43862,6 +44328,7 @@ instance FromJSON Instance where
4386244328 (o .:? "status") <*>
4386344329 (o .:? "serviceAccounts" .!= mempty)
4386444330 <*> (o .:? "deletionProtection")
44331+ <*> (o .:? "hostname")
4386544332 <*> (o .:? "networkInterfaces" .!= mempty)
4386644333 <*> (o .:? "kind" .!= "compute#instance")
4386744334 <*> (o .:? "zone")
@@ -43891,6 +44358,7 @@ instance ToJSON Instance where
4389144358 [("status" .=) <$> _i1Status,
4389244359 ("serviceAccounts" .=) <$> _i1ServiceAccounts,
4389344360 ("deletionProtection" .=) <$> _i1DeletionProtection,
44361+ ("hostname" .=) <$> _i1Hostname,
4389444362 ("networkInterfaces" .=) <$> _i1NetworkInterfaces,
4389544363 Just ("kind" .= _i1Kind), ("zone" .=) <$> _i1Zone,
4389644364 ("cpuPlatform" .=) <$> _i1CPUPlatform,
@@ -43953,13 +44421,16 @@ pathMatcher =
4395344421-- https:\/\/www.googleapis.com\/compute\/v1\/projects\/project\/global\/backendServices\/backendService
4395444422-- -
4395544423-- compute\/v1\/projects\/project\/global\/backendServices\/backendService
43956−-- - global\/backendServices\/backendService Use defaultService instead of
43957−-- defaultRouteAction when simple routing to a backend service is desired
43958−-- and other advanced capabilities like traffic splitting and URL rewrites
43959−-- are not required. Only one of defaultService, defaultRouteAction or
43960−-- defaultUrlRedirect must be set. Authorization requires one or more of
43961−-- the following Google IAM permissions on the specified resource
43962−-- default_service: - compute.backendBuckets.use -
44424+-- - global\/backendServices\/backendService If defaultRouteAction is
44425+-- additionally specified, advanced routing actions like URL Rewrites, etc.
44426+-- take effect prior to sending the request to the backend. However, if
44427+-- defaultService is specified, defaultRouteAction cannot contain any
44428+-- weightedBackendServices. Conversely, if defaultRouteAction specifies any
44429+-- weightedBackendServices, defaultService must not be specified. Only one
44430+-- of defaultService, defaultUrlRedirect or
44431+-- defaultRouteAction.weightedBackendService must be set. Authorization
44432+-- requires one or more of the following Google IAM permissions on the
44433+-- specified resource default_service: - compute.backendBuckets.use -
4396344434-- compute.backendServices.use
4396444435pmDefaultService :: Lens' PathMatcher (Maybe Text)
4396544436pmDefaultService
gogol-compute/gen/Network/Google/Compute/Types/Sum.hs+102−3
@@ -1540,8 +1540,7 @@ instance ToJSON InterconnectOutageNotificationSource where
15401540 toJSON = toJSONText
15411541
15421542-- | Type of link requested. This field indicates speed of each of the links
1543−-- in the bundle, not the entire bundle. Only 10G per link is allowed for a
1544−-- dedicated interconnect. Options: Ethernet_10G_LR
1543+-- in the bundle, not the entire bundle.
15451544data InterconnectLinkType
15461545 = LinkTypeEthernet10GLr
15471546 -- ^ @LINK_TYPE_ETHERNET_10G_LR@
@@ -5332,7 +5331,9 @@ instance ToJSON AddressesScopedListWarningCode where
53325331-- successfully created and the status is set to READY. Possible values are
53335332-- FAILED, PENDING, or READY.
53345333data ImageStatus
5335− = ISFailed
5334+ = ISDeleting
5335+ -- ^ @DELETING@
5336+ | ISFailed
53365337 -- ^ @FAILED@
53375338 | ISPending
53385339 -- ^ @PENDING@
@@ -5344,6 +5345,7 @@ instance Hashable ImageStatus
53445345
53455346instance FromHttpApiData ImageStatus where
53465347 parseQueryParam = \case
5348+ "DELETING" -> Right ISDeleting
53475349 "FAILED" -> Right ISFailed
53485350 "PENDING" -> Right ISPending
53495351 "READY" -> Right ISReady
@@ -5351,6 +5353,7 @@ instance FromHttpApiData ImageStatus where
53515353
53525354instance ToHttpApiData ImageStatus where
53535355 toQueryParam = \case
5356+ ISDeleting -> "DELETING"
53545357 ISFailed -> "FAILED"
53555358 ISPending -> "PENDING"
53565359 ISReady -> "READY"
@@ -7072,6 +7075,8 @@ instance ToJSON TargetVPNGatewaysScopedListWarningCode where
70727075data DiskStatus
70737076 = DSCreating
70747077 -- ^ @CREATING@
7078+ | DSDeleting
7079+ -- ^ @DELETING@
70757080 | DSFailed
70767081 -- ^ @FAILED@
70777082 | DSReady
@@ -7085,6 +7090,7 @@ instance Hashable DiskStatus
70857090instance FromHttpApiData DiskStatus where
70867091 parseQueryParam = \case
70877092 "CREATING" -> Right DSCreating
7093+ "DELETING" -> Right DSDeleting
70887094 "FAILED" -> Right DSFailed
70897095 "READY" -> Right DSReady
70907096 "RESTORING" -> Right DSRestoring
@@ -7093,6 +7099,7 @@ instance FromHttpApiData DiskStatus where
70937099instance ToHttpApiData DiskStatus where
70947100 toQueryParam = \case
70957101 DSCreating -> "CREATING"
7102+ DSDeleting -> "DELETING"
70967103 DSFailed -> "FAILED"
70977104 DSReady -> "READY"
70987105 DSRestoring -> "RESTORING"
@@ -7567,6 +7574,32 @@ instance FromJSON AttachedDiskMode where
75677574instance ToJSON AttachedDiskMode where
75687575 toJSON = toJSONText
75697576
7577+data InstanceGroupManagerUpdatePolicyType
7578+ = Opportunistic
7579+ -- ^ @OPPORTUNISTIC@
7580+ | Proactive
7581+ -- ^ @PROACTIVE@
7582+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
7583+
7584+instance Hashable InstanceGroupManagerUpdatePolicyType
7585+
7586+instance FromHttpApiData InstanceGroupManagerUpdatePolicyType where
7587+ parseQueryParam = \case
7588+ "OPPORTUNISTIC" -> Right Opportunistic
7589+ "PROACTIVE" -> Right Proactive
7590+ x -> Left ("Unable to parse InstanceGroupManagerUpdatePolicyType from: " <> x)
7591+
7592+instance ToHttpApiData InstanceGroupManagerUpdatePolicyType where
7593+ toQueryParam = \case
7594+ Opportunistic -> "OPPORTUNISTIC"
7595+ Proactive -> "PROACTIVE"
7596+
7597+instance FromJSON InstanceGroupManagerUpdatePolicyType where
7598+ parseJSON = parseJSONText "InstanceGroupManagerUpdatePolicyType"
7599+
7600+instance ToJSON InstanceGroupManagerUpdatePolicyType where
7601+ toJSON = toJSONText
7602+
75707603-- | [Output Only] A warning code, if applicable. For example, Compute Engine
75717604-- returns NO_RESULTS_ON_PAGE if there are no results in the response.
75727605data TargetVPNGatewayListWarningCode
@@ -10391,6 +10424,8 @@ data QuotaMetric
1039110424 -- ^ @IN_USE_ADDRESSES@
1039210425 | InUseBackupSchedules
1039310426 -- ^ @IN_USE_BACKUP_SCHEDULES@
10427+ | InUseSnapshotSchedules
10428+ -- ^ @IN_USE_SNAPSHOT_SCHEDULES@
1039410429 | LocalSsdTotalGb
1039510430 -- ^ @LOCAL_SSD_TOTAL_GB@
1039610431 | Networks
@@ -10504,6 +10539,7 @@ instance FromHttpApiData QuotaMetric where
1050410539 "INTERNAL_ADDRESSES" -> Right InternalAddresses
1050510540 "IN_USE_ADDRESSES" -> Right InUseAddresses
1050610541 "IN_USE_BACKUP_SCHEDULES" -> Right InUseBackupSchedules
10542+ "IN_USE_SNAPSHOT_SCHEDULES" -> Right InUseSnapshotSchedules
1050710543 "LOCAL_SSD_TOTAL_GB" -> Right LocalSsdTotalGb
1050810544 "NETWORKS" -> Right Networks
1050910545 "NVIDIA_K80_GPUS" -> Right NvidiaK80Gpus
@@ -10573,6 +10609,7 @@ instance ToHttpApiData QuotaMetric where
1057310609 InternalAddresses -> "INTERNAL_ADDRESSES"
1057410610 InUseAddresses -> "IN_USE_ADDRESSES"
1057510611 InUseBackupSchedules -> "IN_USE_BACKUP_SCHEDULES"
10612+ InUseSnapshotSchedules -> "IN_USE_SNAPSHOT_SCHEDULES"
1057610613 LocalSsdTotalGb -> "LOCAL_SSD_TOTAL_GB"
1057710614 Networks -> "NETWORKS"
1057810615 NvidiaK80Gpus -> "NVIDIA_K80_GPUS"
@@ -14575,6 +14612,36 @@ instance FromJSON RegionInstanceGroupListWarningCode where
1457514612instance ToJSON RegionInstanceGroupListWarningCode where
1457614613 toJSON = toJSONText
1457714614
14615+-- | [Output Only] The status of this InterconnectLocation. If the status is
14616+-- AVAILABLE, new Interconnects may be provisioned in this
14617+-- InterconnectLocation. Otherwise, no new Interconnects may be
14618+-- provisioned.
14619+data InterconnectLocationStatus
14620+ = Available
14621+ -- ^ @AVAILABLE@
14622+ | Closed
14623+ -- ^ @CLOSED@
14624+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
14625+
14626+instance Hashable InterconnectLocationStatus
14627+
14628+instance FromHttpApiData InterconnectLocationStatus where
14629+ parseQueryParam = \case
14630+ "AVAILABLE" -> Right Available
14631+ "CLOSED" -> Right Closed
14632+ x -> Left ("Unable to parse InterconnectLocationStatus from: " <> x)
14633+
14634+instance ToHttpApiData InterconnectLocationStatus where
14635+ toQueryParam = \case
14636+ Available -> "AVAILABLE"
14637+ Closed -> "CLOSED"
14638+
14639+instance FromJSON InterconnectLocationStatus where
14640+ parseJSON = parseJSONText "InterconnectLocationStatus"
14641+
14642+instance ToJSON InterconnectLocationStatus where
14643+ toJSON = toJSONText
14644+
1457814645-- | [Output Only] A warning code, if applicable. For example, Compute Engine
1457914646-- returns NO_RESULTS_ON_PAGE if there are no results in the response.
1458014647data InstanceGroupsScopedListWarningCode
@@ -15821,6 +15888,38 @@ instance FromJSON ForwardingRuleNetworkTier where
1582115888instance ToJSON ForwardingRuleNetworkTier where
1582215889 toJSON = toJSONText
1582315890
15891+-- | Minimal action to be taken on an instance. You can specify either
15892+-- RESTART to restart existing instances or REPLACE to delete and create
15893+-- new instances from the target template. If you specify a RESTART, the
15894+-- Updater will attempt to perform that action only. However, if the
15895+-- Updater determines that the minimal action you specify is not enough to
15896+-- perform the update, it might perform a more disruptive action.
15897+data InstanceGroupManagerUpdatePolicyMinimalAction
15898+ = Replace
15899+ -- ^ @REPLACE@
15900+ | Restart
15901+ -- ^ @RESTART@
15902+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
15903+
15904+instance Hashable InstanceGroupManagerUpdatePolicyMinimalAction
15905+
15906+instance FromHttpApiData InstanceGroupManagerUpdatePolicyMinimalAction where
15907+ parseQueryParam = \case
15908+ "REPLACE" -> Right Replace
15909+ "RESTART" -> Right Restart
15910+ x -> Left ("Unable to parse InstanceGroupManagerUpdatePolicyMinimalAction from: " <> x)
15911+
15912+instance ToHttpApiData InstanceGroupManagerUpdatePolicyMinimalAction where
15913+ toQueryParam = \case
15914+ Replace -> "REPLACE"
15915+ Restart -> "RESTART"
15916+
15917+instance FromJSON InstanceGroupManagerUpdatePolicyMinimalAction where
15918+ parseJSON = parseJSONText "InstanceGroupManagerUpdatePolicyMinimalAction"
15919+
15920+instance ToJSON InstanceGroupManagerUpdatePolicyMinimalAction where
15921+ toJSON = toJSONText
15922+
1582415923-- | [Output Only] A warning code, if applicable. For example, Compute Engine
1582515924-- returns NO_RESULTS_ON_PAGE if there are no results in the response.
1582615925data BackendServiceAggregatedListWarningCode
gogol-compute/gen/Network/Google/Resource/Compute/InstanceTemplates/Delete.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Deletes the specified instance template. Deleting an instance template
24−-- is permanent and cannot be undone. It\'s not possible to delete
25−-- templates which are in use by an instance group.
24+-- is permanent and cannot be undone. It is not possible to delete
25+-- templates that are already in use by a managed instance group.
2626--
2727-- /See:/ <https://developers.google.com/compute/docs/reference/latest/ Compute Engine API Reference> for @compute.instanceTemplates.delete@.
2828module Network.Google.Resource.Compute.InstanceTemplates.Delete
@@ -57,8 +57,8 @@ type InstanceTemplatesDeleteResource =
5757 QueryParam "alt" AltJSON :> Delete '[JSON] Operation
5858
5959-- | Deletes the specified instance template. Deleting an instance template
60−-- is permanent and cannot be undone. It\'s not possible to delete
61−-- templates which are in use by an instance group.
60+-- is permanent and cannot be undone. It is not possible to delete
61+-- templates that are already in use by a managed instance group.
6262--
6363-- /See:/ 'instanceTemplatesDelete' smart constructor.
6464data InstanceTemplatesDelete =
gogol-compute/gen/Network/Google/Resource/Compute/InstanceTemplates/List.hs+2−2
@@ -21,7 +21,7 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Retrieves a list of instance templates that are contained within the
24−-- specified project and zone.
24+-- specified project.
2525--
2626-- /See:/ <https://developers.google.com/compute/docs/reference/latest/ Compute Engine API Reference> for @compute.instanceTemplates.list@.
2727module Network.Google.Resource.Compute.InstanceTemplates.List
@@ -61,7 +61,7 @@ type InstanceTemplatesListResource =
6161 Get '[JSON] InstanceTemplateList
6262
6363-- | Retrieves a list of instance templates that are contained within the
64−-- specified project and zone.
64+-- specified project.
6565--
6666-- /See:/ 'instanceTemplatesList' smart constructor.
6767data InstanceTemplatesList =
gogol-compute/gen/Network/Google/Resource/Compute/Instances/Reset.hs+4−4
@@ -20,8 +20,8 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Performs a reset on the instance. For more information, see Resetting an
24−-- instance.
23+-- Performs a reset on the instance. This is a hard reset; the VM does not
24+-- do a graceful shutdown. For more information, see Resetting an instance.
2525--
2626-- /See:/ <https://developers.google.com/compute/docs/reference/latest/ Compute Engine API Reference> for @compute.instances.reset@.
2727module Network.Google.Resource.Compute.Instances.Reset
@@ -58,8 +58,8 @@ type InstancesResetResource =
5858 QueryParam "requestId" Text :>
5959 QueryParam "alt" AltJSON :> Post '[JSON] Operation
6060
61−-- | Performs a reset on the instance. For more information, see Resetting an
62−-- instance.
61+-- | Performs a reset on the instance. This is a hard reset; the VM does not
62+-- do a graceful shutdown. For more information, see Resetting an instance.
6363--
6464-- /See:/ 'instancesReset' smart constructor.
6565data InstancesReset =
gogol-compute/gen/Network/Google/Resource/Compute/NodeGroups/SetNodeTemplate.hs+1−1
@@ -116,7 +116,7 @@ ngsntRequestId
116116 = lens _ngsntRequestId
117117 (\ s a -> s{_ngsntRequestId = a})
118118
119−-- | Name of the NodeGroup resource to delete.
119+-- | Name of the NodeGroup resource to update.
120120ngsntNodeGroup :: Lens' NodeGroupsSetNodeTemplate Text
121121ngsntNodeGroup
122122 = lens _ngsntNodeGroup
gogol-compute/gogol-compute.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-compute
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Compute Engine SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -438,5 +438,5 @@ library
438438 , Network.Google.Compute.Types.Sum
439439
440440 build-depends:
441− gogol-core == 0.4.0.*
441+ gogol-core == 0.5.0.*
442442 , base >= 4.7 && < 5
gogol-consumersurveys/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-consumersurveys/gogol-consumersurveys.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-consumersurveys
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Consumer Surveys SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -54,5 +54,5 @@ library
5454 , Network.Google.ConsumerSurveys.Types.Sum
5555
5656 build-depends:
57− gogol-core == 0.4.0.*
57+ gogol-core == 0.5.0.*
5858 , base >= 4.7 && < 5
gogol-container/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-container/gen/Network/Google/Container.hs+40
@@ -42,6 +42,9 @@ module Network.Google.Container
4242 -- ** container.projects.locations.clusters.get
4343 , module Network.Google.Resource.Container.Projects.Locations.Clusters.Get
4444
45+ -- ** container.projects.locations.clusters.getJwks
46+ , module Network.Google.Resource.Container.Projects.Locations.Clusters.GetJWKs
47+
4548 -- ** container.projects.locations.clusters.list
4649 , module Network.Google.Resource.Container.Projects.Locations.Clusters.List
4750
@@ -108,6 +111,9 @@ module Network.Google.Container
108111 -- ** container.projects.locations.clusters.updateMaster
109112 , module Network.Google.Resource.Container.Projects.Locations.Clusters.UpdateMaster
110113
114+ -- ** container.projects.locations.clusters.well-known.getOpenid-configuration
115+ , module Network.Google.Resource.Container.Projects.Locations.Clusters.WellKnown.GetOpenidConfiguration
116+
111117 -- ** container.projects.locations.getServerConfig
112118 , module Network.Google.Resource.Container.Projects.Locations.GetServerConfig
113119
@@ -476,6 +482,30 @@ module Network.Google.Container
476482 , slrProjectId
477483 , slrLabelFingerprint
478484
485+ -- ** GetOpenIdConfigResponse
486+ , GetOpenIdConfigResponse
487+ , getOpenIdConfigResponse
488+ , goicrIdTokenSigningAlgValuesSupported
489+ , goicrResponseTypesSupported
490+ , goicrJWKsURI
491+ , goicrGrantTypes
492+ , goicrClaimsSupported
493+ , goicrIssuer
494+ , goicrSubjectTypesSupported
495+
496+ -- ** JWK
497+ , JWK
498+ , jwk
499+ , jCrv
500+ , jAlg
501+ , jUse
502+ , jKid
503+ , jN
504+ , jE
505+ , jX
506+ , jKty
507+ , jY
508+
479509 -- ** OperationStatus
480510 , OperationStatus (..)
481511
@@ -719,6 +749,11 @@ module Network.Google.Container
719749 -- ** ClusterStatus
720750 , ClusterStatus (..)
721751
752+ -- ** GetJSONWebKeysResponse
753+ , GetJSONWebKeysResponse
754+ , getJSONWebKeysResponse
755+ , gjwkrKeys
756+
722757 -- ** NodeTaintEffect
723758 , NodeTaintEffect (..)
724759
@@ -746,6 +781,7 @@ import Network.Google.Resource.Container.Projects.Locations.Clusters.C
746781import Network.Google.Resource.Container.Projects.Locations.Clusters.Create
747782import Network.Google.Resource.Container.Projects.Locations.Clusters.Delete
748783import Network.Google.Resource.Container.Projects.Locations.Clusters.Get
784+import Network.Google.Resource.Container.Projects.Locations.Clusters.GetJWKs
749785import Network.Google.Resource.Container.Projects.Locations.Clusters.List
750786import Network.Google.Resource.Container.Projects.Locations.Clusters.NodePools.Create
751787import Network.Google.Resource.Container.Projects.Locations.Clusters.NodePools.Delete
@@ -768,6 +804,7 @@ import Network.Google.Resource.Container.Projects.Locations.Clusters.S
768804import Network.Google.Resource.Container.Projects.Locations.Clusters.StartIPRotation
769805import Network.Google.Resource.Container.Projects.Locations.Clusters.Update
770806import Network.Google.Resource.Container.Projects.Locations.Clusters.UpdateMaster
807+import Network.Google.Resource.Container.Projects.Locations.Clusters.WellKnown.GetOpenidConfiguration
771808import Network.Google.Resource.Container.Projects.Locations.GetServerConfig
772809import Network.Google.Resource.Container.Projects.Locations.Operations.Cancel
773810import Network.Google.Resource.Container.Projects.Locations.Operations.Get
@@ -859,6 +896,8 @@ type ContainerAPI =
859896 :<|> ProjectsLocationsClustersNodePoolsDeleteResource
860897 :<|> ProjectsLocationsClustersNodePoolsUpdateResource
861898 :<|>
899+ ProjectsLocationsClustersWellKnownGetOpenidConfigurationResource
900+ :<|>
862901 ProjectsLocationsClustersSetNetworkPolicyResource
863902 :<|> ProjectsLocationsClustersSetLocationsResource
864903 :<|> ProjectsLocationsClustersListResource
@@ -876,6 +915,7 @@ type ContainerAPI =
876915 ProjectsLocationsClustersCompleteIPRotationResource
877916 :<|>
878917 ProjectsLocationsClustersSetMaintenancePolicyResource
918+ :<|> ProjectsLocationsClustersGetJWKsResource
879919 :<|> ProjectsLocationsClustersDeleteResource
880920 :<|> ProjectsLocationsClustersUpdateResource
881921 :<|> ProjectsLocationsClustersSetLoggingResource
gogol-container/gen/Network/Google/Container/Types.hs+29
@@ -286,6 +286,30 @@ module Network.Google.Container.Types
286286 , slrProjectId
287287 , slrLabelFingerprint
288288
289+ -- * GetOpenIdConfigResponse
290+ , GetOpenIdConfigResponse
291+ , getOpenIdConfigResponse
292+ , goicrIdTokenSigningAlgValuesSupported
293+ , goicrResponseTypesSupported
294+ , goicrJWKsURI
295+ , goicrGrantTypes
296+ , goicrClaimsSupported
297+ , goicrIssuer
298+ , goicrSubjectTypesSupported
299+
300+ -- * JWK
301+ , JWK
302+ , jwk
303+ , jCrv
304+ , jAlg
305+ , jUse
306+ , jKid
307+ , jN
308+ , jE
309+ , jX
310+ , jKty
311+ , jY
312+
289313 -- * OperationStatus
290314 , OperationStatus (..)
291315
@@ -529,6 +553,11 @@ module Network.Google.Container.Types
529553 -- * ClusterStatus
530554 , ClusterStatus (..)
531555
556+ -- * GetJSONWebKeysResponse
557+ , GetJSONWebKeysResponse
558+ , getJSONWebKeysResponse
559+ , gjwkrKeys
560+
532561 -- * NodeTaintEffect
533562 , NodeTaintEffect (..)
534563
gogol-container/gen/Network/Google/Container/Types/Product.hs+275
@@ -2698,6 +2698,243 @@ instance ToJSON SetLabelsRequest where
26982698 ("projectId" .=) <$> _slrProjectId,
26992699 ("labelFingerprint" .=) <$> _slrLabelFingerprint])
27002700
2701+-- | GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
2702+-- See the OpenID Connect Discovery 1.0 specification for details.
2703+--
2704+-- /See:/ 'getOpenIdConfigResponse' smart constructor.
2705+data GetOpenIdConfigResponse =
2706+ GetOpenIdConfigResponse'
2707+ { _goicrIdTokenSigningAlgValuesSupported :: !(Maybe [Text])
2708+ , _goicrResponseTypesSupported :: !(Maybe [Text])
2709+ , _goicrJWKsURI :: !(Maybe Text)
2710+ , _goicrGrantTypes :: !(Maybe [Text])
2711+ , _goicrClaimsSupported :: !(Maybe [Text])
2712+ , _goicrIssuer :: !(Maybe Text)
2713+ , _goicrSubjectTypesSupported :: !(Maybe [Text])
2714+ }
2715+ deriving (Eq, Show, Data, Typeable, Generic)
2716+
2717+-- | Creates a value of 'GetOpenIdConfigResponse' with the minimum fields required to make a request.
2718+--
2719+-- Use one of the following lenses to modify other fields as desired:
2720+--
2721+-- * 'goicrIdTokenSigningAlgValuesSupported'
2722+--
2723+-- * 'goicrResponseTypesSupported'
2724+--
2725+-- * 'goicrJWKsURI'
2726+--
2727+-- * 'goicrGrantTypes'
2728+--
2729+-- * 'goicrClaimsSupported'
2730+--
2731+-- * 'goicrIssuer'
2732+--
2733+-- * 'goicrSubjectTypesSupported'
2734+getOpenIdConfigResponse
2735+ :: GetOpenIdConfigResponse
2736+getOpenIdConfigResponse =
2737+ GetOpenIdConfigResponse'
2738+ { _goicrIdTokenSigningAlgValuesSupported = Nothing
2739+ , _goicrResponseTypesSupported = Nothing
2740+ , _goicrJWKsURI = Nothing
2741+ , _goicrGrantTypes = Nothing
2742+ , _goicrClaimsSupported = Nothing
2743+ , _goicrIssuer = Nothing
2744+ , _goicrSubjectTypesSupported = Nothing
2745+ }
2746+
2747+-- | NOLINT
2748+goicrIdTokenSigningAlgValuesSupported :: Lens' GetOpenIdConfigResponse [Text]
2749+goicrIdTokenSigningAlgValuesSupported
2750+ = lens _goicrIdTokenSigningAlgValuesSupported
2751+ (\ s a ->
2752+ s{_goicrIdTokenSigningAlgValuesSupported = a})
2753+ . _Default
2754+ . _Coerce
2755+
2756+-- | NOLINT
2757+goicrResponseTypesSupported :: Lens' GetOpenIdConfigResponse [Text]
2758+goicrResponseTypesSupported
2759+ = lens _goicrResponseTypesSupported
2760+ (\ s a -> s{_goicrResponseTypesSupported = a})
2761+ . _Default
2762+ . _Coerce
2763+
2764+-- | NOLINT
2765+goicrJWKsURI :: Lens' GetOpenIdConfigResponse (Maybe Text)
2766+goicrJWKsURI
2767+ = lens _goicrJWKsURI (\ s a -> s{_goicrJWKsURI = a})
2768+
2769+-- | NOLINT
2770+goicrGrantTypes :: Lens' GetOpenIdConfigResponse [Text]
2771+goicrGrantTypes
2772+ = lens _goicrGrantTypes
2773+ (\ s a -> s{_goicrGrantTypes = a})
2774+ . _Default
2775+ . _Coerce
2776+
2777+-- | NOLINT
2778+goicrClaimsSupported :: Lens' GetOpenIdConfigResponse [Text]
2779+goicrClaimsSupported
2780+ = lens _goicrClaimsSupported
2781+ (\ s a -> s{_goicrClaimsSupported = a})
2782+ . _Default
2783+ . _Coerce
2784+
2785+-- | NOLINT
2786+goicrIssuer :: Lens' GetOpenIdConfigResponse (Maybe Text)
2787+goicrIssuer
2788+ = lens _goicrIssuer (\ s a -> s{_goicrIssuer = a})
2789+
2790+-- | NOLINT
2791+goicrSubjectTypesSupported :: Lens' GetOpenIdConfigResponse [Text]
2792+goicrSubjectTypesSupported
2793+ = lens _goicrSubjectTypesSupported
2794+ (\ s a -> s{_goicrSubjectTypesSupported = a})
2795+ . _Default
2796+ . _Coerce
2797+
2798+instance FromJSON GetOpenIdConfigResponse where
2799+ parseJSON
2800+ = withObject "GetOpenIdConfigResponse"
2801+ (\ o ->
2802+ GetOpenIdConfigResponse' <$>
2803+ (o .:? "id_token_signing_alg_values_supported" .!=
2804+ mempty)
2805+ <*> (o .:? "response_types_supported" .!= mempty)
2806+ <*> (o .:? "jwks_uri")
2807+ <*> (o .:? "grant_types" .!= mempty)
2808+ <*> (o .:? "claims_supported" .!= mempty)
2809+ <*> (o .:? "issuer")
2810+ <*> (o .:? "subject_types_supported" .!= mempty))
2811+
2812+instance ToJSON GetOpenIdConfigResponse where
2813+ toJSON GetOpenIdConfigResponse'{..}
2814+ = object
2815+ (catMaybes
2816+ [("id_token_signing_alg_values_supported" .=) <$>
2817+ _goicrIdTokenSigningAlgValuesSupported,
2818+ ("response_types_supported" .=) <$>
2819+ _goicrResponseTypesSupported,
2820+ ("jwks_uri" .=) <$> _goicrJWKsURI,
2821+ ("grant_types" .=) <$> _goicrGrantTypes,
2822+ ("claims_supported" .=) <$> _goicrClaimsSupported,
2823+ ("issuer" .=) <$> _goicrIssuer,
2824+ ("subject_types_supported" .=) <$>
2825+ _goicrSubjectTypesSupported])
2826+
2827+-- | Jwk is a JSON Web Key as specified in RFC 7517
2828+--
2829+-- /See:/ 'jwk' smart constructor.
2830+data JWK =
2831+ JWK'
2832+ { _jCrv :: !(Maybe Text)
2833+ , _jAlg :: !(Maybe Text)
2834+ , _jUse :: !(Maybe Text)
2835+ , _jKid :: !(Maybe Text)
2836+ , _jN :: !(Maybe Text)
2837+ , _jE :: !(Maybe Text)
2838+ , _jX :: !(Maybe Text)
2839+ , _jKty :: !(Maybe Text)
2840+ , _jY :: !(Maybe Text)
2841+ }
2842+ deriving (Eq, Show, Data, Typeable, Generic)
2843+
2844+-- | Creates a value of 'JWK' with the minimum fields required to make a request.
2845+--
2846+-- Use one of the following lenses to modify other fields as desired:
2847+--
2848+-- * 'jCrv'
2849+--
2850+-- * 'jAlg'
2851+--
2852+-- * 'jUse'
2853+--
2854+-- * 'jKid'
2855+--
2856+-- * 'jN'
2857+--
2858+-- * 'jE'
2859+--
2860+-- * 'jX'
2861+--
2862+-- * 'jKty'
2863+--
2864+-- * 'jY'
2865+jwk
2866+ :: JWK
2867+jwk =
2868+ JWK'
2869+ { _jCrv = Nothing
2870+ , _jAlg = Nothing
2871+ , _jUse = Nothing
2872+ , _jKid = Nothing
2873+ , _jN = Nothing
2874+ , _jE = Nothing
2875+ , _jX = Nothing
2876+ , _jKty = Nothing
2877+ , _jY = Nothing
2878+ }
2879+
2880+-- | NOLINT
2881+jCrv :: Lens' JWK (Maybe Text)
2882+jCrv = lens _jCrv (\ s a -> s{_jCrv = a})
2883+
2884+-- | NOLINT
2885+jAlg :: Lens' JWK (Maybe Text)
2886+jAlg = lens _jAlg (\ s a -> s{_jAlg = a})
2887+
2888+-- | NOLINT
2889+jUse :: Lens' JWK (Maybe Text)
2890+jUse = lens _jUse (\ s a -> s{_jUse = a})
2891+
2892+-- | NOLINT
2893+jKid :: Lens' JWK (Maybe Text)
2894+jKid = lens _jKid (\ s a -> s{_jKid = a})
2895+
2896+-- | Fields for RSA keys. NOLINT
2897+jN :: Lens' JWK (Maybe Text)
2898+jN = lens _jN (\ s a -> s{_jN = a})
2899+
2900+-- | NOLINT
2901+jE :: Lens' JWK (Maybe Text)
2902+jE = lens _jE (\ s a -> s{_jE = a})
2903+
2904+-- | Fields for ECDSA keys. NOLINT
2905+jX :: Lens' JWK (Maybe Text)
2906+jX = lens _jX (\ s a -> s{_jX = a})
2907+
2908+-- | NOLINT
2909+jKty :: Lens' JWK (Maybe Text)
2910+jKty = lens _jKty (\ s a -> s{_jKty = a})
2911+
2912+-- | NOLINT
2913+jY :: Lens' JWK (Maybe Text)
2914+jY = lens _jY (\ s a -> s{_jY = a})
2915+
2916+instance FromJSON JWK where
2917+ parseJSON
2918+ = withObject "JWK"
2919+ (\ o ->
2920+ JWK' <$>
2921+ (o .:? "crv") <*> (o .:? "alg") <*> (o .:? "use") <*>
2922+ (o .:? "kid")
2923+ <*> (o .:? "n")
2924+ <*> (o .:? "e")
2925+ <*> (o .:? "x")
2926+ <*> (o .:? "kty")
2927+ <*> (o .:? "y"))
2928+
2929+instance ToJSON JWK where
2930+ toJSON JWK'{..}
2931+ = object
2932+ (catMaybes
2933+ [("crv" .=) <$> _jCrv, ("alg" .=) <$> _jAlg,
2934+ ("use" .=) <$> _jUse, ("kid" .=) <$> _jKid,
2935+ ("n" .=) <$> _jN, ("e" .=) <$> _jE, ("x" .=) <$> _jX,
2936+ ("kty" .=) <$> _jKty, ("y" .=) <$> _jY])
2937+
27012938-- | MaintenanceWindow defines the maintenance window to be used for the
27022939-- cluster.
27032940--
@@ -4985,6 +5222,44 @@ instance ToJSON ListNodePoolsResponse where
49855222 = object
49865223 (catMaybes [("nodePools" .=) <$> _lnprNodePools])
49875224
5225+-- | GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc
5226+-- 7517
5227+--
5228+-- /See:/ 'getJSONWebKeysResponse' smart constructor.
5229+newtype GetJSONWebKeysResponse =
5230+ GetJSONWebKeysResponse'
5231+ { _gjwkrKeys :: Maybe [JWK]
5232+ }
5233+ deriving (Eq, Show, Data, Typeable, Generic)
5234+
5235+-- | Creates a value of 'GetJSONWebKeysResponse' with the minimum fields required to make a request.
5236+--
5237+-- Use one of the following lenses to modify other fields as desired:
5238+--
5239+-- * 'gjwkrKeys'
5240+getJSONWebKeysResponse
5241+ :: GetJSONWebKeysResponse
5242+getJSONWebKeysResponse = GetJSONWebKeysResponse' {_gjwkrKeys = Nothing}
5243+
5244+-- | The public component of the keys used by the cluster to sign token
5245+-- requests.
5246+gjwkrKeys :: Lens' GetJSONWebKeysResponse [JWK]
5247+gjwkrKeys
5248+ = lens _gjwkrKeys (\ s a -> s{_gjwkrKeys = a}) .
5249+ _Default
5250+ . _Coerce
5251+
5252+instance FromJSON GetJSONWebKeysResponse where
5253+ parseJSON
5254+ = withObject "GetJSONWebKeysResponse"
5255+ (\ o ->
5256+ GetJSONWebKeysResponse' <$>
5257+ (o .:? "keys" .!= mempty))
5258+
5259+instance ToJSON GetJSONWebKeysResponse where
5260+ toJSON GetJSONWebKeysResponse'{..}
5261+ = object (catMaybes [("keys" .=) <$> _gjwkrKeys])
5262+
49885263-- | CreateNodePoolRequest creates a node pool for a cluster.
49895264--
49905265-- /See:/ 'createNodePoolRequest' smart constructor.
gogol-container/gen/Network/Google/Resource/Container/Projects/Locations/Clusters/GetJWKs.hsnew file+160
@@ -0,0 +1,160 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.Container.Projects.Locations.Clusters.GetJWKs
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- GetJSONWebKeys gets the public component of the cluster signing keys in
24+-- JSON Web Key format. This API is not yet intended for general use, and
25+-- is not available for all clusters.
26+--
27+-- /See:/ <https://cloud.google.com/container-engine/ Kubernetes Engine API Reference> for @container.projects.locations.clusters.getJwks@.
28+module Network.Google.Resource.Container.Projects.Locations.Clusters.GetJWKs
29+ (
30+ -- * REST Resource
31+ ProjectsLocationsClustersGetJWKsResource
32+
33+ -- * Creating a Request
34+ , projectsLocationsClustersGetJWKs
35+ , ProjectsLocationsClustersGetJWKs
36+
37+ -- * Request Lenses
38+ , plcgjParent
39+ , plcgjXgafv
40+ , plcgjUploadProtocol
41+ , plcgjAccessToken
42+ , plcgjUploadType
43+ , plcgjCallback
44+ ) where
45+
46+import Network.Google.Container.Types
47+import Network.Google.Prelude
48+
49+-- | A resource alias for @container.projects.locations.clusters.getJwks@ method which the
50+-- 'ProjectsLocationsClustersGetJWKs' request conforms to.
51+type ProjectsLocationsClustersGetJWKsResource =
52+ "v1" :>
53+ Capture "parent" Text :>
54+ "jwks" :>
55+ QueryParam "$.xgafv" Xgafv :>
56+ QueryParam "upload_protocol" Text :>
57+ QueryParam "access_token" Text :>
58+ QueryParam "uploadType" Text :>
59+ QueryParam "callback" Text :>
60+ QueryParam "alt" AltJSON :>
61+ Get '[JSON] GetJSONWebKeysResponse
62+
63+-- | GetJSONWebKeys gets the public component of the cluster signing keys in
64+-- JSON Web Key format. This API is not yet intended for general use, and
65+-- is not available for all clusters.
66+--
67+-- /See:/ 'projectsLocationsClustersGetJWKs' smart constructor.
68+data ProjectsLocationsClustersGetJWKs =
69+ ProjectsLocationsClustersGetJWKs'
70+ { _plcgjParent :: !Text
71+ , _plcgjXgafv :: !(Maybe Xgafv)
72+ , _plcgjUploadProtocol :: !(Maybe Text)
73+ , _plcgjAccessToken :: !(Maybe Text)
74+ , _plcgjUploadType :: !(Maybe Text)
75+ , _plcgjCallback :: !(Maybe Text)
76+ }
77+ deriving (Eq, Show, Data, Typeable, Generic)
78+
79+-- | Creates a value of 'ProjectsLocationsClustersGetJWKs' with the minimum fields required to make a request.
80+--
81+-- Use one of the following lenses to modify other fields as desired:
82+--
83+-- * 'plcgjParent'
84+--
85+-- * 'plcgjXgafv'
86+--
87+-- * 'plcgjUploadProtocol'
88+--
89+-- * 'plcgjAccessToken'
90+--
91+-- * 'plcgjUploadType'
92+--
93+-- * 'plcgjCallback'
94+projectsLocationsClustersGetJWKs
95+ :: Text -- ^ 'plcgjParent'
96+ -> ProjectsLocationsClustersGetJWKs
97+projectsLocationsClustersGetJWKs pPlcgjParent_ =
98+ ProjectsLocationsClustersGetJWKs'
99+ { _plcgjParent = pPlcgjParent_
100+ , _plcgjXgafv = Nothing
101+ , _plcgjUploadProtocol = Nothing
102+ , _plcgjAccessToken = Nothing
103+ , _plcgjUploadType = Nothing
104+ , _plcgjCallback = Nothing
105+ }
106+
107+-- | The cluster (project, location, cluster id) to get keys for. Specified
108+-- in the format \'projects\/*\/locations\/*\/clusters\/*\'.
109+plcgjParent :: Lens' ProjectsLocationsClustersGetJWKs Text
110+plcgjParent
111+ = lens _plcgjParent (\ s a -> s{_plcgjParent = a})
112+
113+-- | V1 error format.
114+plcgjXgafv :: Lens' ProjectsLocationsClustersGetJWKs (Maybe Xgafv)
115+plcgjXgafv
116+ = lens _plcgjXgafv (\ s a -> s{_plcgjXgafv = a})
117+
118+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
119+plcgjUploadProtocol :: Lens' ProjectsLocationsClustersGetJWKs (Maybe Text)
120+plcgjUploadProtocol
121+ = lens _plcgjUploadProtocol
122+ (\ s a -> s{_plcgjUploadProtocol = a})
123+
124+-- | OAuth access token.
125+plcgjAccessToken :: Lens' ProjectsLocationsClustersGetJWKs (Maybe Text)
126+plcgjAccessToken
127+ = lens _plcgjAccessToken
128+ (\ s a -> s{_plcgjAccessToken = a})
129+
130+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
131+plcgjUploadType :: Lens' ProjectsLocationsClustersGetJWKs (Maybe Text)
132+plcgjUploadType
133+ = lens _plcgjUploadType
134+ (\ s a -> s{_plcgjUploadType = a})
135+
136+-- | JSONP
137+plcgjCallback :: Lens' ProjectsLocationsClustersGetJWKs (Maybe Text)
138+plcgjCallback
139+ = lens _plcgjCallback
140+ (\ s a -> s{_plcgjCallback = a})
141+
142+instance GoogleRequest
143+ ProjectsLocationsClustersGetJWKs
144+ where
145+ type Rs ProjectsLocationsClustersGetJWKs =
146+ GetJSONWebKeysResponse
147+ type Scopes ProjectsLocationsClustersGetJWKs =
148+ '["https://www.googleapis.com/auth/cloud-platform"]
149+ requestClient ProjectsLocationsClustersGetJWKs'{..}
150+ = go _plcgjParent _plcgjXgafv _plcgjUploadProtocol
151+ _plcgjAccessToken
152+ _plcgjUploadType
153+ _plcgjCallback
154+ (Just AltJSON)
155+ containerService
156+ where go
157+ = buildClient
158+ (Proxy ::
159+ Proxy ProjectsLocationsClustersGetJWKsResource)
160+ mempty
gogol-container/gen/Network/Google/Resource/Container/Projects/Locations/Clusters/WellKnown/GetOpenidConfiguration.hsnew file+174
@@ -0,0 +1,174 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.Container.Projects.Locations.Clusters.WellKnown.GetOpenidConfiguration
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- GetOpenIDConfig gets the OIDC discovery document for the cluster. See
24+-- the OpenID Connect Discovery 1.0 specification for details.
25+-- https:\/\/openid.net\/specs\/openid-connect-discovery-1_0.html This API
26+-- is not yet intended for general use, and is not available for all
27+-- clusters.
28+--
29+-- /See:/ <https://cloud.google.com/container-engine/ Kubernetes Engine API Reference> for @container.projects.locations.clusters.well-known.getOpenid-configuration@.
30+module Network.Google.Resource.Container.Projects.Locations.Clusters.WellKnown.GetOpenidConfiguration
31+ (
32+ -- * REST Resource
33+ ProjectsLocationsClustersWellKnownGetOpenidConfigurationResource
34+
35+ -- * Creating a Request
36+ , projectsLocationsClustersWellKnownGetOpenidConfiguration
37+ , ProjectsLocationsClustersWellKnownGetOpenidConfiguration
38+
39+ -- * Request Lenses
40+ , plcwkgocParent
41+ , plcwkgocXgafv
42+ , plcwkgocUploadProtocol
43+ , plcwkgocAccessToken
44+ , plcwkgocUploadType
45+ , plcwkgocCallback
46+ ) where
47+
48+import Network.Google.Container.Types
49+import Network.Google.Prelude
50+
51+-- | A resource alias for @container.projects.locations.clusters.well-known.getOpenid-configuration@ method which the
52+-- 'ProjectsLocationsClustersWellKnownGetOpenidConfiguration' request conforms to.
53+type ProjectsLocationsClustersWellKnownGetOpenidConfigurationResource
54+ =
55+ "v1" :>
56+ Capture "parent" Text :>
57+ ".well-known" :>
58+ "openid-configuration" :>
59+ QueryParam "$.xgafv" Xgafv :>
60+ QueryParam "upload_protocol" Text :>
61+ QueryParam "access_token" Text :>
62+ QueryParam "uploadType" Text :>
63+ QueryParam "callback" Text :>
64+ QueryParam "alt" AltJSON :>
65+ Get '[JSON] GetOpenIdConfigResponse
66+
67+-- | GetOpenIDConfig gets the OIDC discovery document for the cluster. See
68+-- the OpenID Connect Discovery 1.0 specification for details.
69+-- https:\/\/openid.net\/specs\/openid-connect-discovery-1_0.html This API
70+-- is not yet intended for general use, and is not available for all
71+-- clusters.
72+--
73+-- /See:/ 'projectsLocationsClustersWellKnownGetOpenidConfiguration' smart constructor.
74+data ProjectsLocationsClustersWellKnownGetOpenidConfiguration =
75+ ProjectsLocationsClustersWellKnownGetOpenidConfiguration'
76+ { _plcwkgocParent :: !Text
77+ , _plcwkgocXgafv :: !(Maybe Xgafv)
78+ , _plcwkgocUploadProtocol :: !(Maybe Text)
79+ , _plcwkgocAccessToken :: !(Maybe Text)
80+ , _plcwkgocUploadType :: !(Maybe Text)
81+ , _plcwkgocCallback :: !(Maybe Text)
82+ }
83+ deriving (Eq, Show, Data, Typeable, Generic)
84+
85+-- | Creates a value of 'ProjectsLocationsClustersWellKnownGetOpenidConfiguration' with the minimum fields required to make a request.
86+--
87+-- Use one of the following lenses to modify other fields as desired:
88+--
89+-- * 'plcwkgocParent'
90+--
91+-- * 'plcwkgocXgafv'
92+--
93+-- * 'plcwkgocUploadProtocol'
94+--
95+-- * 'plcwkgocAccessToken'
96+--
97+-- * 'plcwkgocUploadType'
98+--
99+-- * 'plcwkgocCallback'
100+projectsLocationsClustersWellKnownGetOpenidConfiguration
101+ :: Text -- ^ 'plcwkgocParent'
102+ -> ProjectsLocationsClustersWellKnownGetOpenidConfiguration
103+projectsLocationsClustersWellKnownGetOpenidConfiguration pPlcwkgocParent_ =
104+ ProjectsLocationsClustersWellKnownGetOpenidConfiguration'
105+ { _plcwkgocParent = pPlcwkgocParent_
106+ , _plcwkgocXgafv = Nothing
107+ , _plcwkgocUploadProtocol = Nothing
108+ , _plcwkgocAccessToken = Nothing
109+ , _plcwkgocUploadType = Nothing
110+ , _plcwkgocCallback = Nothing
111+ }
112+
113+-- | The cluster (project, location, cluster id) to get the discovery
114+-- document for. Specified in the format
115+-- \'projects\/*\/locations\/*\/clusters\/*\'.
116+plcwkgocParent :: Lens' ProjectsLocationsClustersWellKnownGetOpenidConfiguration Text
117+plcwkgocParent
118+ = lens _plcwkgocParent
119+ (\ s a -> s{_plcwkgocParent = a})
120+
121+-- | V1 error format.
122+plcwkgocXgafv :: Lens' ProjectsLocationsClustersWellKnownGetOpenidConfiguration (Maybe Xgafv)
123+plcwkgocXgafv
124+ = lens _plcwkgocXgafv
125+ (\ s a -> s{_plcwkgocXgafv = a})
126+
127+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
128+plcwkgocUploadProtocol :: Lens' ProjectsLocationsClustersWellKnownGetOpenidConfiguration (Maybe Text)
129+plcwkgocUploadProtocol
130+ = lens _plcwkgocUploadProtocol
131+ (\ s a -> s{_plcwkgocUploadProtocol = a})
132+
133+-- | OAuth access token.
134+plcwkgocAccessToken :: Lens' ProjectsLocationsClustersWellKnownGetOpenidConfiguration (Maybe Text)
135+plcwkgocAccessToken
136+ = lens _plcwkgocAccessToken
137+ (\ s a -> s{_plcwkgocAccessToken = a})
138+
139+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
140+plcwkgocUploadType :: Lens' ProjectsLocationsClustersWellKnownGetOpenidConfiguration (Maybe Text)
141+plcwkgocUploadType
142+ = lens _plcwkgocUploadType
143+ (\ s a -> s{_plcwkgocUploadType = a})
144+
145+-- | JSONP
146+plcwkgocCallback :: Lens' ProjectsLocationsClustersWellKnownGetOpenidConfiguration (Maybe Text)
147+plcwkgocCallback
148+ = lens _plcwkgocCallback
149+ (\ s a -> s{_plcwkgocCallback = a})
150+
151+instance GoogleRequest
152+ ProjectsLocationsClustersWellKnownGetOpenidConfiguration
153+ where
154+ type Rs
155+ ProjectsLocationsClustersWellKnownGetOpenidConfiguration
156+ = GetOpenIdConfigResponse
157+ type Scopes
158+ ProjectsLocationsClustersWellKnownGetOpenidConfiguration
159+ = '["https://www.googleapis.com/auth/cloud-platform"]
160+ requestClient
161+ ProjectsLocationsClustersWellKnownGetOpenidConfiguration'{..}
162+ = go _plcwkgocParent _plcwkgocXgafv
163+ _plcwkgocUploadProtocol
164+ _plcwkgocAccessToken
165+ _plcwkgocUploadType
166+ _plcwkgocCallback
167+ (Just AltJSON)
168+ containerService
169+ where go
170+ = buildClient
171+ (Proxy ::
172+ Proxy
173+ ProjectsLocationsClustersWellKnownGetOpenidConfigurationResource)
174+ mempty
gogol-container/gogol-container.cabal+4−2
@@ -1,5 +1,5 @@
11name: gogol-container
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Kubernetes Engine SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -40,6 +40,7 @@ library
4040 , Network.Google.Resource.Container.Projects.Locations.Clusters.Create
4141 , Network.Google.Resource.Container.Projects.Locations.Clusters.Delete
4242 , Network.Google.Resource.Container.Projects.Locations.Clusters.Get
43+ , Network.Google.Resource.Container.Projects.Locations.Clusters.GetJWKs
4344 , Network.Google.Resource.Container.Projects.Locations.Clusters.List
4445 , Network.Google.Resource.Container.Projects.Locations.Clusters.NodePools.Create
4546 , Network.Google.Resource.Container.Projects.Locations.Clusters.NodePools.Delete
@@ -62,6 +63,7 @@ library
6263 , Network.Google.Resource.Container.Projects.Locations.Clusters.StartIPRotation
6364 , Network.Google.Resource.Container.Projects.Locations.Clusters.Update
6465 , Network.Google.Resource.Container.Projects.Locations.Clusters.UpdateMaster
66+ , Network.Google.Resource.Container.Projects.Locations.Clusters.WellKnown.GetOpenidConfiguration
6567 , Network.Google.Resource.Container.Projects.Locations.GetServerConfig
6668 , Network.Google.Resource.Container.Projects.Locations.Operations.Cancel
6769 , Network.Google.Resource.Container.Projects.Locations.Operations.Get
@@ -102,5 +104,5 @@ library
102104 , Network.Google.Container.Types.Sum
103105
104106 build-depends:
105− gogol-core == 0.4.0.*
107+ gogol-core == 0.5.0.*
106108 , base >= 4.7 && < 5
gogol-containeranalysis/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-containeranalysis/gen/Network/Google/ContainerAnalysis.hs+15
@@ -122,6 +122,7 @@ module Network.Google.ContainerAnalysis
122122 , vCvssScore
123123 , vSeverity
124124 , vDetails
125+ , vWindowsDetails
125126
126127 -- ** GrafeasV1beta1VulnerabilityDetailsSeverity
127128 , GrafeasV1beta1VulnerabilityDetailsSeverity (..)
@@ -219,6 +220,12 @@ module Network.Google.ContainerAnalysis
219220 , cName
220221 , cId
221222
223+ -- ** KnowledgeBase
224+ , KnowledgeBase
225+ , knowledgeBase
226+ , kbURL
227+ , kbName
228+
222229 -- ** GetIAMPolicyRequest
223230 , GetIAMPolicyRequest
224231 , getIAMPolicyRequest
@@ -622,6 +629,14 @@ module Network.Google.ContainerAnalysis
622629 , psaPgpKeyId
623630 , psaContentType
624631
632+ -- ** WindowsDetail
633+ , WindowsDetail
634+ , windowsDetail
635+ , wdName
636+ , wdFixingKbs
637+ , wdCpeURI
638+ , wdDescription
639+
625640 -- ** BatchCreateNotesRequestNotes
626641 , BatchCreateNotesRequestNotes
627642 , batchCreateNotesRequestNotes
gogol-containeranalysis/gen/Network/Google/ContainerAnalysis/Types.hs+15
@@ -40,6 +40,7 @@ module Network.Google.ContainerAnalysis.Types
4040 , vCvssScore
4141 , vSeverity
4242 , vDetails
43+ , vWindowsDetails
4344
4445 -- * GrafeasV1beta1VulnerabilityDetailsSeverity
4546 , GrafeasV1beta1VulnerabilityDetailsSeverity (..)
@@ -137,6 +138,12 @@ module Network.Google.ContainerAnalysis.Types
137138 , cName
138139 , cId
139140
141+ -- * KnowledgeBase
142+ , KnowledgeBase
143+ , knowledgeBase
144+ , kbURL
145+ , kbName
146+
140147 -- * GetIAMPolicyRequest
141148 , GetIAMPolicyRequest
142149 , getIAMPolicyRequest
@@ -540,6 +547,14 @@ module Network.Google.ContainerAnalysis.Types
540547 , psaPgpKeyId
541548 , psaContentType
542549
550+ -- * WindowsDetail
551+ , WindowsDetail
552+ , windowsDetail
553+ , wdName
554+ , wdFixingKbs
555+ , wdCpeURI
556+ , wdDescription
557+
543558 -- * BatchCreateNotesRequestNotes
544559 , BatchCreateNotesRequestNotes
545560 , batchCreateNotesRequestNotes
gogol-containeranalysis/gen/Network/Google/ContainerAnalysis/Types/Product.hs+144−6
@@ -74,9 +74,10 @@ instance ToJSON Installation where
7474-- /See:/ 'vulnerability' smart constructor.
7575data Vulnerability =
7676 Vulnerability'
77− { _vCvssScore :: !(Maybe (Textual Double))
78− , _vSeverity :: !(Maybe VulnerabilitySeverity)
79− , _vDetails :: !(Maybe [Detail])
77+ { _vCvssScore :: !(Maybe (Textual Double))
78+ , _vSeverity :: !(Maybe VulnerabilitySeverity)
79+ , _vDetails :: !(Maybe [Detail])
80+ , _vWindowsDetails :: !(Maybe [WindowsDetail])
8081 }
8182 deriving (Eq, Show, Data, Typeable, Generic)
8283
@@ -89,11 +90,17 @@ data Vulnerability =
8990-- * 'vSeverity'
9091--
9192-- * 'vDetails'
93+--
94+-- * 'vWindowsDetails'
9295vulnerability
9396 :: Vulnerability
9497vulnerability =
9598 Vulnerability'
96− {_vCvssScore = Nothing, _vSeverity = Nothing, _vDetails = Nothing}
99+ { _vCvssScore = Nothing
100+ , _vSeverity = Nothing
101+ , _vDetails = Nothing
102+ , _vWindowsDetails = Nothing
103+ }
97104
98105-- | The CVSS score for this vulnerability.
99106vCvssScore :: Lens' Vulnerability (Maybe Double)
@@ -115,13 +122,25 @@ vDetails
115122 _Default
116123 . _Coerce
117124
125+-- | Windows details get their own format because the information format and
126+-- model don\'t match a normal detail. Specifically Windows updates are
127+-- done as patches, thus Windows vulnerabilities really are a missing
128+-- package, rather than a package being at an incorrect version.
129+vWindowsDetails :: Lens' Vulnerability [WindowsDetail]
130+vWindowsDetails
131+ = lens _vWindowsDetails
132+ (\ s a -> s{_vWindowsDetails = a})
133+ . _Default
134+ . _Coerce
135+
118136instance FromJSON Vulnerability where
119137 parseJSON
120138 = withObject "Vulnerability"
121139 (\ o ->
122140 Vulnerability' <$>
123141 (o .:? "cvssScore") <*> (o .:? "severity") <*>
124− (o .:? "details" .!= mempty))
142+ (o .:? "details" .!= mempty)
143+ <*> (o .:? "windowsDetails" .!= mempty))
125144
126145instance ToJSON Vulnerability where
127146 toJSON Vulnerability'{..}
@@ -129,7 +148,8 @@ instance ToJSON Vulnerability where
129148 (catMaybes
130149 [("cvssScore" .=) <$> _vCvssScore,
131150 ("severity" .=) <$> _vSeverity,
132− ("details" .=) <$> _vDetails])
151+ ("details" .=) <$> _vDetails,
152+ ("windowsDetails" .=) <$> _vWindowsDetails])
133153
134154-- | The \`Status\` type defines a logical error model that is suitable for
135155-- different programming environments, including REST APIs and RPC APIs. It
@@ -1034,6 +1054,47 @@ instance ToJSON Command where
10341054 ("env" .=) <$> _cEnv, ("waitFor" .=) <$> _cWaitFor,
10351055 ("name" .=) <$> _cName, ("id" .=) <$> _cId])
10361056
1057+--
1058+-- /See:/ 'knowledgeBase' smart constructor.
1059+data KnowledgeBase =
1060+ KnowledgeBase'
1061+ { _kbURL :: !(Maybe Text)
1062+ , _kbName :: !(Maybe Text)
1063+ }
1064+ deriving (Eq, Show, Data, Typeable, Generic)
1065+
1066+-- | Creates a value of 'KnowledgeBase' with the minimum fields required to make a request.
1067+--
1068+-- Use one of the following lenses to modify other fields as desired:
1069+--
1070+-- * 'kbURL'
1071+--
1072+-- * 'kbName'
1073+knowledgeBase
1074+ :: KnowledgeBase
1075+knowledgeBase = KnowledgeBase' {_kbURL = Nothing, _kbName = Nothing}
1076+
1077+-- | A link to the KB in the Windows update catalog -
1078+-- https:\/\/www.catalog.update.microsoft.com\/
1079+kbURL :: Lens' KnowledgeBase (Maybe Text)
1080+kbURL = lens _kbURL (\ s a -> s{_kbURL = a})
1081+
1082+-- | The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1083+kbName :: Lens' KnowledgeBase (Maybe Text)
1084+kbName = lens _kbName (\ s a -> s{_kbName = a})
1085+
1086+instance FromJSON KnowledgeBase where
1087+ parseJSON
1088+ = withObject "KnowledgeBase"
1089+ (\ o ->
1090+ KnowledgeBase' <$> (o .:? "url") <*> (o .:? "name"))
1091+
1092+instance ToJSON KnowledgeBase where
1093+ toJSON KnowledgeBase'{..}
1094+ = object
1095+ (catMaybes
1096+ [("url" .=) <$> _kbURL, ("name" .=) <$> _kbName])
1097+
10371098-- | Request message for \`GetIamPolicy\` method.
10381099--
10391100-- /See:/ 'getIAMPolicyRequest' smart constructor.
@@ -4226,6 +4287,83 @@ instance ToJSON PgpSignedAttestation where
42264287 ("pgpKeyId" .=) <$> _psaPgpKeyId,
42274288 ("contentType" .=) <$> _psaContentType])
42284289
4290+--
4291+-- /See:/ 'windowsDetail' smart constructor.
4292+data WindowsDetail =
4293+ WindowsDetail'
4294+ { _wdName :: !(Maybe Text)
4295+ , _wdFixingKbs :: !(Maybe [KnowledgeBase])
4296+ , _wdCpeURI :: !(Maybe Text)
4297+ , _wdDescription :: !(Maybe Text)
4298+ }
4299+ deriving (Eq, Show, Data, Typeable, Generic)
4300+
4301+-- | Creates a value of 'WindowsDetail' with the minimum fields required to make a request.
4302+--
4303+-- Use one of the following lenses to modify other fields as desired:
4304+--
4305+-- * 'wdName'
4306+--
4307+-- * 'wdFixingKbs'
4308+--
4309+-- * 'wdCpeURI'
4310+--
4311+-- * 'wdDescription'
4312+windowsDetail
4313+ :: WindowsDetail
4314+windowsDetail =
4315+ WindowsDetail'
4316+ { _wdName = Nothing
4317+ , _wdFixingKbs = Nothing
4318+ , _wdCpeURI = Nothing
4319+ , _wdDescription = Nothing
4320+ }
4321+
4322+-- | Required. The name of the vulnerability.
4323+wdName :: Lens' WindowsDetail (Maybe Text)
4324+wdName = lens _wdName (\ s a -> s{_wdName = a})
4325+
4326+-- | Required. The names of the KBs which have hotfixes to mitigate this
4327+-- vulnerability. Note that there may be multiple hotfixes (and thus
4328+-- multiple KBs) that mitigate a given vulnerability. Currently any listed
4329+-- kb\'s presence is considered a fix.
4330+wdFixingKbs :: Lens' WindowsDetail [KnowledgeBase]
4331+wdFixingKbs
4332+ = lens _wdFixingKbs (\ s a -> s{_wdFixingKbs = a}) .
4333+ _Default
4334+ . _Coerce
4335+
4336+-- | Required. The CPE URI in [cpe
4337+-- format](https:\/\/cpe.mitre.org\/specification\/) in which the
4338+-- vulnerability manifests. Examples include distro or storage location for
4339+-- vulnerable jar.
4340+wdCpeURI :: Lens' WindowsDetail (Maybe Text)
4341+wdCpeURI = lens _wdCpeURI (\ s a -> s{_wdCpeURI = a})
4342+
4343+-- | The description of the vulnerability.
4344+wdDescription :: Lens' WindowsDetail (Maybe Text)
4345+wdDescription
4346+ = lens _wdDescription
4347+ (\ s a -> s{_wdDescription = a})
4348+
4349+instance FromJSON WindowsDetail where
4350+ parseJSON
4351+ = withObject "WindowsDetail"
4352+ (\ o ->
4353+ WindowsDetail' <$>
4354+ (o .:? "name") <*> (o .:? "fixingKbs" .!= mempty) <*>
4355+ (o .:? "cpeUri")
4356+ <*> (o .:? "description"))
4357+
4358+instance ToJSON WindowsDetail where
4359+ toJSON WindowsDetail'{..}
4360+ = object
4361+ (catMaybes
4362+ [("name" .=) <$> _wdName,
4363+ ("fixingKbs" .=) <$> _wdFixingKbs,
4364+ ("cpeUri" .=) <$> _wdCpeURI,
4365+ ("description" .=) <$> _wdDescription])
4366+
42294367-- | The notes to create. Max allowed length is 1000.
42304368--
42314369-- /See:/ 'batchCreateNotesRequestNotes' smart constructor.
gogol-containeranalysis/gogol-containeranalysis.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-containeranalysis
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Container Analysis SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -66,5 +66,5 @@ library
6666 , Network.Google.ContainerAnalysis.Types.Sum
6767
6868 build-depends:
69− gogol-core == 0.4.0.*
69+ gogol-core == 0.5.0.*
7070 , base >= 4.7 && < 5
gogol-containerbuilder/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-containerbuilder/gen/Network/Google/ContainerBuilder/Types/Product.hs+14−14
@@ -277,13 +277,13 @@ spResolvedStorageSource
277277 (\ s a -> s{_spResolvedStorageSource = a})
278278
279279-- | Output only. Hash(es) of the build source, which can be used to verify
280−-- that the originalsource integrity was maintained in the build. Note that
281−-- \`FileHashes\` willonly be populated if \`BuildOptions\` has requested a
282−-- \`SourceProvenanceHash\`. The keys to this map are file paths used as
283−-- build source and the values contain the hash values for those files. If
284−-- the build source came in a single package such as a gzipped tarfile
285−-- (\`.tar.gz\`), the \`FileHash\` will be for the single path to that
286−-- file.
280+-- that the original source integrity was maintained in the build. Note
281+-- that \`FileHashes\` will only be populated if \`BuildOptions\` has
282+-- requested a \`SourceProvenanceHash\`. The keys to this map are file
283+-- paths used as build source and the values contain the hash values for
284+-- those files. If the build source came in a single package such as a
285+-- gzipped tarfile (\`.tar.gz\`), the \`FileHash\` will be for the single
286+-- path to that file.
287287spFileHashes :: Lens' SourceProvenance (Maybe SourceProvenanceFileHashes)
288288spFileHashes
289289 = lens _spFileHashes (\ s a -> s{_spFileHashes = a})
@@ -1469,13 +1469,13 @@ instance ToJSON Build where
14691469 ("tags" .=) <$> _bTags])
14701470
14711471-- | Output only. Hash(es) of the build source, which can be used to verify
1472−-- that the originalsource integrity was maintained in the build. Note that
1473−-- \`FileHashes\` willonly be populated if \`BuildOptions\` has requested a
1474−-- \`SourceProvenanceHash\`. The keys to this map are file paths used as
1475−-- build source and the values contain the hash values for those files. If
1476−-- the build source came in a single package such as a gzipped tarfile
1477−-- (\`.tar.gz\`), the \`FileHash\` will be for the single path to that
1478−-- file.
1472+-- that the original source integrity was maintained in the build. Note
1473+-- that \`FileHashes\` will only be populated if \`BuildOptions\` has
1474+-- requested a \`SourceProvenanceHash\`. The keys to this map are file
1475+-- paths used as build source and the values contain the hash values for
1476+-- those files. If the build source came in a single package such as a
1477+-- gzipped tarfile (\`.tar.gz\`), the \`FileHash\` will be for the single
1478+-- path to that file.
14791479--
14801480-- /See:/ 'sourceProvenanceFileHashes' smart constructor.
14811481newtype SourceProvenanceFileHashes =
gogol-containerbuilder/gogol-containerbuilder.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-containerbuilder
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Build SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -55,5 +55,5 @@ library
5555 , Network.Google.ContainerBuilder.Types.Sum
5656
5757 build-depends:
58− gogol-core == 0.4.0.*
58+ gogol-core == 0.5.0.*
5959 , base >= 4.7 && < 5
gogol-customsearch/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-customsearch/gogol-customsearch.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-customsearch
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google CustomSearch SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -43,5 +43,5 @@ library
4343 , Network.Google.CustomSearch.Types.Sum
4444
4545 build-depends:
46− gogol-core == 0.4.0.*
46+ gogol-core == 0.5.0.*
4747 , base >= 4.7 && < 5
gogol-dataflow/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-dataflow/gen/Network/Google/Dataflow.hs+30
@@ -161,6 +161,11 @@ module Network.Google.Dataflow
161161 , pmRegexes
162162 , pmLabel
163163
164+ -- ** ReportWorkItemStatusRequestUnifiedWorkerRequest
165+ , ReportWorkItemStatusRequestUnifiedWorkerRequest
166+ , reportWorkItemStatusRequestUnifiedWorkerRequest
167+ , rwisruwrAddtional
168+
164169 -- ** CreateJobFromTemplateRequest
165170 , CreateJobFromTemplateRequest
166171 , createJobFromTemplateRequest
@@ -274,6 +279,7 @@ module Network.Google.Dataflow
274279 , reportWorkItemStatusRequest
275280 , rwisrCurrentWorkerTime
276281 , rwisrLocation
282+ , rwisrUnifiedWorkerRequest
277283 , rwisrWorkItemStatuses
278284 , rwisrWorkerId
279285
@@ -490,6 +496,11 @@ module Network.Google.Dataflow
490496 -- ** AutoscalingSettingsAlgorithm
491497 , AutoscalingSettingsAlgorithm (..)
492498
499+ -- ** LeaseWorkItemRequestUnifiedWorkerRequest
500+ , LeaseWorkItemRequestUnifiedWorkerRequest
501+ , leaseWorkItemRequestUnifiedWorkerRequest
502+ , lwiruwrAddtional
503+
493504 -- ** DerivedSource
494505 , DerivedSource
495506 , derivedSource
@@ -608,6 +619,7 @@ module Network.Google.Dataflow
608619 , sccInstructions
609620 , sccSystemName
610621 , sccComputationId
622+ , sccTransformUserNameToStateFamily
611623 , sccStageName
612624
613625 -- ** EnvironmentSdkPipelineOptions
@@ -635,6 +647,7 @@ module Network.Google.Dataflow
635647 , lwirCurrentWorkerTime
636648 , lwirLocation
637649 , lwirWorkerCapabilities
650+ , lwirUnifiedWorkerRequest
638651 , lwirRequestedLeaseDuration
639652 , lwirWorkerId
640653
@@ -951,6 +964,11 @@ module Network.Google.Dataflow
951964 , wleContainerStartTime
952965 , wleMetadata
953966
967+ -- ** ReportWorkItemStatusResponseUnifiedWorkerResponse
968+ , ReportWorkItemStatusResponseUnifiedWorkerResponse
969+ , reportWorkItemStatusResponseUnifiedWorkerResponse
970+ , rAddtional
971+
954972 -- ** RuntimeEnvironmentAdditionalUserLabels
955973 , RuntimeEnvironmentAdditionalUserLabels
956974 , runtimeEnvironmentAdditionalUserLabels
@@ -1125,6 +1143,7 @@ module Network.Google.Dataflow
11251143 , ReportWorkItemStatusResponse
11261144 , reportWorkItemStatusResponse
11271145 , rwisrWorkItemServiceStates
1146+ , rwisrUnifiedWorkerResponse
11281147
11291148 -- ** SourceFork
11301149 , SourceFork
@@ -1216,6 +1235,11 @@ module Network.Google.Dataflow
12161235 , pgbkiInputElementCodec
12171236 , pgbkiOriginalCombineValuesInputStoreName
12181237
1238+ -- ** LeaseWorkItemResponseUnifiedWorkerResponse
1239+ , LeaseWorkItemResponseUnifiedWorkerResponse
1240+ , leaseWorkItemResponseUnifiedWorkerResponse
1241+ , lAddtional
1242+
12191243 -- ** WorkerLifecycleEventEvent
12201244 , WorkerLifecycleEventEvent (..)
12211245
@@ -1309,6 +1333,11 @@ module Network.Google.Dataflow
13091333 , ctUserName
13101334 , ctName
13111335
1336+ -- ** StreamingComputationConfigTransformUserNameToStateFamily
1337+ , StreamingComputationConfigTransformUserNameToStateFamily
1338+ , streamingComputationConfigTransformUserNameToStateFamily
1339+ , scctuntsfAddtional
1340+
13121341 -- ** WorkerPoolIPConfiguration
13131342 , WorkerPoolIPConfiguration (..)
13141343
@@ -1440,6 +1469,7 @@ module Network.Google.Dataflow
14401469 , LeaseWorkItemResponse
14411470 , leaseWorkItemResponse
14421471 , lwirWorkItems
1472+ , lwirUnifiedWorkerResponse
14431473
14441474 -- ** Position
14451475 , Position
gogol-dataflow/gen/Network/Google/Dataflow/Types.hs+30
@@ -59,6 +59,11 @@ module Network.Google.Dataflow.Types
5959 , pmRegexes
6060 , pmLabel
6161
62+ -- * ReportWorkItemStatusRequestUnifiedWorkerRequest
63+ , ReportWorkItemStatusRequestUnifiedWorkerRequest
64+ , reportWorkItemStatusRequestUnifiedWorkerRequest
65+ , rwisruwrAddtional
66+
6267 -- * CreateJobFromTemplateRequest
6368 , CreateJobFromTemplateRequest
6469 , createJobFromTemplateRequest
@@ -172,6 +177,7 @@ module Network.Google.Dataflow.Types
172177 , reportWorkItemStatusRequest
173178 , rwisrCurrentWorkerTime
174179 , rwisrLocation
180+ , rwisrUnifiedWorkerRequest
175181 , rwisrWorkItemStatuses
176182 , rwisrWorkerId
177183
@@ -388,6 +394,11 @@ module Network.Google.Dataflow.Types
388394 -- * AutoscalingSettingsAlgorithm
389395 , AutoscalingSettingsAlgorithm (..)
390396
397+ -- * LeaseWorkItemRequestUnifiedWorkerRequest
398+ , LeaseWorkItemRequestUnifiedWorkerRequest
399+ , leaseWorkItemRequestUnifiedWorkerRequest
400+ , lwiruwrAddtional
401+
391402 -- * DerivedSource
392403 , DerivedSource
393404 , derivedSource
@@ -506,6 +517,7 @@ module Network.Google.Dataflow.Types
506517 , sccInstructions
507518 , sccSystemName
508519 , sccComputationId
520+ , sccTransformUserNameToStateFamily
509521 , sccStageName
510522
511523 -- * EnvironmentSdkPipelineOptions
@@ -533,6 +545,7 @@ module Network.Google.Dataflow.Types
533545 , lwirCurrentWorkerTime
534546 , lwirLocation
535547 , lwirWorkerCapabilities
548+ , lwirUnifiedWorkerRequest
536549 , lwirRequestedLeaseDuration
537550 , lwirWorkerId
538551
@@ -849,6 +862,11 @@ module Network.Google.Dataflow.Types
849862 , wleContainerStartTime
850863 , wleMetadata
851864
865+ -- * ReportWorkItemStatusResponseUnifiedWorkerResponse
866+ , ReportWorkItemStatusResponseUnifiedWorkerResponse
867+ , reportWorkItemStatusResponseUnifiedWorkerResponse
868+ , rAddtional
869+
852870 -- * RuntimeEnvironmentAdditionalUserLabels
853871 , RuntimeEnvironmentAdditionalUserLabels
854872 , runtimeEnvironmentAdditionalUserLabels
@@ -1023,6 +1041,7 @@ module Network.Google.Dataflow.Types
10231041 , ReportWorkItemStatusResponse
10241042 , reportWorkItemStatusResponse
10251043 , rwisrWorkItemServiceStates
1044+ , rwisrUnifiedWorkerResponse
10261045
10271046 -- * SourceFork
10281047 , SourceFork
@@ -1114,6 +1133,11 @@ module Network.Google.Dataflow.Types
11141133 , pgbkiInputElementCodec
11151134 , pgbkiOriginalCombineValuesInputStoreName
11161135
1136+ -- * LeaseWorkItemResponseUnifiedWorkerResponse
1137+ , LeaseWorkItemResponseUnifiedWorkerResponse
1138+ , leaseWorkItemResponseUnifiedWorkerResponse
1139+ , lAddtional
1140+
11171141 -- * WorkerLifecycleEventEvent
11181142 , WorkerLifecycleEventEvent (..)
11191143
@@ -1207,6 +1231,11 @@ module Network.Google.Dataflow.Types
12071231 , ctUserName
12081232 , ctName
12091233
1234+ -- * StreamingComputationConfigTransformUserNameToStateFamily
1235+ , StreamingComputationConfigTransformUserNameToStateFamily
1236+ , streamingComputationConfigTransformUserNameToStateFamily
1237+ , scctuntsfAddtional
1238+
12101239 -- * WorkerPoolIPConfiguration
12111240 , WorkerPoolIPConfiguration (..)
12121241
@@ -1338,6 +1367,7 @@ module Network.Google.Dataflow.Types
13381367 , LeaseWorkItemResponse
13391368 , leaseWorkItemResponse
13401369 , lwirWorkItems
1370+ , lwirUnifiedWorkerResponse
13411371
13421372 -- * Position
13431373 , Position
gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+301−18
@@ -310,6 +310,49 @@ instance ToJSON ParameterMetadata where
310310 ("regexes" .=) <$> _pmRegexes,
311311 ("label" .=) <$> _pmLabel])
312312
313+-- | Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
314+--
315+-- /See:/ 'reportWorkItemStatusRequestUnifiedWorkerRequest' smart constructor.
316+newtype ReportWorkItemStatusRequestUnifiedWorkerRequest =
317+ ReportWorkItemStatusRequestUnifiedWorkerRequest'
318+ { _rwisruwrAddtional :: HashMap Text JSONValue
319+ }
320+ deriving (Eq, Show, Data, Typeable, Generic)
321+
322+-- | Creates a value of 'ReportWorkItemStatusRequestUnifiedWorkerRequest' with the minimum fields required to make a request.
323+--
324+-- Use one of the following lenses to modify other fields as desired:
325+--
326+-- * 'rwisruwrAddtional'
327+reportWorkItemStatusRequestUnifiedWorkerRequest
328+ :: HashMap Text JSONValue -- ^ 'rwisruwrAddtional'
329+ -> ReportWorkItemStatusRequestUnifiedWorkerRequest
330+reportWorkItemStatusRequestUnifiedWorkerRequest pRwisruwrAddtional_ =
331+ ReportWorkItemStatusRequestUnifiedWorkerRequest'
332+ {_rwisruwrAddtional = _Coerce # pRwisruwrAddtional_}
333+
334+-- | Properties of the object. Contains field \'type with type URL.
335+rwisruwrAddtional :: Lens' ReportWorkItemStatusRequestUnifiedWorkerRequest (HashMap Text JSONValue)
336+rwisruwrAddtional
337+ = lens _rwisruwrAddtional
338+ (\ s a -> s{_rwisruwrAddtional = a})
339+ . _Coerce
340+
341+instance FromJSON
342+ ReportWorkItemStatusRequestUnifiedWorkerRequest
343+ where
344+ parseJSON
345+ = withObject
346+ "ReportWorkItemStatusRequestUnifiedWorkerRequest"
347+ (\ o ->
348+ ReportWorkItemStatusRequestUnifiedWorkerRequest' <$>
349+ (parseJSONObject o))
350+
351+instance ToJSON
352+ ReportWorkItemStatusRequestUnifiedWorkerRequest
353+ where
354+ toJSON = toJSON . _rwisruwrAddtional
355+
313356-- | A request to create a Cloud Dataflow job from a template.
314357--
315358-- /See:/ 'createJobFromTemplateRequest' smart constructor.
@@ -1330,10 +1373,11 @@ instance ToJSON LaunchTemplateParameters where
13301373-- /See:/ 'reportWorkItemStatusRequest' smart constructor.
13311374data ReportWorkItemStatusRequest =
13321375 ReportWorkItemStatusRequest'
1333− { _rwisrCurrentWorkerTime :: !(Maybe DateTime')
1334− , _rwisrLocation :: !(Maybe Text)
1335− , _rwisrWorkItemStatuses :: !(Maybe [WorkItemStatus])
1336− , _rwisrWorkerId :: !(Maybe Text)
1376+ { _rwisrCurrentWorkerTime :: !(Maybe DateTime')
1377+ , _rwisrLocation :: !(Maybe Text)
1378+ , _rwisrUnifiedWorkerRequest :: !(Maybe ReportWorkItemStatusRequestUnifiedWorkerRequest)
1379+ , _rwisrWorkItemStatuses :: !(Maybe [WorkItemStatus])
1380+ , _rwisrWorkerId :: !(Maybe Text)
13371381 }
13381382 deriving (Eq, Show, Data, Typeable, Generic)
13391383
@@ -1345,6 +1389,8 @@ data ReportWorkItemStatusRequest =
13451389--
13461390-- * 'rwisrLocation'
13471391--
1392+-- * 'rwisrUnifiedWorkerRequest'
1393+--
13481394-- * 'rwisrWorkItemStatuses'
13491395--
13501396-- * 'rwisrWorkerId'
@@ -1354,6 +1400,7 @@ reportWorkItemStatusRequest =
13541400 ReportWorkItemStatusRequest'
13551401 { _rwisrCurrentWorkerTime = Nothing
13561402 , _rwisrLocation = Nothing
1403+ , _rwisrUnifiedWorkerRequest = Nothing
13571404 , _rwisrWorkItemStatuses = Nothing
13581405 , _rwisrWorkerId = Nothing
13591406 }
@@ -1371,6 +1418,12 @@ rwisrLocation
13711418 = lens _rwisrLocation
13721419 (\ s a -> s{_rwisrLocation = a})
13731420
1421+-- | Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
1422+rwisrUnifiedWorkerRequest :: Lens' ReportWorkItemStatusRequest (Maybe ReportWorkItemStatusRequestUnifiedWorkerRequest)
1423+rwisrUnifiedWorkerRequest
1424+ = lens _rwisrUnifiedWorkerRequest
1425+ (\ s a -> s{_rwisrUnifiedWorkerRequest = a})
1426+
13741427-- | The order is unimportant, except that the order of the
13751428-- WorkItemServiceState messages in the ReportWorkItemStatusResponse
13761429-- corresponds to the order of WorkItemStatus messages here.
@@ -1396,6 +1449,7 @@ instance FromJSON ReportWorkItemStatusRequest where
13961449 (\ o ->
13971450 ReportWorkItemStatusRequest' <$>
13981451 (o .:? "currentWorkerTime") <*> (o .:? "location")
1452+ <*> (o .:? "unifiedWorkerRequest")
13991453 <*> (o .:? "workItemStatuses" .!= mempty)
14001454 <*> (o .:? "workerId"))
14011455
@@ -1406,6 +1460,8 @@ instance ToJSON ReportWorkItemStatusRequest where
14061460 [("currentWorkerTime" .=) <$>
14071461 _rwisrCurrentWorkerTime,
14081462 ("location" .=) <$> _rwisrLocation,
1463+ ("unifiedWorkerRequest" .=) <$>
1464+ _rwisrUnifiedWorkerRequest,
14091465 ("workItemStatuses" .=) <$> _rwisrWorkItemStatuses,
14101466 ("workerId" .=) <$> _rwisrWorkerId])
14111467
@@ -3302,6 +3358,49 @@ instance ToJSON StreamingStageLocation where
33023358 = object
33033359 (catMaybes [("streamId" .=) <$> _sslStreamId])
33043360
3361+-- | Untranslated bag-of-bytes WorkRequest from UnifiedWorker.
3362+--
3363+-- /See:/ 'leaseWorkItemRequestUnifiedWorkerRequest' smart constructor.
3364+newtype LeaseWorkItemRequestUnifiedWorkerRequest =
3365+ LeaseWorkItemRequestUnifiedWorkerRequest'
3366+ { _lwiruwrAddtional :: HashMap Text JSONValue
3367+ }
3368+ deriving (Eq, Show, Data, Typeable, Generic)
3369+
3370+-- | Creates a value of 'LeaseWorkItemRequestUnifiedWorkerRequest' with the minimum fields required to make a request.
3371+--
3372+-- Use one of the following lenses to modify other fields as desired:
3373+--
3374+-- * 'lwiruwrAddtional'
3375+leaseWorkItemRequestUnifiedWorkerRequest
3376+ :: HashMap Text JSONValue -- ^ 'lwiruwrAddtional'
3377+ -> LeaseWorkItemRequestUnifiedWorkerRequest
3378+leaseWorkItemRequestUnifiedWorkerRequest pLwiruwrAddtional_ =
3379+ LeaseWorkItemRequestUnifiedWorkerRequest'
3380+ {_lwiruwrAddtional = _Coerce # pLwiruwrAddtional_}
3381+
3382+-- | Properties of the object. Contains field \'type with type URL.
3383+lwiruwrAddtional :: Lens' LeaseWorkItemRequestUnifiedWorkerRequest (HashMap Text JSONValue)
3384+lwiruwrAddtional
3385+ = lens _lwiruwrAddtional
3386+ (\ s a -> s{_lwiruwrAddtional = a})
3387+ . _Coerce
3388+
3389+instance FromJSON
3390+ LeaseWorkItemRequestUnifiedWorkerRequest
3391+ where
3392+ parseJSON
3393+ = withObject
3394+ "LeaseWorkItemRequestUnifiedWorkerRequest"
3395+ (\ o ->
3396+ LeaseWorkItemRequestUnifiedWorkerRequest' <$>
3397+ (parseJSONObject o))
3398+
3399+instance ToJSON
3400+ LeaseWorkItemRequestUnifiedWorkerRequest
3401+ where
3402+ toJSON = toJSON . _lwiruwrAddtional
3403+
33053404-- | Specification of one of the bundles produced as a result of splitting a
33063405-- Source (e.g. when executing a SourceSplitRequest, or when splitting an
33073406-- active task using WorkItemStatus.dynamic_source_split), relative to the
@@ -4409,10 +4508,11 @@ instance ToJSON TaskRunnerSettings where
44094508-- /See:/ 'streamingComputationConfig' smart constructor.
44104509data StreamingComputationConfig =
44114510 StreamingComputationConfig'
4412− { _sccInstructions :: !(Maybe [ParallelInstruction])
4413− , _sccSystemName :: !(Maybe Text)
4414− , _sccComputationId :: !(Maybe Text)
4415− , _sccStageName :: !(Maybe Text)
4511+ { _sccInstructions :: !(Maybe [ParallelInstruction])
4512+ , _sccSystemName :: !(Maybe Text)
4513+ , _sccComputationId :: !(Maybe Text)
4514+ , _sccTransformUserNameToStateFamily :: !(Maybe StreamingComputationConfigTransformUserNameToStateFamily)
4515+ , _sccStageName :: !(Maybe Text)
44164516 }
44174517 deriving (Eq, Show, Data, Typeable, Generic)
44184518
@@ -4426,6 +4526,8 @@ data StreamingComputationConfig =
44264526--
44274527-- * 'sccComputationId'
44284528--
4529+-- * 'sccTransformUserNameToStateFamily'
4530+--
44294531-- * 'sccStageName'
44304532streamingComputationConfig
44314533 :: StreamingComputationConfig
@@ -4434,6 +4536,7 @@ streamingComputationConfig =
44344536 { _sccInstructions = Nothing
44354537 , _sccSystemName = Nothing
44364538 , _sccComputationId = Nothing
4539+ , _sccTransformUserNameToStateFamily = Nothing
44374540 , _sccStageName = Nothing
44384541 }
44394542
@@ -4457,6 +4560,13 @@ sccComputationId
44574560 = lens _sccComputationId
44584561 (\ s a -> s{_sccComputationId = a})
44594562
4563+-- | Map from user name of stateful transforms in this stage to their state
4564+-- family.
4565+sccTransformUserNameToStateFamily :: Lens' StreamingComputationConfig (Maybe StreamingComputationConfigTransformUserNameToStateFamily)
4566+sccTransformUserNameToStateFamily
4567+ = lens _sccTransformUserNameToStateFamily
4568+ (\ s a -> s{_sccTransformUserNameToStateFamily = a})
4569+
44604570-- | Stage name of this computation.
44614571sccStageName :: Lens' StreamingComputationConfig (Maybe Text)
44624572sccStageName
@@ -4470,6 +4580,7 @@ instance FromJSON StreamingComputationConfig where
44704580 (o .:? "instructions" .!= mempty) <*>
44714581 (o .:? "systemName")
44724582 <*> (o .:? "computationId")
4583+ <*> (o .:? "transformUserNameToStateFamily")
44734584 <*> (o .:? "stageName"))
44744585
44754586instance ToJSON StreamingComputationConfig where
@@ -4479,6 +4590,8 @@ instance ToJSON StreamingComputationConfig where
44794590 [("instructions" .=) <$> _sccInstructions,
44804591 ("systemName" .=) <$> _sccSystemName,
44814592 ("computationId" .=) <$> _sccComputationId,
4593+ ("transformUserNameToStateFamily" .=) <$>
4594+ _sccTransformUserNameToStateFamily,
44824595 ("stageName" .=) <$> _sccStageName])
44834596
44844597-- | The Cloud Dataflow SDK pipeline options specified by the user. These
@@ -4635,6 +4748,7 @@ data LeaseWorkItemRequest =
46354748 , _lwirCurrentWorkerTime :: !(Maybe DateTime')
46364749 , _lwirLocation :: !(Maybe Text)
46374750 , _lwirWorkerCapabilities :: !(Maybe [Text])
4751+ , _lwirUnifiedWorkerRequest :: !(Maybe LeaseWorkItemRequestUnifiedWorkerRequest)
46384752 , _lwirRequestedLeaseDuration :: !(Maybe GDuration)
46394753 , _lwirWorkerId :: !(Maybe Text)
46404754 }
@@ -4652,6 +4766,8 @@ data LeaseWorkItemRequest =
46524766--
46534767-- * 'lwirWorkerCapabilities'
46544768--
4769+-- * 'lwirUnifiedWorkerRequest'
4770+--
46554771-- * 'lwirRequestedLeaseDuration'
46564772--
46574773-- * 'lwirWorkerId'
@@ -4663,6 +4779,7 @@ leaseWorkItemRequest =
46634779 , _lwirCurrentWorkerTime = Nothing
46644780 , _lwirLocation = Nothing
46654781 , _lwirWorkerCapabilities = Nothing
4782+ , _lwirUnifiedWorkerRequest = Nothing
46664783 , _lwirRequestedLeaseDuration = Nothing
46674784 , _lwirWorkerId = Nothing
46684785 }
@@ -4696,6 +4813,12 @@ lwirWorkerCapabilities
46964813 . _Default
46974814 . _Coerce
46984815
4816+-- | Untranslated bag-of-bytes WorkRequest from UnifiedWorker.
4817+lwirUnifiedWorkerRequest :: Lens' LeaseWorkItemRequest (Maybe LeaseWorkItemRequestUnifiedWorkerRequest)
4818+lwirUnifiedWorkerRequest
4819+ = lens _lwirUnifiedWorkerRequest
4820+ (\ s a -> s{_lwirUnifiedWorkerRequest = a})
4821+
46994822-- | The initial lease period.
47004823lwirRequestedLeaseDuration :: Lens' LeaseWorkItemRequest (Maybe Scientific)
47014824lwirRequestedLeaseDuration
@@ -4718,6 +4841,7 @@ instance FromJSON LeaseWorkItemRequest where
47184841 (o .:? "currentWorkerTime")
47194842 <*> (o .:? "location")
47204843 <*> (o .:? "workerCapabilities" .!= mempty)
4844+ <*> (o .:? "unifiedWorkerRequest")
47214845 <*> (o .:? "requestedLeaseDuration")
47224846 <*> (o .:? "workerId"))
47234847
@@ -4730,6 +4854,8 @@ instance ToJSON LeaseWorkItemRequest where
47304854 ("location" .=) <$> _lwirLocation,
47314855 ("workerCapabilities" .=) <$>
47324856 _lwirWorkerCapabilities,
4857+ ("unifiedWorkerRequest" .=) <$>
4858+ _lwirUnifiedWorkerRequest,
47334859 ("requestedLeaseDuration" .=) <$>
47344860 _lwirRequestedLeaseDuration,
47354861 ("workerId" .=) <$> _lwirWorkerId])
@@ -7304,6 +7430,48 @@ instance ToJSON WorkerLifecycleEvent where
73047430 ("containerStartTime" .=) <$> _wleContainerStartTime,
73057431 ("metadata" .=) <$> _wleMetadata])
73067432
7433+-- | Untranslated bag-of-bytes WorkProgressUpdateResponse for UnifiedWorker.
7434+--
7435+-- /See:/ 'reportWorkItemStatusResponseUnifiedWorkerResponse' smart constructor.
7436+newtype ReportWorkItemStatusResponseUnifiedWorkerResponse =
7437+ ReportWorkItemStatusResponseUnifiedWorkerResponse'
7438+ { _rAddtional :: HashMap Text JSONValue
7439+ }
7440+ deriving (Eq, Show, Data, Typeable, Generic)
7441+
7442+-- | Creates a value of 'ReportWorkItemStatusResponseUnifiedWorkerResponse' with the minimum fields required to make a request.
7443+--
7444+-- Use one of the following lenses to modify other fields as desired:
7445+--
7446+-- * 'rAddtional'
7447+reportWorkItemStatusResponseUnifiedWorkerResponse
7448+ :: HashMap Text JSONValue -- ^ 'rAddtional'
7449+ -> ReportWorkItemStatusResponseUnifiedWorkerResponse
7450+reportWorkItemStatusResponseUnifiedWorkerResponse pRAddtional_ =
7451+ ReportWorkItemStatusResponseUnifiedWorkerResponse'
7452+ {_rAddtional = _Coerce # pRAddtional_}
7453+
7454+-- | Properties of the object. Contains field \'type with type URL.
7455+rAddtional :: Lens' ReportWorkItemStatusResponseUnifiedWorkerResponse (HashMap Text JSONValue)
7456+rAddtional
7457+ = lens _rAddtional (\ s a -> s{_rAddtional = a}) .
7458+ _Coerce
7459+
7460+instance FromJSON
7461+ ReportWorkItemStatusResponseUnifiedWorkerResponse
7462+ where
7463+ parseJSON
7464+ = withObject
7465+ "ReportWorkItemStatusResponseUnifiedWorkerResponse"
7466+ (\ o ->
7467+ ReportWorkItemStatusResponseUnifiedWorkerResponse'
7468+ <$> (parseJSONObject o))
7469+
7470+instance ToJSON
7471+ ReportWorkItemStatusResponseUnifiedWorkerResponse
7472+ where
7473+ toJSON = toJSON . _rAddtional
7474+
73077475-- | Additional user labels attached to the job.
73087476--
73097477-- /See:/ 'runtimeEnvironmentAdditionalUserLabels' smart constructor.
@@ -8847,9 +9015,10 @@ instance ToJSON SnapshotJobRequest where
88479015-- | Response from a request to report the status of WorkItems.
88489016--
88499017-- /See:/ 'reportWorkItemStatusResponse' smart constructor.
8850−newtype ReportWorkItemStatusResponse =
9018+data ReportWorkItemStatusResponse =
88519019 ReportWorkItemStatusResponse'
8852− { _rwisrWorkItemServiceStates :: Maybe [WorkItemServiceState]
9020+ { _rwisrWorkItemServiceStates :: !(Maybe [WorkItemServiceState])
9021+ , _rwisrUnifiedWorkerResponse :: !(Maybe ReportWorkItemStatusResponseUnifiedWorkerResponse)
88539022 }
88549023 deriving (Eq, Show, Data, Typeable, Generic)
88559024
@@ -8858,10 +9027,15 @@ newtype ReportWorkItemStatusResponse =
88589027-- Use one of the following lenses to modify other fields as desired:
88599028--
88609029-- * 'rwisrWorkItemServiceStates'
9030+--
9031+-- * 'rwisrUnifiedWorkerResponse'
88619032reportWorkItemStatusResponse
88629033 :: ReportWorkItemStatusResponse
88639034reportWorkItemStatusResponse =
8864− ReportWorkItemStatusResponse' {_rwisrWorkItemServiceStates = Nothing}
9035+ ReportWorkItemStatusResponse'
9036+ { _rwisrWorkItemServiceStates = Nothing
9037+ , _rwisrUnifiedWorkerResponse = Nothing
9038+ }
88659039
88669040-- | A set of messages indicating the service-side state for each WorkItem
88679041-- whose status was reported, in the same order as the WorkItemStatus
@@ -8874,19 +9048,28 @@ rwisrWorkItemServiceStates
88749048 . _Default
88759049 . _Coerce
88769050
9051+-- | Untranslated bag-of-bytes WorkProgressUpdateResponse for UnifiedWorker.
9052+rwisrUnifiedWorkerResponse :: Lens' ReportWorkItemStatusResponse (Maybe ReportWorkItemStatusResponseUnifiedWorkerResponse)
9053+rwisrUnifiedWorkerResponse
9054+ = lens _rwisrUnifiedWorkerResponse
9055+ (\ s a -> s{_rwisrUnifiedWorkerResponse = a})
9056+
88779057instance FromJSON ReportWorkItemStatusResponse where
88789058 parseJSON
88799059 = withObject "ReportWorkItemStatusResponse"
88809060 (\ o ->
88819061 ReportWorkItemStatusResponse' <$>
8882− (o .:? "workItemServiceStates" .!= mempty))
9062+ (o .:? "workItemServiceStates" .!= mempty) <*>
9063+ (o .:? "unifiedWorkerResponse"))
88839064
88849065instance ToJSON ReportWorkItemStatusResponse where
88859066 toJSON ReportWorkItemStatusResponse'{..}
88869067 = object
88879068 (catMaybes
88889069 [("workItemServiceStates" .=) <$>
8889− _rwisrWorkItemServiceStates])
9070+ _rwisrWorkItemServiceStates,
9071+ ("unifiedWorkerResponse" .=) <$>
9072+ _rwisrUnifiedWorkerResponse])
88909073
88919074-- | DEPRECATED in favor of DynamicSourceSplit.
88929075--
@@ -9722,6 +9905,48 @@ instance ToJSON PartialGroupByKeyInstruction where
97229905 ("originalCombineValuesInputStoreName" .=) <$>
97239906 _pgbkiOriginalCombineValuesInputStoreName])
97249907
9908+-- | Untranslated bag-of-bytes WorkResponse for UnifiedWorker.
9909+--
9910+-- /See:/ 'leaseWorkItemResponseUnifiedWorkerResponse' smart constructor.
9911+newtype LeaseWorkItemResponseUnifiedWorkerResponse =
9912+ LeaseWorkItemResponseUnifiedWorkerResponse'
9913+ { _lAddtional :: HashMap Text JSONValue
9914+ }
9915+ deriving (Eq, Show, Data, Typeable, Generic)
9916+
9917+-- | Creates a value of 'LeaseWorkItemResponseUnifiedWorkerResponse' with the minimum fields required to make a request.
9918+--
9919+-- Use one of the following lenses to modify other fields as desired:
9920+--
9921+-- * 'lAddtional'
9922+leaseWorkItemResponseUnifiedWorkerResponse
9923+ :: HashMap Text JSONValue -- ^ 'lAddtional'
9924+ -> LeaseWorkItemResponseUnifiedWorkerResponse
9925+leaseWorkItemResponseUnifiedWorkerResponse pLAddtional_ =
9926+ LeaseWorkItemResponseUnifiedWorkerResponse'
9927+ {_lAddtional = _Coerce # pLAddtional_}
9928+
9929+-- | Properties of the object. Contains field \'type with type URL.
9930+lAddtional :: Lens' LeaseWorkItemResponseUnifiedWorkerResponse (HashMap Text JSONValue)
9931+lAddtional
9932+ = lens _lAddtional (\ s a -> s{_lAddtional = a}) .
9933+ _Coerce
9934+
9935+instance FromJSON
9936+ LeaseWorkItemResponseUnifiedWorkerResponse
9937+ where
9938+ parseJSON
9939+ = withObject
9940+ "LeaseWorkItemResponseUnifiedWorkerResponse"
9941+ (\ o ->
9942+ LeaseWorkItemResponseUnifiedWorkerResponse' <$>
9943+ (parseJSONObject o))
9944+
9945+instance ToJSON
9946+ LeaseWorkItemResponseUnifiedWorkerResponse
9947+ where
9948+ toJSON = toJSON . _lAddtional
9949+
97259950-- | An instruction that does a ParDo operation. Takes one main input and
97269951-- zero or more side inputs, and produces zero or more outputs. Runs user
97279952-- code.
@@ -10485,6 +10710,49 @@ instance ToJSON ComponentTransform where
1048510710 ("userName" .=) <$> _ctUserName,
1048610711 ("name" .=) <$> _ctName])
1048710712
10713+-- | Map from user name of stateful transforms in this stage to their state
10714+-- family.
10715+--
10716+-- /See:/ 'streamingComputationConfigTransformUserNameToStateFamily' smart constructor.
10717+newtype StreamingComputationConfigTransformUserNameToStateFamily =
10718+ StreamingComputationConfigTransformUserNameToStateFamily'
10719+ { _scctuntsfAddtional :: HashMap Text Text
10720+ }
10721+ deriving (Eq, Show, Data, Typeable, Generic)
10722+
10723+-- | Creates a value of 'StreamingComputationConfigTransformUserNameToStateFamily' with the minimum fields required to make a request.
10724+--
10725+-- Use one of the following lenses to modify other fields as desired:
10726+--
10727+-- * 'scctuntsfAddtional'
10728+streamingComputationConfigTransformUserNameToStateFamily
10729+ :: HashMap Text Text -- ^ 'scctuntsfAddtional'
10730+ -> StreamingComputationConfigTransformUserNameToStateFamily
10731+streamingComputationConfigTransformUserNameToStateFamily pScctuntsfAddtional_ =
10732+ StreamingComputationConfigTransformUserNameToStateFamily'
10733+ {_scctuntsfAddtional = _Coerce # pScctuntsfAddtional_}
10734+
10735+scctuntsfAddtional :: Lens' StreamingComputationConfigTransformUserNameToStateFamily (HashMap Text Text)
10736+scctuntsfAddtional
10737+ = lens _scctuntsfAddtional
10738+ (\ s a -> s{_scctuntsfAddtional = a})
10739+ . _Coerce
10740+
10741+instance FromJSON
10742+ StreamingComputationConfigTransformUserNameToStateFamily
10743+ where
10744+ parseJSON
10745+ = withObject
10746+ "StreamingComputationConfigTransformUserNameToStateFamily"
10747+ (\ o ->
10748+ StreamingComputationConfigTransformUserNameToStateFamily'
10749+ <$> (parseJSONObject o))
10750+
10751+instance ToJSON
10752+ StreamingComputationConfigTransformUserNameToStateFamily
10753+ where
10754+ toJSON = toJSON . _scctuntsfAddtional
10755+
1048810756-- | Additional information about how a Cloud Dataflow job will be executed
1048910757-- that isn\'t contained in the submitted job.
1049010758--
@@ -11541,9 +11809,10 @@ instance ToJSON SpannerIODetails where
1154111809-- | Response to a request to lease WorkItems.
1154211810--
1154311811-- /See:/ 'leaseWorkItemResponse' smart constructor.
11544−newtype LeaseWorkItemResponse =
11812+data LeaseWorkItemResponse =
1154511813 LeaseWorkItemResponse'
11546− { _lwirWorkItems :: Maybe [WorkItem]
11814+ { _lwirWorkItems :: !(Maybe [WorkItem])
11815+ , _lwirUnifiedWorkerResponse :: !(Maybe LeaseWorkItemResponseUnifiedWorkerResponse)
1154711816 }
1154811817 deriving (Eq, Show, Data, Typeable, Generic)
1154911818
@@ -11552,9 +11821,13 @@ newtype LeaseWorkItemResponse =
1155211821-- Use one of the following lenses to modify other fields as desired:
1155311822--
1155411823-- * 'lwirWorkItems'
11824+--
11825+-- * 'lwirUnifiedWorkerResponse'
1155511826leaseWorkItemResponse
1155611827 :: LeaseWorkItemResponse
11557−leaseWorkItemResponse = LeaseWorkItemResponse' {_lwirWorkItems = Nothing}
11828+leaseWorkItemResponse =
11829+ LeaseWorkItemResponse'
11830+ {_lwirWorkItems = Nothing, _lwirUnifiedWorkerResponse = Nothing}
1155811831
1155911832-- | A list of the leased WorkItems.
1156011833lwirWorkItems :: Lens' LeaseWorkItemResponse [WorkItem]
@@ -11564,17 +11837,27 @@ lwirWorkItems
1156411837 . _Default
1156511838 . _Coerce
1156611839
11840+-- | Untranslated bag-of-bytes WorkResponse for UnifiedWorker.
11841+lwirUnifiedWorkerResponse :: Lens' LeaseWorkItemResponse (Maybe LeaseWorkItemResponseUnifiedWorkerResponse)
11842+lwirUnifiedWorkerResponse
11843+ = lens _lwirUnifiedWorkerResponse
11844+ (\ s a -> s{_lwirUnifiedWorkerResponse = a})
11845+
1156711846instance FromJSON LeaseWorkItemResponse where
1156811847 parseJSON
1156911848 = withObject "LeaseWorkItemResponse"
1157011849 (\ o ->
1157111850 LeaseWorkItemResponse' <$>
11572− (o .:? "workItems" .!= mempty))
11851+ (o .:? "workItems" .!= mempty) <*>
11852+ (o .:? "unifiedWorkerResponse"))
1157311853
1157411854instance ToJSON LeaseWorkItemResponse where
1157511855 toJSON LeaseWorkItemResponse'{..}
1157611856 = object
11577− (catMaybes [("workItems" .=) <$> _lwirWorkItems])
11857+ (catMaybes
11858+ [("workItems" .=) <$> _lwirWorkItems,
11859+ ("unifiedWorkerResponse" .=) <$>
11860+ _lwirUnifiedWorkerResponse])
1157811861
1157911862-- | Position defines a position within a collection of data. The value can
1158011863-- be either the end position, a key (used with ordered collections), a
gogol-dataflow/gogol-dataflow.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-dataflow
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Dataflow SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -72,5 +72,5 @@ library
7272 , Network.Google.Dataflow.Types.Sum
7373
7474 build-depends:
75− gogol-core == 0.4.0.*
75+ gogol-core == 0.5.0.*
7676 , base >= 4.7 && < 5
gogol-dataproc/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-dataproc/gogol-dataproc.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-dataproc
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Dataproc SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -86,5 +86,5 @@ library
8686 , Network.Google.Dataproc.Types.Sum
8787
8888 build-depends:
89− gogol-core == 0.4.0.*
89+ gogol-core == 0.5.0.*
9090 , base >= 4.7 && < 5
gogol-datastore/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-datastore/gogol-datastore.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-datastore
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Datastore SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -57,5 +57,5 @@ library
5757 , Network.Google.Datastore.Types.Sum
5858
5959 build-depends:
60− gogol-core == 0.4.0.*
60+ gogol-core == 0.5.0.*
6161 , base >= 4.7 && < 5
gogol-debugger/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-debugger/gogol-debugger.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-debugger
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Stackdriver Debugger SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -50,5 +50,5 @@ library
5050 , Network.Google.Debugger.Types.Sum
5151
5252 build-depends:
53− gogol-core == 0.4.0.*
53+ gogol-core == 0.5.0.*
5454 , base >= 4.7 && < 5
gogol-deploymentmanager/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-deploymentmanager/gogol-deploymentmanager.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-deploymentmanager
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Deployment Manager SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -60,5 +60,5 @@ library
6060 , Network.Google.DeploymentManager.Types.Sum
6161
6262 build-depends:
63− gogol-core == 0.4.0.*
63+ gogol-core == 0.5.0.*
6464 , base >= 4.7 && < 5
gogol-dfareporting/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySiteContacts/Get.hsdeleted−103
@@ -1,103 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.DFAReporting.DirectorySiteContacts.Get
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets one directory site contact by ID.
24−--
25−-- /See:/ <https://developers.google.com/doubleclick-advertisers/ DCM/DFA Reporting And Trafficking API Reference> for @dfareporting.directorySiteContacts.get@.
26−module Network.Google.Resource.DFAReporting.DirectorySiteContacts.Get
27− (
28− -- * REST Resource
29− DirectorySiteContactsGetResource
30−
31− -- * Creating a Request
32− , directorySiteContactsGet
33− , DirectorySiteContactsGet
34−
35− -- * Request Lenses
36− , dscgProFileId
37− , dscgId
38− ) where
39−
40−import Network.Google.DFAReporting.Types
41−import Network.Google.Prelude
42−
43−-- | A resource alias for @dfareporting.directorySiteContacts.get@ method which the
44−-- 'DirectorySiteContactsGet' request conforms to.
45−type DirectorySiteContactsGetResource =
46− "dfareporting" :>
47− "v3.2" :>
48− "userprofiles" :>
49− Capture "profileId" (Textual Int64) :>
50− "directorySiteContacts" :>
51− Capture "id" (Textual Int64) :>
52− QueryParam "alt" AltJSON :>
53− Get '[JSON] DirectorySiteContact
54−
55−-- | Gets one directory site contact by ID.
56−--
57−-- /See:/ 'directorySiteContactsGet' smart constructor.
58−data DirectorySiteContactsGet = DirectorySiteContactsGet'
59− { _dscgProFileId :: !(Textual Int64)
60− , _dscgId :: !(Textual Int64)
61− } deriving (Eq,Show,Data,Typeable,Generic)
62−
63−-- | Creates a value of 'DirectorySiteContactsGet' with the minimum fields required to make a request.
64−--
65−-- Use one of the following lenses to modify other fields as desired:
66−--
67−-- * 'dscgProFileId'
68−--
69−-- * 'dscgId'
70−directorySiteContactsGet
71− :: Int64 -- ^ 'dscgProFileId'
72− -> Int64 -- ^ 'dscgId'
73− -> DirectorySiteContactsGet
74−directorySiteContactsGet pDscgProFileId_ pDscgId_ =
75− DirectorySiteContactsGet'
76− { _dscgProFileId = _Coerce # pDscgProFileId_
77− , _dscgId = _Coerce # pDscgId_
78− }
79−
80−-- | User profile ID associated with this request.
81−dscgProFileId :: Lens' DirectorySiteContactsGet Int64
82−dscgProFileId
83− = lens _dscgProFileId
84− (\ s a -> s{_dscgProFileId = a})
85− . _Coerce
86−
87−-- | Directory site contact ID.
88−dscgId :: Lens' DirectorySiteContactsGet Int64
89−dscgId
90− = lens _dscgId (\ s a -> s{_dscgId = a}) . _Coerce
91−
92−instance GoogleRequest DirectorySiteContactsGet where
93− type Rs DirectorySiteContactsGet =
94− DirectorySiteContact
95− type Scopes DirectorySiteContactsGet =
96− '["https://www.googleapis.com/auth/dfatrafficking"]
97− requestClient DirectorySiteContactsGet'{..}
98− = go _dscgProFileId _dscgId (Just AltJSON)
99− dFAReportingService
100− where go
101− = buildClient
102− (Proxy :: Proxy DirectorySiteContactsGetResource)
103− mempty
gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySiteContacts/List.hsdeleted−201
@@ -1,201 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.DFAReporting.DirectorySiteContacts.List
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Retrieves a list of directory site contacts, possibly filtered. This
24−-- method supports paging.
25−--
26−-- /See:/ <https://developers.google.com/doubleclick-advertisers/ DCM/DFA Reporting And Trafficking API Reference> for @dfareporting.directorySiteContacts.list@.
27−module Network.Google.Resource.DFAReporting.DirectorySiteContacts.List
28− (
29− -- * REST Resource
30− DirectorySiteContactsListResource
31−
32− -- * Creating a Request
33− , directorySiteContactsList
34− , DirectorySiteContactsList
35−
36− -- * Request Lenses
37− , dsclSearchString
38− , dsclIds
39− , dsclProFileId
40− , dsclDirectorySiteIds
41− , dsclSortOrder
42− , dsclPageToken
43− , dsclSortField
44− , dsclMaxResults
45− ) where
46−
47−import Network.Google.DFAReporting.Types
48−import Network.Google.Prelude
49−
50−-- | A resource alias for @dfareporting.directorySiteContacts.list@ method which the
51−-- 'DirectorySiteContactsList' request conforms to.
52−type DirectorySiteContactsListResource =
53− "dfareporting" :>
54− "v3.2" :>
55− "userprofiles" :>
56− Capture "profileId" (Textual Int64) :>
57− "directorySiteContacts" :>
58− QueryParam "searchString" Text :>
59− QueryParams "ids" (Textual Int64) :>
60− QueryParams "directorySiteIds" (Textual Int64) :>
61− QueryParam "sortOrder"
62− DirectorySiteContactsListSortOrder
63− :>
64− QueryParam "pageToken" Text :>
65− QueryParam "sortField"
66− DirectorySiteContactsListSortField
67− :>
68− QueryParam "maxResults" (Textual Int32) :>
69− QueryParam "alt" AltJSON :>
70− Get '[JSON] DirectorySiteContactsListResponse
71−
72−-- | Retrieves a list of directory site contacts, possibly filtered. This
73−-- method supports paging.
74−--
75−-- /See:/ 'directorySiteContactsList' smart constructor.
76−data DirectorySiteContactsList = DirectorySiteContactsList'
77− { _dsclSearchString :: !(Maybe Text)
78− , _dsclIds :: !(Maybe [Textual Int64])
79− , _dsclProFileId :: !(Textual Int64)
80− , _dsclDirectorySiteIds :: !(Maybe [Textual Int64])
81− , _dsclSortOrder :: !DirectorySiteContactsListSortOrder
82− , _dsclPageToken :: !(Maybe Text)
83− , _dsclSortField :: !DirectorySiteContactsListSortField
84− , _dsclMaxResults :: !(Textual Int32)
85− } deriving (Eq,Show,Data,Typeable,Generic)
86−
87−-- | Creates a value of 'DirectorySiteContactsList' with the minimum fields required to make a request.
88−--
89−-- Use one of the following lenses to modify other fields as desired:
90−--
91−-- * 'dsclSearchString'
92−--
93−-- * 'dsclIds'
94−--
95−-- * 'dsclProFileId'
96−--
97−-- * 'dsclDirectorySiteIds'
98−--
99−-- * 'dsclSortOrder'
100−--
101−-- * 'dsclPageToken'
102−--
103−-- * 'dsclSortField'
104−--
105−-- * 'dsclMaxResults'
106−directorySiteContactsList
107− :: Int64 -- ^ 'dsclProFileId'
108− -> DirectorySiteContactsList
109−directorySiteContactsList pDsclProFileId_ =
110− DirectorySiteContactsList'
111− { _dsclSearchString = Nothing
112− , _dsclIds = Nothing
113− , _dsclProFileId = _Coerce # pDsclProFileId_
114− , _dsclDirectorySiteIds = Nothing
115− , _dsclSortOrder = DSCLSOAscending
116− , _dsclPageToken = Nothing
117− , _dsclSortField = DSCLSFID
118− , _dsclMaxResults = 1000
119− }
120−
121−-- | Allows searching for objects by name, ID or email. Wildcards (*) are
122−-- allowed. For example, \"directory site contact*2015\" will return
123−-- objects with names like \"directory site contact June 2015\",
124−-- \"directory site contact April 2015\", or simply \"directory site
125−-- contact 2015\". Most of the searches also add wildcards implicitly at
126−-- the start and the end of the search string. For example, a search string
127−-- of \"directory site contact\" will match objects with name \"my
128−-- directory site contact\", \"directory site contact 2015\", or simply
129−-- \"directory site contact\".
130−dsclSearchString :: Lens' DirectorySiteContactsList (Maybe Text)
131−dsclSearchString
132− = lens _dsclSearchString
133− (\ s a -> s{_dsclSearchString = a})
134−
135−-- | Select only directory site contacts with these IDs.
136−dsclIds :: Lens' DirectorySiteContactsList [Int64]
137−dsclIds
138− = lens _dsclIds (\ s a -> s{_dsclIds = a}) . _Default
139− . _Coerce
140−
141−-- | User profile ID associated with this request.
142−dsclProFileId :: Lens' DirectorySiteContactsList Int64
143−dsclProFileId
144− = lens _dsclProFileId
145− (\ s a -> s{_dsclProFileId = a})
146− . _Coerce
147−
148−-- | Select only directory site contacts with these directory site IDs. This
149−-- is a required field.
150−dsclDirectorySiteIds :: Lens' DirectorySiteContactsList [Int64]
151−dsclDirectorySiteIds
152− = lens _dsclDirectorySiteIds
153− (\ s a -> s{_dsclDirectorySiteIds = a})
154− . _Default
155− . _Coerce
156−
157−-- | Order of sorted results.
158−dsclSortOrder :: Lens' DirectorySiteContactsList DirectorySiteContactsListSortOrder
159−dsclSortOrder
160− = lens _dsclSortOrder
161− (\ s a -> s{_dsclSortOrder = a})
162−
163−-- | Value of the nextPageToken from the previous result page.
164−dsclPageToken :: Lens' DirectorySiteContactsList (Maybe Text)
165−dsclPageToken
166− = lens _dsclPageToken
167− (\ s a -> s{_dsclPageToken = a})
168−
169−-- | Field by which to sort the list.
170−dsclSortField :: Lens' DirectorySiteContactsList DirectorySiteContactsListSortField
171−dsclSortField
172− = lens _dsclSortField
173− (\ s a -> s{_dsclSortField = a})
174−
175−-- | Maximum number of results to return.
176−dsclMaxResults :: Lens' DirectorySiteContactsList Int32
177−dsclMaxResults
178− = lens _dsclMaxResults
179− (\ s a -> s{_dsclMaxResults = a})
180− . _Coerce
181−
182−instance GoogleRequest DirectorySiteContactsList
183− where
184− type Rs DirectorySiteContactsList =
185− DirectorySiteContactsListResponse
186− type Scopes DirectorySiteContactsList =
187− '["https://www.googleapis.com/auth/dfatrafficking"]
188− requestClient DirectorySiteContactsList'{..}
189− = go _dsclProFileId _dsclSearchString
190− (_dsclIds ^. _Default)
191− (_dsclDirectorySiteIds ^. _Default)
192− (Just _dsclSortOrder)
193− _dsclPageToken
194− (Just _dsclSortField)
195− (Just _dsclMaxResults)
196− (Just AltJSON)
197− dFAReportingService
198− where go
199− = buildClient
200− (Proxy :: Proxy DirectorySiteContactsListResource)
201− mempty
gogol-dfareporting/gogol-dfareporting.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-dfareporting
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google DCM/DFA Reporting And Trafficking SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -245,5 +245,5 @@ library
245245 , Network.Google.DFAReporting.Types.Sum
246246
247247 build-depends:
248− gogol-core == 0.4.0.*
248+ gogol-core == 0.5.0.*
249249 , base >= 4.7 && < 5
gogol-dialogflow/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-dialogflow/gen/Network/Google/DialogFlow/Types/Product.hs+60−46
@@ -586,7 +586,8 @@ instance ToJSON
586586-- | Events allow for matching intents by event name instead of the natural
587587-- language input. For instance, input \`\` can trigger a personalized
588588-- welcome response. The parameter \`name\` may be used by the agent in the
589−-- response: \`“Hello #welcome_event.name! What can I do for you today?”\`.
589+-- response: \`\"Hello #welcome_event.name! What can I do for you
590+-- today?\"\`.
590591--
591592-- /See:/ 'googleCloudDialogflowV2EventInput' smart constructor.
592593data GoogleCloudDialogflowV2EventInput =
@@ -768,7 +769,7 @@ instance ToJSON GoogleLongrunningOperationMetadata
768769 where
769770 toJSON = toJSON . _glomAddtional
770771
771−-- | Represents an example or template that the agent is trained on.
772+-- | Represents an example that the agent is trained on.
772773--
773774-- /See:/ 'googleCloudDialogflowV2IntentTrainingPhrase' smart constructor.
774775data GoogleCloudDialogflowV2IntentTrainingPhrase =
@@ -815,9 +816,9 @@ gcdvitpName :: Lens' GoogleCloudDialogflowV2IntentTrainingPhrase (Maybe Text)
815816gcdvitpName
816817 = lens _gcdvitpName (\ s a -> s{_gcdvitpName = a})
817818
818−-- | Optional. Indicates how many times this example or template was added to
819−-- the intent. Each time a developer adds an existing sample by editing an
820−-- intent or training, this counter is increased.
819+-- | Optional. Indicates how many times this example was added to the intent.
820+-- Each time a developer adds an existing sample by editing an intent or
821+-- training, this counter is increased.
821822gcdvitpTimesAddedCount :: Lens' GoogleCloudDialogflowV2IntentTrainingPhrase (Maybe Int32)
822823gcdvitpTimesAddedCount
823824 = lens _gcdvitpTimesAddedCount
@@ -1219,8 +1220,8 @@ gcdviRootFollowupIntentName
12191220 = lens _gcdviRootFollowupIntentName
12201221 (\ s a -> s{_gcdviRootFollowupIntentName = a})
12211222
1222−-- | Required for all methods except \`create\` (\`create\` populates the
1223−-- name automatically. The unique identifier of this intent. Format:
1223+-- | The unique identifier of this intent. Required for Intents.UpdateIntent
1224+-- and Intents.BatchUpdateIntents methods. Format:
12241225-- \`projects\/\/agent\/intents\/\`.
12251226gcdviName :: Lens' GoogleCloudDialogflowV2Intent (Maybe Text)
12261227gcdviName
@@ -1289,8 +1290,7 @@ gcdviOutputContexts
12891290 . _Default
12901291 . _Coerce
12911292
1292−-- | Optional. The collection of examples\/templates that the agent is
1293−-- trained on.
1293+-- | Optional. The collection of examples that the agent is trained on.
12941294gcdviTrainingPhrases :: Lens' GoogleCloudDialogflowV2Intent [GoogleCloudDialogflowV2IntentTrainingPhrase]
12951295gcdviTrainingPhrases
12961296 = lens _gcdviTrainingPhrases
@@ -1737,7 +1737,8 @@ gcdvqrQueryText
17371737 = lens _gcdvqrQueryText
17381738 (\ s a -> s{_gcdvqrQueryText = a})
17391739
1740−-- | The text to be pronounced to the user or shown on the screen.
1740+-- | The text to be pronounced to the user or shown on the screen. Note: This
1741+-- is a legacy field, \`fulfillment_messages\` should be preferred.
17411742gcdvqrFulfillmentText :: Lens' GoogleCloudDialogflowV2QueryResult (Maybe Text)
17421743gcdvqrFulfillmentText
17431744 = lens _gcdvqrFulfillmentText
@@ -2622,9 +2623,9 @@ googleCloudDialogflowV2IntentTrainingPhrasePart =
26222623 , _gcdvitppAlias = Nothing
26232624 }
26242625
2625−-- | Required. The text corresponding to the example or template, if there
2626−-- are no annotations. For annotated examples, it is the text for one of
2627−-- the example\'s parts.
2626+-- | Required. The text corresponding to the example, if there are no
2627+-- annotations. For annotated examples, it is the text for one of the
2628+-- example\'s parts.
26282629gcdvitppText :: Lens' GoogleCloudDialogflowV2IntentTrainingPhrasePart (Maybe Text)
26292630gcdvitppText
26302631 = lens _gcdvitppText (\ s a -> s{_gcdvitppText = a})
@@ -4255,7 +4256,7 @@ instance ToJSON
42554256 ("title" .=) <$> _gcdvimbccTitle,
42564257 ("formattedText" .=) <$> _gcdvimbccFormattedText])
42574258
4258−-- | Represents an example or template that the agent is trained on.
4259+-- | Represents an example that the agent is trained on.
42594260--
42604261-- /See:/ 'googleCloudDialogflowV2beta1IntentTrainingPhrase' smart constructor.
42614262data GoogleCloudDialogflowV2beta1IntentTrainingPhrase =
@@ -4300,9 +4301,9 @@ gParts
43004301gName :: Lens' GoogleCloudDialogflowV2beta1IntentTrainingPhrase (Maybe Text)
43014302gName = lens _gName (\ s a -> s{_gName = a})
43024303
4303−-- | Optional. Indicates how many times this example or template was added to
4304−-- the intent. Each time a developer adds an existing sample by editing an
4305−-- intent or training, this counter is increased.
4304+-- | Optional. Indicates how many times this example was added to the intent.
4305+-- Each time a developer adds an existing sample by editing an intent or
4306+-- training, this counter is increased.
43064307gTimesAddedCount :: Lens' GoogleCloudDialogflowV2beta1IntentTrainingPhrase (Maybe Int32)
43074308gTimesAddedCount
43084309 = lens _gTimesAddedCount
@@ -4449,7 +4450,8 @@ instance ToJSON
44494450-- | Events allow for matching intents by event name instead of the natural
44504451-- language input. For instance, input \`\` can trigger a personalized
44514452-- welcome response. The parameter \`name\` may be used by the agent in the
4452−-- response: \`“Hello #welcome_event.name! What can I do for you today?”\`.
4453+-- response: \`\"Hello #welcome_event.name! What can I do for you
4454+-- today?\"\`.
44534455--
44544456-- /See:/ 'googleCloudDialogflowV2beta1EventInput' smart constructor.
44554457data GoogleCloudDialogflowV2beta1EventInput =
@@ -6289,7 +6291,7 @@ instance ToJSON
62896291 = object
62906292 (catMaybes [("title" .=) <$> _gcdvimscTitle])
62916293
6292−-- | Optional. Represents an entity.
6294+-- | An **entity entry** for an associated entity type.
62936295--
62946296-- /See:/ 'googleCloudDialogflowV2beta1EntityTypeEntity' smart constructor.
62956297data GoogleCloudDialogflowV2beta1EntityTypeEntity =
@@ -6312,15 +6314,20 @@ googleCloudDialogflowV2beta1EntityTypeEntity =
63126314 GoogleCloudDialogflowV2beta1EntityTypeEntity'
63136315 {_gcdveteValue = Nothing, _gcdveteSynonyms = Nothing}
63146316
6315−-- | Required. For \`KIND_MAP\` entity types: A canonical name to be used in
6316−-- place of synonyms. For \`KIND_LIST\` entity types: A string that can
6317−-- contain references to other entity types (with or without aliases).
6317+-- | Required. The primary value associated with this entity entry. For
6318+-- example, if the entity type is *vegetable*, the value could be
6319+-- *scallions*. For \`KIND_MAP\` entity types: * A canonical value to be
6320+-- used in place of synonyms. For \`KIND_LIST\` entity types: * A string
6321+-- that can contain references to other entity types (with or without
6322+-- aliases).
63186323gcdveteValue :: Lens' GoogleCloudDialogflowV2beta1EntityTypeEntity (Maybe Text)
63196324gcdveteValue
63206325 = lens _gcdveteValue (\ s a -> s{_gcdveteValue = a})
63216326
6322−-- | Required. A collection of synonyms. For \`KIND_LIST\` entity types this
6323−-- must contain exactly one synonym equal to \`value\`.
6327+-- | Required. A collection of value synonyms. For example, if the entity
6328+-- type is *vegetable*, and \`value\` is *scallions*, a synonym could be
6329+-- *green onions*. For \`KIND_LIST\` entity types: * This collection must
6330+-- contain exactly one synonym equal to \`value\`.
63246331gcdveteSynonyms :: Lens' GoogleCloudDialogflowV2beta1EntityTypeEntity [Text]
63256332gcdveteSynonyms
63266333 = lens _gcdveteSynonyms
@@ -6386,7 +6393,8 @@ googleCloudDialogflowV2EntityType =
63866393 , _gcdvetDisplayName = Nothing
63876394 }
63886395
6389−-- | Optional. The collection of entities associated with the entity type.
6396+-- | Optional. The collection of entity entries associated with the entity
6397+-- type.
63906398gcdvetEntities :: Lens' GoogleCloudDialogflowV2EntityType [GoogleCloudDialogflowV2EntityTypeEntity]
63916399gcdvetEntities
63926400 = lens _gcdvetEntities
@@ -6399,9 +6407,9 @@ gcdvetKind :: Lens' GoogleCloudDialogflowV2EntityType (Maybe GoogleCloudDialogfl
63996407gcdvetKind
64006408 = lens _gcdvetKind (\ s a -> s{_gcdvetKind = a})
64016409
6402−-- | Required for all methods except \`create\` (\`create\` populates the
6403−-- name automatically. The unique identifier of the entity type. Format:
6404−-- \`projects\/\/agent\/entityTypes\/\`.
6410+-- | The unique identifier of the entity type. Required for
6411+-- EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
6412+-- methods. Format: \`projects\/\/agent\/entityTypes\/\`.
64056413gcdvetName :: Lens' GoogleCloudDialogflowV2EntityType (Maybe Text)
64066414gcdvetName
64076415 = lens _gcdvetName (\ s a -> s{_gcdvetName = a})
@@ -7449,9 +7457,9 @@ googleCloudDialogflowV2beta1IntentTrainingPhrasePart =
74497457 , _gcdvitppcAlias = Nothing
74507458 }
74517459
7452−-- | Required. The text corresponding to the example or template, if there
7453−-- are no annotations. For annotated examples, it is the text for one of
7454−-- the example\'s parts.
7460+-- | Required. The text corresponding to the example, if there are no
7461+-- annotations. For annotated examples, it is the text for one of the
7462+-- example\'s parts.
74557463gcdvitppcText :: Lens' GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart (Maybe Text)
74567464gcdvitppcText
74577465 = lens _gcdvitppcText
@@ -7817,7 +7825,7 @@ instance ToJSON
78177825 ("entities" .=) <$> _gcdvSetEntities,
78187826 ("name" .=) <$> _gcdvSetName])
78197827
7820−-- | Optional. Represents an entity.
7828+-- | An **entity entry** for an associated entity type.
78217829--
78227830-- /See:/ 'googleCloudDialogflowV2EntityTypeEntity' smart constructor.
78237831data GoogleCloudDialogflowV2EntityTypeEntity =
@@ -7840,14 +7848,19 @@ googleCloudDialogflowV2EntityTypeEntity =
78407848 GoogleCloudDialogflowV2EntityTypeEntity'
78417849 {_gValue = Nothing, _gSynonyms = Nothing}
78427850
7843−-- | Required. For \`KIND_MAP\` entity types: A canonical name to be used in
7844−-- place of synonyms. For \`KIND_LIST\` entity types: A string that can
7845−-- contain references to other entity types (with or without aliases).
7851+-- | Required. The primary value associated with this entity entry. For
7852+-- example, if the entity type is *vegetable*, the value could be
7853+-- *scallions*. For \`KIND_MAP\` entity types: * A canonical value to be
7854+-- used in place of synonyms. For \`KIND_LIST\` entity types: * A string
7855+-- that can contain references to other entity types (with or without
7856+-- aliases).
78467857gValue :: Lens' GoogleCloudDialogflowV2EntityTypeEntity (Maybe Text)
78477858gValue = lens _gValue (\ s a -> s{_gValue = a})
78487859
7849−-- | Required. A collection of synonyms. For \`KIND_LIST\` entity types this
7850−-- must contain exactly one synonym equal to \`value\`.
7860+-- | Required. A collection of value synonyms. For example, if the entity
7861+-- type is *vegetable*, and \`value\` is *scallions*, a synonym could be
7862+-- *green onions*. For \`KIND_LIST\` entity types: * This collection must
7863+-- contain exactly one synonym equal to \`value\`.
78517864gSynonyms :: Lens' GoogleCloudDialogflowV2EntityTypeEntity [Text]
78527865gSynonyms
78537866 = lens _gSynonyms (\ s a -> s{_gSynonyms = a}) .
@@ -8037,7 +8050,8 @@ gQueryText :: Lens' GoogleCloudDialogflowV2beta1QueryResult (Maybe Text)
80378050gQueryText
80388051 = lens _gQueryText (\ s a -> s{_gQueryText = a})
80398052
8040−-- | The text to be pronounced to the user or shown on the screen.
8053+-- | The text to be pronounced to the user or shown on the screen. Note: This
8054+-- is a legacy field, \`fulfillment_messages\` should be preferred.
80418055gFulfillmentText :: Lens' GoogleCloudDialogflowV2beta1QueryResult (Maybe Text)
80428056gFulfillmentText
80438057 = lens _gFulfillmentText
@@ -8427,7 +8441,8 @@ googleCloudDialogflowV2beta1EntityType =
84278441 , _gcdvetcDisplayName = Nothing
84288442 }
84298443
8430−-- | Optional. The collection of entities associated with the entity type.
8444+-- | Optional. The collection of entity entries associated with the entity
8445+-- type.
84318446gcdvetcEntities :: Lens' GoogleCloudDialogflowV2beta1EntityType [GoogleCloudDialogflowV2beta1EntityTypeEntity]
84328447gcdvetcEntities
84338448 = lens _gcdvetcEntities
@@ -8440,9 +8455,9 @@ gcdvetcKind :: Lens' GoogleCloudDialogflowV2beta1EntityType (Maybe GoogleCloudDi
84408455gcdvetcKind
84418456 = lens _gcdvetcKind (\ s a -> s{_gcdvetcKind = a})
84428457
8443−-- | Required for all methods except \`create\` (\`create\` populates the
8444−-- name automatically. The unique identifier of the entity type. Format:
8445−-- \`projects\/\/agent\/entityTypes\/\`.
8458+-- | The unique identifier of the entity type. Required for
8459+-- EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
8460+-- methods. Format: \`projects\/\/agent\/entityTypes\/\`.
84468461gcdvetcName :: Lens' GoogleCloudDialogflowV2beta1EntityType (Maybe Text)
84478462gcdvetcName
84488463 = lens _gcdvetcName (\ s a -> s{_gcdvetcName = a})
@@ -9126,8 +9141,8 @@ gcdvicRootFollowupIntentName
91269141 = lens _gcdvicRootFollowupIntentName
91279142 (\ s a -> s{_gcdvicRootFollowupIntentName = a})
91289143
9129−-- | Required for all methods except \`create\` (\`create\` populates the
9130−-- name automatically. The unique identifier of this intent. Format:
9144+-- | The unique identifier of this intent. Required for Intents.UpdateIntent
9145+-- and Intents.BatchUpdateIntents methods. Format:
91319146-- \`projects\/\/agent\/intents\/\`.
91329147gcdvicName :: Lens' GoogleCloudDialogflowV2beta1Intent (Maybe Text)
91339148gcdvicName
@@ -9205,8 +9220,7 @@ gcdvicOutputContexts
92059220 . _Default
92069221 . _Coerce
92079222
9208−-- | Optional. The collection of examples\/templates that the agent is
9209−-- trained on.
9223+-- | Optional. The collection of examples that the agent is trained on.
92109224gcdvicTrainingPhrases :: Lens' GoogleCloudDialogflowV2beta1Intent [GoogleCloudDialogflowV2beta1IntentTrainingPhrase]
92119225gcdvicTrainingPhrases
92129226 = lens _gcdvicTrainingPhrases
gogol-dialogflow/gen/Network/Google/DialogFlow/Types/Sum.hs+8−2
@@ -59,7 +59,10 @@ data GoogleCloudDialogflowV2beta1IntentTrainingPhraseType
5959 | Template
6060 -- ^ @TEMPLATE@
6161 -- Templates are not annotated with entity types, but they can contain
62− -- \@-prefixed entity type names as substrings.
62+ -- \@-prefixed entity type names as substrings. Template mode has been
63+ -- deprecated. Example mode is the only supported way to create new
64+ -- training phrases. If you have existing training phrases that you\'ve
65+ -- created in template mode, those will continue to work.
6366 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
6467
6568instance Hashable GoogleCloudDialogflowV2beta1IntentTrainingPhraseType
@@ -301,7 +304,10 @@ data GoogleCloudDialogflowV2IntentTrainingPhraseType
301304 | GCDVITPTTemplate
302305 -- ^ @TEMPLATE@
303306 -- Templates are not annotated with entity types, but they can contain
304− -- \@-prefixed entity type names as substrings.
307+ -- \@-prefixed entity type names as substrings. Template mode has been
308+ -- deprecated. Example mode is the only supported way to create new
309+ -- training phrases. If you have existing training phrases that you\'ve
310+ -- created in template mode, those will continue to work.
305311 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
306312
307313instance Hashable GoogleCloudDialogflowV2IntentTrainingPhraseType
gogol-dialogflow/gen/Network/Google/Resource/DialogFlow/Projects/Agent/EntityTypes/Patch.hs+3−3
@@ -162,9 +162,9 @@ paetpPayload :: Lens' ProjectsAgentEntityTypesPatch GoogleCloudDialogflowV2Entit
162162paetpPayload
163163 = lens _paetpPayload (\ s a -> s{_paetpPayload = a})
164164
165−-- | Required for all methods except \`create\` (\`create\` populates the
166−-- name automatically. The unique identifier of the entity type. Format:
167−-- \`projects\/\/agent\/entityTypes\/\`.
165+-- | The unique identifier of the entity type. Required for
166+-- EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
167+-- methods. Format: \`projects\/\/agent\/entityTypes\/\`.
168168paetpName :: Lens' ProjectsAgentEntityTypesPatch Text
169169paetpName
170170 = lens _paetpName (\ s a -> s{_paetpName = a})
gogol-dialogflow/gen/Network/Google/Resource/DialogFlow/Projects/Agent/Intents/Patch.hs+2−2
@@ -175,8 +175,8 @@ paipIntentView
175175 = lens _paipIntentView
176176 (\ s a -> s{_paipIntentView = a})
177177
178−-- | Required for all methods except \`create\` (\`create\` populates the
179−-- name automatically. The unique identifier of this intent. Format:
178+-- | The unique identifier of this intent. Required for Intents.UpdateIntent
179+-- and Intents.BatchUpdateIntents methods. Format:
180180-- \`projects\/\/agent\/intents\/\`.
181181paipName :: Lens' ProjectsAgentIntentsPatch Text
182182paipName = lens _paipName (\ s a -> s{_paipName = a})
gogol-dialogflow/gogol-dialogflow.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-dialogflow
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Dialogflow SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -78,5 +78,5 @@ library
7878 , Network.Google.DialogFlow.Types.Sum
7979
8080 build-depends:
81− gogol-core == 0.4.0.*
81+ gogol-core == 0.5.0.*
8282 , base >= 4.7 && < 5
gogol-digitalassetlinks/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-digitalassetlinks/gogol-digitalassetlinks.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-digitalassetlinks
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Digital Asset Links SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.DigitalAssetLinks.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-discovery/README.md+2−2
@@ -8,12 +8,12 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
1515
16−A client library for the Google APIs Discovery Service.
16+A client library for the Google API Discovery Service.
1717
1818
1919## Contribute
gogol-discovery/gen/Network/Google/Discovery.hs+2−2
@@ -16,7 +16,7 @@
1616-- Provides information about other Google APIs, such as what APIs are
1717-- available, the resource, and method details for each API.
1818--
19−-- /See:/ <https://developers.google.com/discovery/ APIs Discovery Service Reference>
19+-- /See:/ <https://developers.google.com/discovery/ API Discovery Service Reference>
2020module Network.Google.Discovery
2121 (
2222 -- * Service Configuration
@@ -276,6 +276,6 @@ import Network.Google.Resource.Discovery.APIs.List
276276TODO
277277-}
278278
279−-- | Represents the entirety of the methods and resources available for the APIs Discovery Service service.
279+-- | Represents the entirety of the methods and resources available for the API Discovery Service service.
280280type DiscoveryAPI =
281281 APIsListResource :<|> APIsGetRestResource
gogol-discovery/gen/Network/Google/Discovery/Types.hs+1−1
@@ -255,7 +255,7 @@ import Network.Google.Discovery.Types.Product
255255import Network.Google.Discovery.Types.Sum
256256import Network.Google.Prelude
257257
258−-- | Default request referring to version 'v1' of the APIs Discovery Service. This contains the host and root path used as a starting point for constructing service requests.
258+-- | Default request referring to version 'v1' of the API Discovery Service. This contains the host and root path used as a starting point for constructing service requests.
259259discoveryService :: ServiceConfig
260260discoveryService
261261 = defaultService (ServiceId "discovery:v1")
gogol-discovery/gen/Network/Google/Resource/Discovery/APIs/GetRest.hs+1−1
@@ -22,7 +22,7 @@
2222--
2323-- Retrieve the description of a particular version of an api.
2424--
25−-- /See:/ <https://developers.google.com/discovery/ APIs Discovery Service Reference> for @discovery.apis.getRest@.
25+-- /See:/ <https://developers.google.com/discovery/ API Discovery Service Reference> for @discovery.apis.getRest@.
2626module Network.Google.Resource.Discovery.APIs.GetRest
2727 (
2828 -- * REST Resource
gogol-discovery/gen/Network/Google/Resource/Discovery/APIs/List.hs+1−1
@@ -22,7 +22,7 @@
2222--
2323-- Retrieve the list of APIs supported at this endpoint.
2424--
25−-- /See:/ <https://developers.google.com/discovery/ APIs Discovery Service Reference> for @discovery.apis.list@.
25+-- /See:/ <https://developers.google.com/discovery/ API Discovery Service Reference> for @discovery.apis.list@.
2626module Network.Google.Resource.Discovery.APIs.List
2727 (
2828 -- * REST Resource
gogol-discovery/gogol-discovery.cabal+3−3
@@ -1,6 +1,6 @@
11name: gogol-discovery
2−version: 0.4.0
3−synopsis: Google APIs Discovery Service SDK.
2+version: 0.5.0
3+synopsis: Google API Discovery Service SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
66license: OtherLicense
@@ -44,5 +44,5 @@ library
4444 , Network.Google.Discovery.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-dlp/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-dlp/gen/Network/Google/DLP.hs+7
@@ -559,6 +559,7 @@ module Network.Google.DLP
559559 , gpdvitdName
560560 , gpdvitdDisplayName
561561 , gpdvitdSupportedBy
562+ , gpdvitdDescription
562563
563564 -- ** GoogleProtobufEmpty
564565 , GoogleProtobufEmpty
@@ -661,6 +662,7 @@ module Network.Google.DLP
661662 -- ** GooglePrivacyDlpV2Regex
662663 , GooglePrivacyDlpV2Regex
663664 , googlePrivacyDlpV2Regex
665+ , gpdvrGroupIndexes
664666 , gpdvrPattern
665667
666668 -- ** GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
@@ -687,6 +689,10 @@ module Network.Google.DLP
687689 , gpdvldcSensitiveAttribute
688690 , gpdvldcQuasiIds
689691
692+ -- ** GooglePrivacyDlpV2JobNotificationEmails
693+ , GooglePrivacyDlpV2JobNotificationEmails
694+ , googlePrivacyDlpV2JobNotificationEmails
695+
690696 -- ** GooglePrivacyDlpV2DeidentifyContentRequest
691697 , GooglePrivacyDlpV2DeidentifyContentRequest
692698 , googlePrivacyDlpV2DeidentifyContentRequest
@@ -1036,6 +1042,7 @@ module Network.Google.DLP
10361042 -- ** GooglePrivacyDlpV2Action
10371043 , GooglePrivacyDlpV2Action
10381044 , googlePrivacyDlpV2Action
1045+ , gpdvaJobNotificationEmails
10391046 , gpdvaPubSub
10401047 , gpdvaSaveFindings
10411048 , gpdvaPublishSummaryToCscc
gogol-dlp/gen/Network/Google/DLP/Types.hs+7
@@ -413,6 +413,7 @@ module Network.Google.DLP.Types
413413 , gpdvitdName
414414 , gpdvitdDisplayName
415415 , gpdvitdSupportedBy
416+ , gpdvitdDescription
416417
417418 -- * GoogleProtobufEmpty
418419 , GoogleProtobufEmpty
@@ -515,6 +516,7 @@ module Network.Google.DLP.Types
515516 -- * GooglePrivacyDlpV2Regex
516517 , GooglePrivacyDlpV2Regex
517518 , googlePrivacyDlpV2Regex
519+ , gpdvrGroupIndexes
518520 , gpdvrPattern
519521
520522 -- * GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
@@ -541,6 +543,10 @@ module Network.Google.DLP.Types
541543 , gpdvldcSensitiveAttribute
542544 , gpdvldcQuasiIds
543545
546+ -- * GooglePrivacyDlpV2JobNotificationEmails
547+ , GooglePrivacyDlpV2JobNotificationEmails
548+ , googlePrivacyDlpV2JobNotificationEmails
549+
544550 -- * GooglePrivacyDlpV2DeidentifyContentRequest
545551 , GooglePrivacyDlpV2DeidentifyContentRequest
546552 , googlePrivacyDlpV2DeidentifyContentRequest
@@ -890,6 +896,7 @@ module Network.Google.DLP.Types
890896 -- * GooglePrivacyDlpV2Action
891897 , GooglePrivacyDlpV2Action
892898 , googlePrivacyDlpV2Action
899+ , gpdvaJobNotificationEmails
893900 , gpdvaPubSub
894901 , gpdvaSaveFindings
895902 , gpdvaPublishSummaryToCscc
gogol-dlp/gen/Network/Google/DLP/Types/Product.hs+88−14
@@ -3613,6 +3613,7 @@ data GooglePrivacyDlpV2InfoTypeDescription =
36133613 { _gpdvitdName :: !(Maybe Text)
36143614 , _gpdvitdDisplayName :: !(Maybe Text)
36153615 , _gpdvitdSupportedBy :: !(Maybe [Text])
3616+ , _gpdvitdDescription :: !(Maybe Text)
36163617 }
36173618 deriving (Eq, Show, Data, Typeable, Generic)
36183619
@@ -3625,6 +3626,8 @@ data GooglePrivacyDlpV2InfoTypeDescription =
36253626-- * 'gpdvitdDisplayName'
36263627--
36273628-- * 'gpdvitdSupportedBy'
3629+--
3630+-- * 'gpdvitdDescription'
36283631googlePrivacyDlpV2InfoTypeDescription
36293632 :: GooglePrivacyDlpV2InfoTypeDescription
36303633googlePrivacyDlpV2InfoTypeDescription =
@@ -3632,6 +3635,7 @@ googlePrivacyDlpV2InfoTypeDescription =
36323635 { _gpdvitdName = Nothing
36333636 , _gpdvitdDisplayName = Nothing
36343637 , _gpdvitdSupportedBy = Nothing
3638+ , _gpdvitdDescription = Nothing
36353639 }
36363640
36373641-- | Internal name of the infoType.
@@ -3653,6 +3657,13 @@ gpdvitdSupportedBy
36533657 . _Default
36543658 . _Coerce
36553659
3660+-- | Description of the infotype. Translated when language is provided in the
3661+-- request.
3662+gpdvitdDescription :: Lens' GooglePrivacyDlpV2InfoTypeDescription (Maybe Text)
3663+gpdvitdDescription
3664+ = lens _gpdvitdDescription
3665+ (\ s a -> s{_gpdvitdDescription = a})
3666+
36563667instance FromJSON
36573668 GooglePrivacyDlpV2InfoTypeDescription
36583669 where
@@ -3661,7 +3672,8 @@ instance FromJSON
36613672 (\ o ->
36623673 GooglePrivacyDlpV2InfoTypeDescription' <$>
36633674 (o .:? "name") <*> (o .:? "displayName") <*>
3664− (o .:? "supportedBy" .!= mempty))
3675+ (o .:? "supportedBy" .!= mempty)
3676+ <*> (o .:? "description"))
36653677
36663678instance ToJSON GooglePrivacyDlpV2InfoTypeDescription
36673679 where
@@ -3670,7 +3682,8 @@ instance ToJSON GooglePrivacyDlpV2InfoTypeDescription
36703682 (catMaybes
36713683 [("name" .=) <$> _gpdvitdName,
36723684 ("displayName" .=) <$> _gpdvitdDisplayName,
3673− ("supportedBy" .=) <$> _gpdvitdSupportedBy])
3685+ ("supportedBy" .=) <$> _gpdvitdSupportedBy,
3686+ ("description" .=) <$> _gpdvitdDescription])
36743687
36753688-- | A generic empty message that you can re-use to avoid defining duplicated
36763689-- empty messages in your APIs. A typical example is to use it as the
@@ -4625,9 +4638,10 @@ instance ToJSON
46254638-- | Message defining a custom regular expression.
46264639--
46274640-- /See:/ 'googlePrivacyDlpV2Regex' smart constructor.
4628−newtype GooglePrivacyDlpV2Regex =
4641+data GooglePrivacyDlpV2Regex =
46294642 GooglePrivacyDlpV2Regex'
4630− { _gpdvrPattern :: Maybe Text
4643+ { _gpdvrGroupIndexes :: !(Maybe [Textual Int32])
4644+ , _gpdvrPattern :: !(Maybe Text)
46314645 }
46324646 deriving (Eq, Show, Data, Typeable, Generic)
46334647
@@ -4635,10 +4649,23 @@ newtype GooglePrivacyDlpV2Regex =
46354649--
46364650-- Use one of the following lenses to modify other fields as desired:
46374651--
4652+-- * 'gpdvrGroupIndexes'
4653+--
46384654-- * 'gpdvrPattern'
46394655googlePrivacyDlpV2Regex
46404656 :: GooglePrivacyDlpV2Regex
4641−googlePrivacyDlpV2Regex = GooglePrivacyDlpV2Regex' {_gpdvrPattern = Nothing}
4657+googlePrivacyDlpV2Regex =
4658+ GooglePrivacyDlpV2Regex'
4659+ {_gpdvrGroupIndexes = Nothing, _gpdvrPattern = Nothing}
4660+
4661+-- | The index of the submatch to extract as findings. When not specified,
4662+-- the entire match is returned. No more than 3 may be included.
4663+gpdvrGroupIndexes :: Lens' GooglePrivacyDlpV2Regex [Int32]
4664+gpdvrGroupIndexes
4665+ = lens _gpdvrGroupIndexes
4666+ (\ s a -> s{_gpdvrGroupIndexes = a})
4667+ . _Default
4668+ . _Coerce
46424669
46434670-- | Pattern defining the regular expression. Its syntax
46444671-- (https:\/\/github.com\/google\/re2\/wiki\/Syntax) can be found under the
@@ -4651,12 +4678,16 @@ instance FromJSON GooglePrivacyDlpV2Regex where
46514678 parseJSON
46524679 = withObject "GooglePrivacyDlpV2Regex"
46534680 (\ o ->
4654− GooglePrivacyDlpV2Regex' <$> (o .:? "pattern"))
4681+ GooglePrivacyDlpV2Regex' <$>
4682+ (o .:? "groupIndexes" .!= mempty) <*>
4683+ (o .:? "pattern"))
46554684
46564685instance ToJSON GooglePrivacyDlpV2Regex where
46574686 toJSON GooglePrivacyDlpV2Regex'{..}
46584687 = object
4659− (catMaybes [("pattern" .=) <$> _gpdvrPattern])
4688+ (catMaybes
4689+ [("groupIndexes" .=) <$> _gpdvrGroupIndexes,
4690+ ("pattern" .=) <$> _gpdvrPattern])
46604691
46614692-- | Request message for UpdateStoredInfoType.
46624693--
@@ -4893,6 +4924,35 @@ instance ToJSON GooglePrivacyDlpV2LDiversityConfig
48934924 _gpdvldcSensitiveAttribute,
48944925 ("quasiIds" .=) <$> _gpdvldcQuasiIds])
48954926
4927+-- | Enable email notification to project owners and editors on jobs\'s
4928+-- completion\/failure.
4929+--
4930+-- /See:/ 'googlePrivacyDlpV2JobNotificationEmails' smart constructor.
4931+data GooglePrivacyDlpV2JobNotificationEmails =
4932+ GooglePrivacyDlpV2JobNotificationEmails'
4933+ deriving (Eq, Show, Data, Typeable, Generic)
4934+
4935+-- | Creates a value of 'GooglePrivacyDlpV2JobNotificationEmails' with the minimum fields required to make a request.
4936+--
4937+googlePrivacyDlpV2JobNotificationEmails
4938+ :: GooglePrivacyDlpV2JobNotificationEmails
4939+googlePrivacyDlpV2JobNotificationEmails =
4940+ GooglePrivacyDlpV2JobNotificationEmails'
4941+
4942+instance FromJSON
4943+ GooglePrivacyDlpV2JobNotificationEmails
4944+ where
4945+ parseJSON
4946+ = withObject
4947+ "GooglePrivacyDlpV2JobNotificationEmails"
4948+ (\ o ->
4949+ pure GooglePrivacyDlpV2JobNotificationEmails')
4950+
4951+instance ToJSON
4952+ GooglePrivacyDlpV2JobNotificationEmails
4953+ where
4954+ toJSON = const emptyObject
4955+
48964956-- | Request to de-identify a list of items.
48974957--
48984958-- /See:/ 'googlePrivacyDlpV2DeidentifyContentRequest' smart constructor.
@@ -8057,9 +8117,10 @@ instance ToJSON GooglePrivacyDlpV2Bucket where
80578117-- /See:/ 'googlePrivacyDlpV2Action' smart constructor.
80588118data GooglePrivacyDlpV2Action =
80598119 GooglePrivacyDlpV2Action'
8060− { _gpdvaPubSub :: !(Maybe GooglePrivacyDlpV2PublishToPubSub)
8061− , _gpdvaSaveFindings :: !(Maybe GooglePrivacyDlpV2SaveFindings)
8062− , _gpdvaPublishSummaryToCscc :: !(Maybe GooglePrivacyDlpV2PublishSummaryToCscc)
8120+ { _gpdvaJobNotificationEmails :: !(Maybe GooglePrivacyDlpV2JobNotificationEmails)
8121+ , _gpdvaPubSub :: !(Maybe GooglePrivacyDlpV2PublishToPubSub)
8122+ , _gpdvaSaveFindings :: !(Maybe GooglePrivacyDlpV2SaveFindings)
8123+ , _gpdvaPublishSummaryToCscc :: !(Maybe GooglePrivacyDlpV2PublishSummaryToCscc)
80638124 }
80648125 deriving (Eq, Show, Data, Typeable, Generic)
80658126
@@ -8067,6 +8128,8 @@ data GooglePrivacyDlpV2Action =
80678128--
80688129-- Use one of the following lenses to modify other fields as desired:
80698130--
8131+-- * 'gpdvaJobNotificationEmails'
8132+--
80708133-- * 'gpdvaPubSub'
80718134--
80728135-- * 'gpdvaSaveFindings'
@@ -8076,11 +8139,19 @@ googlePrivacyDlpV2Action
80768139 :: GooglePrivacyDlpV2Action
80778140googlePrivacyDlpV2Action =
80788141 GooglePrivacyDlpV2Action'
8079− { _gpdvaPubSub = Nothing
8142+ { _gpdvaJobNotificationEmails = Nothing
8143+ , _gpdvaPubSub = Nothing
80808144 , _gpdvaSaveFindings = Nothing
80818145 , _gpdvaPublishSummaryToCscc = Nothing
80828146 }
80838147
8148+-- | Enable email notification to project owners and editors on job‘s
8149+-- completion\/failure.
8150+gpdvaJobNotificationEmails :: Lens' GooglePrivacyDlpV2Action (Maybe GooglePrivacyDlpV2JobNotificationEmails)
8151+gpdvaJobNotificationEmails
8152+ = lens _gpdvaJobNotificationEmails
8153+ (\ s a -> s{_gpdvaJobNotificationEmails = a})
8154+
80848155-- | Publish a notification to a pubsub topic.
80858156gpdvaPubSub :: Lens' GooglePrivacyDlpV2Action (Maybe GooglePrivacyDlpV2PublishToPubSub)
80868157gpdvaPubSub
@@ -8103,14 +8174,17 @@ instance FromJSON GooglePrivacyDlpV2Action where
81038174 = withObject "GooglePrivacyDlpV2Action"
81048175 (\ o ->
81058176 GooglePrivacyDlpV2Action' <$>
8106− (o .:? "pubSub") <*> (o .:? "saveFindings") <*>
8107− (o .:? "publishSummaryToCscc"))
8177+ (o .:? "jobNotificationEmails") <*> (o .:? "pubSub")
8178+ <*> (o .:? "saveFindings")
8179+ <*> (o .:? "publishSummaryToCscc"))
81088180
81098181instance ToJSON GooglePrivacyDlpV2Action where
81108182 toJSON GooglePrivacyDlpV2Action'{..}
81118183 = object
81128184 (catMaybes
8113− [("pubSub" .=) <$> _gpdvaPubSub,
8185+ [("jobNotificationEmails" .=) <$>
8186+ _gpdvaJobNotificationEmails,
8187+ ("pubSub" .=) <$> _gpdvaPubSub,
81148188 ("saveFindings" .=) <$> _gpdvaSaveFindings,
81158189 ("publishSummaryToCscc" .=) <$>
81168190 _gpdvaPublishSummaryToCscc])
gogol-dlp/gen/Network/Google/Resource/DLP/Projects/JobTriggers/List.hs+35−7
@@ -41,6 +41,7 @@ module Network.Google.Resource.DLP.Projects.JobTriggers.List
4141 , pjtlOrderBy
4242 , pjtlAccessToken
4343 , pjtlUploadType
44+ , pjtlFilter
4445 , pjtlPageToken
4546 , pjtlPageSize
4647 , pjtlCallback
@@ -60,12 +61,13 @@ type ProjectsJobTriggersListResource =
6061 QueryParam "orderBy" Text :>
6162 QueryParam "access_token" Text :>
6263 QueryParam "uploadType" Text :>
63− QueryParam "pageToken" Text :>
64− QueryParam "pageSize" (Textual Int32) :>
65− QueryParam "callback" Text :>
66− QueryParam "alt" AltJSON :>
67− Get '[JSON]
68− GooglePrivacyDlpV2ListJobTriggersResponse
64+ QueryParam "filter" Text :>
65+ QueryParam "pageToken" Text :>
66+ QueryParam "pageSize" (Textual Int32) :>
67+ QueryParam "callback" Text :>
68+ QueryParam "alt" AltJSON :>
69+ Get '[JSON]
70+ GooglePrivacyDlpV2ListJobTriggersResponse
6971
7072-- | Lists job triggers. See
7173-- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn
@@ -80,6 +82,7 @@ data ProjectsJobTriggersList =
8082 , _pjtlOrderBy :: !(Maybe Text)
8183 , _pjtlAccessToken :: !(Maybe Text)
8284 , _pjtlUploadType :: !(Maybe Text)
85+ , _pjtlFilter :: !(Maybe Text)
8386 , _pjtlPageToken :: !(Maybe Text)
8487 , _pjtlPageSize :: !(Maybe (Textual Int32))
8588 , _pjtlCallback :: !(Maybe Text)
@@ -102,6 +105,8 @@ data ProjectsJobTriggersList =
102105--
103106-- * 'pjtlUploadType'
104107--
108+-- * 'pjtlFilter'
109+--
105110-- * 'pjtlPageToken'
106111--
107112-- * 'pjtlPageSize'
@@ -118,6 +123,7 @@ projectsJobTriggersList pPjtlParent_ =
118123 , _pjtlOrderBy = Nothing
119124 , _pjtlAccessToken = Nothing
120125 , _pjtlUploadType = Nothing
126+ , _pjtlFilter = Nothing
121127 , _pjtlPageToken = Nothing
122128 , _pjtlPageSize = Nothing
123129 , _pjtlCallback = Nothing
@@ -145,7 +151,8 @@ pjtlUploadProtocol
145151-- insignificant. Example: \`name asc,update_time, create_time desc\`
146152-- Supported fields are: - \`create_time\`: corresponds to time the
147153-- JobTrigger was created. - \`update_time\`: corresponds to time the
148−-- JobTrigger was last updated. - \`name\`: corresponds to JobTrigger\'s
154+-- JobTrigger was last updated. - \`last_run_time\`: corresponds to the
155+-- last time the JobTrigger ran. - \`name\`: corresponds to JobTrigger\'s
149156-- name. - \`display_name\`: corresponds to JobTrigger\'s display name. -
150157-- \`status\`: corresponds to JobTrigger\'s status.
151158pjtlOrderBy :: Lens' ProjectsJobTriggersList (Maybe Text)
@@ -164,6 +171,26 @@ pjtlUploadType
164171 = lens _pjtlUploadType
165172 (\ s a -> s{_pjtlUploadType = a})
166173
174+-- | Optional. Allows filtering. Supported syntax: * Filter expressions are
175+-- made up of one or more restrictions. * Restrictions can be combined by
176+-- \`AND\` or \`OR\` logical operators. A sequence of restrictions
177+-- implicitly uses \`AND\`. * A restriction has the form of \` \`. *
178+-- Supported fields\/values for inspect jobs: - \`status\` -
179+-- HEALTHY|PAUSED|CANCELLED - \`inspected_storage\` -
180+-- DATASTORE|CLOUD_STORAGE|BIGQUERY - \'last_run_time\` - RFC 3339
181+-- formatted timestamp, surrounded by quotation marks. Nanoseconds are
182+-- ignored. - \'error_count\' - Number of errors that have occurred while
183+-- running. * The operator must be \`=\` or \`!=\` for status and
184+-- inspected_storage. Examples: * inspected_storage = cloud_storage AND
185+-- status = HEALTHY * inspected_storage = cloud_storage OR
186+-- inspected_storage = bigquery * inspected_storage = cloud_storage AND
187+-- (state = PAUSED OR state = HEALTHY) * last_run_time >
188+-- \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no
189+-- more than 500 characters.
190+pjtlFilter :: Lens' ProjectsJobTriggersList (Maybe Text)
191+pjtlFilter
192+ = lens _pjtlFilter (\ s a -> s{_pjtlFilter = a})
193+
167194-- | Optional page token to continue retrieval. Comes from previous call to
168195-- ListJobTriggers. \`order_by\` field must not change for subsequent
169196-- calls.
@@ -193,6 +220,7 @@ instance GoogleRequest ProjectsJobTriggersList where
193220 _pjtlOrderBy
194221 _pjtlAccessToken
195222 _pjtlUploadType
223+ _pjtlFilter
196224 _pjtlPageToken
197225 _pjtlPageSize
198226 _pjtlCallback
gogol-dlp/gogol-dlp.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-dlp
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Data Loss Prevention (DLP) SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -88,5 +88,5 @@ library
8888 , Network.Google.DLP.Types.Sum
8989
9090 build-depends:
91− gogol-core == 0.4.0.*
91+ gogol-core == 0.5.0.*
9292 , base >= 4.7 && < 5
gogol-dns/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-dns/gen/Network/Google/DNS/Types/Product.hs+20−10
@@ -354,7 +354,9 @@ operation =
354354 }
355355
356356-- | Status of the operation. Can be one of the following: \"PENDING\" or
357−-- \"DONE\" (output only).
357+-- \"DONE\" (output only). A status of \"DONE\" means that the request to
358+-- update the authoritative servers has been sent, but the servers might
359+-- not be updated yet.
358360oStatus :: Lens' Operation (Maybe OperationStatus)
359361oStatus = lens _oStatus (\ s a -> s{_oStatus = a})
360362
@@ -456,11 +458,11 @@ dnsKeySpec =
456458 , _dksKeyLength = Nothing
457459 }
458460
459−-- | One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING
460−-- have the Secure Entry Point flag set and, when active, will be used to
461−-- sign only resource record sets of type DNSKEY. Otherwise, the Secure
462−-- Entry Point flag will be cleared and this key will be used to sign only
463−-- resource record sets of other types.
461+-- | Specifies whether this is a key signing key (KSK) or a zone signing key
462+-- (ZSK). Key signing keys have the Secure Entry Point flag set and, when
463+-- active, will only be used to sign resource record sets of type DNSKEY.
464+-- Zone signing keys do not have the Secure Entry Point flag set and will
465+-- be used to sign all other types of resource record sets.
464466dksKeyType :: Lens' DNSKeySpec (Maybe DNSKeySpecKeyType)
465467dksKeyType
466468 = lens _dksKeyType (\ s a -> s{_dksKeyType = a})
@@ -500,7 +502,13 @@ instance ToJSON DNSKeySpec where
500502 ("algorithm" .=) <$> _dksAlgorithm,
501503 ("keyLength" .=) <$> _dksKeyLength])
502504
503−-- | An atomic update to a collection of ResourceRecordSets.
505+-- | A Change represents a set of ResourceRecordSet additions and deletions
506+-- applied atomically to a ManagedZone. ResourceRecordSets within a
507+-- ManagedZone are modified by creating a new Change element in the Changes
508+-- collection. In turn the Changes collection also records the past
509+-- modifications to the ResourceRecordSets in a ManagedZone. The current
510+-- state of the ManagedZone is the sum effect of applying all Change
511+-- elements in the Changes collection in sequence.
504512--
505513-- /See:/ 'change' smart constructor.
506514data Change =
@@ -545,7 +553,9 @@ change =
545553 , _cIsServing = Nothing
546554 }
547555
548−-- | Status of the operation (output only).
556+-- | Status of the operation (output only). A status of \"done\" means that
557+-- the request to update the authoritative servers has been sent, but the
558+-- servers might not be updated yet.
549559cStatus :: Lens' Change (Maybe ChangeStatus)
550560cStatus = lens _cStatus (\ s a -> s{_cStatus = a})
551561
@@ -1168,8 +1178,8 @@ rrsSignatureRrDatas
11681178rrsName :: Lens' ResourceRecordSet (Maybe Text)
11691179rrsName = lens _rrsName (\ s a -> s{_rrsName = a})
11701180
1171−-- | The identifier of a supported record type, for example, A, AAAA, MX,
1172−-- TXT, and so on.
1181+-- | The identifier of a supported record type. See the list of Supported DNS
1182+-- record types.
11731183rrsType :: Lens' ResourceRecordSet (Maybe Text)
11741184rrsType = lens _rrsType (\ s a -> s{_rrsType = a})
11751185
gogol-dns/gen/Network/Google/DNS/Types/Sum.hs+11−7
@@ -171,7 +171,9 @@ instance ToJSON DNSKeyDigestType where
171171 toJSON = toJSONText
172172
173173-- | Status of the operation. Can be one of the following: \"PENDING\" or
174−-- \"DONE\" (output only).
174+-- \"DONE\" (output only). A status of \"DONE\" means that the request to
175+-- update the authoritative servers has been sent, but the servers might
176+-- not be updated yet.
175177data OperationStatus
176178 = Done
177179 -- ^ @DONE@
@@ -238,11 +240,11 @@ instance FromJSON DNSKeyAlgorithm where
238240instance ToJSON DNSKeyAlgorithm where
239241 toJSON = toJSONText
240242
241−-- | One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING
242−-- have the Secure Entry Point flag set and, when active, will be used to
243−-- sign only resource record sets of type DNSKEY. Otherwise, the Secure
244−-- Entry Point flag will be cleared and this key will be used to sign only
245−-- resource record sets of other types.
243+-- | Specifies whether this is a key signing key (KSK) or a zone signing key
244+-- (ZSK). Key signing keys have the Secure Entry Point flag set and, when
245+-- active, will only be used to sign resource record sets of type DNSKEY.
246+-- Zone signing keys do not have the Secure Entry Point flag set and will
247+-- be used to sign all other types of resource record sets.
246248data DNSKeySpecKeyType
247249 = KeySigning
248250 -- ^ @KEY_SIGNING@
@@ -269,7 +271,9 @@ instance FromJSON DNSKeySpecKeyType where
269271instance ToJSON DNSKeySpecKeyType where
270272 toJSON = toJSONText
271273
272−-- | Status of the operation (output only).
274+-- | Status of the operation (output only). A status of \"done\" means that
275+-- the request to update the authoritative servers has been sent, but the
276+-- servers might not be updated yet.
273277data ChangeStatus
274278 = CSDone
275279 -- ^ @DONE@
gogol-dns/gogol-dns.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-dns
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud DNS SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -56,5 +56,5 @@ library
5656 , Network.Google.DNS.Types.Sum
5757
5858 build-depends:
59− gogol-core == 0.4.0.*
59+ gogol-core == 0.5.0.*
6060 , base >= 4.7 && < 5
gogol-doubleclick-bids/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids.hs+1
@@ -210,6 +210,7 @@ module Network.Google.DoubleClickBids
210210 -- ** DownloadResponse
211211 , DownloadResponse
212212 , downloadResponse
213+ , drInventorySources
213214 , drInsertionOrders
214215 , drCampaigns
215216 , drLineItems
gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types.hs+1
@@ -174,6 +174,7 @@ module Network.Google.DoubleClickBids.Types
174174 -- * DownloadResponse
175175 , DownloadResponse
176176 , downloadResponse
177+ , drInventorySources
177178 , drInsertionOrders
178179 , drCampaigns
179180 , drLineItems
gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types/Product.hs+25−12
@@ -501,8 +501,8 @@ instance ToJSON DownloadLineItemsRequest where
501501 ("fileSpec" .=) <$> _dlirFileSpec,
502502 ("filterIds" .=) <$> _dlirFilterIds])
503503
504−-- | Request to fetch stored campaigns, insertion orders, line items,
505−-- TrueView ad groups and ads.
504+-- | Request to fetch stored inventory sources, campaigns, insertion orders,
505+-- line items, TrueView ad groups and ads.
506506--
507507-- /See:/ 'downloadRequest' smart constructor.
508508data DownloadRequest =
@@ -536,7 +536,8 @@ downloadRequest =
536536 }
537537
538538-- | File types that will be returned. Acceptable values are: - \"AD\" -
539−-- \"AD_GROUP\" - \"CAMPAIGN\" - \"INSERTION_ORDER\" - \"LINE_ITEM\"
539+-- \"AD_GROUP\" - \"CAMPAIGN\" - \"INSERTION_ORDER\" - \"LINE_ITEM\" -
540+-- \"INVENTORY_SOURCE\"
540541drFileTypes :: Lens' DownloadRequest [DownloadRequestFileTypesItem]
541542drFileTypes
542543 = lens _drFileTypes (\ s a -> s{_drFileTypes = a}) .
@@ -1116,11 +1117,12 @@ instance ToJSON DownloadLineItemsResponse where
11161117-- /See:/ 'downloadResponse' smart constructor.
11171118data DownloadResponse =
11181119 DownloadResponse'
1119− { _drInsertionOrders :: !(Maybe Text)
1120− , _drCampaigns :: !(Maybe Text)
1121− , _drLineItems :: !(Maybe Text)
1122− , _drAdGroups :: !(Maybe Text)
1123− , _drAds :: !(Maybe Text)
1120+ { _drInventorySources :: !(Maybe Text)
1121+ , _drInsertionOrders :: !(Maybe Text)
1122+ , _drCampaigns :: !(Maybe Text)
1123+ , _drLineItems :: !(Maybe Text)
1124+ , _drAdGroups :: !(Maybe Text)
1125+ , _drAds :: !(Maybe Text)
11241126 }
11251127 deriving (Eq, Show, Data, Typeable, Generic)
11261128
@@ -1128,6 +1130,8 @@ data DownloadResponse =
11281130--
11291131-- Use one of the following lenses to modify other fields as desired:
11301132--
1133+-- * 'drInventorySources'
1134+--
11311135-- * 'drInsertionOrders'
11321136--
11331137-- * 'drCampaigns'
@@ -1141,13 +1145,19 @@ downloadResponse
11411145 :: DownloadResponse
11421146downloadResponse =
11431147 DownloadResponse'
1144− { _drInsertionOrders = Nothing
1148+ { _drInventorySources = Nothing
1149+ , _drInsertionOrders = Nothing
11451150 , _drCampaigns = Nothing
11461151 , _drLineItems = Nothing
11471152 , _drAdGroups = Nothing
11481153 , _drAds = Nothing
11491154 }
11501155
1156+drInventorySources :: Lens' DownloadResponse (Maybe Text)
1157+drInventorySources
1158+ = lens _drInventorySources
1159+ (\ s a -> s{_drInventorySources = a})
1160+
11511161-- | Retrieved insertion orders in SDF format.
11521162drInsertionOrders :: Lens' DownloadResponse (Maybe Text)
11531163drInsertionOrders
@@ -1178,8 +1188,10 @@ instance FromJSON DownloadResponse where
11781188 = withObject "DownloadResponse"
11791189 (\ o ->
11801190 DownloadResponse' <$>
1181− (o .:? "insertionOrders") <*> (o .:? "campaigns") <*>
1182− (o .:? "lineItems")
1191+ (o .:? "inventorySources") <*>
1192+ (o .:? "insertionOrders")
1193+ <*> (o .:? "campaigns")
1194+ <*> (o .:? "lineItems")
11831195 <*> (o .:? "adGroups")
11841196 <*> (o .:? "ads"))
11851197
@@ -1187,7 +1199,8 @@ instance ToJSON DownloadResponse where
11871199 toJSON DownloadResponse'{..}
11881200 = object
11891201 (catMaybes
1190− [("insertionOrders" .=) <$> _drInsertionOrders,
1202+ [("inventorySources" .=) <$> _drInventorySources,
1203+ ("insertionOrders" .=) <$> _drInsertionOrders,
11911204 ("campaigns" .=) <$> _drCampaigns,
11921205 ("lineItems" .=) <$> _drLineItems,
11931206 ("adGroups" .=) <$> _drAdGroups,
gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types/Sum.hs+44
@@ -235,8 +235,12 @@ data DownloadRequestFilterType
235235 -- ^ @CAMPAIGN_ID@
236236 | DRFTInsertionOrderId
237237 -- ^ @INSERTION_ORDER_ID@
238+ | DRFTInventorySourceId
239+ -- ^ @INVENTORY_SOURCE_ID@
238240 | DRFTLineItemId
239241 -- ^ @LINE_ITEM_ID@
242+ | DRFTPartnerId
243+ -- ^ @PARTNER_ID@
240244 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
241245
242246instance Hashable DownloadRequestFilterType
@@ -246,7 +250,9 @@ instance FromHttpApiData DownloadRequestFilterType where
246250 "ADVERTISER_ID" -> Right DRFTAdvertiserId
247251 "CAMPAIGN_ID" -> Right DRFTCampaignId
248252 "INSERTION_ORDER_ID" -> Right DRFTInsertionOrderId
253+ "INVENTORY_SOURCE_ID" -> Right DRFTInventorySourceId
249254 "LINE_ITEM_ID" -> Right DRFTLineItemId
255+ "PARTNER_ID" -> Right DRFTPartnerId
250256 x -> Left ("Unable to parse DownloadRequestFilterType from: " <> x)
251257
252258instance ToHttpApiData DownloadRequestFilterType where
@@ -254,7 +260,9 @@ instance ToHttpApiData DownloadRequestFilterType where
254260 DRFTAdvertiserId -> "ADVERTISER_ID"
255261 DRFTCampaignId -> "CAMPAIGN_ID"
256262 DRFTInsertionOrderId -> "INSERTION_ORDER_ID"
263+ DRFTInventorySourceId -> "INVENTORY_SOURCE_ID"
257264 DRFTLineItemId -> "LINE_ITEM_ID"
265+ DRFTPartnerId -> "PARTNER_ID"
258266
259267instance FromJSON DownloadRequestFilterType where
260268 parseJSON = parseJSONText "DownloadRequestFilterType"
@@ -271,6 +279,8 @@ data DownloadRequestFileTypesItem
271279 -- ^ @CAMPAIGN@
272280 | InsertionOrder
273281 -- ^ @INSERTION_ORDER@
282+ | InventorySource
283+ -- ^ @INVENTORY_SOURCE@
274284 | LineItem
275285 -- ^ @LINE_ITEM@
276286 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
@@ -283,6 +293,7 @@ instance FromHttpApiData DownloadRequestFileTypesItem where
283293 "AD_GROUP" -> Right AdGroup
284294 "CAMPAIGN" -> Right Campaign
285295 "INSERTION_ORDER" -> Right InsertionOrder
296+ "INVENTORY_SOURCE" -> Right InventorySource
286297 "LINE_ITEM" -> Right LineItem
287298 x -> Left ("Unable to parse DownloadRequestFileTypesItem from: " <> x)
288299
@@ -292,6 +303,7 @@ instance ToHttpApiData DownloadRequestFileTypesItem where
292303 AdGroup -> "AD_GROUP"
293304 Campaign -> "CAMPAIGN"
294305 InsertionOrder -> "INSERTION_ORDER"
306+ InventorySource -> "INVENTORY_SOURCE"
295307 LineItem -> "LINE_ITEM"
296308
297309instance FromJSON DownloadRequestFileTypesItem where
@@ -1789,6 +1801,8 @@ data FilterPairType
17891801 -- ^ @FILTER_CONVERSION_DELAY@
17901802 | FilterCountry
17911803 -- ^ @FILTER_COUNTRY@
1804+ | FilterCreativeAttribute
1805+ -- ^ @FILTER_CREATIVE_ATTRIBUTE@
17921806 | FilterCreativeHeight
17931807 -- ^ @FILTER_CREATIVE_HEIGHT@
17941808 | FilterCreativeId
@@ -1827,8 +1841,14 @@ data FilterPairType
18271841 -- ^ @FILTER_GENDER@
18281842 | FilterInsertionOrder
18291843 -- ^ @FILTER_INSERTION_ORDER@
1844+ | FilterInventoryCommitmentType
1845+ -- ^ @FILTER_INVENTORY_COMMITMENT_TYPE@
1846+ | FilterInventoryDeliveryMethod
1847+ -- ^ @FILTER_INVENTORY_DELIVERY_METHOD@
18301848 | FilterInventoryFormat
18311849 -- ^ @FILTER_INVENTORY_FORMAT@
1850+ | FilterInventoryRateType
1851+ -- ^ @FILTER_INVENTORY_RATE_TYPE@
18321852 | FilterInventorySource
18331853 -- ^ @FILTER_INVENTORY_SOURCE@
18341854 | FilterInventorySourceType
@@ -2025,6 +2045,7 @@ instance FromHttpApiData FilterPairType where
20252045 "FILTER_COMPANION_CREATIVE_ID" -> Right FilterCompanionCreativeId
20262046 "FILTER_CONVERSION_DELAY" -> Right FilterConversionDelay
20272047 "FILTER_COUNTRY" -> Right FilterCountry
2048+ "FILTER_CREATIVE_ATTRIBUTE" -> Right FilterCreativeAttribute
20282049 "FILTER_CREATIVE_HEIGHT" -> Right FilterCreativeHeight
20292050 "FILTER_CREATIVE_ID" -> Right FilterCreativeId
20302051 "FILTER_CREATIVE_SIZE" -> Right FilterCreativeSize
@@ -2044,7 +2065,10 @@ instance FromHttpApiData FilterPairType where
20442065 "FILTER_FLOODLIGHT_PIXEL_ID" -> Right FilterFloodlightPixelId
20452066 "FILTER_GENDER" -> Right FilterGender
20462067 "FILTER_INSERTION_ORDER" -> Right FilterInsertionOrder
2068+ "FILTER_INVENTORY_COMMITMENT_TYPE" -> Right FilterInventoryCommitmentType
2069+ "FILTER_INVENTORY_DELIVERY_METHOD" -> Right FilterInventoryDeliveryMethod
20472070 "FILTER_INVENTORY_FORMAT" -> Right FilterInventoryFormat
2071+ "FILTER_INVENTORY_RATE_TYPE" -> Right FilterInventoryRateType
20482072 "FILTER_INVENTORY_SOURCE" -> Right FilterInventorySource
20492073 "FILTER_INVENTORY_SOURCE_TYPE" -> Right FilterInventorySourceType
20502074 "FILTER_KEYWORD" -> Right FilterKeyword
@@ -2153,6 +2177,7 @@ instance ToHttpApiData FilterPairType where
21532177 FilterCompanionCreativeId -> "FILTER_COMPANION_CREATIVE_ID"
21542178 FilterConversionDelay -> "FILTER_CONVERSION_DELAY"
21552179 FilterCountry -> "FILTER_COUNTRY"
2180+ FilterCreativeAttribute -> "FILTER_CREATIVE_ATTRIBUTE"
21562181 FilterCreativeHeight -> "FILTER_CREATIVE_HEIGHT"
21572182 FilterCreativeId -> "FILTER_CREATIVE_ID"
21582183 FilterCreativeSize -> "FILTER_CREATIVE_SIZE"
@@ -2172,7 +2197,10 @@ instance ToHttpApiData FilterPairType where
21722197 FilterFloodlightPixelId -> "FILTER_FLOODLIGHT_PIXEL_ID"
21732198 FilterGender -> "FILTER_GENDER"
21742199 FilterInsertionOrder -> "FILTER_INSERTION_ORDER"
2200+ FilterInventoryCommitmentType -> "FILTER_INVENTORY_COMMITMENT_TYPE"
2201+ FilterInventoryDeliveryMethod -> "FILTER_INVENTORY_DELIVERY_METHOD"
21752202 FilterInventoryFormat -> "FILTER_INVENTORY_FORMAT"
2203+ FilterInventoryRateType -> "FILTER_INVENTORY_RATE_TYPE"
21762204 FilterInventorySource -> "FILTER_INVENTORY_SOURCE"
21772205 FilterInventorySourceType -> "FILTER_INVENTORY_SOURCE_TYPE"
21782206 FilterKeyword -> "FILTER_KEYWORD"
@@ -2429,6 +2457,8 @@ data ParametersGroupBysItem
24292457 -- ^ @FILTER_CONVERSION_DELAY@
24302458 | PGBIFilterCountry
24312459 -- ^ @FILTER_COUNTRY@
2460+ | PGBIFilterCreativeAttribute
2461+ -- ^ @FILTER_CREATIVE_ATTRIBUTE@
24322462 | PGBIFilterCreativeHeight
24332463 -- ^ @FILTER_CREATIVE_HEIGHT@
24342464 | PGBIFilterCreativeId
@@ -2467,8 +2497,14 @@ data ParametersGroupBysItem
24672497 -- ^ @FILTER_GENDER@
24682498 | PGBIFilterInsertionOrder
24692499 -- ^ @FILTER_INSERTION_ORDER@
2500+ | PGBIFilterInventoryCommitmentType
2501+ -- ^ @FILTER_INVENTORY_COMMITMENT_TYPE@
2502+ | PGBIFilterInventoryDeliveryMethod
2503+ -- ^ @FILTER_INVENTORY_DELIVERY_METHOD@
24702504 | PGBIFilterInventoryFormat
24712505 -- ^ @FILTER_INVENTORY_FORMAT@
2506+ | PGBIFilterInventoryRateType
2507+ -- ^ @FILTER_INVENTORY_RATE_TYPE@
24722508 | PGBIFilterInventorySource
24732509 -- ^ @FILTER_INVENTORY_SOURCE@
24742510 | PGBIFilterInventorySourceType
@@ -2665,6 +2701,7 @@ instance FromHttpApiData ParametersGroupBysItem where
26652701 "FILTER_COMPANION_CREATIVE_ID" -> Right PGBIFilterCompanionCreativeId
26662702 "FILTER_CONVERSION_DELAY" -> Right PGBIFilterConversionDelay
26672703 "FILTER_COUNTRY" -> Right PGBIFilterCountry
2704+ "FILTER_CREATIVE_ATTRIBUTE" -> Right PGBIFilterCreativeAttribute
26682705 "FILTER_CREATIVE_HEIGHT" -> Right PGBIFilterCreativeHeight
26692706 "FILTER_CREATIVE_ID" -> Right PGBIFilterCreativeId
26702707 "FILTER_CREATIVE_SIZE" -> Right PGBIFilterCreativeSize
@@ -2684,7 +2721,10 @@ instance FromHttpApiData ParametersGroupBysItem where
26842721 "FILTER_FLOODLIGHT_PIXEL_ID" -> Right PGBIFilterFloodlightPixelId
26852722 "FILTER_GENDER" -> Right PGBIFilterGender
26862723 "FILTER_INSERTION_ORDER" -> Right PGBIFilterInsertionOrder
2724+ "FILTER_INVENTORY_COMMITMENT_TYPE" -> Right PGBIFilterInventoryCommitmentType
2725+ "FILTER_INVENTORY_DELIVERY_METHOD" -> Right PGBIFilterInventoryDeliveryMethod
26872726 "FILTER_INVENTORY_FORMAT" -> Right PGBIFilterInventoryFormat
2727+ "FILTER_INVENTORY_RATE_TYPE" -> Right PGBIFilterInventoryRateType
26882728 "FILTER_INVENTORY_SOURCE" -> Right PGBIFilterInventorySource
26892729 "FILTER_INVENTORY_SOURCE_TYPE" -> Right PGBIFilterInventorySourceType
26902730 "FILTER_KEYWORD" -> Right PGBIFilterKeyword
@@ -2793,6 +2833,7 @@ instance ToHttpApiData ParametersGroupBysItem where
27932833 PGBIFilterCompanionCreativeId -> "FILTER_COMPANION_CREATIVE_ID"
27942834 PGBIFilterConversionDelay -> "FILTER_CONVERSION_DELAY"
27952835 PGBIFilterCountry -> "FILTER_COUNTRY"
2836+ PGBIFilterCreativeAttribute -> "FILTER_CREATIVE_ATTRIBUTE"
27962837 PGBIFilterCreativeHeight -> "FILTER_CREATIVE_HEIGHT"
27972838 PGBIFilterCreativeId -> "FILTER_CREATIVE_ID"
27982839 PGBIFilterCreativeSize -> "FILTER_CREATIVE_SIZE"
@@ -2812,7 +2853,10 @@ instance ToHttpApiData ParametersGroupBysItem where
28122853 PGBIFilterFloodlightPixelId -> "FILTER_FLOODLIGHT_PIXEL_ID"
28132854 PGBIFilterGender -> "FILTER_GENDER"
28142855 PGBIFilterInsertionOrder -> "FILTER_INSERTION_ORDER"
2856+ PGBIFilterInventoryCommitmentType -> "FILTER_INVENTORY_COMMITMENT_TYPE"
2857+ PGBIFilterInventoryDeliveryMethod -> "FILTER_INVENTORY_DELIVERY_METHOD"
28152858 PGBIFilterInventoryFormat -> "FILTER_INVENTORY_FORMAT"
2859+ PGBIFilterInventoryRateType -> "FILTER_INVENTORY_RATE_TYPE"
28162860 PGBIFilterInventorySource -> "FILTER_INVENTORY_SOURCE"
28172861 PGBIFilterInventorySourceType -> "FILTER_INVENTORY_SOURCE_TYPE"
28182862 PGBIFilterKeyword -> "FILTER_KEYWORD"
gogol-doubleclick-bids/gogol-doubleclick-bids.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-doubleclick-bids
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google DoubleClick Bid Manager SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -54,5 +54,5 @@ library
5454 , Network.Google.DoubleClickBids.Types.Sum
5555
5656 build-depends:
57− gogol-core == 0.4.0.*
57+ gogol-core == 0.5.0.*
5858 , base >= 4.7 && < 5
gogol-doubleclick-search/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-doubleclick-search/gogol-doubleclick-search.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-doubleclick-search
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google DoubleClick Search SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -52,5 +52,5 @@ library
5252 , Network.Google.DoubleClickSearch.Types.Sum
5353
5454 build-depends:
55− gogol-core == 0.4.0.*
55+ gogol-core == 0.5.0.*
5656 , base >= 4.7 && < 5
gogol-drive/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-drive/gogol-drive.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-drive
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Drive SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -81,5 +81,5 @@ library
8181 , Network.Google.Drive.Types.Sum
8282
8383 build-depends:
84− gogol-core == 0.4.0.*
84+ gogol-core == 0.5.0.*
8585 , base >= 4.7 && < 5
gogol-driveactivity/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-driveactivity/gogol-driveactivity.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-driveactivity
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Drive Activity SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.DriveActivity.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-file/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-file/gogol-file.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-file
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Filestore SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -53,5 +53,5 @@ library
5353 , Network.Google.File.Types.Sum
5454
5555 build-depends:
56− gogol-core == 0.4.0.*
56+ gogol-core == 0.5.0.*
5757 , base >= 4.7 && < 5
gogol-firebase-dynamiclinks/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-firebase-dynamiclinks/gen/Network/Google/FirebaseDynamicLinks.hs+7
@@ -131,10 +131,17 @@ module Network.Google.FirebaseDynamicLinks
131131 , dliDynamicLinkDomain
132132 , dliLink
133133 , dliIosInfo
134+ , dliAppPreview
134135 , dliDomainURIPrefix
135136 , dliAndroidInfo
136137 , dliAnalyticsInfo
137138
139+ -- ** AppPreview
140+ , AppPreview
141+ , appPreview
142+ , apOpenButtonText
143+ , apSavePositionText
144+
138145 -- ** GetIosPostInstallAttributionRequestVisualStyle
139146 , GetIosPostInstallAttributionRequestVisualStyle (..)
140147
gogol-firebase-dynamiclinks/gen/Network/Google/FirebaseDynamicLinks/Types.hs+7
@@ -107,10 +107,17 @@ module Network.Google.FirebaseDynamicLinks.Types
107107 , dliDynamicLinkDomain
108108 , dliLink
109109 , dliIosInfo
110+ , dliAppPreview
110111 , dliDomainURIPrefix
111112 , dliAndroidInfo
112113 , dliAnalyticsInfo
113114
115+ -- * AppPreview
116+ , AppPreview
117+ , appPreview
118+ , apOpenButtonText
119+ , apSavePositionText
120+
114121 -- * GetIosPostInstallAttributionRequestVisualStyle
115122 , GetIosPostInstallAttributionRequestVisualStyle (..)
116123
gogol-firebase-dynamiclinks/gen/Network/Google/FirebaseDynamicLinks/Types/Product.hs+65
@@ -696,6 +696,7 @@ data DynamicLinkInfo =
696696 , _dliDynamicLinkDomain :: !(Maybe Text)
697697 , _dliLink :: !(Maybe Text)
698698 , _dliIosInfo :: !(Maybe IosInfo)
699+ , _dliAppPreview :: !(Maybe AppPreview)
699700 , _dliDomainURIPrefix :: !(Maybe Text)
700701 , _dliAndroidInfo :: !(Maybe AndroidInfo)
701702 , _dliAnalyticsInfo :: !(Maybe AnalyticsInfo)
@@ -718,6 +719,8 @@ data DynamicLinkInfo =
718719--
719720-- * 'dliIosInfo'
720721--
722+-- * 'dliAppPreview'
723+--
721724-- * 'dliDomainURIPrefix'
722725--
723726-- * 'dliAndroidInfo'
@@ -733,6 +736,7 @@ dynamicLinkInfo =
733736 , _dliDynamicLinkDomain = Nothing
734737 , _dliLink = Nothing
735738 , _dliIosInfo = Nothing
739+ , _dliAppPreview = Nothing
736740 , _dliDomainURIPrefix = Nothing
737741 , _dliAndroidInfo = Nothing
738742 , _dliAnalyticsInfo = Nothing
@@ -781,6 +785,12 @@ dliIosInfo :: Lens' DynamicLinkInfo (Maybe IosInfo)
781785dliIosInfo
782786 = lens _dliIosInfo (\ s a -> s{_dliIosInfo = a})
783787
788+-- | Optional customizable parameters on the app preview page
789+dliAppPreview :: Lens' DynamicLinkInfo (Maybe AppPreview)
790+dliAppPreview
791+ = lens _dliAppPreview
792+ (\ s a -> s{_dliAppPreview = a})
793+
784794-- | E.g. https:\/\/maps.app.goo.gl, https:\/\/maps.page.link,
785795-- https:\/\/g.co\/maps More examples can be found in description of
786796-- getNormalizedUriPrefix in
@@ -815,6 +825,7 @@ instance FromJSON DynamicLinkInfo where
815825 <*> (o .:? "dynamicLinkDomain")
816826 <*> (o .:? "link")
817827 <*> (o .:? "iosInfo")
828+ <*> (o .:? "appPreview")
818829 <*> (o .:? "domainUriPrefix")
819830 <*> (o .:? "androidInfo")
820831 <*> (o .:? "analyticsInfo"))
@@ -829,10 +840,64 @@ instance ToJSON DynamicLinkInfo where
829840 ("dynamicLinkDomain" .=) <$> _dliDynamicLinkDomain,
830841 ("link" .=) <$> _dliLink,
831842 ("iosInfo" .=) <$> _dliIosInfo,
843+ ("appPreview" .=) <$> _dliAppPreview,
832844 ("domainUriPrefix" .=) <$> _dliDomainURIPrefix,
833845 ("androidInfo" .=) <$> _dliAndroidInfo,
834846 ("analyticsInfo" .=) <$> _dliAnalyticsInfo])
835847
848+-- | Customizable parameters on the app preview page. The text fields no
849+-- longer need translation.
850+--
851+-- /See:/ 'appPreview' smart constructor.
852+data AppPreview =
853+ AppPreview'
854+ { _apOpenButtonText :: !(Maybe Text)
855+ , _apSavePositionText :: !(Maybe Text)
856+ }
857+ deriving (Eq, Show, Data, Typeable, Generic)
858+
859+-- | Creates a value of 'AppPreview' with the minimum fields required to make a request.
860+--
861+-- Use one of the following lenses to modify other fields as desired:
862+--
863+-- * 'apOpenButtonText'
864+--
865+-- * 'apSavePositionText'
866+appPreview
867+ :: AppPreview
868+appPreview =
869+ AppPreview' {_apOpenButtonText = Nothing, _apSavePositionText = Nothing}
870+
871+-- | Text that appears on the button to open up the app. Optional Defaults to
872+-- \"Open\"
873+apOpenButtonText :: Lens' AppPreview (Maybe Text)
874+apOpenButtonText
875+ = lens _apOpenButtonText
876+ (\ s a -> s{_apOpenButtonText = a})
877+
878+-- | Text that asks if user wants to save place in app. Optional. Defaults to
879+-- \"Save my place in the app. A link will be copied to continue to this
880+-- page\"
881+apSavePositionText :: Lens' AppPreview (Maybe Text)
882+apSavePositionText
883+ = lens _apSavePositionText
884+ (\ s a -> s{_apSavePositionText = a})
885+
886+instance FromJSON AppPreview where
887+ parseJSON
888+ = withObject "AppPreview"
889+ (\ o ->
890+ AppPreview' <$>
891+ (o .:? "openButtonText") <*>
892+ (o .:? "savePositionText"))
893+
894+instance ToJSON AppPreview where
895+ toJSON AppPreview'{..}
896+ = object
897+ (catMaybes
898+ [("openButtonText" .=) <$> _apOpenButtonText,
899+ ("savePositionText" .=) <$> _apSavePositionText])
900+
836901-- | Analytics stats of a Dynamic Link for a given timeframe.
837902--
838903-- /See:/ 'dynamicLinkStats' smart constructor.
gogol-firebase-dynamiclinks/gogol-firebase-dynamiclinks.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-firebase-dynamiclinks
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Firebase Dynamic Links SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@ library
4646 , Network.Google.FirebaseDynamicLinks.Types.Sum
4747
4848 build-depends:
49− gogol-core == 0.4.0.*
49+ gogol-core == 0.5.0.*
5050 , base >= 4.7 && < 5
gogol-firebase-rules/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-firebase-rules/gogol-firebase-rules.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-firebase-rules
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Firebase Rules SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -53,5 +53,5 @@ library
5353 , Network.Google.FirebaseRules.Types.Sum
5454
5555 build-depends:
56− gogol-core == 0.4.0.*
56+ gogol-core == 0.5.0.*
5757 , base >= 4.7 && < 5
gogol-firebasehosting/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-firebasehosting/gen/Network/Google/FirebaseHosting.hs+10−3
@@ -13,9 +13,9 @@
1313-- Stability : auto-generated
1414-- Portability : non-portable (GHC extensions)
1515--
16−-- The Firebase Hosting REST API enables programmatic custom deployment for
17−-- releasing versions of your Firebase hosted content and configuration
18−-- files.
16+-- The Firebase Hosting REST API enables programmatic and customizable
17+-- deployments to your Firebase-hosted sites. Use this REST API to deploy
18+-- new or updated hosting configurations and content files.
1919--
2020-- /See:/ <https://firebase.google.com/docs/hosting/ Firebase Hosting API Reference>
2121module Network.Google.FirebaseHosting
@@ -218,6 +218,12 @@ module Network.Google.FirebaseHosting
218218 , rGlob
219219 , rStatusCode
220220
221+ -- ** CloudRunRewrite
222+ , CloudRunRewrite
223+ , cloudRunRewrite
224+ , crrServiceId
225+ , crrRegion
226+
221227 -- ** DomainRedirect
222228 , DomainRedirect
223229 , domainRedirect
@@ -229,6 +235,7 @@ module Network.Google.FirebaseHosting
229235 , rewrite
230236 , rewFunction
231237 , rewPath
238+ , rewRun
232239 , rewGlob
233240 , rewDynamicLinks
234241
gogol-firebasehosting/gen/Network/Google/FirebaseHosting/Types.hs+7
@@ -165,6 +165,12 @@ module Network.Google.FirebaseHosting.Types
165165 , rGlob
166166 , rStatusCode
167167
168+ -- * CloudRunRewrite
169+ , CloudRunRewrite
170+ , cloudRunRewrite
171+ , crrServiceId
172+ , crrRegion
173+
168174 -- * DomainRedirect
169175 , DomainRedirect
170176 , domainRedirect
@@ -176,6 +182,7 @@ module Network.Google.FirebaseHosting.Types
176182 , rewrite
177183 , rewFunction
178184 , rewPath
185+ , rewRun
179186 , rewGlob
180187 , rewDynamicLinks
181188
gogol-firebasehosting/gen/Network/Google/FirebaseHosting/Types/Product.hs+63−2
@@ -1139,6 +1139,57 @@ instance ToJSON Redirect where
11391139 ("glob" .=) <$> _rGlob,
11401140 ("statusCode" .=) <$> _rStatusCode])
11411141
1142+-- | A configured rewrite that will direct any requests to a Cloud Run
1143+-- service. If the Cloud Run service does not exist when setting or
1144+-- updating your Firebase Hosting configuration then the request will fail.
1145+-- Any errors from the Cloud Run service (including when the service has
1146+-- been deleted) will be passed back down to the end user.
1147+--
1148+-- /See:/ 'cloudRunRewrite' smart constructor.
1149+data CloudRunRewrite =
1150+ CloudRunRewrite'
1151+ { _crrServiceId :: !(Maybe Text)
1152+ , _crrRegion :: !(Maybe Text)
1153+ }
1154+ deriving (Eq, Show, Data, Typeable, Generic)
1155+
1156+-- | Creates a value of 'CloudRunRewrite' with the minimum fields required to make a request.
1157+--
1158+-- Use one of the following lenses to modify other fields as desired:
1159+--
1160+-- * 'crrServiceId'
1161+--
1162+-- * 'crrRegion'
1163+cloudRunRewrite
1164+ :: CloudRunRewrite
1165+cloudRunRewrite =
1166+ CloudRunRewrite' {_crrServiceId = Nothing, _crrRegion = Nothing}
1167+
1168+-- | Required. User supplied ID of the Cloud Run service.
1169+crrServiceId :: Lens' CloudRunRewrite (Maybe Text)
1170+crrServiceId
1171+ = lens _crrServiceId (\ s a -> s{_crrServiceId = a})
1172+
1173+-- | Optional. The region where the Cloud Run service is hosted. Defaults to
1174+-- \`us-central1\` if not supplied.
1175+crrRegion :: Lens' CloudRunRewrite (Maybe Text)
1176+crrRegion
1177+ = lens _crrRegion (\ s a -> s{_crrRegion = a})
1178+
1179+instance FromJSON CloudRunRewrite where
1180+ parseJSON
1181+ = withObject "CloudRunRewrite"
1182+ (\ o ->
1183+ CloudRunRewrite' <$>
1184+ (o .:? "serviceId") <*> (o .:? "region"))
1185+
1186+instance ToJSON CloudRunRewrite where
1187+ toJSON CloudRunRewrite'{..}
1188+ = object
1189+ (catMaybes
1190+ [("serviceId" .=) <$> _crrServiceId,
1191+ ("region" .=) <$> _crrRegion])
1192+
11421193-- | Defines the behavior of a domain-level redirect. Domain redirects
11431194-- preserve the path of the redirect but replace the requested domain with
11441195-- the one specified in the redirect configuration.
@@ -1195,6 +1246,7 @@ data Rewrite =
11951246 Rewrite'
11961247 { _rewFunction :: !(Maybe Text)
11971248 , _rewPath :: !(Maybe Text)
1249+ , _rewRun :: !(Maybe CloudRunRewrite)
11981250 , _rewGlob :: !(Maybe Text)
11991251 , _rewDynamicLinks :: !(Maybe Bool)
12001252 }
@@ -1208,6 +1260,8 @@ data Rewrite =
12081260--
12091261-- * 'rewPath'
12101262--
1263+-- * 'rewRun'
1264+--
12111265-- * 'rewGlob'
12121266--
12131267-- * 'rewDynamicLinks'
@@ -1217,6 +1271,7 @@ rewrite =
12171271 Rewrite'
12181272 { _rewFunction = Nothing
12191273 , _rewPath = Nothing
1274+ , _rewRun = Nothing
12201275 , _rewGlob = Nothing
12211276 , _rewDynamicLinks = Nothing
12221277 }
@@ -1231,6 +1286,10 @@ rewFunction
12311286rewPath :: Lens' Rewrite (Maybe Text)
12321287rewPath = lens _rewPath (\ s a -> s{_rewPath = a})
12331288
1289+-- | The request will be forwarded to Cloud Run.
1290+rewRun :: Lens' Rewrite (Maybe CloudRunRewrite)
1291+rewRun = lens _rewRun (\ s a -> s{_rewRun = a})
1292+
12341293-- | Required. The user-supplied [glob
12351294-- pattern](\/docs\/hosting\/full-config#glob_pattern_matching) to match
12361295-- against the request URL path.
@@ -1249,7 +1308,8 @@ instance FromJSON Rewrite where
12491308 (\ o ->
12501309 Rewrite' <$>
12511310 (o .:? "function") <*> (o .:? "path") <*>
1252− (o .:? "glob")
1311+ (o .:? "run")
1312+ <*> (o .:? "glob")
12531313 <*> (o .:? "dynamicLinks"))
12541314
12551315instance ToJSON Rewrite where
@@ -1257,7 +1317,8 @@ instance ToJSON Rewrite where
12571317 = object
12581318 (catMaybes
12591319 [("function" .=) <$> _rewFunction,
1260− ("path" .=) <$> _rewPath, ("glob" .=) <$> _rewGlob,
1320+ ("path" .=) <$> _rewPath, ("run" .=) <$> _rewRun,
1321+ ("glob" .=) <$> _rewGlob,
12611322 ("dynamicLinks" .=) <$> _rewDynamicLinks])
12621323
12631324-- | A set of file paths to the hashes corresponding to assets that should be
gogol-firebasehosting/gen/Network/Google/FirebaseHosting/Types/Sum.hs+2−2
@@ -210,8 +210,8 @@ data VersionStatus
210210 -- automatically deleted.
211211 | Expired
212212 -- ^ @EXPIRED@
213− -- The version has fallen out of the site-configured retention window and
214− -- its associated files in GCS have been\/been scheduled for deletion.
213+ -- The version is outside the site-configured limit for the number of
214+ -- retained versions, so the version\'s content is scheduled for deletion.
215215 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
216216
217217instance Hashable VersionStatus
gogol-firebasehosting/gogol-firebasehosting.cabal+5−5
@@ -1,5 +1,5 @@
11name: gogol-firebasehosting
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Firebase Hosting SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -14,9 +14,9 @@ cabal-version: >= 1.10
1414extra-source-files: README.md src/.gitkeep
1515
1616description:
17− The Firebase Hosting REST API enables programmatic custom deployment for
18− releasing versions of your Firebase hosted content and configuration
19− files.
17+ The Firebase Hosting REST API enables programmatic and customizable
18+ deployments to your Firebase-hosted sites. Use this REST API to deploy
19+ new or updated hosting configurations and content files.
2020 .
2121 /Warning:/ This is an experimental prototype/preview release which is still
2222 under exploratory development and not intended for public use, caveat emptor!
@@ -57,5 +57,5 @@ library
5757 , Network.Google.FirebaseHosting.Types.Sum
5858
5959 build-depends:
60− gogol-core == 0.4.0.*
60+ gogol-core == 0.5.0.*
6161 , base >= 4.7 && < 5
gogol-firebaseremoteconfig/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-firebaseremoteconfig/gogol-firebaseremoteconfig.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-firebaseremoteconfig
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Firebase Remote Config SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.FirebaseRemoteConfig.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-firestore/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-firestore/gen/Network/Google/FireStore.hs+3
@@ -649,8 +649,11 @@ module Network.Google.FireStore
649649 , fieldTransform
650650 , ftFieldPath
651651 , ftAppendMissingElements
652+ , ftMaximum
653+ , ftMinimum
652654 , ftSetToServerValue
653655 , ftRemoveAllFromArray
656+ , ftIncrement
654657
655658 -- ** MapValueFields
656659 , MapValueFields
gogol-firestore/gen/Network/Google/FireStore/Types.hs+3
@@ -555,8 +555,11 @@ module Network.Google.FireStore.Types
555555 , fieldTransform
556556 , ftFieldPath
557557 , ftAppendMissingElements
558+ , ftMaximum
559+ , ftMinimum
558560 , ftSetToServerValue
559561 , ftRemoveAllFromArray
562+ , ftIncrement
560563
561564 -- * MapValueFields
562565 , MapValueFields
gogol-firestore/gen/Network/Google/FireStore/Types/Product.hs+60−2
@@ -4491,8 +4491,11 @@ data FieldTransform =
44914491 FieldTransform'
44924492 { _ftFieldPath :: !(Maybe Text)
44934493 , _ftAppendMissingElements :: !(Maybe ArrayValue)
4494+ , _ftMaximum :: !(Maybe Value)
4495+ , _ftMinimum :: !(Maybe Value)
44944496 , _ftSetToServerValue :: !(Maybe FieldTransformSetToServerValue)
44954497 , _ftRemoveAllFromArray :: !(Maybe ArrayValue)
4498+ , _ftIncrement :: !(Maybe Value)
44964499 }
44974500 deriving (Eq, Show, Data, Typeable, Generic)
44984501
@@ -4504,17 +4507,26 @@ data FieldTransform =
45044507--
45054508-- * 'ftAppendMissingElements'
45064509--
4510+-- * 'ftMaximum'
4511+--
4512+-- * 'ftMinimum'
4513+--
45074514-- * 'ftSetToServerValue'
45084515--
45094516-- * 'ftRemoveAllFromArray'
4517+--
4518+-- * 'ftIncrement'
45104519fieldTransform
45114520 :: FieldTransform
45124521fieldTransform =
45134522 FieldTransform'
45144523 { _ftFieldPath = Nothing
45154524 , _ftAppendMissingElements = Nothing
4525+ , _ftMaximum = Nothing
4526+ , _ftMinimum = Nothing
45164527 , _ftSetToServerValue = Nothing
45174528 , _ftRemoveAllFromArray = Nothing
4529+ , _ftIncrement = Nothing
45184530 }
45194531
45204532-- | The path of the field. See Document.fields for the field path syntax
@@ -4536,6 +4548,34 @@ ftAppendMissingElements
45364548 = lens _ftAppendMissingElements
45374549 (\ s a -> s{_ftAppendMissingElements = a})
45384550
4551+-- | Sets the field to the maximum of its current value and the given value.
4552+-- This must be an integer or a double value. If the field is not an
4553+-- integer or double, or if the field does not yet exist, the
4554+-- transformation will set the field to the given value. If a maximum
4555+-- operation is applied where the field and the input value are of mixed
4556+-- types (that is - one is an integer and one is a double) the field takes
4557+-- on the type of the larger operand. If the operands are equivalent (e.g.
4558+-- 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero.
4559+-- The maximum of a zero stored value and zero input value is always the
4560+-- stored value. The maximum of any numeric value x and NaN is NaN.
4561+ftMaximum :: Lens' FieldTransform (Maybe Value)
4562+ftMaximum
4563+ = lens _ftMaximum (\ s a -> s{_ftMaximum = a})
4564+
4565+-- | Sets the field to the minimum of its current value and the given value.
4566+-- This must be an integer or a double value. If the field is not an
4567+-- integer or double, or if the field does not yet exist, the
4568+-- transformation will set the field to the input value. If a minimum
4569+-- operation is applied where the field and the input value are of mixed
4570+-- types (that is - one is an integer and one is a double) the field takes
4571+-- on the type of the smaller operand. If the operands are equivalent (e.g.
4572+-- 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero.
4573+-- The minimum of a zero stored value and zero input value is always the
4574+-- stored value. The minimum of any numeric value x and NaN is NaN.
4575+ftMinimum :: Lens' FieldTransform (Maybe Value)
4576+ftMinimum
4577+ = lens _ftMinimum (\ s a -> s{_ftMinimum = a})
4578+
45394579-- | Sets the field to the given server value.
45404580ftSetToServerValue :: Lens' FieldTransform (Maybe FieldTransformSetToServerValue)
45414581ftSetToServerValue
@@ -4554,6 +4594,18 @@ ftRemoveAllFromArray
45544594 = lens _ftRemoveAllFromArray
45554595 (\ s a -> s{_ftRemoveAllFromArray = a})
45564596
4597+-- | Adds the given value to the field\'s current value. This must be an
4598+-- integer or a double value. If the field is not an integer or double, or
4599+-- if the field does not yet exist, the transformation will set the field
4600+-- to the given value. If either of the given value or the current field
4601+-- value are doubles, both values will be interpreted as doubles. Double
4602+-- arithmetic and representation of double values follow IEEE 754
4603+-- semantics. If there is positive\/negative integer overflow, the field is
4604+-- resolved to the largest magnitude positive\/negative integer.
4605+ftIncrement :: Lens' FieldTransform (Maybe Value)
4606+ftIncrement
4607+ = lens _ftIncrement (\ s a -> s{_ftIncrement = a})
4608+
45574609instance FromJSON FieldTransform where
45584610 parseJSON
45594611 = withObject "FieldTransform"
@@ -4561,8 +4613,11 @@ instance FromJSON FieldTransform where
45614613 FieldTransform' <$>
45624614 (o .:? "fieldPath") <*>
45634615 (o .:? "appendMissingElements")
4616+ <*> (o .:? "maximum")
4617+ <*> (o .:? "minimum")
45644618 <*> (o .:? "setToServerValue")
4565− <*> (o .:? "removeAllFromArray"))
4619+ <*> (o .:? "removeAllFromArray")
4620+ <*> (o .:? "increment"))
45664621
45674622instance ToJSON FieldTransform where
45684623 toJSON FieldTransform'{..}
@@ -4571,8 +4626,11 @@ instance ToJSON FieldTransform where
45714626 [("fieldPath" .=) <$> _ftFieldPath,
45724627 ("appendMissingElements" .=) <$>
45734628 _ftAppendMissingElements,
4629+ ("maximum" .=) <$> _ftMaximum,
4630+ ("minimum" .=) <$> _ftMinimum,
45744631 ("setToServerValue" .=) <$> _ftSetToServerValue,
4575− ("removeAllFromArray" .=) <$> _ftRemoveAllFromArray])
4632+ ("removeAllFromArray" .=) <$> _ftRemoveAllFromArray,
4633+ ("increment" .=) <$> _ftIncrement])
45764634
45774635-- | The map\'s fields. The map keys represent field names. Field names
45784636-- matching the regular expression \`__.*__\` are reserved. Reserved field
gogol-firestore/gogol-firestore.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-firestore
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Firestore SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -70,5 +70,5 @@ library
7070 , Network.Google.FireStore.Types.Sum
7171
7272 build-depends:
73− gogol-core == 0.4.0.*
73+ gogol-core == 0.5.0.*
7474 , base >= 4.7 && < 5
gogol-fitness/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-fitness/gen/Network/Google/Fitness/Types/Product.hs+7−5
@@ -96,7 +96,7 @@ dsMinStartTimeNs
9696
9797-- | The largest end time of all data points in this possibly partial
9898-- representation of the dataset. Time is in nanoseconds from epoch. This
99−-- should also match the first part of the dataset identifier.
99+-- should also match the second part of the dataset identifier.
100100dsMaxEndTimeNs :: Lens' DataSet (Maybe Int64)
101101dsMaxEndTimeNs
102102 = lens _dsMaxEndTimeNs
@@ -397,9 +397,9 @@ arEndTimeMillis
397397 (\ s a -> s{_arEndTimeMillis = a})
398398 . mapping _Coerce
399399
400−-- | A list of acceptable data quality standards. Only data points which
401−-- conform to at least one of the specified data quality standards will be
402−-- returned. If the list is empty, all data points are returned.
400+-- | DO NOT POPULATE THIS FIELD. As data quality standards are deprecated,
401+-- filling it in will result in no data sources being returned. It will be
402+-- removed in a future version entirely.
403403arFilteredDataQualityStandard :: Lens' AggregateRequest [AggregateRequestFilteredDataQualityStandardItem]
404404arFilteredDataQualityStandard
405405 = lens _arFilteredDataQualityStandard
@@ -1238,7 +1238,9 @@ dsApplication
12381238dsDevice :: Lens' DataSource (Maybe Device)
12391239dsDevice = lens _dsDevice (\ s a -> s{_dsDevice = a})
12401240
1241−-- |
1241+-- | DO NOT POPULATE THIS FIELD. It is never populated in responses from the
1242+-- platform, and is ignored in queries. It will be removed in a future
1243+-- version entirely.
12421244dsDataQualityStandard :: Lens' DataSource [DataSourceDataQualityStandardItem]
12431245dsDataQualityStandard
12441246 = lens _dsDataQualityStandard
gogol-fitness/gogol-fitness.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-fitness
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Fitness SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -56,5 +56,5 @@ library
5656 , Network.Google.Fitness.Types.Sum
5757
5858 build-depends:
59− gogol-core == 0.4.0.*
59+ gogol-core == 0.5.0.*
6060 , base >= 4.7 && < 5
gogol-fonts/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-fonts/gogol-fonts.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-fonts
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Fonts Developer SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.Fonts.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-fusiontables/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-fusiontables/gogol-fusiontables.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-fusiontables
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Fusion Tables SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -75,5 +75,5 @@ library
7575 , Network.Google.FusionTables.Types.Sum
7676
7777 build-depends:
78− gogol-core == 0.4.0.*
78+ gogol-core == 0.5.0.*
7979 , base >= 4.7 && < 5
gogol-games-configuration/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-games-configuration/gogol-games-configuration.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-games-configuration
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play Game Services Publishing SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -54,5 +54,5 @@ library
5454 , Network.Google.GamesConfiguration.Types.Sum
5555
5656 build-depends:
57− gogol-core == 0.4.0.*
57+ gogol-core == 0.5.0.*
5858 , base >= 4.7 && < 5
gogol-games-management/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-games-management/gogol-games-management.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-games-management
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play Game Services Management SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -68,5 +68,5 @@ library
6868 , Network.Google.GamesManagement.Types.Sum
6969
7070 build-depends:
71− gogol-core == 0.4.0.*
71+ gogol-core == 0.5.0.*
7272 , base >= 4.7 && < 5
gogol-games/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-games/gen/Network/Google/Games.hs+1
@@ -24,6 +24,7 @@ module Network.Google.Games
2424 -- * OAuth Scopes
2525 , gamesScope
2626 , driveAppDataScope
27+ , plusMeScope
2728
2829 -- * API Declaration
2930 , GamesAPI
gogol-games/gen/Network/Google/Games/Types.hs+5
@@ -22,6 +22,7 @@ module Network.Google.Games.Types
2222 -- * OAuth Scopes
2323 , gamesScope
2424 , driveAppDataScope
25+ , plusMeScope
2526
2627 -- * PlayersListCollection
2728 , PlayersListCollection (..)
@@ -952,3 +953,7 @@ gamesScope = Proxy
952953-- | View and manage its own configuration data in your Google Drive
953954driveAppDataScope :: Proxy '["https://www.googleapis.com/auth/drive.appdata"]
954955driveAppDataScope = Proxy
956+
957+-- | Know who you are on Google
958+plusMeScope :: Proxy '["https://www.googleapis.com/auth/plus.me"]
959+plusMeScope = Proxy
gogol-games/gen/Network/Google/Resource/Games/AchievementDefinitions/List.hs+2−1
@@ -103,7 +103,8 @@ instance GoogleRequest AchievementDefinitionsList
103103 type Rs AchievementDefinitionsList =
104104 AchievementDefinitionsListResponse
105105 type Scopes AchievementDefinitionsList =
106− '["https://www.googleapis.com/auth/games"]
106+ '["https://www.googleapis.com/auth/games",
107+ "https://www.googleapis.com/auth/plus.me"]
107108 requestClient AchievementDefinitionsList'{..}
108109 = go _adlLanguage _adlPageToken _adlMaxResults
109110 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Achievements/Increment.hs+2−1
@@ -112,7 +112,8 @@ instance GoogleRequest AchievementsIncrement where
112112 type Rs AchievementsIncrement =
113113 AchievementIncrementResponse
114114 type Scopes AchievementsIncrement =
115− '["https://www.googleapis.com/auth/games"]
115+ '["https://www.googleapis.com/auth/games",
116+ "https://www.googleapis.com/auth/plus.me"]
116117 requestClient AchievementsIncrement'{..}
117118 = go _aiAchievementId (Just _aiStepsToIncrement)
118119 _aiRequestId
gogol-games/gen/Network/Google/Resource/Games/Achievements/List.hs+2−1
@@ -131,7 +131,8 @@ instance GoogleRequest AchievementsList where
131131 type Rs AchievementsList =
132132 PlayerAchievementListResponse
133133 type Scopes AchievementsList =
134− '["https://www.googleapis.com/auth/games"]
134+ '["https://www.googleapis.com/auth/games",
135+ "https://www.googleapis.com/auth/plus.me"]
135136 requestClient AchievementsList'{..}
136137 = go _alPlayerId _alState _alLanguage _alPageToken
137138 _alMaxResults
gogol-games/gen/Network/Google/Resource/Games/Achievements/Reveal.hs+2−1
@@ -82,7 +82,8 @@ instance GoogleRequest AchievementsReveal where
8282 type Rs AchievementsReveal =
8383 AchievementRevealResponse
8484 type Scopes AchievementsReveal =
85− '["https://www.googleapis.com/auth/games"]
85+ '["https://www.googleapis.com/auth/games",
86+ "https://www.googleapis.com/auth/plus.me"]
8687 requestClient AchievementsReveal'{..}
8788 = go _arAchievementId (Just AltJSON) gamesService
8889 where go
gogol-games/gen/Network/Google/Resource/Games/Achievements/SetStepsAtLeast.hs+2−1
@@ -102,7 +102,8 @@ instance GoogleRequest AchievementsSetStepsAtLeast
102102 type Rs AchievementsSetStepsAtLeast =
103103 AchievementSetStepsAtLeastResponse
104104 type Scopes AchievementsSetStepsAtLeast =
105− '["https://www.googleapis.com/auth/games"]
105+ '["https://www.googleapis.com/auth/games",
106+ "https://www.googleapis.com/auth/plus.me"]
106107 requestClient AchievementsSetStepsAtLeast'{..}
107108 = go _assalAchievementId (Just _assalSteps)
108109 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Achievements/Unlock.hs+2−1
@@ -92,7 +92,8 @@ instance GoogleRequest AchievementsUnlock where
9292 type Rs AchievementsUnlock =
9393 AchievementUnlockResponse
9494 type Scopes AchievementsUnlock =
95− '["https://www.googleapis.com/auth/games"]
95+ '["https://www.googleapis.com/auth/games",
96+ "https://www.googleapis.com/auth/plus.me"]
9697 requestClient AchievementsUnlock'{..}
9798 = go _auAchievementId _auBuiltinGameId (Just AltJSON)
9899 gamesService
gogol-games/gen/Network/Google/Resource/Games/Achievements/UpdateMultiple.hs+2−1
@@ -92,7 +92,8 @@ instance GoogleRequest AchievementsUpdateMultiple
9292 type Rs AchievementsUpdateMultiple =
9393 AchievementUpdateMultipleResponse
9494 type Scopes AchievementsUpdateMultiple =
95− '["https://www.googleapis.com/auth/games"]
95+ '["https://www.googleapis.com/auth/games",
96+ "https://www.googleapis.com/auth/plus.me"]
9697 requestClient AchievementsUpdateMultiple'{..}
9798 = go _aumBuiltinGameId (Just AltJSON) _aumPayload
9899 gamesService
gogol-games/gen/Network/Google/Resource/Games/Applications/Get.hs+2−1
@@ -107,7 +107,8 @@ agLanguage
107107instance GoogleRequest ApplicationsGet where
108108 type Rs ApplicationsGet = Application
109109 type Scopes ApplicationsGet =
110− '["https://www.googleapis.com/auth/games"]
110+ '["https://www.googleapis.com/auth/games",
111+ "https://www.googleapis.com/auth/plus.me"]
111112 requestClient ApplicationsGet'{..}
112113 = go _agApplicationId _agPlatformType _agLanguage
113114 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Applications/Played.hs+2−1
@@ -78,7 +78,8 @@ apBuiltinGameId
7878instance GoogleRequest ApplicationsPlayed where
7979 type Rs ApplicationsPlayed = ()
8080 type Scopes ApplicationsPlayed =
81− '["https://www.googleapis.com/auth/games"]
81+ '["https://www.googleapis.com/auth/games",
82+ "https://www.googleapis.com/auth/plus.me"]
8283 requestClient ApplicationsPlayed'{..}
8384 = go _apBuiltinGameId (Just AltJSON) gamesService
8485 where go
gogol-games/gen/Network/Google/Resource/Games/Applications/Verify.hs+2−1
@@ -84,7 +84,8 @@ instance GoogleRequest ApplicationsVerify where
8484 type Rs ApplicationsVerify =
8585 ApplicationVerifyResponse
8686 type Scopes ApplicationsVerify =
87− '["https://www.googleapis.com/auth/games"]
87+ '["https://www.googleapis.com/auth/games",
88+ "https://www.googleapis.com/auth/plus.me"]
8889 requestClient ApplicationsVerify'{..}
8990 = go _avApplicationId (Just AltJSON) gamesService
9091 where go
gogol-games/gen/Network/Google/Resource/Games/Events/ListByPlayer.hs+2−1
@@ -107,7 +107,8 @@ elbpMaxResults
107107instance GoogleRequest EventsListByPlayer where
108108 type Rs EventsListByPlayer = PlayerEventListResponse
109109 type Scopes EventsListByPlayer =
110− '["https://www.googleapis.com/auth/games"]
110+ '["https://www.googleapis.com/auth/games",
111+ "https://www.googleapis.com/auth/plus.me"]
111112 requestClient EventsListByPlayer'{..}
112113 = go _elbpLanguage _elbpPageToken _elbpMaxResults
113114 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Events/ListDefinitions.hs+2−1
@@ -102,7 +102,8 @@ instance GoogleRequest EventsListDefinitions where
102102 type Rs EventsListDefinitions =
103103 EventDefinitionListResponse
104104 type Scopes EventsListDefinitions =
105− '["https://www.googleapis.com/auth/games"]
105+ '["https://www.googleapis.com/auth/games",
106+ "https://www.googleapis.com/auth/plus.me"]
106107 requestClient EventsListDefinitions'{..}
107108 = go _eldLanguage _eldPageToken _eldMaxResults
108109 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Events/Record.hs+2−1
@@ -89,7 +89,8 @@ erLanguage
8989instance GoogleRequest EventsRecord where
9090 type Rs EventsRecord = EventUpdateResponse
9191 type Scopes EventsRecord =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient EventsRecord'{..}
9495 = go _erLanguage (Just AltJSON) _erPayload
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/Leaderboards/Get.hs+2−1
@@ -87,7 +87,8 @@ lgLanguage
8787instance GoogleRequest LeaderboardsGet where
8888 type Rs LeaderboardsGet = Leaderboard
8989 type Scopes LeaderboardsGet =
90− '["https://www.googleapis.com/auth/games"]
90+ '["https://www.googleapis.com/auth/games",
91+ "https://www.googleapis.com/auth/plus.me"]
9192 requestClient LeaderboardsGet'{..}
9293 = go _lgLeaderboardId _lgLanguage (Just AltJSON)
9394 gamesService
gogol-games/gen/Network/Google/Resource/Games/Leaderboards/List.hs+2−1
@@ -100,7 +100,8 @@ llMaxResults
100100instance GoogleRequest LeaderboardsList where
101101 type Rs LeaderboardsList = LeaderboardListResponse
102102 type Scopes LeaderboardsList =
103− '["https://www.googleapis.com/auth/games"]
103+ '["https://www.googleapis.com/auth/games",
104+ "https://www.googleapis.com/auth/plus.me"]
104105 requestClient LeaderboardsList'{..}
105106 = go _llLanguage _llPageToken _llMaxResults
106107 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Metagame/GetMetagameConfig.hs+2−1
@@ -63,7 +63,8 @@ instance GoogleRequest MetagameGetMetagameConfig
6363 where
6464 type Rs MetagameGetMetagameConfig = MetagameConfig
6565 type Scopes MetagameGetMetagameConfig =
66− '["https://www.googleapis.com/auth/games"]
66+ '["https://www.googleapis.com/auth/games",
67+ "https://www.googleapis.com/auth/plus.me"]
6768 requestClient MetagameGetMetagameConfig'{}
6869 = go (Just AltJSON) gamesService
6970 where go
gogol-games/gen/Network/Google/Resource/Games/Metagame/ListCategoriesByPlayer.hs+2−1
@@ -140,7 +140,8 @@ instance GoogleRequest MetagameListCategoriesByPlayer
140140 type Rs MetagameListCategoriesByPlayer =
141141 CategoryListResponse
142142 type Scopes MetagameListCategoriesByPlayer =
143− '["https://www.googleapis.com/auth/games"]
143+ '["https://www.googleapis.com/auth/games",
144+ "https://www.googleapis.com/auth/plus.me"]
144145 requestClient MetagameListCategoriesByPlayer'{..}
145146 = go _mlcbpPlayerId _mlcbpCollection _mlcbpLanguage
146147 _mlcbpPageToken
gogol-games/gen/Network/Google/Resource/Games/Players/Get.hs+2−1
@@ -89,7 +89,8 @@ pgPlayerId
8989instance GoogleRequest PlayersGet where
9090 type Rs PlayersGet = Player
9191 type Scopes PlayersGet =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient PlayersGet'{..}
9495 = go _pgPlayerId _pgLanguage (Just AltJSON)
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/Players/List.hs+2−1
@@ -117,7 +117,8 @@ plMaxResults
117117instance GoogleRequest PlayersList where
118118 type Rs PlayersList = PlayerListResponse
119119 type Scopes PlayersList =
120− '["https://www.googleapis.com/auth/games"]
120+ '["https://www.googleapis.com/auth/games",
121+ "https://www.googleapis.com/auth/plus.me"]
121122 requestClient PlayersList'{..}
122123 = go _plCollection _plLanguage _plPageToken
123124 _plMaxResults
gogol-games/gen/Network/Google/Resource/Games/Pushtokens/Remove.hs+2−1
@@ -78,7 +78,8 @@ prPayload
7878instance GoogleRequest PushtokensRemove where
7979 type Rs PushtokensRemove = ()
8080 type Scopes PushtokensRemove =
81− '["https://www.googleapis.com/auth/games"]
81+ '["https://www.googleapis.com/auth/games",
82+ "https://www.googleapis.com/auth/plus.me"]
8283 requestClient PushtokensRemove'{..}
8384 = go (Just AltJSON) _prPayload gamesService
8485 where go
gogol-games/gen/Network/Google/Resource/Games/Pushtokens/Update.hs+2−1
@@ -75,7 +75,8 @@ puPayload
7575instance GoogleRequest PushtokensUpdate where
7676 type Rs PushtokensUpdate = ()
7777 type Scopes PushtokensUpdate =
78− '["https://www.googleapis.com/auth/games"]
78+ '["https://www.googleapis.com/auth/games",
79+ "https://www.googleapis.com/auth/plus.me"]
7980 requestClient PushtokensUpdate'{..}
8081 = go (Just AltJSON) _puPayload gamesService
8182 where go
gogol-games/gen/Network/Google/Resource/Games/QuestMilestones/Claim.hs+2−1
@@ -111,7 +111,8 @@ qmcQuestId
111111instance GoogleRequest QuestMilestonesClaim where
112112 type Rs QuestMilestonesClaim = ()
113113 type Scopes QuestMilestonesClaim =
114− '["https://www.googleapis.com/auth/games"]
114+ '["https://www.googleapis.com/auth/games",
115+ "https://www.googleapis.com/auth/plus.me"]
115116 requestClient QuestMilestonesClaim'{..}
116117 = go _qmcQuestId _qmcMilestoneId (Just _qmcRequestId)
117118 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Quests/Accept.hs+2−1
@@ -89,7 +89,8 @@ qaQuestId
8989instance GoogleRequest QuestsAccept where
9090 type Rs QuestsAccept = Quest
9191 type Scopes QuestsAccept =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient QuestsAccept'{..}
9495 = go _qaQuestId _qaLanguage (Just AltJSON)
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/Quests/List.hs+2−1
@@ -120,7 +120,8 @@ qlMaxResults
120120instance GoogleRequest QuestsList where
121121 type Rs QuestsList = QuestListResponse
122122 type Scopes QuestsList =
123− '["https://www.googleapis.com/auth/games"]
123+ '["https://www.googleapis.com/auth/games",
124+ "https://www.googleapis.com/auth/plus.me"]
124125 requestClient QuestsList'{..}
125126 = go _qlPlayerId _qlLanguage _qlPageToken
126127 _qlMaxResults
gogol-games/gen/Network/Google/Resource/Games/Revisions/Check.hs+2−1
@@ -82,7 +82,8 @@ rcClientRevision
8282instance GoogleRequest RevisionsCheck where
8383 type Rs RevisionsCheck = RevisionCheckResponse
8484 type Scopes RevisionsCheck =
85− '["https://www.googleapis.com/auth/games"]
85+ '["https://www.googleapis.com/auth/games",
86+ "https://www.googleapis.com/auth/plus.me"]
8687 requestClient RevisionsCheck'{..}
8788 = go (Just _rcClientRevision) (Just AltJSON)
8889 gamesService
gogol-games/gen/Network/Google/Resource/Games/Rooms/Create.hs+2−1
@@ -90,7 +90,8 @@ rcLanguage
9090instance GoogleRequest RoomsCreate where
9191 type Rs RoomsCreate = Room
9292 type Scopes RoomsCreate =
93− '["https://www.googleapis.com/auth/games"]
93+ '["https://www.googleapis.com/auth/games",
94+ "https://www.googleapis.com/auth/plus.me"]
9495 requestClient RoomsCreate'{..}
9596 = go _rcLanguage (Just AltJSON) _rcPayload
9697 gamesService
gogol-games/gen/Network/Google/Resource/Games/Rooms/Decline.hs+2−1
@@ -89,7 +89,8 @@ rooLanguage
8989instance GoogleRequest RoomsDecline where
9090 type Rs RoomsDecline = Room
9191 type Scopes RoomsDecline =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient RoomsDecline'{..}
9495 = go _rooRoomId _rooLanguage (Just AltJSON)
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/Rooms/Dismiss.hs+2−1
@@ -77,7 +77,8 @@ rdRoomId = lens _rdRoomId (\ s a -> s{_rdRoomId = a})
7777instance GoogleRequest RoomsDismiss where
7878 type Rs RoomsDismiss = ()
7979 type Scopes RoomsDismiss =
80− '["https://www.googleapis.com/auth/games"]
80+ '["https://www.googleapis.com/auth/games",
81+ "https://www.googleapis.com/auth/plus.me"]
8182 requestClient RoomsDismiss'{..}
8283 = go _rdRoomId (Just AltJSON) gamesService
8384 where go
gogol-games/gen/Network/Google/Resource/Games/Rooms/Get.hs+2−1
@@ -84,7 +84,8 @@ rgLanguage
8484instance GoogleRequest RoomsGet where
8585 type Rs RoomsGet = Room
8686 type Scopes RoomsGet =
87− '["https://www.googleapis.com/auth/games"]
87+ '["https://www.googleapis.com/auth/games",
88+ "https://www.googleapis.com/auth/plus.me"]
8889 requestClient RoomsGet'{..}
8990 = go _rgRoomId _rgLanguage (Just AltJSON)
9091 gamesService
gogol-games/gen/Network/Google/Resource/Games/Rooms/Join.hs+2−1
@@ -100,7 +100,8 @@ rjLanguage
100100instance GoogleRequest RoomsJoin where
101101 type Rs RoomsJoin = Room
102102 type Scopes RoomsJoin =
103− '["https://www.googleapis.com/auth/games"]
103+ '["https://www.googleapis.com/auth/games",
104+ "https://www.googleapis.com/auth/plus.me"]
104105 requestClient RoomsJoin'{..}
105106 = go _rjRoomId _rjLanguage (Just AltJSON) _rjPayload
106107 gamesService
gogol-games/gen/Network/Google/Resource/Games/Rooms/Leave.hs+2−1
@@ -100,7 +100,8 @@ rlLanguage
100100instance GoogleRequest RoomsLeave where
101101 type Rs RoomsLeave = Room
102102 type Scopes RoomsLeave =
103− '["https://www.googleapis.com/auth/games"]
103+ '["https://www.googleapis.com/auth/games",
104+ "https://www.googleapis.com/auth/plus.me"]
104105 requestClient RoomsLeave'{..}
105106 = go _rlRoomId _rlLanguage (Just AltJSON) _rlPayload
106107 gamesService
gogol-games/gen/Network/Google/Resource/Games/Rooms/List.hs+2−1
@@ -99,7 +99,8 @@ rMaxResults
9999instance GoogleRequest RoomsList where
100100 type Rs RoomsList = RoomList
101101 type Scopes RoomsList =
102− '["https://www.googleapis.com/auth/games"]
102+ '["https://www.googleapis.com/auth/games",
103+ "https://www.googleapis.com/auth/plus.me"]
103104 requestClient RoomsList'{..}
104105 = go _rLanguage _rPageToken _rMaxResults
105106 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/Rooms/ReportStatus.hs+2−1
@@ -107,7 +107,8 @@ rrsLanguage
107107instance GoogleRequest RoomsReportStatus where
108108 type Rs RoomsReportStatus = RoomStatus
109109 type Scopes RoomsReportStatus =
110− '["https://www.googleapis.com/auth/games"]
110+ '["https://www.googleapis.com/auth/games",
111+ "https://www.googleapis.com/auth/plus.me"]
111112 requestClient RoomsReportStatus'{..}
112113 = go _rrsRoomId _rrsLanguage (Just AltJSON)
113114 _rrsPayload
gogol-games/gen/Network/Google/Resource/Games/Scores/Get.hs+2−1
@@ -167,7 +167,8 @@ instance GoogleRequest ScoresGet where
167167 type Rs ScoresGet =
168168 PlayerLeaderboardScoreListResponse
169169 type Scopes ScoresGet =
170− '["https://www.googleapis.com/auth/games"]
170+ '["https://www.googleapis.com/auth/games",
171+ "https://www.googleapis.com/auth/plus.me"]
171172 requestClient ScoresGet'{..}
172173 = go _sgPlayerId _sgLeaderboardId _sgTimeSpan
173174 _sgIncludeRankType
gogol-games/gen/Network/Google/Resource/Games/Scores/List.hs+2−1
@@ -143,7 +143,8 @@ sllMaxResults
143143instance GoogleRequest ScoresList where
144144 type Rs ScoresList = LeaderboardScores
145145 type Scopes ScoresList =
146− '["https://www.googleapis.com/auth/games"]
146+ '["https://www.googleapis.com/auth/games",
147+ "https://www.googleapis.com/auth/plus.me"]
147148 requestClient ScoresList'{..}
148149 = go _sllLeaderboardId _sllCollection
149150 (Just _sllTimeSpan)
gogol-games/gen/Network/Google/Resource/Games/Scores/ListWindow.hs+2−1
@@ -174,7 +174,8 @@ slwMaxResults
174174instance GoogleRequest ScoresListWindow where
175175 type Rs ScoresListWindow = LeaderboardScores
176176 type Scopes ScoresListWindow =
177− '["https://www.googleapis.com/auth/games"]
177+ '["https://www.googleapis.com/auth/games",
178+ "https://www.googleapis.com/auth/plus.me"]
178179 requestClient ScoresListWindow'{..}
179180 = go _slwLeaderboardId _slwCollection
180181 (Just _slwTimeSpan)
gogol-games/gen/Network/Google/Resource/Games/Scores/Submit.hs+2−1
@@ -122,7 +122,8 @@ ssLanguage
122122instance GoogleRequest ScoresSubmit where
123123 type Rs ScoresSubmit = PlayerScoreResponse
124124 type Scopes ScoresSubmit =
125− '["https://www.googleapis.com/auth/games"]
125+ '["https://www.googleapis.com/auth/games",
126+ "https://www.googleapis.com/auth/plus.me"]
126127 requestClient ScoresSubmit'{..}
127128 = go _ssLeaderboardId (Just _ssScore) _ssScoreTag
128129 _ssLanguage
gogol-games/gen/Network/Google/Resource/Games/Scores/SubmitMultiple.hs+2−1
@@ -89,7 +89,8 @@ instance GoogleRequest ScoresSubmitMultiple where
8989 type Rs ScoresSubmitMultiple =
9090 PlayerScoreListResponse
9191 type Scopes ScoresSubmitMultiple =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient ScoresSubmitMultiple'{..}
9495 = go _ssmLanguage (Just AltJSON) _ssmPayload
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/Snapshots/Get.hs+2−1
@@ -87,7 +87,8 @@ instance GoogleRequest SnapshotsGet where
8787 type Rs SnapshotsGet = Snapshot
8888 type Scopes SnapshotsGet =
8989 '["https://www.googleapis.com/auth/drive.appdata",
90− "https://www.googleapis.com/auth/games"]
90+ "https://www.googleapis.com/auth/games",
91+ "https://www.googleapis.com/auth/plus.me"]
9192 requestClient SnapshotsGet'{..}
9293 = go _sSnapshotId _sLanguage (Just AltJSON)
9394 gamesService
gogol-games/gen/Network/Google/Resource/Games/Snapshots/List.hs+2−1
@@ -120,7 +120,8 @@ instance GoogleRequest SnapshotsList where
120120 type Rs SnapshotsList = SnapshotListResponse
121121 type Scopes SnapshotsList =
122122 '["https://www.googleapis.com/auth/drive.appdata",
123− "https://www.googleapis.com/auth/games"]
123+ "https://www.googleapis.com/auth/games",
124+ "https://www.googleapis.com/auth/plus.me"]
124125 requestClient SnapshotsList'{..}
125126 = go _slPlayerId _slLanguage _slPageToken
126127 _slMaxResults
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Cancel.hs+2−1
@@ -77,7 +77,8 @@ tbmcMatchId
7777instance GoogleRequest TurnBasedMatchesCancel where
7878 type Rs TurnBasedMatchesCancel = ()
7979 type Scopes TurnBasedMatchesCancel =
80− '["https://www.googleapis.com/auth/games"]
80+ '["https://www.googleapis.com/auth/games",
81+ "https://www.googleapis.com/auth/plus.me"]
8182 requestClient TurnBasedMatchesCancel'{..}
8283 = go _tbmcMatchId (Just AltJSON) gamesService
8384 where go
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Create.hs+2−1
@@ -89,7 +89,8 @@ tbmcLanguage
8989instance GoogleRequest TurnBasedMatchesCreate where
9090 type Rs TurnBasedMatchesCreate = TurnBasedMatch
9191 type Scopes TurnBasedMatchesCreate =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient TurnBasedMatchesCreate'{..}
9495 = go _tbmcLanguage (Just AltJSON) _tbmcPayload
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Decline.hs+2−1
@@ -89,7 +89,8 @@ tbmdMatchId
8989instance GoogleRequest TurnBasedMatchesDecline where
9090 type Rs TurnBasedMatchesDecline = TurnBasedMatch
9191 type Scopes TurnBasedMatchesDecline =
92− '["https://www.googleapis.com/auth/games"]
92+ '["https://www.googleapis.com/auth/games",
93+ "https://www.googleapis.com/auth/plus.me"]
9394 requestClient TurnBasedMatchesDecline'{..}
9495 = go _tbmdMatchId _tbmdLanguage (Just AltJSON)
9596 gamesService
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Dismiss.hs+2−1
@@ -78,7 +78,8 @@ tMatchId = lens _tMatchId (\ s a -> s{_tMatchId = a})
7878instance GoogleRequest TurnBasedMatchesDismiss where
7979 type Rs TurnBasedMatchesDismiss = ()
8080 type Scopes TurnBasedMatchesDismiss =
81− '["https://www.googleapis.com/auth/games"]
81+ '["https://www.googleapis.com/auth/games",
82+ "https://www.googleapis.com/auth/plus.me"]
8283 requestClient TurnBasedMatchesDismiss'{..}
8384 = go _tMatchId (Just AltJSON) gamesService
8485 where go
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Finish.hs+2−1
@@ -107,7 +107,8 @@ tbmfMatchId
107107instance GoogleRequest TurnBasedMatchesFinish where
108108 type Rs TurnBasedMatchesFinish = TurnBasedMatch
109109 type Scopes TurnBasedMatchesFinish =
110− '["https://www.googleapis.com/auth/games"]
110+ '["https://www.googleapis.com/auth/games",
111+ "https://www.googleapis.com/auth/plus.me"]
111112 requestClient TurnBasedMatchesFinish'{..}
112113 = go _tbmfMatchId _tbmfLanguage (Just AltJSON)
113114 _tbmfPayload
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Get.hs+2−1
@@ -102,7 +102,8 @@ tbmgMatchId
102102instance GoogleRequest TurnBasedMatchesGet where
103103 type Rs TurnBasedMatchesGet = TurnBasedMatch
104104 type Scopes TurnBasedMatchesGet =
105− '["https://www.googleapis.com/auth/games"]
105+ '["https://www.googleapis.com/auth/games",
106+ "https://www.googleapis.com/auth/plus.me"]
106107 requestClient TurnBasedMatchesGet'{..}
107108 = go _tbmgMatchId _tbmgIncludeMatchData _tbmgLanguage
108109 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Join.hs+2−1
@@ -88,7 +88,8 @@ tbmjMatchId
8888instance GoogleRequest TurnBasedMatchesJoin where
8989 type Rs TurnBasedMatchesJoin = TurnBasedMatch
9090 type Scopes TurnBasedMatchesJoin =
91− '["https://www.googleapis.com/auth/games"]
91+ '["https://www.googleapis.com/auth/games",
92+ "https://www.googleapis.com/auth/plus.me"]
9293 requestClient TurnBasedMatchesJoin'{..}
9394 = go _tbmjMatchId _tbmjLanguage (Just AltJSON)
9495 gamesService
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Leave.hs+2−1
@@ -90,7 +90,8 @@ tbmlMatchId
9090instance GoogleRequest TurnBasedMatchesLeave where
9191 type Rs TurnBasedMatchesLeave = TurnBasedMatch
9292 type Scopes TurnBasedMatchesLeave =
93− '["https://www.googleapis.com/auth/games"]
93+ '["https://www.googleapis.com/auth/games",
94+ "https://www.googleapis.com/auth/plus.me"]
9495 requestClient TurnBasedMatchesLeave'{..}
9596 = go _tbmlMatchId _tbmlLanguage (Just AltJSON)
9697 gamesService
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/LeaveTurn.hs+2−1
@@ -124,7 +124,8 @@ instance GoogleRequest TurnBasedMatchesLeaveTurn
124124 where
125125 type Rs TurnBasedMatchesLeaveTurn = TurnBasedMatch
126126 type Scopes TurnBasedMatchesLeaveTurn =
127− '["https://www.googleapis.com/auth/games"]
127+ '["https://www.googleapis.com/auth/games",
128+ "https://www.googleapis.com/auth/plus.me"]
128129 requestClient TurnBasedMatchesLeaveTurn'{..}
129130 = go _tbmltMatchId (Just _tbmltMatchVersion)
130131 _tbmltLanguage
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/List.hs+2−1
@@ -134,7 +134,8 @@ tMaxResults
134134instance GoogleRequest TurnBasedMatchesList where
135135 type Rs TurnBasedMatchesList = TurnBasedMatchList
136136 type Scopes TurnBasedMatchesList =
137− '["https://www.googleapis.com/auth/games"]
137+ '["https://www.googleapis.com/auth/games",
138+ "https://www.googleapis.com/auth/plus.me"]
138139 requestClient TurnBasedMatchesList'{..}
139140 = go _tMaxCompletedMatches _tIncludeMatchData
140141 _tLanguage
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Rematch.hs+2−1
@@ -113,7 +113,8 @@ instance GoogleRequest TurnBasedMatchesRematch where
113113 type Rs TurnBasedMatchesRematch =
114114 TurnBasedMatchRematch
115115 type Scopes TurnBasedMatchesRematch =
116− '["https://www.googleapis.com/auth/games"]
116+ '["https://www.googleapis.com/auth/games",
117+ "https://www.googleapis.com/auth/plus.me"]
117118 requestClient TurnBasedMatchesRematch'{..}
118119 = go _tbmrMatchId _tbmrRequestId _tbmrLanguage
119120 (Just AltJSON)
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Sync.hs+2−1
@@ -143,7 +143,8 @@ tbmsMaxResults
143143instance GoogleRequest TurnBasedMatchesSync where
144144 type Rs TurnBasedMatchesSync = TurnBasedMatchSync
145145 type Scopes TurnBasedMatchesSync =
146− '["https://www.googleapis.com/auth/games"]
146+ '["https://www.googleapis.com/auth/games",
147+ "https://www.googleapis.com/auth/plus.me"]
147148 requestClient TurnBasedMatchesSync'{..}
148149 = go _tbmsMaxCompletedMatches _tbmsIncludeMatchData
149150 _tbmsLanguage
gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/TakeTurn.hs+2−1
@@ -104,7 +104,8 @@ tbmttMatchId
104104instance GoogleRequest TurnBasedMatchesTakeTurn where
105105 type Rs TurnBasedMatchesTakeTurn = TurnBasedMatch
106106 type Scopes TurnBasedMatchesTakeTurn =
107− '["https://www.googleapis.com/auth/games"]
107+ '["https://www.googleapis.com/auth/games",
108+ "https://www.googleapis.com/auth/plus.me"]
108109 requestClient TurnBasedMatchesTakeTurn'{..}
109110 = go _tbmttMatchId _tbmttLanguage (Just AltJSON)
110111 _tbmttPayload
gogol-games/gogol-games.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-games
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play Game Services SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -94,5 +94,5 @@ library
9494 , Network.Google.Games.Types.Sum
9595
9696 build-depends:
97− gogol-core == 0.4.0.*
97+ gogol-core == 0.5.0.*
9898 , base >= 4.7 && < 5
gogol-genomics/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-genomics/gogol-genomics.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-genomics
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Genomics SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@ library
4646 , Network.Google.Genomics.Types.Sum
4747
4848 build-depends:
49− gogol-core == 0.4.0.*
49+ gogol-core == 0.5.0.*
5050 , base >= 4.7 && < 5
gogol-gmail/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-gmail/gen/Network/Google/Gmail/Types/Product.hs+6−2
@@ -1067,7 +1067,9 @@ ltrResultSizeEstimate
10671067 (\ s a -> s{_ltrResultSizeEstimate = a})
10681068 . mapping _Coerce
10691069
1070−-- | List of threads.
1070+-- | List of threads. Note that each thread resource does not contain a list
1071+-- of messages. The list of messages for a given thread can be fetched
1072+-- using the threads.get method.
10711073ltrThreads :: Lens' ListThreadsResponse [Thread]
10721074ltrThreads
10731075 = lens _ltrThreads (\ s a -> s{_ltrThreads = a}) .
@@ -2831,7 +2833,9 @@ lmrResultSizeEstimate
28312833 (\ s a -> s{_lmrResultSizeEstimate = a})
28322834 . mapping _Coerce
28332835
2834−-- | List of messages.
2836+-- | List of messages. Note that each message resource contains only an id
2837+-- and a threadId. Additional message details can be fetched using the
2838+-- messages.get method.
28352839lmrMessages :: Lens' ListMessagesResponse [Message]
28362840lmrMessages
28372841 = lens _lmrMessages (\ s a -> s{_lmrMessages = a}) .
gogol-gmail/gogol-gmail.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-gmail
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Gmail SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -107,5 +107,5 @@ library
107107 , Network.Google.Gmail.Types.Sum
108108
109109 build-depends:
110− gogol-core == 0.4.0.*
110+ gogol-core == 0.5.0.*
111111 , base >= 4.7 && < 5
gogol-groups-migration/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-groups-migration/gogol-groups-migration.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-groups-migration
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Groups Migration SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.GroupsMigration.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-groups-settings/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-groups-settings/gogol-groups-settings.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-groups-settings
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Groups Settings SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -44,5 +44,5 @@ library
4444 , Network.Google.GroupsSettings.Types.Sum
4545
4646 build-depends:
47− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
4848 , base >= 4.7 && < 5
gogol-healthcare/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-healthcare/gogol-healthcare.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-healthcare
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Healthcare SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -123,5 +123,5 @@ library
123123 , Network.Google.Healthcare.Types.Sum
124124
125125 build-depends:
126− gogol-core == 0.4.0.*
126+ gogol-core == 0.5.0.*
127127 , base >= 4.7 && < 5
gogol-iam/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-iam/gen/Network/Google/Resource/IAM/Projects/ServiceAccounts/SignBlob.hs+8−2
@@ -20,7 +20,10 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Signs a blob using a service account\'s system-managed private key.
23+-- **Note**: This method is in the process of being deprecated. Call the
24+-- [\`signBlob()\`](\/iam\/credentials\/reference\/rest\/v1\/projects.serviceAccounts\/signBlob)
25+-- method of the Cloud IAM Service Account Credentials API instead. Signs a
26+-- blob using a service account\'s system-managed private key.
2427--
2528-- /See:/ <https://cloud.google.com/iam/ Identity and Access Management (IAM) API Reference> for @iam.projects.serviceAccounts.signBlob@.
2629module Network.Google.Resource.IAM.Projects.ServiceAccounts.SignBlob
@@ -59,7 +62,10 @@ type ProjectsServiceAccountsSignBlobResource =
5962 ReqBody '[JSON] SignBlobRequest :>
6063 Post '[JSON] SignBlobResponse
6164
62−-- | Signs a blob using a service account\'s system-managed private key.
65+-- | **Note**: This method is in the process of being deprecated. Call the
66+-- [\`signBlob()\`](\/iam\/credentials\/reference\/rest\/v1\/projects.serviceAccounts\/signBlob)
67+-- method of the Cloud IAM Service Account Credentials API instead. Signs a
68+-- blob using a service account\'s system-managed private key.
6369--
6470-- /See:/ 'projectsServiceAccountsSignBlob' smart constructor.
6571data ProjectsServiceAccountsSignBlob =
gogol-iam/gen/Network/Google/Resource/IAM/Projects/ServiceAccounts/SignJwt.hs+12−6
@@ -20,9 +20,12 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Signs a JWT using a service account\'s system-managed private key. If no
24−-- expiry time (\`exp\`) is provided in the \`SignJwtRequest\`, IAM sets an
25−-- an expiry time of one hour by default. If you request an expiry time of
23+-- **Note**: This method is in the process of being deprecated. Call the
24+-- [\`signJwt()\`](\/iam\/credentials\/reference\/rest\/v1\/projects.serviceAccounts\/signJwt)
25+-- method of the Cloud IAM Service Account Credentials API instead. Signs a
26+-- JWT using a service account\'s system-managed private key. If no expiry
27+-- time (\`exp\`) is provided in the \`SignJwtRequest\`, IAM sets an an
28+-- expiry time of one hour by default. If you request an expiry time of
2629-- more than one hour, the request will fail.
2730--
2831-- /See:/ <https://cloud.google.com/iam/ Identity and Access Management (IAM) API Reference> for @iam.projects.serviceAccounts.signJwt@.
@@ -62,9 +65,12 @@ type ProjectsServiceAccountsSignJwtResource =
6265 ReqBody '[JSON] SignJwtRequest :>
6366 Post '[JSON] SignJwtResponse
6467
65−-- | Signs a JWT using a service account\'s system-managed private key. If no
66−-- expiry time (\`exp\`) is provided in the \`SignJwtRequest\`, IAM sets an
67−-- an expiry time of one hour by default. If you request an expiry time of
68+-- | **Note**: This method is in the process of being deprecated. Call the
69+-- [\`signJwt()\`](\/iam\/credentials\/reference\/rest\/v1\/projects.serviceAccounts\/signJwt)
70+-- method of the Cloud IAM Service Account Credentials API instead. Signs a
71+-- JWT using a service account\'s system-managed private key. If no expiry
72+-- time (\`exp\`) is provided in the \`SignJwtRequest\`, IAM sets an an
73+-- expiry time of one hour by default. If you request an expiry time of
6874-- more than one hour, the request will fail.
6975--
7076-- /See:/ 'projectsServiceAccountsSignJwt' smart constructor.
gogol-iam/gogol-iam.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-iam
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Identity and Access Management (IAM) SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -75,5 +75,5 @@ library
7575 , Network.Google.IAM.Types.Sum
7676
7777 build-depends:
78− gogol-core == 0.4.0.*
78+ gogol-core == 0.5.0.*
7979 , base >= 4.7 && < 5
gogol-iamcredentials/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-iamcredentials/gogol-iamcredentials.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-iamcredentials
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google IAM Service Account Credentials SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@ library
4747 , Network.Google.IAMCredentials.Types.Sum
4848
4949 build-depends:
50− gogol-core == 0.4.0.*
50+ gogol-core == 0.5.0.*
5151 , base >= 4.7 && < 5
gogol-iap/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-iap/gen/Network/Google/IAP.hs+11−92
@@ -29,59 +29,14 @@ module Network.Google.IAP
2929
3030 -- * Resources
3131
32− -- ** iap.projects.iap_tunnel.getIamPolicy
33− , module Network.Google.Resource.IAP.Projects.IapTunnel.GetIAMPolicy
32+ -- ** iap.getIamPolicy
33+ , module Network.Google.Resource.IAP.GetIAMPolicy
3434
35− -- ** iap.projects.iap_tunnel.setIamPolicy
36− , module Network.Google.Resource.IAP.Projects.IapTunnel.SetIAMPolicy
35+ -- ** iap.setIamPolicy
36+ , module Network.Google.Resource.IAP.SetIAMPolicy
3737
38− -- ** iap.projects.iap_tunnel.testIamPermissions
39− , module Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions
40−
41− -- ** iap.projects.iap_tunnel.zones.getIamPolicy
42− , module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.GetIAMPolicy
43−
44− -- ** iap.projects.iap_tunnel.zones.instances.getIamPolicy
45− , module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.GetIAMPolicy
46−
47− -- ** iap.projects.iap_tunnel.zones.instances.setIamPolicy
48− , module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.SetIAMPolicy
49−
50− -- ** iap.projects.iap_tunnel.zones.instances.testIamPermissions
51− , module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.TestIAMPermissions
52−
53− -- ** iap.projects.iap_tunnel.zones.setIamPolicy
54− , module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy
55−
56− -- ** iap.projects.iap_tunnel.zones.testIamPermissions
57− , module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.TestIAMPermissions
58−
59− -- ** iap.projects.iap_web.getIamPolicy
60− , module Network.Google.Resource.IAP.Projects.IapWeb.GetIAMPolicy
61−
62− -- ** iap.projects.iap_web.services.getIamPolicy
63− , module Network.Google.Resource.IAP.Projects.IapWeb.Services.GetIAMPolicy
64−
65− -- ** iap.projects.iap_web.services.setIamPolicy
66− , module Network.Google.Resource.IAP.Projects.IapWeb.Services.SetIAMPolicy
67−
68− -- ** iap.projects.iap_web.services.testIamPermissions
69− , module Network.Google.Resource.IAP.Projects.IapWeb.Services.TestIAMPermissions
70−
71− -- ** iap.projects.iap_web.services.versions.getIamPolicy
72− , module Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.GetIAMPolicy
73−
74− -- ** iap.projects.iap_web.services.versions.setIamPolicy
75− , module Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.SetIAMPolicy
76−
77− -- ** iap.projects.iap_web.services.versions.testIamPermissions
78− , module Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.TestIAMPermissions
79−
80− -- ** iap.projects.iap_web.setIamPolicy
81− , module Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy
82−
83− -- ** iap.projects.iap_web.testIamPermissions
84− , module Network.Google.Resource.IAP.Projects.IapWeb.TestIAMPermissions
38+ -- ** iap.testIamPermissions
39+ , module Network.Google.Resource.IAP.TestIAMPermissions
8540
8641 -- * Types
8742
@@ -132,24 +87,9 @@ module Network.Google.IAP
13287
13388import Network.Google.IAP.Types
13489import Network.Google.Prelude
135−import Network.Google.Resource.IAP.Projects.IapTunnel.GetIAMPolicy
136−import Network.Google.Resource.IAP.Projects.IapTunnel.SetIAMPolicy
137−import Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions
138−import Network.Google.Resource.IAP.Projects.IapTunnel.Zones.GetIAMPolicy
139−import Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.GetIAMPolicy
140−import Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.SetIAMPolicy
141−import Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.TestIAMPermissions
142−import Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy
143−import Network.Google.Resource.IAP.Projects.IapTunnel.Zones.TestIAMPermissions
144−import Network.Google.Resource.IAP.Projects.IapWeb.GetIAMPolicy
145−import Network.Google.Resource.IAP.Projects.IapWeb.Services.GetIAMPolicy
146−import Network.Google.Resource.IAP.Projects.IapWeb.Services.SetIAMPolicy
147−import Network.Google.Resource.IAP.Projects.IapWeb.Services.TestIAMPermissions
148−import Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.GetIAMPolicy
149−import Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.SetIAMPolicy
150−import Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.TestIAMPermissions
151−import Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy
152−import Network.Google.Resource.IAP.Projects.IapWeb.TestIAMPermissions
90+import Network.Google.Resource.IAP.GetIAMPolicy
91+import Network.Google.Resource.IAP.SetIAMPolicy
92+import Network.Google.Resource.IAP.TestIAMPermissions
15393
15494{- $resources
15595TODO
@@ -157,26 +97,5 @@ TODO
15797
15898-- | Represents the entirety of the methods and resources available for the Cloud Identity-Aware Proxy API service.
15999type IAPAPI =
160− ProjectsIapTunnelZonesInstancesGetIAMPolicyResource
161− :<|>
162− ProjectsIapTunnelZonesInstancesSetIAMPolicyResource
163− :<|>
164− ProjectsIapTunnelZonesInstancesTestIAMPermissionsResource
165− :<|> ProjectsIapTunnelZonesGetIAMPolicyResource
166− :<|> ProjectsIapTunnelZonesSetIAMPolicyResource
167− :<|> ProjectsIapTunnelZonesTestIAMPermissionsResource
168− :<|> ProjectsIapTunnelGetIAMPolicyResource
169− :<|> ProjectsIapTunnelSetIAMPolicyResource
170− :<|> ProjectsIapTunnelTestIAMPermissionsResource
171− :<|>
172− ProjectsIapWebServicesVersionsGetIAMPolicyResource
173− :<|>
174− ProjectsIapWebServicesVersionsSetIAMPolicyResource
175− :<|>
176− ProjectsIapWebServicesVersionsTestIAMPermissionsResource
177− :<|> ProjectsIapWebServicesGetIAMPolicyResource
178− :<|> ProjectsIapWebServicesSetIAMPolicyResource
179− :<|> ProjectsIapWebServicesTestIAMPermissionsResource
180− :<|> ProjectsIapWebGetIAMPolicyResource
181− :<|> ProjectsIapWebSetIAMPolicyResource
182− :<|> ProjectsIapWebTestIAMPermissionsResource
100+ GetIAMPolicyResource :<|> SetIAMPolicyResource :<|>
101+ TestIAMPermissionsResource
gogol-iap/gen/Network/Google/Resource/IAP/GetIAMPolicy.hsnew file+167
@@ -0,0 +1,167 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.IAP.GetIAMPolicy
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Gets the access control policy for an Identity-Aware Proxy protected
24+-- resource. More information about managing access via IAP can be found
25+-- at:
26+-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27+--
28+-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.getIamPolicy@.
29+module Network.Google.Resource.IAP.GetIAMPolicy
30+ (
31+ -- * REST Resource
32+ GetIAMPolicyResource
33+
34+ -- * Creating a Request
35+ , getIAMPolicy
36+ , GetIAMPolicy
37+
38+ -- * Request Lenses
39+ , gipXgafv
40+ , gipUploadProtocol
41+ , gipAccessToken
42+ , gipUploadType
43+ , gipPayload
44+ , gipResource
45+ , gipCallback
46+ ) where
47+
48+import Network.Google.IAP.Types
49+import Network.Google.Prelude
50+
51+-- | A resource alias for @iap.getIamPolicy@ method which the
52+-- 'GetIAMPolicy' request conforms to.
53+type GetIAMPolicyResource =
54+ "v1" :>
55+ CaptureMode "resource" "getIamPolicy" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
57+ QueryParam "upload_protocol" Text :>
58+ QueryParam "access_token" Text :>
59+ QueryParam "uploadType" Text :>
60+ QueryParam "callback" Text :>
61+ QueryParam "alt" AltJSON :>
62+ ReqBody '[JSON] GetIAMPolicyRequest :>
63+ Post '[JSON] Policy
64+
65+-- | Gets the access control policy for an Identity-Aware Proxy protected
66+-- resource. More information about managing access via IAP can be found
67+-- at:
68+-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69+--
70+-- /See:/ 'getIAMPolicy' smart constructor.
71+data GetIAMPolicy =
72+ GetIAMPolicy'
73+ { _gipXgafv :: !(Maybe Xgafv)
74+ , _gipUploadProtocol :: !(Maybe Text)
75+ , _gipAccessToken :: !(Maybe Text)
76+ , _gipUploadType :: !(Maybe Text)
77+ , _gipPayload :: !GetIAMPolicyRequest
78+ , _gipResource :: !Text
79+ , _gipCallback :: !(Maybe Text)
80+ }
81+ deriving (Eq, Show, Data, Typeable, Generic)
82+
83+-- | Creates a value of 'GetIAMPolicy' with the minimum fields required to make a request.
84+--
85+-- Use one of the following lenses to modify other fields as desired:
86+--
87+-- * 'gipXgafv'
88+--
89+-- * 'gipUploadProtocol'
90+--
91+-- * 'gipAccessToken'
92+--
93+-- * 'gipUploadType'
94+--
95+-- * 'gipPayload'
96+--
97+-- * 'gipResource'
98+--
99+-- * 'gipCallback'
100+getIAMPolicy
101+ :: GetIAMPolicyRequest -- ^ 'gipPayload'
102+ -> Text -- ^ 'gipResource'
103+ -> GetIAMPolicy
104+getIAMPolicy pGipPayload_ pGipResource_ =
105+ GetIAMPolicy'
106+ { _gipXgafv = Nothing
107+ , _gipUploadProtocol = Nothing
108+ , _gipAccessToken = Nothing
109+ , _gipUploadType = Nothing
110+ , _gipPayload = pGipPayload_
111+ , _gipResource = pGipResource_
112+ , _gipCallback = Nothing
113+ }
114+
115+-- | V1 error format.
116+gipXgafv :: Lens' GetIAMPolicy (Maybe Xgafv)
117+gipXgafv = lens _gipXgafv (\ s a -> s{_gipXgafv = a})
118+
119+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
120+gipUploadProtocol :: Lens' GetIAMPolicy (Maybe Text)
121+gipUploadProtocol
122+ = lens _gipUploadProtocol
123+ (\ s a -> s{_gipUploadProtocol = a})
124+
125+-- | OAuth access token.
126+gipAccessToken :: Lens' GetIAMPolicy (Maybe Text)
127+gipAccessToken
128+ = lens _gipAccessToken
129+ (\ s a -> s{_gipAccessToken = a})
130+
131+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
132+gipUploadType :: Lens' GetIAMPolicy (Maybe Text)
133+gipUploadType
134+ = lens _gipUploadType
135+ (\ s a -> s{_gipUploadType = a})
136+
137+-- | Multipart request metadata.
138+gipPayload :: Lens' GetIAMPolicy GetIAMPolicyRequest
139+gipPayload
140+ = lens _gipPayload (\ s a -> s{_gipPayload = a})
141+
142+-- | REQUIRED: The resource for which the policy is being requested. See the
143+-- operation documentation for the appropriate value for this field.
144+gipResource :: Lens' GetIAMPolicy Text
145+gipResource
146+ = lens _gipResource (\ s a -> s{_gipResource = a})
147+
148+-- | JSONP
149+gipCallback :: Lens' GetIAMPolicy (Maybe Text)
150+gipCallback
151+ = lens _gipCallback (\ s a -> s{_gipCallback = a})
152+
153+instance GoogleRequest GetIAMPolicy where
154+ type Rs GetIAMPolicy = Policy
155+ type Scopes GetIAMPolicy =
156+ '["https://www.googleapis.com/auth/cloud-platform"]
157+ requestClient GetIAMPolicy'{..}
158+ = go _gipResource _gipXgafv _gipUploadProtocol
159+ _gipAccessToken
160+ _gipUploadType
161+ _gipCallback
162+ (Just AltJSON)
163+ _gipPayload
164+ iAPService
165+ where go
166+ = buildClient (Proxy :: Proxy GetIAMPolicyResource)
167+ mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/GetIAMPolicy.hsdeleted−175
@@ -1,175 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.GetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the access control policy for an Identity-Aware Proxy protected
24−-- resource. More information about managing access via IAP can be found
25−-- at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.getIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.GetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapTunnelGetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelGetIAMPolicy
36− , ProjectsIapTunnelGetIAMPolicy
37−
38− -- * Request Lenses
39− , pitgipXgafv
40− , pitgipUploadProtocol
41− , pitgipAccessToken
42− , pitgipUploadType
43− , pitgipPayload
44− , pitgipResource
45− , pitgipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.getIamPolicy@ method which the
52−-- 'ProjectsIapTunnelGetIAMPolicy' request conforms to.
53−type ProjectsIapTunnelGetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "getIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] GetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Gets the access control policy for an Identity-Aware Proxy protected
66−-- resource. More information about managing access via IAP can be found
67−-- at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapTunnelGetIAMPolicy' smart constructor.
71−data ProjectsIapTunnelGetIAMPolicy =
72− ProjectsIapTunnelGetIAMPolicy'
73− { _pitgipXgafv :: !(Maybe Xgafv)
74− , _pitgipUploadProtocol :: !(Maybe Text)
75− , _pitgipAccessToken :: !(Maybe Text)
76− , _pitgipUploadType :: !(Maybe Text)
77− , _pitgipPayload :: !GetIAMPolicyRequest
78− , _pitgipResource :: !Text
79− , _pitgipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapTunnelGetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'pitgipXgafv'
88−--
89−-- * 'pitgipUploadProtocol'
90−--
91−-- * 'pitgipAccessToken'
92−--
93−-- * 'pitgipUploadType'
94−--
95−-- * 'pitgipPayload'
96−--
97−-- * 'pitgipResource'
98−--
99−-- * 'pitgipCallback'
100−projectsIapTunnelGetIAMPolicy
101− :: GetIAMPolicyRequest -- ^ 'pitgipPayload'
102− -> Text -- ^ 'pitgipResource'
103− -> ProjectsIapTunnelGetIAMPolicy
104−projectsIapTunnelGetIAMPolicy pPitgipPayload_ pPitgipResource_ =
105− ProjectsIapTunnelGetIAMPolicy'
106− { _pitgipXgafv = Nothing
107− , _pitgipUploadProtocol = Nothing
108− , _pitgipAccessToken = Nothing
109− , _pitgipUploadType = Nothing
110− , _pitgipPayload = pPitgipPayload_
111− , _pitgipResource = pPitgipResource_
112− , _pitgipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−pitgipXgafv :: Lens' ProjectsIapTunnelGetIAMPolicy (Maybe Xgafv)
117−pitgipXgafv
118− = lens _pitgipXgafv (\ s a -> s{_pitgipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−pitgipUploadProtocol :: Lens' ProjectsIapTunnelGetIAMPolicy (Maybe Text)
122−pitgipUploadProtocol
123− = lens _pitgipUploadProtocol
124− (\ s a -> s{_pitgipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−pitgipAccessToken :: Lens' ProjectsIapTunnelGetIAMPolicy (Maybe Text)
128−pitgipAccessToken
129− = lens _pitgipAccessToken
130− (\ s a -> s{_pitgipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−pitgipUploadType :: Lens' ProjectsIapTunnelGetIAMPolicy (Maybe Text)
134−pitgipUploadType
135− = lens _pitgipUploadType
136− (\ s a -> s{_pitgipUploadType = a})
137−
138−-- | Multipart request metadata.
139−pitgipPayload :: Lens' ProjectsIapTunnelGetIAMPolicy GetIAMPolicyRequest
140−pitgipPayload
141− = lens _pitgipPayload
142− (\ s a -> s{_pitgipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being requested. See the
145−-- operation documentation for the appropriate value for this field.
146−pitgipResource :: Lens' ProjectsIapTunnelGetIAMPolicy Text
147−pitgipResource
148− = lens _pitgipResource
149− (\ s a -> s{_pitgipResource = a})
150−
151−-- | JSONP
152−pitgipCallback :: Lens' ProjectsIapTunnelGetIAMPolicy (Maybe Text)
153−pitgipCallback
154− = lens _pitgipCallback
155− (\ s a -> s{_pitgipCallback = a})
156−
157−instance GoogleRequest ProjectsIapTunnelGetIAMPolicy
158− where
159− type Rs ProjectsIapTunnelGetIAMPolicy = Policy
160− type Scopes ProjectsIapTunnelGetIAMPolicy =
161− '["https://www.googleapis.com/auth/cloud-platform"]
162− requestClient ProjectsIapTunnelGetIAMPolicy'{..}
163− = go _pitgipResource _pitgipXgafv
164− _pitgipUploadProtocol
165− _pitgipAccessToken
166− _pitgipUploadType
167− _pitgipCallback
168− (Just AltJSON)
169− _pitgipPayload
170− iAPService
171− where go
172− = buildClient
173− (Proxy ::
174− Proxy ProjectsIapTunnelGetIAMPolicyResource)
175− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/SetIAMPolicy.hsdeleted−175
@@ -1,175 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.SetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Sets the access control policy for an Identity-Aware Proxy protected
24−-- resource. Replaces any existing policy. More information about managing
25−-- access via IAP can be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.setIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.SetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapTunnelSetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelSetIAMPolicy
36− , ProjectsIapTunnelSetIAMPolicy
37−
38− -- * Request Lenses
39− , pitsipXgafv
40− , pitsipUploadProtocol
41− , pitsipAccessToken
42− , pitsipUploadType
43− , pitsipPayload
44− , pitsipResource
45− , pitsipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.setIamPolicy@ method which the
52−-- 'ProjectsIapTunnelSetIAMPolicy' request conforms to.
53−type ProjectsIapTunnelSetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "setIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] SetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Sets the access control policy for an Identity-Aware Proxy protected
66−-- resource. Replaces any existing policy. More information about managing
67−-- access via IAP can be found at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapTunnelSetIAMPolicy' smart constructor.
71−data ProjectsIapTunnelSetIAMPolicy =
72− ProjectsIapTunnelSetIAMPolicy'
73− { _pitsipXgafv :: !(Maybe Xgafv)
74− , _pitsipUploadProtocol :: !(Maybe Text)
75− , _pitsipAccessToken :: !(Maybe Text)
76− , _pitsipUploadType :: !(Maybe Text)
77− , _pitsipPayload :: !SetIAMPolicyRequest
78− , _pitsipResource :: !Text
79− , _pitsipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapTunnelSetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'pitsipXgafv'
88−--
89−-- * 'pitsipUploadProtocol'
90−--
91−-- * 'pitsipAccessToken'
92−--
93−-- * 'pitsipUploadType'
94−--
95−-- * 'pitsipPayload'
96−--
97−-- * 'pitsipResource'
98−--
99−-- * 'pitsipCallback'
100−projectsIapTunnelSetIAMPolicy
101− :: SetIAMPolicyRequest -- ^ 'pitsipPayload'
102− -> Text -- ^ 'pitsipResource'
103− -> ProjectsIapTunnelSetIAMPolicy
104−projectsIapTunnelSetIAMPolicy pPitsipPayload_ pPitsipResource_ =
105− ProjectsIapTunnelSetIAMPolicy'
106− { _pitsipXgafv = Nothing
107− , _pitsipUploadProtocol = Nothing
108− , _pitsipAccessToken = Nothing
109− , _pitsipUploadType = Nothing
110− , _pitsipPayload = pPitsipPayload_
111− , _pitsipResource = pPitsipResource_
112− , _pitsipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−pitsipXgafv :: Lens' ProjectsIapTunnelSetIAMPolicy (Maybe Xgafv)
117−pitsipXgafv
118− = lens _pitsipXgafv (\ s a -> s{_pitsipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−pitsipUploadProtocol :: Lens' ProjectsIapTunnelSetIAMPolicy (Maybe Text)
122−pitsipUploadProtocol
123− = lens _pitsipUploadProtocol
124− (\ s a -> s{_pitsipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−pitsipAccessToken :: Lens' ProjectsIapTunnelSetIAMPolicy (Maybe Text)
128−pitsipAccessToken
129− = lens _pitsipAccessToken
130− (\ s a -> s{_pitsipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−pitsipUploadType :: Lens' ProjectsIapTunnelSetIAMPolicy (Maybe Text)
134−pitsipUploadType
135− = lens _pitsipUploadType
136− (\ s a -> s{_pitsipUploadType = a})
137−
138−-- | Multipart request metadata.
139−pitsipPayload :: Lens' ProjectsIapTunnelSetIAMPolicy SetIAMPolicyRequest
140−pitsipPayload
141− = lens _pitsipPayload
142− (\ s a -> s{_pitsipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being specified. See the
145−-- operation documentation for the appropriate value for this field.
146−pitsipResource :: Lens' ProjectsIapTunnelSetIAMPolicy Text
147−pitsipResource
148− = lens _pitsipResource
149− (\ s a -> s{_pitsipResource = a})
150−
151−-- | JSONP
152−pitsipCallback :: Lens' ProjectsIapTunnelSetIAMPolicy (Maybe Text)
153−pitsipCallback
154− = lens _pitsipCallback
155− (\ s a -> s{_pitsipCallback = a})
156−
157−instance GoogleRequest ProjectsIapTunnelSetIAMPolicy
158− where
159− type Rs ProjectsIapTunnelSetIAMPolicy = Policy
160− type Scopes ProjectsIapTunnelSetIAMPolicy =
161− '["https://www.googleapis.com/auth/cloud-platform"]
162− requestClient ProjectsIapTunnelSetIAMPolicy'{..}
163− = go _pitsipResource _pitsipXgafv
164− _pitsipUploadProtocol
165− _pitsipAccessToken
166− _pitsipUploadType
167− _pitsipCallback
168− (Just AltJSON)
169− _pitsipPayload
170− iAPService
171− where go
172− = buildClient
173− (Proxy ::
174− Proxy ProjectsIapTunnelSetIAMPolicyResource)
175− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/TestIAMPermissions.hsdeleted−179
@@ -1,179 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns permissions that a caller has on the Identity-Aware Proxy
24−-- protected resource. More information about managing access via IAP can
25−-- be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.testIamPermissions@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions
30− (
31− -- * REST Resource
32− ProjectsIapTunnelTestIAMPermissionsResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelTestIAMPermissions
36− , ProjectsIapTunnelTestIAMPermissions
37−
38− -- * Request Lenses
39− , pittipXgafv
40− , pittipUploadProtocol
41− , pittipAccessToken
42− , pittipUploadType
43− , pittipPayload
44− , pittipResource
45− , pittipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.testIamPermissions@ method which the
52−-- 'ProjectsIapTunnelTestIAMPermissions' request conforms to.
53−type ProjectsIapTunnelTestIAMPermissionsResource =
54− "v1" :>
55− CaptureMode "resource" "testIamPermissions" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] TestIAMPermissionsRequest :>
63− Post '[JSON] TestIAMPermissionsResponse
64−
65−-- | Returns permissions that a caller has on the Identity-Aware Proxy
66−-- protected resource. More information about managing access via IAP can
67−-- be found at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapTunnelTestIAMPermissions' smart constructor.
71−data ProjectsIapTunnelTestIAMPermissions =
72− ProjectsIapTunnelTestIAMPermissions'
73− { _pittipXgafv :: !(Maybe Xgafv)
74− , _pittipUploadProtocol :: !(Maybe Text)
75− , _pittipAccessToken :: !(Maybe Text)
76− , _pittipUploadType :: !(Maybe Text)
77− , _pittipPayload :: !TestIAMPermissionsRequest
78− , _pittipResource :: !Text
79− , _pittipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapTunnelTestIAMPermissions' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'pittipXgafv'
88−--
89−-- * 'pittipUploadProtocol'
90−--
91−-- * 'pittipAccessToken'
92−--
93−-- * 'pittipUploadType'
94−--
95−-- * 'pittipPayload'
96−--
97−-- * 'pittipResource'
98−--
99−-- * 'pittipCallback'
100−projectsIapTunnelTestIAMPermissions
101− :: TestIAMPermissionsRequest -- ^ 'pittipPayload'
102− -> Text -- ^ 'pittipResource'
103− -> ProjectsIapTunnelTestIAMPermissions
104−projectsIapTunnelTestIAMPermissions pPittipPayload_ pPittipResource_ =
105− ProjectsIapTunnelTestIAMPermissions'
106− { _pittipXgafv = Nothing
107− , _pittipUploadProtocol = Nothing
108− , _pittipAccessToken = Nothing
109− , _pittipUploadType = Nothing
110− , _pittipPayload = pPittipPayload_
111− , _pittipResource = pPittipResource_
112− , _pittipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−pittipXgafv :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Xgafv)
117−pittipXgafv
118− = lens _pittipXgafv (\ s a -> s{_pittipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−pittipUploadProtocol :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Text)
122−pittipUploadProtocol
123− = lens _pittipUploadProtocol
124− (\ s a -> s{_pittipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−pittipAccessToken :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Text)
128−pittipAccessToken
129− = lens _pittipAccessToken
130− (\ s a -> s{_pittipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−pittipUploadType :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Text)
134−pittipUploadType
135− = lens _pittipUploadType
136− (\ s a -> s{_pittipUploadType = a})
137−
138−-- | Multipart request metadata.
139−pittipPayload :: Lens' ProjectsIapTunnelTestIAMPermissions TestIAMPermissionsRequest
140−pittipPayload
141− = lens _pittipPayload
142− (\ s a -> s{_pittipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy detail is being requested.
145−-- See the operation documentation for the appropriate value for this
146−-- field.
147−pittipResource :: Lens' ProjectsIapTunnelTestIAMPermissions Text
148−pittipResource
149− = lens _pittipResource
150− (\ s a -> s{_pittipResource = a})
151−
152−-- | JSONP
153−pittipCallback :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Text)
154−pittipCallback
155− = lens _pittipCallback
156− (\ s a -> s{_pittipCallback = a})
157−
158−instance GoogleRequest
159− ProjectsIapTunnelTestIAMPermissions
160− where
161− type Rs ProjectsIapTunnelTestIAMPermissions =
162− TestIAMPermissionsResponse
163− type Scopes ProjectsIapTunnelTestIAMPermissions =
164− '["https://www.googleapis.com/auth/cloud-platform"]
165− requestClient
166− ProjectsIapTunnelTestIAMPermissions'{..}
167− = go _pittipResource _pittipXgafv
168− _pittipUploadProtocol
169− _pittipAccessToken
170− _pittipUploadType
171− _pittipCallback
172− (Just AltJSON)
173− _pittipPayload
174− iAPService
175− where go
176− = buildClient
177− (Proxy ::
178− Proxy ProjectsIapTunnelTestIAMPermissionsResource)
179− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/GetIAMPolicy.hsdeleted−176
@@ -1,176 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.Zones.GetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the access control policy for an Identity-Aware Proxy protected
24−-- resource. More information about managing access via IAP can be found
25−-- at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.zones.getIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.GetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapTunnelZonesGetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelZonesGetIAMPolicy
36− , ProjectsIapTunnelZonesGetIAMPolicy
37−
38− -- * Request Lenses
39− , pitzgipXgafv
40− , pitzgipUploadProtocol
41− , pitzgipAccessToken
42− , pitzgipUploadType
43− , pitzgipPayload
44− , pitzgipResource
45− , pitzgipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.zones.getIamPolicy@ method which the
52−-- 'ProjectsIapTunnelZonesGetIAMPolicy' request conforms to.
53−type ProjectsIapTunnelZonesGetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "getIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] GetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Gets the access control policy for an Identity-Aware Proxy protected
66−-- resource. More information about managing access via IAP can be found
67−-- at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapTunnelZonesGetIAMPolicy' smart constructor.
71−data ProjectsIapTunnelZonesGetIAMPolicy =
72− ProjectsIapTunnelZonesGetIAMPolicy'
73− { _pitzgipXgafv :: !(Maybe Xgafv)
74− , _pitzgipUploadProtocol :: !(Maybe Text)
75− , _pitzgipAccessToken :: !(Maybe Text)
76− , _pitzgipUploadType :: !(Maybe Text)
77− , _pitzgipPayload :: !GetIAMPolicyRequest
78− , _pitzgipResource :: !Text
79− , _pitzgipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapTunnelZonesGetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'pitzgipXgafv'
88−--
89−-- * 'pitzgipUploadProtocol'
90−--
91−-- * 'pitzgipAccessToken'
92−--
93−-- * 'pitzgipUploadType'
94−--
95−-- * 'pitzgipPayload'
96−--
97−-- * 'pitzgipResource'
98−--
99−-- * 'pitzgipCallback'
100−projectsIapTunnelZonesGetIAMPolicy
101− :: GetIAMPolicyRequest -- ^ 'pitzgipPayload'
102− -> Text -- ^ 'pitzgipResource'
103− -> ProjectsIapTunnelZonesGetIAMPolicy
104−projectsIapTunnelZonesGetIAMPolicy pPitzgipPayload_ pPitzgipResource_ =
105− ProjectsIapTunnelZonesGetIAMPolicy'
106− { _pitzgipXgafv = Nothing
107− , _pitzgipUploadProtocol = Nothing
108− , _pitzgipAccessToken = Nothing
109− , _pitzgipUploadType = Nothing
110− , _pitzgipPayload = pPitzgipPayload_
111− , _pitzgipResource = pPitzgipResource_
112− , _pitzgipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−pitzgipXgafv :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Xgafv)
117−pitzgipXgafv
118− = lens _pitzgipXgafv (\ s a -> s{_pitzgipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−pitzgipUploadProtocol :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
122−pitzgipUploadProtocol
123− = lens _pitzgipUploadProtocol
124− (\ s a -> s{_pitzgipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−pitzgipAccessToken :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
128−pitzgipAccessToken
129− = lens _pitzgipAccessToken
130− (\ s a -> s{_pitzgipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−pitzgipUploadType :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
134−pitzgipUploadType
135− = lens _pitzgipUploadType
136− (\ s a -> s{_pitzgipUploadType = a})
137−
138−-- | Multipart request metadata.
139−pitzgipPayload :: Lens' ProjectsIapTunnelZonesGetIAMPolicy GetIAMPolicyRequest
140−pitzgipPayload
141− = lens _pitzgipPayload
142− (\ s a -> s{_pitzgipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being requested. See the
145−-- operation documentation for the appropriate value for this field.
146−pitzgipResource :: Lens' ProjectsIapTunnelZonesGetIAMPolicy Text
147−pitzgipResource
148− = lens _pitzgipResource
149− (\ s a -> s{_pitzgipResource = a})
150−
151−-- | JSONP
152−pitzgipCallback :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
153−pitzgipCallback
154− = lens _pitzgipCallback
155− (\ s a -> s{_pitzgipCallback = a})
156−
157−instance GoogleRequest
158− ProjectsIapTunnelZonesGetIAMPolicy
159− where
160− type Rs ProjectsIapTunnelZonesGetIAMPolicy = Policy
161− type Scopes ProjectsIapTunnelZonesGetIAMPolicy =
162− '["https://www.googleapis.com/auth/cloud-platform"]
163− requestClient ProjectsIapTunnelZonesGetIAMPolicy'{..}
164− = go _pitzgipResource _pitzgipXgafv
165− _pitzgipUploadProtocol
166− _pitzgipAccessToken
167− _pitzgipUploadType
168− _pitzgipCallback
169− (Just AltJSON)
170− _pitzgipPayload
171− iAPService
172− where go
173− = buildClient
174− (Proxy ::
175− Proxy ProjectsIapTunnelZonesGetIAMPolicyResource)
176− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/Instances/GetIAMPolicy.hsdeleted−182
@@ -1,182 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.GetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the access control policy for an Identity-Aware Proxy protected
24−-- resource. More information about managing access via IAP can be found
25−-- at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.zones.instances.getIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.GetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapTunnelZonesInstancesGetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelZonesInstancesGetIAMPolicy
36− , ProjectsIapTunnelZonesInstancesGetIAMPolicy
37−
38− -- * Request Lenses
39− , pitzigipXgafv
40− , pitzigipUploadProtocol
41− , pitzigipAccessToken
42− , pitzigipUploadType
43− , pitzigipPayload
44− , pitzigipResource
45− , pitzigipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.zones.instances.getIamPolicy@ method which the
52−-- 'ProjectsIapTunnelZonesInstancesGetIAMPolicy' request conforms to.
53−type ProjectsIapTunnelZonesInstancesGetIAMPolicyResource
54− =
55− "v1" :>
56− CaptureMode "resource" "getIamPolicy" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] GetIAMPolicyRequest :>
64− Post '[JSON] Policy
65−
66−-- | Gets the access control policy for an Identity-Aware Proxy protected
67−-- resource. More information about managing access via IAP can be found
68−-- at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapTunnelZonesInstancesGetIAMPolicy' smart constructor.
72−data ProjectsIapTunnelZonesInstancesGetIAMPolicy =
73− ProjectsIapTunnelZonesInstancesGetIAMPolicy'
74− { _pitzigipXgafv :: !(Maybe Xgafv)
75− , _pitzigipUploadProtocol :: !(Maybe Text)
76− , _pitzigipAccessToken :: !(Maybe Text)
77− , _pitzigipUploadType :: !(Maybe Text)
78− , _pitzigipPayload :: !GetIAMPolicyRequest
79− , _pitzigipResource :: !Text
80− , _pitzigipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapTunnelZonesInstancesGetIAMPolicy' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'pitzigipXgafv'
89−--
90−-- * 'pitzigipUploadProtocol'
91−--
92−-- * 'pitzigipAccessToken'
93−--
94−-- * 'pitzigipUploadType'
95−--
96−-- * 'pitzigipPayload'
97−--
98−-- * 'pitzigipResource'
99−--
100−-- * 'pitzigipCallback'
101−projectsIapTunnelZonesInstancesGetIAMPolicy
102− :: GetIAMPolicyRequest -- ^ 'pitzigipPayload'
103− -> Text -- ^ 'pitzigipResource'
104− -> ProjectsIapTunnelZonesInstancesGetIAMPolicy
105−projectsIapTunnelZonesInstancesGetIAMPolicy pPitzigipPayload_ pPitzigipResource_ =
106− ProjectsIapTunnelZonesInstancesGetIAMPolicy'
107− { _pitzigipXgafv = Nothing
108− , _pitzigipUploadProtocol = Nothing
109− , _pitzigipAccessToken = Nothing
110− , _pitzigipUploadType = Nothing
111− , _pitzigipPayload = pPitzigipPayload_
112− , _pitzigipResource = pPitzigipResource_
113− , _pitzigipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−pitzigipXgafv :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy (Maybe Xgafv)
118−pitzigipXgafv
119− = lens _pitzigipXgafv
120− (\ s a -> s{_pitzigipXgafv = a})
121−
122−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
123−pitzigipUploadProtocol :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy (Maybe Text)
124−pitzigipUploadProtocol
125− = lens _pitzigipUploadProtocol
126− (\ s a -> s{_pitzigipUploadProtocol = a})
127−
128−-- | OAuth access token.
129−pitzigipAccessToken :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy (Maybe Text)
130−pitzigipAccessToken
131− = lens _pitzigipAccessToken
132− (\ s a -> s{_pitzigipAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−pitzigipUploadType :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy (Maybe Text)
136−pitzigipUploadType
137− = lens _pitzigipUploadType
138− (\ s a -> s{_pitzigipUploadType = a})
139−
140−-- | Multipart request metadata.
141−pitzigipPayload :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy GetIAMPolicyRequest
142−pitzigipPayload
143− = lens _pitzigipPayload
144− (\ s a -> s{_pitzigipPayload = a})
145−
146−-- | REQUIRED: The resource for which the policy is being requested. See the
147−-- operation documentation for the appropriate value for this field.
148−pitzigipResource :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy Text
149−pitzigipResource
150− = lens _pitzigipResource
151− (\ s a -> s{_pitzigipResource = a})
152−
153−-- | JSONP
154−pitzigipCallback :: Lens' ProjectsIapTunnelZonesInstancesGetIAMPolicy (Maybe Text)
155−pitzigipCallback
156− = lens _pitzigipCallback
157− (\ s a -> s{_pitzigipCallback = a})
158−
159−instance GoogleRequest
160− ProjectsIapTunnelZonesInstancesGetIAMPolicy
161− where
162− type Rs ProjectsIapTunnelZonesInstancesGetIAMPolicy =
163− Policy
164− type Scopes
165− ProjectsIapTunnelZonesInstancesGetIAMPolicy
166− = '["https://www.googleapis.com/auth/cloud-platform"]
167− requestClient
168− ProjectsIapTunnelZonesInstancesGetIAMPolicy'{..}
169− = go _pitzigipResource _pitzigipXgafv
170− _pitzigipUploadProtocol
171− _pitzigipAccessToken
172− _pitzigipUploadType
173− _pitzigipCallback
174− (Just AltJSON)
175− _pitzigipPayload
176− iAPService
177− where go
178− = buildClient
179− (Proxy ::
180− Proxy
181− ProjectsIapTunnelZonesInstancesGetIAMPolicyResource)
182− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/Instances/SetIAMPolicy.hsdeleted−182
@@ -1,182 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.SetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Sets the access control policy for an Identity-Aware Proxy protected
24−-- resource. Replaces any existing policy. More information about managing
25−-- access via IAP can be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.zones.instances.setIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.SetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapTunnelZonesInstancesSetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelZonesInstancesSetIAMPolicy
36− , ProjectsIapTunnelZonesInstancesSetIAMPolicy
37−
38− -- * Request Lenses
39− , pitzisipXgafv
40− , pitzisipUploadProtocol
41− , pitzisipAccessToken
42− , pitzisipUploadType
43− , pitzisipPayload
44− , pitzisipResource
45− , pitzisipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.zones.instances.setIamPolicy@ method which the
52−-- 'ProjectsIapTunnelZonesInstancesSetIAMPolicy' request conforms to.
53−type ProjectsIapTunnelZonesInstancesSetIAMPolicyResource
54− =
55− "v1" :>
56− CaptureMode "resource" "setIamPolicy" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] SetIAMPolicyRequest :>
64− Post '[JSON] Policy
65−
66−-- | Sets the access control policy for an Identity-Aware Proxy protected
67−-- resource. Replaces any existing policy. More information about managing
68−-- access via IAP can be found at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapTunnelZonesInstancesSetIAMPolicy' smart constructor.
72−data ProjectsIapTunnelZonesInstancesSetIAMPolicy =
73− ProjectsIapTunnelZonesInstancesSetIAMPolicy'
74− { _pitzisipXgafv :: !(Maybe Xgafv)
75− , _pitzisipUploadProtocol :: !(Maybe Text)
76− , _pitzisipAccessToken :: !(Maybe Text)
77− , _pitzisipUploadType :: !(Maybe Text)
78− , _pitzisipPayload :: !SetIAMPolicyRequest
79− , _pitzisipResource :: !Text
80− , _pitzisipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapTunnelZonesInstancesSetIAMPolicy' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'pitzisipXgafv'
89−--
90−-- * 'pitzisipUploadProtocol'
91−--
92−-- * 'pitzisipAccessToken'
93−--
94−-- * 'pitzisipUploadType'
95−--
96−-- * 'pitzisipPayload'
97−--
98−-- * 'pitzisipResource'
99−--
100−-- * 'pitzisipCallback'
101−projectsIapTunnelZonesInstancesSetIAMPolicy
102− :: SetIAMPolicyRequest -- ^ 'pitzisipPayload'
103− -> Text -- ^ 'pitzisipResource'
104− -> ProjectsIapTunnelZonesInstancesSetIAMPolicy
105−projectsIapTunnelZonesInstancesSetIAMPolicy pPitzisipPayload_ pPitzisipResource_ =
106− ProjectsIapTunnelZonesInstancesSetIAMPolicy'
107− { _pitzisipXgafv = Nothing
108− , _pitzisipUploadProtocol = Nothing
109− , _pitzisipAccessToken = Nothing
110− , _pitzisipUploadType = Nothing
111− , _pitzisipPayload = pPitzisipPayload_
112− , _pitzisipResource = pPitzisipResource_
113− , _pitzisipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−pitzisipXgafv :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Xgafv)
118−pitzisipXgafv
119− = lens _pitzisipXgafv
120− (\ s a -> s{_pitzisipXgafv = a})
121−
122−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
123−pitzisipUploadProtocol :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Text)
124−pitzisipUploadProtocol
125− = lens _pitzisipUploadProtocol
126− (\ s a -> s{_pitzisipUploadProtocol = a})
127−
128−-- | OAuth access token.
129−pitzisipAccessToken :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Text)
130−pitzisipAccessToken
131− = lens _pitzisipAccessToken
132− (\ s a -> s{_pitzisipAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−pitzisipUploadType :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Text)
136−pitzisipUploadType
137− = lens _pitzisipUploadType
138− (\ s a -> s{_pitzisipUploadType = a})
139−
140−-- | Multipart request metadata.
141−pitzisipPayload :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy SetIAMPolicyRequest
142−pitzisipPayload
143− = lens _pitzisipPayload
144− (\ s a -> s{_pitzisipPayload = a})
145−
146−-- | REQUIRED: The resource for which the policy is being specified. See the
147−-- operation documentation for the appropriate value for this field.
148−pitzisipResource :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy Text
149−pitzisipResource
150− = lens _pitzisipResource
151− (\ s a -> s{_pitzisipResource = a})
152−
153−-- | JSONP
154−pitzisipCallback :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Text)
155−pitzisipCallback
156− = lens _pitzisipCallback
157− (\ s a -> s{_pitzisipCallback = a})
158−
159−instance GoogleRequest
160− ProjectsIapTunnelZonesInstancesSetIAMPolicy
161− where
162− type Rs ProjectsIapTunnelZonesInstancesSetIAMPolicy =
163− Policy
164− type Scopes
165− ProjectsIapTunnelZonesInstancesSetIAMPolicy
166− = '["https://www.googleapis.com/auth/cloud-platform"]
167− requestClient
168− ProjectsIapTunnelZonesInstancesSetIAMPolicy'{..}
169− = go _pitzisipResource _pitzisipXgafv
170− _pitzisipUploadProtocol
171− _pitzisipAccessToken
172− _pitzisipUploadType
173− _pitzisipCallback
174− (Just AltJSON)
175− _pitzisipPayload
176− iAPService
177− where go
178− = buildClient
179− (Proxy ::
180− Proxy
181− ProjectsIapTunnelZonesInstancesSetIAMPolicyResource)
182− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/Instances/TestIAMPermissions.hsdeleted−184
@@ -1,184 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.TestIAMPermissions
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns permissions that a caller has on the Identity-Aware Proxy
24−-- protected resource. More information about managing access via IAP can
25−-- be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.zones.instances.testIamPermissions@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.TestIAMPermissions
30− (
31− -- * REST Resource
32− ProjectsIapTunnelZonesInstancesTestIAMPermissionsResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelZonesInstancesTestIAMPermissions
36− , ProjectsIapTunnelZonesInstancesTestIAMPermissions
37−
38− -- * Request Lenses
39− , pitzitipXgafv
40− , pitzitipUploadProtocol
41− , pitzitipAccessToken
42− , pitzitipUploadType
43− , pitzitipPayload
44− , pitzitipResource
45− , pitzitipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.zones.instances.testIamPermissions@ method which the
52−-- 'ProjectsIapTunnelZonesInstancesTestIAMPermissions' request conforms to.
53−type ProjectsIapTunnelZonesInstancesTestIAMPermissionsResource
54− =
55− "v1" :>
56− CaptureMode "resource" "testIamPermissions" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] TestIAMPermissionsRequest :>
64− Post '[JSON] TestIAMPermissionsResponse
65−
66−-- | Returns permissions that a caller has on the Identity-Aware Proxy
67−-- protected resource. More information about managing access via IAP can
68−-- be found at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapTunnelZonesInstancesTestIAMPermissions' smart constructor.
72−data ProjectsIapTunnelZonesInstancesTestIAMPermissions =
73− ProjectsIapTunnelZonesInstancesTestIAMPermissions'
74− { _pitzitipXgafv :: !(Maybe Xgafv)
75− , _pitzitipUploadProtocol :: !(Maybe Text)
76− , _pitzitipAccessToken :: !(Maybe Text)
77− , _pitzitipUploadType :: !(Maybe Text)
78− , _pitzitipPayload :: !TestIAMPermissionsRequest
79− , _pitzitipResource :: !Text
80− , _pitzitipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapTunnelZonesInstancesTestIAMPermissions' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'pitzitipXgafv'
89−--
90−-- * 'pitzitipUploadProtocol'
91−--
92−-- * 'pitzitipAccessToken'
93−--
94−-- * 'pitzitipUploadType'
95−--
96−-- * 'pitzitipPayload'
97−--
98−-- * 'pitzitipResource'
99−--
100−-- * 'pitzitipCallback'
101−projectsIapTunnelZonesInstancesTestIAMPermissions
102− :: TestIAMPermissionsRequest -- ^ 'pitzitipPayload'
103− -> Text -- ^ 'pitzitipResource'
104− -> ProjectsIapTunnelZonesInstancesTestIAMPermissions
105−projectsIapTunnelZonesInstancesTestIAMPermissions pPitzitipPayload_ pPitzitipResource_ =
106− ProjectsIapTunnelZonesInstancesTestIAMPermissions'
107− { _pitzitipXgafv = Nothing
108− , _pitzitipUploadProtocol = Nothing
109− , _pitzitipAccessToken = Nothing
110− , _pitzitipUploadType = Nothing
111− , _pitzitipPayload = pPitzitipPayload_
112− , _pitzitipResource = pPitzitipResource_
113− , _pitzitipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−pitzitipXgafv :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions (Maybe Xgafv)
118−pitzitipXgafv
119− = lens _pitzitipXgafv
120− (\ s a -> s{_pitzitipXgafv = a})
121−
122−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
123−pitzitipUploadProtocol :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions (Maybe Text)
124−pitzitipUploadProtocol
125− = lens _pitzitipUploadProtocol
126− (\ s a -> s{_pitzitipUploadProtocol = a})
127−
128−-- | OAuth access token.
129−pitzitipAccessToken :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions (Maybe Text)
130−pitzitipAccessToken
131− = lens _pitzitipAccessToken
132− (\ s a -> s{_pitzitipAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−pitzitipUploadType :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions (Maybe Text)
136−pitzitipUploadType
137− = lens _pitzitipUploadType
138− (\ s a -> s{_pitzitipUploadType = a})
139−
140−-- | Multipart request metadata.
141−pitzitipPayload :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions TestIAMPermissionsRequest
142−pitzitipPayload
143− = lens _pitzitipPayload
144− (\ s a -> s{_pitzitipPayload = a})
145−
146−-- | REQUIRED: The resource for which the policy detail is being requested.
147−-- See the operation documentation for the appropriate value for this
148−-- field.
149−pitzitipResource :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions Text
150−pitzitipResource
151− = lens _pitzitipResource
152− (\ s a -> s{_pitzitipResource = a})
153−
154−-- | JSONP
155−pitzitipCallback :: Lens' ProjectsIapTunnelZonesInstancesTestIAMPermissions (Maybe Text)
156−pitzitipCallback
157− = lens _pitzitipCallback
158− (\ s a -> s{_pitzitipCallback = a})
159−
160−instance GoogleRequest
161− ProjectsIapTunnelZonesInstancesTestIAMPermissions
162− where
163− type Rs
164− ProjectsIapTunnelZonesInstancesTestIAMPermissions
165− = TestIAMPermissionsResponse
166− type Scopes
167− ProjectsIapTunnelZonesInstancesTestIAMPermissions
168− = '["https://www.googleapis.com/auth/cloud-platform"]
169− requestClient
170− ProjectsIapTunnelZonesInstancesTestIAMPermissions'{..}
171− = go _pitzitipResource _pitzitipXgafv
172− _pitzitipUploadProtocol
173− _pitzitipAccessToken
174− _pitzitipUploadType
175− _pitzitipCallback
176− (Just AltJSON)
177− _pitzitipPayload
178− iAPService
179− where go
180− = buildClient
181− (Proxy ::
182− Proxy
183− ProjectsIapTunnelZonesInstancesTestIAMPermissionsResource)
184− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/SetIAMPolicy.hsdeleted−176
@@ -1,176 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Sets the access control policy for an Identity-Aware Proxy protected
24−-- resource. Replaces any existing policy. More information about managing
25−-- access via IAP can be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.zones.setIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapTunnelZonesSetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelZonesSetIAMPolicy
36− , ProjectsIapTunnelZonesSetIAMPolicy
37−
38− -- * Request Lenses
39− , pitzsipXgafv
40− , pitzsipUploadProtocol
41− , pitzsipAccessToken
42− , pitzsipUploadType
43− , pitzsipPayload
44− , pitzsipResource
45− , pitzsipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.zones.setIamPolicy@ method which the
52−-- 'ProjectsIapTunnelZonesSetIAMPolicy' request conforms to.
53−type ProjectsIapTunnelZonesSetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "setIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] SetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Sets the access control policy for an Identity-Aware Proxy protected
66−-- resource. Replaces any existing policy. More information about managing
67−-- access via IAP can be found at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapTunnelZonesSetIAMPolicy' smart constructor.
71−data ProjectsIapTunnelZonesSetIAMPolicy =
72− ProjectsIapTunnelZonesSetIAMPolicy'
73− { _pitzsipXgafv :: !(Maybe Xgafv)
74− , _pitzsipUploadProtocol :: !(Maybe Text)
75− , _pitzsipAccessToken :: !(Maybe Text)
76− , _pitzsipUploadType :: !(Maybe Text)
77− , _pitzsipPayload :: !SetIAMPolicyRequest
78− , _pitzsipResource :: !Text
79− , _pitzsipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapTunnelZonesSetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'pitzsipXgafv'
88−--
89−-- * 'pitzsipUploadProtocol'
90−--
91−-- * 'pitzsipAccessToken'
92−--
93−-- * 'pitzsipUploadType'
94−--
95−-- * 'pitzsipPayload'
96−--
97−-- * 'pitzsipResource'
98−--
99−-- * 'pitzsipCallback'
100−projectsIapTunnelZonesSetIAMPolicy
101− :: SetIAMPolicyRequest -- ^ 'pitzsipPayload'
102− -> Text -- ^ 'pitzsipResource'
103− -> ProjectsIapTunnelZonesSetIAMPolicy
104−projectsIapTunnelZonesSetIAMPolicy pPitzsipPayload_ pPitzsipResource_ =
105− ProjectsIapTunnelZonesSetIAMPolicy'
106− { _pitzsipXgafv = Nothing
107− , _pitzsipUploadProtocol = Nothing
108− , _pitzsipAccessToken = Nothing
109− , _pitzsipUploadType = Nothing
110− , _pitzsipPayload = pPitzsipPayload_
111− , _pitzsipResource = pPitzsipResource_
112− , _pitzsipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−pitzsipXgafv :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Xgafv)
117−pitzsipXgafv
118− = lens _pitzsipXgafv (\ s a -> s{_pitzsipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−pitzsipUploadProtocol :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Text)
122−pitzsipUploadProtocol
123− = lens _pitzsipUploadProtocol
124− (\ s a -> s{_pitzsipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−pitzsipAccessToken :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Text)
128−pitzsipAccessToken
129− = lens _pitzsipAccessToken
130− (\ s a -> s{_pitzsipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−pitzsipUploadType :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Text)
134−pitzsipUploadType
135− = lens _pitzsipUploadType
136− (\ s a -> s{_pitzsipUploadType = a})
137−
138−-- | Multipart request metadata.
139−pitzsipPayload :: Lens' ProjectsIapTunnelZonesSetIAMPolicy SetIAMPolicyRequest
140−pitzsipPayload
141− = lens _pitzsipPayload
142− (\ s a -> s{_pitzsipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being specified. See the
145−-- operation documentation for the appropriate value for this field.
146−pitzsipResource :: Lens' ProjectsIapTunnelZonesSetIAMPolicy Text
147−pitzsipResource
148− = lens _pitzsipResource
149− (\ s a -> s{_pitzsipResource = a})
150−
151−-- | JSONP
152−pitzsipCallback :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Text)
153−pitzsipCallback
154− = lens _pitzsipCallback
155− (\ s a -> s{_pitzsipCallback = a})
156−
157−instance GoogleRequest
158− ProjectsIapTunnelZonesSetIAMPolicy
159− where
160− type Rs ProjectsIapTunnelZonesSetIAMPolicy = Policy
161− type Scopes ProjectsIapTunnelZonesSetIAMPolicy =
162− '["https://www.googleapis.com/auth/cloud-platform"]
163− requestClient ProjectsIapTunnelZonesSetIAMPolicy'{..}
164− = go _pitzsipResource _pitzsipXgafv
165− _pitzsipUploadProtocol
166− _pitzsipAccessToken
167− _pitzsipUploadType
168− _pitzsipCallback
169− (Just AltJSON)
170− _pitzsipPayload
171− iAPService
172− where go
173− = buildClient
174− (Proxy ::
175− Proxy ProjectsIapTunnelZonesSetIAMPolicyResource)
176− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapTunnel/Zones/TestIAMPermissions.hsdeleted−181
@@ -1,181 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapTunnel.Zones.TestIAMPermissions
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns permissions that a caller has on the Identity-Aware Proxy
24−-- protected resource. More information about managing access via IAP can
25−-- be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_tunnel.zones.testIamPermissions@.
29−module Network.Google.Resource.IAP.Projects.IapTunnel.Zones.TestIAMPermissions
30− (
31− -- * REST Resource
32− ProjectsIapTunnelZonesTestIAMPermissionsResource
33−
34− -- * Creating a Request
35− , projectsIapTunnelZonesTestIAMPermissions
36− , ProjectsIapTunnelZonesTestIAMPermissions
37−
38− -- * Request Lenses
39− , pitztipXgafv
40− , pitztipUploadProtocol
41− , pitztipAccessToken
42− , pitztipUploadType
43− , pitztipPayload
44− , pitztipResource
45− , pitztipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_tunnel.zones.testIamPermissions@ method which the
52−-- 'ProjectsIapTunnelZonesTestIAMPermissions' request conforms to.
53−type ProjectsIapTunnelZonesTestIAMPermissionsResource
54− =
55− "v1" :>
56− CaptureMode "resource" "testIamPermissions" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] TestIAMPermissionsRequest :>
64− Post '[JSON] TestIAMPermissionsResponse
65−
66−-- | Returns permissions that a caller has on the Identity-Aware Proxy
67−-- protected resource. More information about managing access via IAP can
68−-- be found at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapTunnelZonesTestIAMPermissions' smart constructor.
72−data ProjectsIapTunnelZonesTestIAMPermissions =
73− ProjectsIapTunnelZonesTestIAMPermissions'
74− { _pitztipXgafv :: !(Maybe Xgafv)
75− , _pitztipUploadProtocol :: !(Maybe Text)
76− , _pitztipAccessToken :: !(Maybe Text)
77− , _pitztipUploadType :: !(Maybe Text)
78− , _pitztipPayload :: !TestIAMPermissionsRequest
79− , _pitztipResource :: !Text
80− , _pitztipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapTunnelZonesTestIAMPermissions' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'pitztipXgafv'
89−--
90−-- * 'pitztipUploadProtocol'
91−--
92−-- * 'pitztipAccessToken'
93−--
94−-- * 'pitztipUploadType'
95−--
96−-- * 'pitztipPayload'
97−--
98−-- * 'pitztipResource'
99−--
100−-- * 'pitztipCallback'
101−projectsIapTunnelZonesTestIAMPermissions
102− :: TestIAMPermissionsRequest -- ^ 'pitztipPayload'
103− -> Text -- ^ 'pitztipResource'
104− -> ProjectsIapTunnelZonesTestIAMPermissions
105−projectsIapTunnelZonesTestIAMPermissions pPitztipPayload_ pPitztipResource_ =
106− ProjectsIapTunnelZonesTestIAMPermissions'
107− { _pitztipXgafv = Nothing
108− , _pitztipUploadProtocol = Nothing
109− , _pitztipAccessToken = Nothing
110− , _pitztipUploadType = Nothing
111− , _pitztipPayload = pPitztipPayload_
112− , _pitztipResource = pPitztipResource_
113− , _pitztipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−pitztipXgafv :: Lens' ProjectsIapTunnelZonesTestIAMPermissions (Maybe Xgafv)
118−pitztipXgafv
119− = lens _pitztipXgafv (\ s a -> s{_pitztipXgafv = a})
120−
121−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
122−pitztipUploadProtocol :: Lens' ProjectsIapTunnelZonesTestIAMPermissions (Maybe Text)
123−pitztipUploadProtocol
124− = lens _pitztipUploadProtocol
125− (\ s a -> s{_pitztipUploadProtocol = a})
126−
127−-- | OAuth access token.
128−pitztipAccessToken :: Lens' ProjectsIapTunnelZonesTestIAMPermissions (Maybe Text)
129−pitztipAccessToken
130− = lens _pitztipAccessToken
131− (\ s a -> s{_pitztipAccessToken = a})
132−
133−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
134−pitztipUploadType :: Lens' ProjectsIapTunnelZonesTestIAMPermissions (Maybe Text)
135−pitztipUploadType
136− = lens _pitztipUploadType
137− (\ s a -> s{_pitztipUploadType = a})
138−
139−-- | Multipart request metadata.
140−pitztipPayload :: Lens' ProjectsIapTunnelZonesTestIAMPermissions TestIAMPermissionsRequest
141−pitztipPayload
142− = lens _pitztipPayload
143− (\ s a -> s{_pitztipPayload = a})
144−
145−-- | REQUIRED: The resource for which the policy detail is being requested.
146−-- See the operation documentation for the appropriate value for this
147−-- field.
148−pitztipResource :: Lens' ProjectsIapTunnelZonesTestIAMPermissions Text
149−pitztipResource
150− = lens _pitztipResource
151− (\ s a -> s{_pitztipResource = a})
152−
153−-- | JSONP
154−pitztipCallback :: Lens' ProjectsIapTunnelZonesTestIAMPermissions (Maybe Text)
155−pitztipCallback
156− = lens _pitztipCallback
157− (\ s a -> s{_pitztipCallback = a})
158−
159−instance GoogleRequest
160− ProjectsIapTunnelZonesTestIAMPermissions
161− where
162− type Rs ProjectsIapTunnelZonesTestIAMPermissions =
163− TestIAMPermissionsResponse
164− type Scopes ProjectsIapTunnelZonesTestIAMPermissions
165− = '["https://www.googleapis.com/auth/cloud-platform"]
166− requestClient
167− ProjectsIapTunnelZonesTestIAMPermissions'{..}
168− = go _pitztipResource _pitztipXgafv
169− _pitztipUploadProtocol
170− _pitztipAccessToken
171− _pitztipUploadType
172− _pitztipCallback
173− (Just AltJSON)
174− _pitztipPayload
175− iAPService
176− where go
177− = buildClient
178− (Proxy ::
179− Proxy
180− ProjectsIapTunnelZonesTestIAMPermissionsResource)
181− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/GetIAMPolicy.hsdeleted−174
@@ -1,174 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.GetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the access control policy for an Identity-Aware Proxy protected
24−-- resource. More information about managing access via IAP can be found
25−-- at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.getIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.GetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapWebGetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapWebGetIAMPolicy
36− , ProjectsIapWebGetIAMPolicy
37−
38− -- * Request Lenses
39− , piwgipXgafv
40− , piwgipUploadProtocol
41− , piwgipAccessToken
42− , piwgipUploadType
43− , piwgipPayload
44− , piwgipResource
45− , piwgipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.getIamPolicy@ method which the
52−-- 'ProjectsIapWebGetIAMPolicy' request conforms to.
53−type ProjectsIapWebGetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "getIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] GetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Gets the access control policy for an Identity-Aware Proxy protected
66−-- resource. More information about managing access via IAP can be found
67−-- at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapWebGetIAMPolicy' smart constructor.
71−data ProjectsIapWebGetIAMPolicy =
72− ProjectsIapWebGetIAMPolicy'
73− { _piwgipXgafv :: !(Maybe Xgafv)
74− , _piwgipUploadProtocol :: !(Maybe Text)
75− , _piwgipAccessToken :: !(Maybe Text)
76− , _piwgipUploadType :: !(Maybe Text)
77− , _piwgipPayload :: !GetIAMPolicyRequest
78− , _piwgipResource :: !Text
79− , _piwgipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapWebGetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'piwgipXgafv'
88−--
89−-- * 'piwgipUploadProtocol'
90−--
91−-- * 'piwgipAccessToken'
92−--
93−-- * 'piwgipUploadType'
94−--
95−-- * 'piwgipPayload'
96−--
97−-- * 'piwgipResource'
98−--
99−-- * 'piwgipCallback'
100−projectsIapWebGetIAMPolicy
101− :: GetIAMPolicyRequest -- ^ 'piwgipPayload'
102− -> Text -- ^ 'piwgipResource'
103− -> ProjectsIapWebGetIAMPolicy
104−projectsIapWebGetIAMPolicy pPiwgipPayload_ pPiwgipResource_ =
105− ProjectsIapWebGetIAMPolicy'
106− { _piwgipXgafv = Nothing
107− , _piwgipUploadProtocol = Nothing
108− , _piwgipAccessToken = Nothing
109− , _piwgipUploadType = Nothing
110− , _piwgipPayload = pPiwgipPayload_
111− , _piwgipResource = pPiwgipResource_
112− , _piwgipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−piwgipXgafv :: Lens' ProjectsIapWebGetIAMPolicy (Maybe Xgafv)
117−piwgipXgafv
118− = lens _piwgipXgafv (\ s a -> s{_piwgipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−piwgipUploadProtocol :: Lens' ProjectsIapWebGetIAMPolicy (Maybe Text)
122−piwgipUploadProtocol
123− = lens _piwgipUploadProtocol
124− (\ s a -> s{_piwgipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−piwgipAccessToken :: Lens' ProjectsIapWebGetIAMPolicy (Maybe Text)
128−piwgipAccessToken
129− = lens _piwgipAccessToken
130− (\ s a -> s{_piwgipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−piwgipUploadType :: Lens' ProjectsIapWebGetIAMPolicy (Maybe Text)
134−piwgipUploadType
135− = lens _piwgipUploadType
136− (\ s a -> s{_piwgipUploadType = a})
137−
138−-- | Multipart request metadata.
139−piwgipPayload :: Lens' ProjectsIapWebGetIAMPolicy GetIAMPolicyRequest
140−piwgipPayload
141− = lens _piwgipPayload
142− (\ s a -> s{_piwgipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being requested. See the
145−-- operation documentation for the appropriate value for this field.
146−piwgipResource :: Lens' ProjectsIapWebGetIAMPolicy Text
147−piwgipResource
148− = lens _piwgipResource
149− (\ s a -> s{_piwgipResource = a})
150−
151−-- | JSONP
152−piwgipCallback :: Lens' ProjectsIapWebGetIAMPolicy (Maybe Text)
153−piwgipCallback
154− = lens _piwgipCallback
155− (\ s a -> s{_piwgipCallback = a})
156−
157−instance GoogleRequest ProjectsIapWebGetIAMPolicy
158− where
159− type Rs ProjectsIapWebGetIAMPolicy = Policy
160− type Scopes ProjectsIapWebGetIAMPolicy =
161− '["https://www.googleapis.com/auth/cloud-platform"]
162− requestClient ProjectsIapWebGetIAMPolicy'{..}
163− = go _piwgipResource _piwgipXgafv
164− _piwgipUploadProtocol
165− _piwgipAccessToken
166− _piwgipUploadType
167− _piwgipCallback
168− (Just AltJSON)
169− _piwgipPayload
170− iAPService
171− where go
172− = buildClient
173− (Proxy :: Proxy ProjectsIapWebGetIAMPolicyResource)
174− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/GetIAMPolicy.hsdeleted−176
@@ -1,176 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.Services.GetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the access control policy for an Identity-Aware Proxy protected
24−-- resource. More information about managing access via IAP can be found
25−-- at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.services.getIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.Services.GetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapWebServicesGetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapWebServicesGetIAMPolicy
36− , ProjectsIapWebServicesGetIAMPolicy
37−
38− -- * Request Lenses
39− , piwsgipXgafv
40− , piwsgipUploadProtocol
41− , piwsgipAccessToken
42− , piwsgipUploadType
43− , piwsgipPayload
44− , piwsgipResource
45− , piwsgipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.services.getIamPolicy@ method which the
52−-- 'ProjectsIapWebServicesGetIAMPolicy' request conforms to.
53−type ProjectsIapWebServicesGetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "getIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] GetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Gets the access control policy for an Identity-Aware Proxy protected
66−-- resource. More information about managing access via IAP can be found
67−-- at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapWebServicesGetIAMPolicy' smart constructor.
71−data ProjectsIapWebServicesGetIAMPolicy =
72− ProjectsIapWebServicesGetIAMPolicy'
73− { _piwsgipXgafv :: !(Maybe Xgafv)
74− , _piwsgipUploadProtocol :: !(Maybe Text)
75− , _piwsgipAccessToken :: !(Maybe Text)
76− , _piwsgipUploadType :: !(Maybe Text)
77− , _piwsgipPayload :: !GetIAMPolicyRequest
78− , _piwsgipResource :: !Text
79− , _piwsgipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapWebServicesGetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'piwsgipXgafv'
88−--
89−-- * 'piwsgipUploadProtocol'
90−--
91−-- * 'piwsgipAccessToken'
92−--
93−-- * 'piwsgipUploadType'
94−--
95−-- * 'piwsgipPayload'
96−--
97−-- * 'piwsgipResource'
98−--
99−-- * 'piwsgipCallback'
100−projectsIapWebServicesGetIAMPolicy
101− :: GetIAMPolicyRequest -- ^ 'piwsgipPayload'
102− -> Text -- ^ 'piwsgipResource'
103− -> ProjectsIapWebServicesGetIAMPolicy
104−projectsIapWebServicesGetIAMPolicy pPiwsgipPayload_ pPiwsgipResource_ =
105− ProjectsIapWebServicesGetIAMPolicy'
106− { _piwsgipXgafv = Nothing
107− , _piwsgipUploadProtocol = Nothing
108− , _piwsgipAccessToken = Nothing
109− , _piwsgipUploadType = Nothing
110− , _piwsgipPayload = pPiwsgipPayload_
111− , _piwsgipResource = pPiwsgipResource_
112− , _piwsgipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−piwsgipXgafv :: Lens' ProjectsIapWebServicesGetIAMPolicy (Maybe Xgafv)
117−piwsgipXgafv
118− = lens _piwsgipXgafv (\ s a -> s{_piwsgipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−piwsgipUploadProtocol :: Lens' ProjectsIapWebServicesGetIAMPolicy (Maybe Text)
122−piwsgipUploadProtocol
123− = lens _piwsgipUploadProtocol
124− (\ s a -> s{_piwsgipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−piwsgipAccessToken :: Lens' ProjectsIapWebServicesGetIAMPolicy (Maybe Text)
128−piwsgipAccessToken
129− = lens _piwsgipAccessToken
130− (\ s a -> s{_piwsgipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−piwsgipUploadType :: Lens' ProjectsIapWebServicesGetIAMPolicy (Maybe Text)
134−piwsgipUploadType
135− = lens _piwsgipUploadType
136− (\ s a -> s{_piwsgipUploadType = a})
137−
138−-- | Multipart request metadata.
139−piwsgipPayload :: Lens' ProjectsIapWebServicesGetIAMPolicy GetIAMPolicyRequest
140−piwsgipPayload
141− = lens _piwsgipPayload
142− (\ s a -> s{_piwsgipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being requested. See the
145−-- operation documentation for the appropriate value for this field.
146−piwsgipResource :: Lens' ProjectsIapWebServicesGetIAMPolicy Text
147−piwsgipResource
148− = lens _piwsgipResource
149− (\ s a -> s{_piwsgipResource = a})
150−
151−-- | JSONP
152−piwsgipCallback :: Lens' ProjectsIapWebServicesGetIAMPolicy (Maybe Text)
153−piwsgipCallback
154− = lens _piwsgipCallback
155− (\ s a -> s{_piwsgipCallback = a})
156−
157−instance GoogleRequest
158− ProjectsIapWebServicesGetIAMPolicy
159− where
160− type Rs ProjectsIapWebServicesGetIAMPolicy = Policy
161− type Scopes ProjectsIapWebServicesGetIAMPolicy =
162− '["https://www.googleapis.com/auth/cloud-platform"]
163− requestClient ProjectsIapWebServicesGetIAMPolicy'{..}
164− = go _piwsgipResource _piwsgipXgafv
165− _piwsgipUploadProtocol
166− _piwsgipAccessToken
167− _piwsgipUploadType
168− _piwsgipCallback
169− (Just AltJSON)
170− _piwsgipPayload
171− iAPService
172− where go
173− = buildClient
174− (Proxy ::
175− Proxy ProjectsIapWebServicesGetIAMPolicyResource)
176− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/SetIAMPolicy.hsdeleted−176
@@ -1,176 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.Services.SetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Sets the access control policy for an Identity-Aware Proxy protected
24−-- resource. Replaces any existing policy. More information about managing
25−-- access via IAP can be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.services.setIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.Services.SetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapWebServicesSetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapWebServicesSetIAMPolicy
36− , ProjectsIapWebServicesSetIAMPolicy
37−
38− -- * Request Lenses
39− , piwssipXgafv
40− , piwssipUploadProtocol
41− , piwssipAccessToken
42− , piwssipUploadType
43− , piwssipPayload
44− , piwssipResource
45− , piwssipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.services.setIamPolicy@ method which the
52−-- 'ProjectsIapWebServicesSetIAMPolicy' request conforms to.
53−type ProjectsIapWebServicesSetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "setIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] SetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Sets the access control policy for an Identity-Aware Proxy protected
66−-- resource. Replaces any existing policy. More information about managing
67−-- access via IAP can be found at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapWebServicesSetIAMPolicy' smart constructor.
71−data ProjectsIapWebServicesSetIAMPolicy =
72− ProjectsIapWebServicesSetIAMPolicy'
73− { _piwssipXgafv :: !(Maybe Xgafv)
74− , _piwssipUploadProtocol :: !(Maybe Text)
75− , _piwssipAccessToken :: !(Maybe Text)
76− , _piwssipUploadType :: !(Maybe Text)
77− , _piwssipPayload :: !SetIAMPolicyRequest
78− , _piwssipResource :: !Text
79− , _piwssipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapWebServicesSetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'piwssipXgafv'
88−--
89−-- * 'piwssipUploadProtocol'
90−--
91−-- * 'piwssipAccessToken'
92−--
93−-- * 'piwssipUploadType'
94−--
95−-- * 'piwssipPayload'
96−--
97−-- * 'piwssipResource'
98−--
99−-- * 'piwssipCallback'
100−projectsIapWebServicesSetIAMPolicy
101− :: SetIAMPolicyRequest -- ^ 'piwssipPayload'
102− -> Text -- ^ 'piwssipResource'
103− -> ProjectsIapWebServicesSetIAMPolicy
104−projectsIapWebServicesSetIAMPolicy pPiwssipPayload_ pPiwssipResource_ =
105− ProjectsIapWebServicesSetIAMPolicy'
106− { _piwssipXgafv = Nothing
107− , _piwssipUploadProtocol = Nothing
108− , _piwssipAccessToken = Nothing
109− , _piwssipUploadType = Nothing
110− , _piwssipPayload = pPiwssipPayload_
111− , _piwssipResource = pPiwssipResource_
112− , _piwssipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−piwssipXgafv :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Xgafv)
117−piwssipXgafv
118− = lens _piwssipXgafv (\ s a -> s{_piwssipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−piwssipUploadProtocol :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Text)
122−piwssipUploadProtocol
123− = lens _piwssipUploadProtocol
124− (\ s a -> s{_piwssipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−piwssipAccessToken :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Text)
128−piwssipAccessToken
129− = lens _piwssipAccessToken
130− (\ s a -> s{_piwssipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−piwssipUploadType :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Text)
134−piwssipUploadType
135− = lens _piwssipUploadType
136− (\ s a -> s{_piwssipUploadType = a})
137−
138−-- | Multipart request metadata.
139−piwssipPayload :: Lens' ProjectsIapWebServicesSetIAMPolicy SetIAMPolicyRequest
140−piwssipPayload
141− = lens _piwssipPayload
142− (\ s a -> s{_piwssipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being specified. See the
145−-- operation documentation for the appropriate value for this field.
146−piwssipResource :: Lens' ProjectsIapWebServicesSetIAMPolicy Text
147−piwssipResource
148− = lens _piwssipResource
149− (\ s a -> s{_piwssipResource = a})
150−
151−-- | JSONP
152−piwssipCallback :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Text)
153−piwssipCallback
154− = lens _piwssipCallback
155− (\ s a -> s{_piwssipCallback = a})
156−
157−instance GoogleRequest
158− ProjectsIapWebServicesSetIAMPolicy
159− where
160− type Rs ProjectsIapWebServicesSetIAMPolicy = Policy
161− type Scopes ProjectsIapWebServicesSetIAMPolicy =
162− '["https://www.googleapis.com/auth/cloud-platform"]
163− requestClient ProjectsIapWebServicesSetIAMPolicy'{..}
164− = go _piwssipResource _piwssipXgafv
165− _piwssipUploadProtocol
166− _piwssipAccessToken
167− _piwssipUploadType
168− _piwssipCallback
169− (Just AltJSON)
170− _piwssipPayload
171− iAPService
172− where go
173− = buildClient
174− (Proxy ::
175− Proxy ProjectsIapWebServicesSetIAMPolicyResource)
176− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/TestIAMPermissions.hsdeleted−181
@@ -1,181 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.Services.TestIAMPermissions
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns permissions that a caller has on the Identity-Aware Proxy
24−-- protected resource. More information about managing access via IAP can
25−-- be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.services.testIamPermissions@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.Services.TestIAMPermissions
30− (
31− -- * REST Resource
32− ProjectsIapWebServicesTestIAMPermissionsResource
33−
34− -- * Creating a Request
35− , projectsIapWebServicesTestIAMPermissions
36− , ProjectsIapWebServicesTestIAMPermissions
37−
38− -- * Request Lenses
39− , piwstipXgafv
40− , piwstipUploadProtocol
41− , piwstipAccessToken
42− , piwstipUploadType
43− , piwstipPayload
44− , piwstipResource
45− , piwstipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.services.testIamPermissions@ method which the
52−-- 'ProjectsIapWebServicesTestIAMPermissions' request conforms to.
53−type ProjectsIapWebServicesTestIAMPermissionsResource
54− =
55− "v1" :>
56− CaptureMode "resource" "testIamPermissions" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] TestIAMPermissionsRequest :>
64− Post '[JSON] TestIAMPermissionsResponse
65−
66−-- | Returns permissions that a caller has on the Identity-Aware Proxy
67−-- protected resource. More information about managing access via IAP can
68−-- be found at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapWebServicesTestIAMPermissions' smart constructor.
72−data ProjectsIapWebServicesTestIAMPermissions =
73− ProjectsIapWebServicesTestIAMPermissions'
74− { _piwstipXgafv :: !(Maybe Xgafv)
75− , _piwstipUploadProtocol :: !(Maybe Text)
76− , _piwstipAccessToken :: !(Maybe Text)
77− , _piwstipUploadType :: !(Maybe Text)
78− , _piwstipPayload :: !TestIAMPermissionsRequest
79− , _piwstipResource :: !Text
80− , _piwstipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapWebServicesTestIAMPermissions' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'piwstipXgafv'
89−--
90−-- * 'piwstipUploadProtocol'
91−--
92−-- * 'piwstipAccessToken'
93−--
94−-- * 'piwstipUploadType'
95−--
96−-- * 'piwstipPayload'
97−--
98−-- * 'piwstipResource'
99−--
100−-- * 'piwstipCallback'
101−projectsIapWebServicesTestIAMPermissions
102− :: TestIAMPermissionsRequest -- ^ 'piwstipPayload'
103− -> Text -- ^ 'piwstipResource'
104− -> ProjectsIapWebServicesTestIAMPermissions
105−projectsIapWebServicesTestIAMPermissions pPiwstipPayload_ pPiwstipResource_ =
106− ProjectsIapWebServicesTestIAMPermissions'
107− { _piwstipXgafv = Nothing
108− , _piwstipUploadProtocol = Nothing
109− , _piwstipAccessToken = Nothing
110− , _piwstipUploadType = Nothing
111− , _piwstipPayload = pPiwstipPayload_
112− , _piwstipResource = pPiwstipResource_
113− , _piwstipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−piwstipXgafv :: Lens' ProjectsIapWebServicesTestIAMPermissions (Maybe Xgafv)
118−piwstipXgafv
119− = lens _piwstipXgafv (\ s a -> s{_piwstipXgafv = a})
120−
121−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
122−piwstipUploadProtocol :: Lens' ProjectsIapWebServicesTestIAMPermissions (Maybe Text)
123−piwstipUploadProtocol
124− = lens _piwstipUploadProtocol
125− (\ s a -> s{_piwstipUploadProtocol = a})
126−
127−-- | OAuth access token.
128−piwstipAccessToken :: Lens' ProjectsIapWebServicesTestIAMPermissions (Maybe Text)
129−piwstipAccessToken
130− = lens _piwstipAccessToken
131− (\ s a -> s{_piwstipAccessToken = a})
132−
133−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
134−piwstipUploadType :: Lens' ProjectsIapWebServicesTestIAMPermissions (Maybe Text)
135−piwstipUploadType
136− = lens _piwstipUploadType
137− (\ s a -> s{_piwstipUploadType = a})
138−
139−-- | Multipart request metadata.
140−piwstipPayload :: Lens' ProjectsIapWebServicesTestIAMPermissions TestIAMPermissionsRequest
141−piwstipPayload
142− = lens _piwstipPayload
143− (\ s a -> s{_piwstipPayload = a})
144−
145−-- | REQUIRED: The resource for which the policy detail is being requested.
146−-- See the operation documentation for the appropriate value for this
147−-- field.
148−piwstipResource :: Lens' ProjectsIapWebServicesTestIAMPermissions Text
149−piwstipResource
150− = lens _piwstipResource
151− (\ s a -> s{_piwstipResource = a})
152−
153−-- | JSONP
154−piwstipCallback :: Lens' ProjectsIapWebServicesTestIAMPermissions (Maybe Text)
155−piwstipCallback
156− = lens _piwstipCallback
157− (\ s a -> s{_piwstipCallback = a})
158−
159−instance GoogleRequest
160− ProjectsIapWebServicesTestIAMPermissions
161− where
162− type Rs ProjectsIapWebServicesTestIAMPermissions =
163− TestIAMPermissionsResponse
164− type Scopes ProjectsIapWebServicesTestIAMPermissions
165− = '["https://www.googleapis.com/auth/cloud-platform"]
166− requestClient
167− ProjectsIapWebServicesTestIAMPermissions'{..}
168− = go _piwstipResource _piwstipXgafv
169− _piwstipUploadProtocol
170− _piwstipAccessToken
171− _piwstipUploadType
172− _piwstipCallback
173− (Just AltJSON)
174− _piwstipPayload
175− iAPService
176− where go
177− = buildClient
178− (Proxy ::
179− Proxy
180− ProjectsIapWebServicesTestIAMPermissionsResource)
181− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/Versions/GetIAMPolicy.hsdeleted−182
@@ -1,182 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.GetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the access control policy for an Identity-Aware Proxy protected
24−-- resource. More information about managing access via IAP can be found
25−-- at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.services.versions.getIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.GetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapWebServicesVersionsGetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapWebServicesVersionsGetIAMPolicy
36− , ProjectsIapWebServicesVersionsGetIAMPolicy
37−
38− -- * Request Lenses
39− , piwsvgipXgafv
40− , piwsvgipUploadProtocol
41− , piwsvgipAccessToken
42− , piwsvgipUploadType
43− , piwsvgipPayload
44− , piwsvgipResource
45− , piwsvgipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.services.versions.getIamPolicy@ method which the
52−-- 'ProjectsIapWebServicesVersionsGetIAMPolicy' request conforms to.
53−type ProjectsIapWebServicesVersionsGetIAMPolicyResource
54− =
55− "v1" :>
56− CaptureMode "resource" "getIamPolicy" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] GetIAMPolicyRequest :>
64− Post '[JSON] Policy
65−
66−-- | Gets the access control policy for an Identity-Aware Proxy protected
67−-- resource. More information about managing access via IAP can be found
68−-- at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapWebServicesVersionsGetIAMPolicy' smart constructor.
72−data ProjectsIapWebServicesVersionsGetIAMPolicy =
73− ProjectsIapWebServicesVersionsGetIAMPolicy'
74− { _piwsvgipXgafv :: !(Maybe Xgafv)
75− , _piwsvgipUploadProtocol :: !(Maybe Text)
76− , _piwsvgipAccessToken :: !(Maybe Text)
77− , _piwsvgipUploadType :: !(Maybe Text)
78− , _piwsvgipPayload :: !GetIAMPolicyRequest
79− , _piwsvgipResource :: !Text
80− , _piwsvgipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapWebServicesVersionsGetIAMPolicy' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'piwsvgipXgafv'
89−--
90−-- * 'piwsvgipUploadProtocol'
91−--
92−-- * 'piwsvgipAccessToken'
93−--
94−-- * 'piwsvgipUploadType'
95−--
96−-- * 'piwsvgipPayload'
97−--
98−-- * 'piwsvgipResource'
99−--
100−-- * 'piwsvgipCallback'
101−projectsIapWebServicesVersionsGetIAMPolicy
102− :: GetIAMPolicyRequest -- ^ 'piwsvgipPayload'
103− -> Text -- ^ 'piwsvgipResource'
104− -> ProjectsIapWebServicesVersionsGetIAMPolicy
105−projectsIapWebServicesVersionsGetIAMPolicy pPiwsvgipPayload_ pPiwsvgipResource_ =
106− ProjectsIapWebServicesVersionsGetIAMPolicy'
107− { _piwsvgipXgafv = Nothing
108− , _piwsvgipUploadProtocol = Nothing
109− , _piwsvgipAccessToken = Nothing
110− , _piwsvgipUploadType = Nothing
111− , _piwsvgipPayload = pPiwsvgipPayload_
112− , _piwsvgipResource = pPiwsvgipResource_
113− , _piwsvgipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−piwsvgipXgafv :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy (Maybe Xgafv)
118−piwsvgipXgafv
119− = lens _piwsvgipXgafv
120− (\ s a -> s{_piwsvgipXgafv = a})
121−
122−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
123−piwsvgipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy (Maybe Text)
124−piwsvgipUploadProtocol
125− = lens _piwsvgipUploadProtocol
126− (\ s a -> s{_piwsvgipUploadProtocol = a})
127−
128−-- | OAuth access token.
129−piwsvgipAccessToken :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy (Maybe Text)
130−piwsvgipAccessToken
131− = lens _piwsvgipAccessToken
132− (\ s a -> s{_piwsvgipAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−piwsvgipUploadType :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy (Maybe Text)
136−piwsvgipUploadType
137− = lens _piwsvgipUploadType
138− (\ s a -> s{_piwsvgipUploadType = a})
139−
140−-- | Multipart request metadata.
141−piwsvgipPayload :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy GetIAMPolicyRequest
142−piwsvgipPayload
143− = lens _piwsvgipPayload
144− (\ s a -> s{_piwsvgipPayload = a})
145−
146−-- | REQUIRED: The resource for which the policy is being requested. See the
147−-- operation documentation for the appropriate value for this field.
148−piwsvgipResource :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy Text
149−piwsvgipResource
150− = lens _piwsvgipResource
151− (\ s a -> s{_piwsvgipResource = a})
152−
153−-- | JSONP
154−piwsvgipCallback :: Lens' ProjectsIapWebServicesVersionsGetIAMPolicy (Maybe Text)
155−piwsvgipCallback
156− = lens _piwsvgipCallback
157− (\ s a -> s{_piwsvgipCallback = a})
158−
159−instance GoogleRequest
160− ProjectsIapWebServicesVersionsGetIAMPolicy
161− where
162− type Rs ProjectsIapWebServicesVersionsGetIAMPolicy =
163− Policy
164− type Scopes
165− ProjectsIapWebServicesVersionsGetIAMPolicy
166− = '["https://www.googleapis.com/auth/cloud-platform"]
167− requestClient
168− ProjectsIapWebServicesVersionsGetIAMPolicy'{..}
169− = go _piwsvgipResource _piwsvgipXgafv
170− _piwsvgipUploadProtocol
171− _piwsvgipAccessToken
172− _piwsvgipUploadType
173− _piwsvgipCallback
174− (Just AltJSON)
175− _piwsvgipPayload
176− iAPService
177− where go
178− = buildClient
179− (Proxy ::
180− Proxy
181− ProjectsIapWebServicesVersionsGetIAMPolicyResource)
182− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/Versions/SetIAMPolicy.hsdeleted−182
@@ -1,182 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.SetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Sets the access control policy for an Identity-Aware Proxy protected
24−-- resource. Replaces any existing policy. More information about managing
25−-- access via IAP can be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.services.versions.setIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.SetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapWebServicesVersionsSetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapWebServicesVersionsSetIAMPolicy
36− , ProjectsIapWebServicesVersionsSetIAMPolicy
37−
38− -- * Request Lenses
39− , piwsvsipXgafv
40− , piwsvsipUploadProtocol
41− , piwsvsipAccessToken
42− , piwsvsipUploadType
43− , piwsvsipPayload
44− , piwsvsipResource
45− , piwsvsipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.services.versions.setIamPolicy@ method which the
52−-- 'ProjectsIapWebServicesVersionsSetIAMPolicy' request conforms to.
53−type ProjectsIapWebServicesVersionsSetIAMPolicyResource
54− =
55− "v1" :>
56− CaptureMode "resource" "setIamPolicy" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] SetIAMPolicyRequest :>
64− Post '[JSON] Policy
65−
66−-- | Sets the access control policy for an Identity-Aware Proxy protected
67−-- resource. Replaces any existing policy. More information about managing
68−-- access via IAP can be found at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapWebServicesVersionsSetIAMPolicy' smart constructor.
72−data ProjectsIapWebServicesVersionsSetIAMPolicy =
73− ProjectsIapWebServicesVersionsSetIAMPolicy'
74− { _piwsvsipXgafv :: !(Maybe Xgafv)
75− , _piwsvsipUploadProtocol :: !(Maybe Text)
76− , _piwsvsipAccessToken :: !(Maybe Text)
77− , _piwsvsipUploadType :: !(Maybe Text)
78− , _piwsvsipPayload :: !SetIAMPolicyRequest
79− , _piwsvsipResource :: !Text
80− , _piwsvsipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapWebServicesVersionsSetIAMPolicy' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'piwsvsipXgafv'
89−--
90−-- * 'piwsvsipUploadProtocol'
91−--
92−-- * 'piwsvsipAccessToken'
93−--
94−-- * 'piwsvsipUploadType'
95−--
96−-- * 'piwsvsipPayload'
97−--
98−-- * 'piwsvsipResource'
99−--
100−-- * 'piwsvsipCallback'
101−projectsIapWebServicesVersionsSetIAMPolicy
102− :: SetIAMPolicyRequest -- ^ 'piwsvsipPayload'
103− -> Text -- ^ 'piwsvsipResource'
104− -> ProjectsIapWebServicesVersionsSetIAMPolicy
105−projectsIapWebServicesVersionsSetIAMPolicy pPiwsvsipPayload_ pPiwsvsipResource_ =
106− ProjectsIapWebServicesVersionsSetIAMPolicy'
107− { _piwsvsipXgafv = Nothing
108− , _piwsvsipUploadProtocol = Nothing
109− , _piwsvsipAccessToken = Nothing
110− , _piwsvsipUploadType = Nothing
111− , _piwsvsipPayload = pPiwsvsipPayload_
112− , _piwsvsipResource = pPiwsvsipResource_
113− , _piwsvsipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−piwsvsipXgafv :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Xgafv)
118−piwsvsipXgafv
119− = lens _piwsvsipXgafv
120− (\ s a -> s{_piwsvsipXgafv = a})
121−
122−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
123−piwsvsipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
124−piwsvsipUploadProtocol
125− = lens _piwsvsipUploadProtocol
126− (\ s a -> s{_piwsvsipUploadProtocol = a})
127−
128−-- | OAuth access token.
129−piwsvsipAccessToken :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
130−piwsvsipAccessToken
131− = lens _piwsvsipAccessToken
132− (\ s a -> s{_piwsvsipAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−piwsvsipUploadType :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
136−piwsvsipUploadType
137− = lens _piwsvsipUploadType
138− (\ s a -> s{_piwsvsipUploadType = a})
139−
140−-- | Multipart request metadata.
141−piwsvsipPayload :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy SetIAMPolicyRequest
142−piwsvsipPayload
143− = lens _piwsvsipPayload
144− (\ s a -> s{_piwsvsipPayload = a})
145−
146−-- | REQUIRED: The resource for which the policy is being specified. See the
147−-- operation documentation for the appropriate value for this field.
148−piwsvsipResource :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy Text
149−piwsvsipResource
150− = lens _piwsvsipResource
151− (\ s a -> s{_piwsvsipResource = a})
152−
153−-- | JSONP
154−piwsvsipCallback :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
155−piwsvsipCallback
156− = lens _piwsvsipCallback
157− (\ s a -> s{_piwsvsipCallback = a})
158−
159−instance GoogleRequest
160− ProjectsIapWebServicesVersionsSetIAMPolicy
161− where
162− type Rs ProjectsIapWebServicesVersionsSetIAMPolicy =
163− Policy
164− type Scopes
165− ProjectsIapWebServicesVersionsSetIAMPolicy
166− = '["https://www.googleapis.com/auth/cloud-platform"]
167− requestClient
168− ProjectsIapWebServicesVersionsSetIAMPolicy'{..}
169− = go _piwsvsipResource _piwsvsipXgafv
170− _piwsvsipUploadProtocol
171− _piwsvsipAccessToken
172− _piwsvsipUploadType
173− _piwsvsipCallback
174− (Just AltJSON)
175− _piwsvsipPayload
176− iAPService
177− where go
178− = buildClient
179− (Proxy ::
180− Proxy
181− ProjectsIapWebServicesVersionsSetIAMPolicyResource)
182− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/Services/Versions/TestIAMPermissions.hsdeleted−184
@@ -1,184 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.TestIAMPermissions
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns permissions that a caller has on the Identity-Aware Proxy
24−-- protected resource. More information about managing access via IAP can
25−-- be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.services.versions.testIamPermissions@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.TestIAMPermissions
30− (
31− -- * REST Resource
32− ProjectsIapWebServicesVersionsTestIAMPermissionsResource
33−
34− -- * Creating a Request
35− , projectsIapWebServicesVersionsTestIAMPermissions
36− , ProjectsIapWebServicesVersionsTestIAMPermissions
37−
38− -- * Request Lenses
39− , piwsvtipXgafv
40− , piwsvtipUploadProtocol
41− , piwsvtipAccessToken
42− , piwsvtipUploadType
43− , piwsvtipPayload
44− , piwsvtipResource
45− , piwsvtipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.services.versions.testIamPermissions@ method which the
52−-- 'ProjectsIapWebServicesVersionsTestIAMPermissions' request conforms to.
53−type ProjectsIapWebServicesVersionsTestIAMPermissionsResource
54− =
55− "v1" :>
56− CaptureMode "resource" "testIamPermissions" Text :>
57− QueryParam "$.xgafv" Xgafv :>
58− QueryParam "upload_protocol" Text :>
59− QueryParam "access_token" Text :>
60− QueryParam "uploadType" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] TestIAMPermissionsRequest :>
64− Post '[JSON] TestIAMPermissionsResponse
65−
66−-- | Returns permissions that a caller has on the Identity-Aware Proxy
67−-- protected resource. More information about managing access via IAP can
68−-- be found at:
69−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
70−--
71−-- /See:/ 'projectsIapWebServicesVersionsTestIAMPermissions' smart constructor.
72−data ProjectsIapWebServicesVersionsTestIAMPermissions =
73− ProjectsIapWebServicesVersionsTestIAMPermissions'
74− { _piwsvtipXgafv :: !(Maybe Xgafv)
75− , _piwsvtipUploadProtocol :: !(Maybe Text)
76− , _piwsvtipAccessToken :: !(Maybe Text)
77− , _piwsvtipUploadType :: !(Maybe Text)
78− , _piwsvtipPayload :: !TestIAMPermissionsRequest
79− , _piwsvtipResource :: !Text
80− , _piwsvtipCallback :: !(Maybe Text)
81− }
82− deriving (Eq, Show, Data, Typeable, Generic)
83−
84−-- | Creates a value of 'ProjectsIapWebServicesVersionsTestIAMPermissions' with the minimum fields required to make a request.
85−--
86−-- Use one of the following lenses to modify other fields as desired:
87−--
88−-- * 'piwsvtipXgafv'
89−--
90−-- * 'piwsvtipUploadProtocol'
91−--
92−-- * 'piwsvtipAccessToken'
93−--
94−-- * 'piwsvtipUploadType'
95−--
96−-- * 'piwsvtipPayload'
97−--
98−-- * 'piwsvtipResource'
99−--
100−-- * 'piwsvtipCallback'
101−projectsIapWebServicesVersionsTestIAMPermissions
102− :: TestIAMPermissionsRequest -- ^ 'piwsvtipPayload'
103− -> Text -- ^ 'piwsvtipResource'
104− -> ProjectsIapWebServicesVersionsTestIAMPermissions
105−projectsIapWebServicesVersionsTestIAMPermissions pPiwsvtipPayload_ pPiwsvtipResource_ =
106− ProjectsIapWebServicesVersionsTestIAMPermissions'
107− { _piwsvtipXgafv = Nothing
108− , _piwsvtipUploadProtocol = Nothing
109− , _piwsvtipAccessToken = Nothing
110− , _piwsvtipUploadType = Nothing
111− , _piwsvtipPayload = pPiwsvtipPayload_
112− , _piwsvtipResource = pPiwsvtipResource_
113− , _piwsvtipCallback = Nothing
114− }
115−
116−-- | V1 error format.
117−piwsvtipXgafv :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Xgafv)
118−piwsvtipXgafv
119− = lens _piwsvtipXgafv
120− (\ s a -> s{_piwsvtipXgafv = a})
121−
122−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
123−piwsvtipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
124−piwsvtipUploadProtocol
125− = lens _piwsvtipUploadProtocol
126− (\ s a -> s{_piwsvtipUploadProtocol = a})
127−
128−-- | OAuth access token.
129−piwsvtipAccessToken :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
130−piwsvtipAccessToken
131− = lens _piwsvtipAccessToken
132− (\ s a -> s{_piwsvtipAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−piwsvtipUploadType :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
136−piwsvtipUploadType
137− = lens _piwsvtipUploadType
138− (\ s a -> s{_piwsvtipUploadType = a})
139−
140−-- | Multipart request metadata.
141−piwsvtipPayload :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions TestIAMPermissionsRequest
142−piwsvtipPayload
143− = lens _piwsvtipPayload
144− (\ s a -> s{_piwsvtipPayload = a})
145−
146−-- | REQUIRED: The resource for which the policy detail is being requested.
147−-- See the operation documentation for the appropriate value for this
148−-- field.
149−piwsvtipResource :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions Text
150−piwsvtipResource
151− = lens _piwsvtipResource
152− (\ s a -> s{_piwsvtipResource = a})
153−
154−-- | JSONP
155−piwsvtipCallback :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
156−piwsvtipCallback
157− = lens _piwsvtipCallback
158− (\ s a -> s{_piwsvtipCallback = a})
159−
160−instance GoogleRequest
161− ProjectsIapWebServicesVersionsTestIAMPermissions
162− where
163− type Rs
164− ProjectsIapWebServicesVersionsTestIAMPermissions
165− = TestIAMPermissionsResponse
166− type Scopes
167− ProjectsIapWebServicesVersionsTestIAMPermissions
168− = '["https://www.googleapis.com/auth/cloud-platform"]
169− requestClient
170− ProjectsIapWebServicesVersionsTestIAMPermissions'{..}
171− = go _piwsvtipResource _piwsvtipXgafv
172− _piwsvtipUploadProtocol
173− _piwsvtipAccessToken
174− _piwsvtipUploadType
175− _piwsvtipCallback
176− (Just AltJSON)
177− _piwsvtipPayload
178− iAPService
179− where go
180− = buildClient
181− (Proxy ::
182− Proxy
183− ProjectsIapWebServicesVersionsTestIAMPermissionsResource)
184− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/SetIAMPolicy.hsdeleted−174
@@ -1,174 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Sets the access control policy for an Identity-Aware Proxy protected
24−-- resource. Replaces any existing policy. More information about managing
25−-- access via IAP can be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.setIamPolicy@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy
30− (
31− -- * REST Resource
32− ProjectsIapWebSetIAMPolicyResource
33−
34− -- * Creating a Request
35− , projectsIapWebSetIAMPolicy
36− , ProjectsIapWebSetIAMPolicy
37−
38− -- * Request Lenses
39− , piwsipXgafv
40− , piwsipUploadProtocol
41− , piwsipAccessToken
42− , piwsipUploadType
43− , piwsipPayload
44− , piwsipResource
45− , piwsipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.setIamPolicy@ method which the
52−-- 'ProjectsIapWebSetIAMPolicy' request conforms to.
53−type ProjectsIapWebSetIAMPolicyResource =
54− "v1" :>
55− CaptureMode "resource" "setIamPolicy" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] SetIAMPolicyRequest :>
63− Post '[JSON] Policy
64−
65−-- | Sets the access control policy for an Identity-Aware Proxy protected
66−-- resource. Replaces any existing policy. More information about managing
67−-- access via IAP can be found at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapWebSetIAMPolicy' smart constructor.
71−data ProjectsIapWebSetIAMPolicy =
72− ProjectsIapWebSetIAMPolicy'
73− { _piwsipXgafv :: !(Maybe Xgafv)
74− , _piwsipUploadProtocol :: !(Maybe Text)
75− , _piwsipAccessToken :: !(Maybe Text)
76− , _piwsipUploadType :: !(Maybe Text)
77− , _piwsipPayload :: !SetIAMPolicyRequest
78− , _piwsipResource :: !Text
79− , _piwsipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapWebSetIAMPolicy' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'piwsipXgafv'
88−--
89−-- * 'piwsipUploadProtocol'
90−--
91−-- * 'piwsipAccessToken'
92−--
93−-- * 'piwsipUploadType'
94−--
95−-- * 'piwsipPayload'
96−--
97−-- * 'piwsipResource'
98−--
99−-- * 'piwsipCallback'
100−projectsIapWebSetIAMPolicy
101− :: SetIAMPolicyRequest -- ^ 'piwsipPayload'
102− -> Text -- ^ 'piwsipResource'
103− -> ProjectsIapWebSetIAMPolicy
104−projectsIapWebSetIAMPolicy pPiwsipPayload_ pPiwsipResource_ =
105− ProjectsIapWebSetIAMPolicy'
106− { _piwsipXgafv = Nothing
107− , _piwsipUploadProtocol = Nothing
108− , _piwsipAccessToken = Nothing
109− , _piwsipUploadType = Nothing
110− , _piwsipPayload = pPiwsipPayload_
111− , _piwsipResource = pPiwsipResource_
112− , _piwsipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−piwsipXgafv :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Xgafv)
117−piwsipXgafv
118− = lens _piwsipXgafv (\ s a -> s{_piwsipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−piwsipUploadProtocol :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
122−piwsipUploadProtocol
123− = lens _piwsipUploadProtocol
124− (\ s a -> s{_piwsipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−piwsipAccessToken :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
128−piwsipAccessToken
129− = lens _piwsipAccessToken
130− (\ s a -> s{_piwsipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−piwsipUploadType :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
134−piwsipUploadType
135− = lens _piwsipUploadType
136− (\ s a -> s{_piwsipUploadType = a})
137−
138−-- | Multipart request metadata.
139−piwsipPayload :: Lens' ProjectsIapWebSetIAMPolicy SetIAMPolicyRequest
140−piwsipPayload
141− = lens _piwsipPayload
142− (\ s a -> s{_piwsipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy is being specified. See the
145−-- operation documentation for the appropriate value for this field.
146−piwsipResource :: Lens' ProjectsIapWebSetIAMPolicy Text
147−piwsipResource
148− = lens _piwsipResource
149− (\ s a -> s{_piwsipResource = a})
150−
151−-- | JSONP
152−piwsipCallback :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
153−piwsipCallback
154− = lens _piwsipCallback
155− (\ s a -> s{_piwsipCallback = a})
156−
157−instance GoogleRequest ProjectsIapWebSetIAMPolicy
158− where
159− type Rs ProjectsIapWebSetIAMPolicy = Policy
160− type Scopes ProjectsIapWebSetIAMPolicy =
161− '["https://www.googleapis.com/auth/cloud-platform"]
162− requestClient ProjectsIapWebSetIAMPolicy'{..}
163− = go _piwsipResource _piwsipXgafv
164− _piwsipUploadProtocol
165− _piwsipAccessToken
166− _piwsipUploadType
167− _piwsipCallback
168− (Just AltJSON)
169− _piwsipPayload
170− iAPService
171− where go
172− = buildClient
173− (Proxy :: Proxy ProjectsIapWebSetIAMPolicyResource)
174− mempty
gogol-iap/gen/Network/Google/Resource/IAP/Projects/IapWeb/TestIAMPermissions.hsdeleted−178
@@ -1,178 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.IAP.Projects.IapWeb.TestIAMPermissions
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns permissions that a caller has on the Identity-Aware Proxy
24−-- protected resource. More information about managing access via IAP can
25−-- be found at:
26−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27−--
28−-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.projects.iap_web.testIamPermissions@.
29−module Network.Google.Resource.IAP.Projects.IapWeb.TestIAMPermissions
30− (
31− -- * REST Resource
32− ProjectsIapWebTestIAMPermissionsResource
33−
34− -- * Creating a Request
35− , projectsIapWebTestIAMPermissions
36− , ProjectsIapWebTestIAMPermissions
37−
38− -- * Request Lenses
39− , piwtipXgafv
40− , piwtipUploadProtocol
41− , piwtipAccessToken
42− , piwtipUploadType
43− , piwtipPayload
44− , piwtipResource
45− , piwtipCallback
46− ) where
47−
48−import Network.Google.IAP.Types
49−import Network.Google.Prelude
50−
51−-- | A resource alias for @iap.projects.iap_web.testIamPermissions@ method which the
52−-- 'ProjectsIapWebTestIAMPermissions' request conforms to.
53−type ProjectsIapWebTestIAMPermissionsResource =
54− "v1" :>
55− CaptureMode "resource" "testIamPermissions" Text :>
56− QueryParam "$.xgafv" Xgafv :>
57− QueryParam "upload_protocol" Text :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "callback" Text :>
61− QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] TestIAMPermissionsRequest :>
63− Post '[JSON] TestIAMPermissionsResponse
64−
65−-- | Returns permissions that a caller has on the Identity-Aware Proxy
66−-- protected resource. More information about managing access via IAP can
67−-- be found at:
68−-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69−--
70−-- /See:/ 'projectsIapWebTestIAMPermissions' smart constructor.
71−data ProjectsIapWebTestIAMPermissions =
72− ProjectsIapWebTestIAMPermissions'
73− { _piwtipXgafv :: !(Maybe Xgafv)
74− , _piwtipUploadProtocol :: !(Maybe Text)
75− , _piwtipAccessToken :: !(Maybe Text)
76− , _piwtipUploadType :: !(Maybe Text)
77− , _piwtipPayload :: !TestIAMPermissionsRequest
78− , _piwtipResource :: !Text
79− , _piwtipCallback :: !(Maybe Text)
80− }
81− deriving (Eq, Show, Data, Typeable, Generic)
82−
83−-- | Creates a value of 'ProjectsIapWebTestIAMPermissions' with the minimum fields required to make a request.
84−--
85−-- Use one of the following lenses to modify other fields as desired:
86−--
87−-- * 'piwtipXgafv'
88−--
89−-- * 'piwtipUploadProtocol'
90−--
91−-- * 'piwtipAccessToken'
92−--
93−-- * 'piwtipUploadType'
94−--
95−-- * 'piwtipPayload'
96−--
97−-- * 'piwtipResource'
98−--
99−-- * 'piwtipCallback'
100−projectsIapWebTestIAMPermissions
101− :: TestIAMPermissionsRequest -- ^ 'piwtipPayload'
102− -> Text -- ^ 'piwtipResource'
103− -> ProjectsIapWebTestIAMPermissions
104−projectsIapWebTestIAMPermissions pPiwtipPayload_ pPiwtipResource_ =
105− ProjectsIapWebTestIAMPermissions'
106− { _piwtipXgafv = Nothing
107− , _piwtipUploadProtocol = Nothing
108− , _piwtipAccessToken = Nothing
109− , _piwtipUploadType = Nothing
110− , _piwtipPayload = pPiwtipPayload_
111− , _piwtipResource = pPiwtipResource_
112− , _piwtipCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−piwtipXgafv :: Lens' ProjectsIapWebTestIAMPermissions (Maybe Xgafv)
117−piwtipXgafv
118− = lens _piwtipXgafv (\ s a -> s{_piwtipXgafv = a})
119−
120−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
121−piwtipUploadProtocol :: Lens' ProjectsIapWebTestIAMPermissions (Maybe Text)
122−piwtipUploadProtocol
123− = lens _piwtipUploadProtocol
124− (\ s a -> s{_piwtipUploadProtocol = a})
125−
126−-- | OAuth access token.
127−piwtipAccessToken :: Lens' ProjectsIapWebTestIAMPermissions (Maybe Text)
128−piwtipAccessToken
129− = lens _piwtipAccessToken
130− (\ s a -> s{_piwtipAccessToken = a})
131−
132−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
133−piwtipUploadType :: Lens' ProjectsIapWebTestIAMPermissions (Maybe Text)
134−piwtipUploadType
135− = lens _piwtipUploadType
136− (\ s a -> s{_piwtipUploadType = a})
137−
138−-- | Multipart request metadata.
139−piwtipPayload :: Lens' ProjectsIapWebTestIAMPermissions TestIAMPermissionsRequest
140−piwtipPayload
141− = lens _piwtipPayload
142− (\ s a -> s{_piwtipPayload = a})
143−
144−-- | REQUIRED: The resource for which the policy detail is being requested.
145−-- See the operation documentation for the appropriate value for this
146−-- field.
147−piwtipResource :: Lens' ProjectsIapWebTestIAMPermissions Text
148−piwtipResource
149− = lens _piwtipResource
150− (\ s a -> s{_piwtipResource = a})
151−
152−-- | JSONP
153−piwtipCallback :: Lens' ProjectsIapWebTestIAMPermissions (Maybe Text)
154−piwtipCallback
155− = lens _piwtipCallback
156− (\ s a -> s{_piwtipCallback = a})
157−
158−instance GoogleRequest
159− ProjectsIapWebTestIAMPermissions
160− where
161− type Rs ProjectsIapWebTestIAMPermissions =
162− TestIAMPermissionsResponse
163− type Scopes ProjectsIapWebTestIAMPermissions =
164− '["https://www.googleapis.com/auth/cloud-platform"]
165− requestClient ProjectsIapWebTestIAMPermissions'{..}
166− = go _piwtipResource _piwtipXgafv
167− _piwtipUploadProtocol
168− _piwtipAccessToken
169− _piwtipUploadType
170− _piwtipCallback
171− (Just AltJSON)
172− _piwtipPayload
173− iAPService
174− where go
175− = buildClient
176− (Proxy ::
177− Proxy ProjectsIapWebTestIAMPermissionsResource)
178− mempty
gogol-iap/gen/Network/Google/Resource/IAP/SetIAMPolicy.hsnew file+167
@@ -0,0 +1,167 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.IAP.SetIAMPolicy
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Sets the access control policy for an Identity-Aware Proxy protected
24+-- resource. Replaces any existing policy. More information about managing
25+-- access via IAP can be found at:
26+-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27+--
28+-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.setIamPolicy@.
29+module Network.Google.Resource.IAP.SetIAMPolicy
30+ (
31+ -- * REST Resource
32+ SetIAMPolicyResource
33+
34+ -- * Creating a Request
35+ , setIAMPolicy
36+ , SetIAMPolicy
37+
38+ -- * Request Lenses
39+ , sipXgafv
40+ , sipUploadProtocol
41+ , sipAccessToken
42+ , sipUploadType
43+ , sipPayload
44+ , sipResource
45+ , sipCallback
46+ ) where
47+
48+import Network.Google.IAP.Types
49+import Network.Google.Prelude
50+
51+-- | A resource alias for @iap.setIamPolicy@ method which the
52+-- 'SetIAMPolicy' request conforms to.
53+type SetIAMPolicyResource =
54+ "v1" :>
55+ CaptureMode "resource" "setIamPolicy" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
57+ QueryParam "upload_protocol" Text :>
58+ QueryParam "access_token" Text :>
59+ QueryParam "uploadType" Text :>
60+ QueryParam "callback" Text :>
61+ QueryParam "alt" AltJSON :>
62+ ReqBody '[JSON] SetIAMPolicyRequest :>
63+ Post '[JSON] Policy
64+
65+-- | Sets the access control policy for an Identity-Aware Proxy protected
66+-- resource. Replaces any existing policy. More information about managing
67+-- access via IAP can be found at:
68+-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69+--
70+-- /See:/ 'setIAMPolicy' smart constructor.
71+data SetIAMPolicy =
72+ SetIAMPolicy'
73+ { _sipXgafv :: !(Maybe Xgafv)
74+ , _sipUploadProtocol :: !(Maybe Text)
75+ , _sipAccessToken :: !(Maybe Text)
76+ , _sipUploadType :: !(Maybe Text)
77+ , _sipPayload :: !SetIAMPolicyRequest
78+ , _sipResource :: !Text
79+ , _sipCallback :: !(Maybe Text)
80+ }
81+ deriving (Eq, Show, Data, Typeable, Generic)
82+
83+-- | Creates a value of 'SetIAMPolicy' with the minimum fields required to make a request.
84+--
85+-- Use one of the following lenses to modify other fields as desired:
86+--
87+-- * 'sipXgafv'
88+--
89+-- * 'sipUploadProtocol'
90+--
91+-- * 'sipAccessToken'
92+--
93+-- * 'sipUploadType'
94+--
95+-- * 'sipPayload'
96+--
97+-- * 'sipResource'
98+--
99+-- * 'sipCallback'
100+setIAMPolicy
101+ :: SetIAMPolicyRequest -- ^ 'sipPayload'
102+ -> Text -- ^ 'sipResource'
103+ -> SetIAMPolicy
104+setIAMPolicy pSipPayload_ pSipResource_ =
105+ SetIAMPolicy'
106+ { _sipXgafv = Nothing
107+ , _sipUploadProtocol = Nothing
108+ , _sipAccessToken = Nothing
109+ , _sipUploadType = Nothing
110+ , _sipPayload = pSipPayload_
111+ , _sipResource = pSipResource_
112+ , _sipCallback = Nothing
113+ }
114+
115+-- | V1 error format.
116+sipXgafv :: Lens' SetIAMPolicy (Maybe Xgafv)
117+sipXgafv = lens _sipXgafv (\ s a -> s{_sipXgafv = a})
118+
119+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
120+sipUploadProtocol :: Lens' SetIAMPolicy (Maybe Text)
121+sipUploadProtocol
122+ = lens _sipUploadProtocol
123+ (\ s a -> s{_sipUploadProtocol = a})
124+
125+-- | OAuth access token.
126+sipAccessToken :: Lens' SetIAMPolicy (Maybe Text)
127+sipAccessToken
128+ = lens _sipAccessToken
129+ (\ s a -> s{_sipAccessToken = a})
130+
131+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
132+sipUploadType :: Lens' SetIAMPolicy (Maybe Text)
133+sipUploadType
134+ = lens _sipUploadType
135+ (\ s a -> s{_sipUploadType = a})
136+
137+-- | Multipart request metadata.
138+sipPayload :: Lens' SetIAMPolicy SetIAMPolicyRequest
139+sipPayload
140+ = lens _sipPayload (\ s a -> s{_sipPayload = a})
141+
142+-- | REQUIRED: The resource for which the policy is being specified. See the
143+-- operation documentation for the appropriate value for this field.
144+sipResource :: Lens' SetIAMPolicy Text
145+sipResource
146+ = lens _sipResource (\ s a -> s{_sipResource = a})
147+
148+-- | JSONP
149+sipCallback :: Lens' SetIAMPolicy (Maybe Text)
150+sipCallback
151+ = lens _sipCallback (\ s a -> s{_sipCallback = a})
152+
153+instance GoogleRequest SetIAMPolicy where
154+ type Rs SetIAMPolicy = Policy
155+ type Scopes SetIAMPolicy =
156+ '["https://www.googleapis.com/auth/cloud-platform"]
157+ requestClient SetIAMPolicy'{..}
158+ = go _sipResource _sipXgafv _sipUploadProtocol
159+ _sipAccessToken
160+ _sipUploadType
161+ _sipCallback
162+ (Just AltJSON)
163+ _sipPayload
164+ iAPService
165+ where go
166+ = buildClient (Proxy :: Proxy SetIAMPolicyResource)
167+ mempty
gogol-iap/gen/Network/Google/Resource/IAP/TestIAMPermissions.hsnew file+170
@@ -0,0 +1,170 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.IAP.TestIAMPermissions
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Returns permissions that a caller has on the Identity-Aware Proxy
24+-- protected resource. More information about managing access via IAP can
25+-- be found at:
26+-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
27+--
28+-- /See:/ <https://cloud.google.com/iap Cloud Identity-Aware Proxy API Reference> for @iap.testIamPermissions@.
29+module Network.Google.Resource.IAP.TestIAMPermissions
30+ (
31+ -- * REST Resource
32+ TestIAMPermissionsResource
33+
34+ -- * Creating a Request
35+ , testIAMPermissions
36+ , TestIAMPermissions
37+
38+ -- * Request Lenses
39+ , tipXgafv
40+ , tipUploadProtocol
41+ , tipAccessToken
42+ , tipUploadType
43+ , tipPayload
44+ , tipResource
45+ , tipCallback
46+ ) where
47+
48+import Network.Google.IAP.Types
49+import Network.Google.Prelude
50+
51+-- | A resource alias for @iap.testIamPermissions@ method which the
52+-- 'TestIAMPermissions' request conforms to.
53+type TestIAMPermissionsResource =
54+ "v1" :>
55+ CaptureMode "resource" "testIamPermissions" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
57+ QueryParam "upload_protocol" Text :>
58+ QueryParam "access_token" Text :>
59+ QueryParam "uploadType" Text :>
60+ QueryParam "callback" Text :>
61+ QueryParam "alt" AltJSON :>
62+ ReqBody '[JSON] TestIAMPermissionsRequest :>
63+ Post '[JSON] TestIAMPermissionsResponse
64+
65+-- | Returns permissions that a caller has on the Identity-Aware Proxy
66+-- protected resource. More information about managing access via IAP can
67+-- be found at:
68+-- https:\/\/cloud.google.com\/iap\/docs\/managing-access#managing_access_via_the_api
69+--
70+-- /See:/ 'testIAMPermissions' smart constructor.
71+data TestIAMPermissions =
72+ TestIAMPermissions'
73+ { _tipXgafv :: !(Maybe Xgafv)
74+ , _tipUploadProtocol :: !(Maybe Text)
75+ , _tipAccessToken :: !(Maybe Text)
76+ , _tipUploadType :: !(Maybe Text)
77+ , _tipPayload :: !TestIAMPermissionsRequest
78+ , _tipResource :: !Text
79+ , _tipCallback :: !(Maybe Text)
80+ }
81+ deriving (Eq, Show, Data, Typeable, Generic)
82+
83+-- | Creates a value of 'TestIAMPermissions' with the minimum fields required to make a request.
84+--
85+-- Use one of the following lenses to modify other fields as desired:
86+--
87+-- * 'tipXgafv'
88+--
89+-- * 'tipUploadProtocol'
90+--
91+-- * 'tipAccessToken'
92+--
93+-- * 'tipUploadType'
94+--
95+-- * 'tipPayload'
96+--
97+-- * 'tipResource'
98+--
99+-- * 'tipCallback'
100+testIAMPermissions
101+ :: TestIAMPermissionsRequest -- ^ 'tipPayload'
102+ -> Text -- ^ 'tipResource'
103+ -> TestIAMPermissions
104+testIAMPermissions pTipPayload_ pTipResource_ =
105+ TestIAMPermissions'
106+ { _tipXgafv = Nothing
107+ , _tipUploadProtocol = Nothing
108+ , _tipAccessToken = Nothing
109+ , _tipUploadType = Nothing
110+ , _tipPayload = pTipPayload_
111+ , _tipResource = pTipResource_
112+ , _tipCallback = Nothing
113+ }
114+
115+-- | V1 error format.
116+tipXgafv :: Lens' TestIAMPermissions (Maybe Xgafv)
117+tipXgafv = lens _tipXgafv (\ s a -> s{_tipXgafv = a})
118+
119+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
120+tipUploadProtocol :: Lens' TestIAMPermissions (Maybe Text)
121+tipUploadProtocol
122+ = lens _tipUploadProtocol
123+ (\ s a -> s{_tipUploadProtocol = a})
124+
125+-- | OAuth access token.
126+tipAccessToken :: Lens' TestIAMPermissions (Maybe Text)
127+tipAccessToken
128+ = lens _tipAccessToken
129+ (\ s a -> s{_tipAccessToken = a})
130+
131+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
132+tipUploadType :: Lens' TestIAMPermissions (Maybe Text)
133+tipUploadType
134+ = lens _tipUploadType
135+ (\ s a -> s{_tipUploadType = a})
136+
137+-- | Multipart request metadata.
138+tipPayload :: Lens' TestIAMPermissions TestIAMPermissionsRequest
139+tipPayload
140+ = lens _tipPayload (\ s a -> s{_tipPayload = a})
141+
142+-- | REQUIRED: The resource for which the policy detail is being requested.
143+-- See the operation documentation for the appropriate value for this
144+-- field.
145+tipResource :: Lens' TestIAMPermissions Text
146+tipResource
147+ = lens _tipResource (\ s a -> s{_tipResource = a})
148+
149+-- | JSONP
150+tipCallback :: Lens' TestIAMPermissions (Maybe Text)
151+tipCallback
152+ = lens _tipCallback (\ s a -> s{_tipCallback = a})
153+
154+instance GoogleRequest TestIAMPermissions where
155+ type Rs TestIAMPermissions =
156+ TestIAMPermissionsResponse
157+ type Scopes TestIAMPermissions =
158+ '["https://www.googleapis.com/auth/cloud-platform"]
159+ requestClient TestIAMPermissions'{..}
160+ = go _tipResource _tipXgafv _tipUploadProtocol
161+ _tipAccessToken
162+ _tipUploadType
163+ _tipCallback
164+ (Just AltJSON)
165+ _tipPayload
166+ iAPService
167+ where go
168+ = buildClient
169+ (Proxy :: Proxy TestIAMPermissionsResource)
170+ mempty
gogol-iap/gogol-iap.cabal+5−20
@@ -1,5 +1,5 @@
11name: gogol-iap
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Identity-Aware Proxy SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -35,29 +35,14 @@ library
3535 exposed-modules:
3636 Network.Google.IAP
3737 , Network.Google.IAP.Types
38− , Network.Google.Resource.IAP.Projects.IapTunnel.GetIAMPolicy
39− , Network.Google.Resource.IAP.Projects.IapTunnel.SetIAMPolicy
40− , Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions
41− , Network.Google.Resource.IAP.Projects.IapTunnel.Zones.GetIAMPolicy
42− , Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.GetIAMPolicy
43− , Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.SetIAMPolicy
44− , Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.TestIAMPermissions
45− , Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy
46− , Network.Google.Resource.IAP.Projects.IapTunnel.Zones.TestIAMPermissions
47− , Network.Google.Resource.IAP.Projects.IapWeb.GetIAMPolicy
48− , Network.Google.Resource.IAP.Projects.IapWeb.Services.GetIAMPolicy
49− , Network.Google.Resource.IAP.Projects.IapWeb.Services.SetIAMPolicy
50− , Network.Google.Resource.IAP.Projects.IapWeb.Services.TestIAMPermissions
51− , Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.GetIAMPolicy
52− , Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.SetIAMPolicy
53− , Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.TestIAMPermissions
54− , Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy
55− , Network.Google.Resource.IAP.Projects.IapWeb.TestIAMPermissions
38+ , Network.Google.Resource.IAP.GetIAMPolicy
39+ , Network.Google.Resource.IAP.SetIAMPolicy
40+ , Network.Google.Resource.IAP.TestIAMPermissions
5641
5742 other-modules:
5843 Network.Google.IAP.Types.Product
5944 , Network.Google.IAP.Types.Sum
6045
6146 build-depends:
62− gogol-core == 0.4.0.*
47+ gogol-core == 0.5.0.*
6348 , base >= 4.7 && < 5
gogol-identity-toolkit/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-identity-toolkit/gogol-identity-toolkit.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-identity-toolkit
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Identity Toolkit SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -61,5 +61,5 @@ library
6161 , Network.Google.IdentityToolkit.Types.Sum
6262
6363 build-depends:
64− gogol-core == 0.4.0.*
64+ gogol-core == 0.5.0.*
6565 , base >= 4.7 && < 5
gogol-indexing/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-indexing/gogol-indexing.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-indexing
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Indexing SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -43,5 +43,5 @@ library
4343 , Network.Google.Indexing.Types.Sum
4444
4545 build-depends:
46− gogol-core == 0.4.0.*
46+ gogol-core == 0.5.0.*
4747 , base >= 4.7 && < 5
gogol-jobs/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-jobs/gen/Network/Google/Jobs.hs+36
@@ -77,6 +77,9 @@ module Network.Google.Jobs
7777 -- ** jobs.projects.jobs.searchForAlert
7878 , module Network.Google.Resource.Jobs.Projects.Jobs.SearchForAlert
7979
80+ -- ** jobs.projects.operations.get
81+ , module Network.Google.Resource.Jobs.Projects.Operations.Get
82+
8083 -- * Types
8184
8285 -- ** LatLng
@@ -104,6 +107,13 @@ module Network.Google.Jobs
104107 -- ** CompensationFilterType
105108 , CompensationFilterType (..)
106109
110+ -- ** Status
111+ , Status
112+ , status
113+ , sDetails
114+ , sCode
115+ , sMessage
116+
107117 -- ** RequestMetadata
108118 , RequestMetadata
109119 , requestMetadata
@@ -179,6 +189,15 @@ module Network.Google.Jobs
179189 , lPostalAddress
180190 , lRadiusInMiles
181191
192+ -- ** Operation
193+ , Operation
194+ , operation
195+ , oDone
196+ , oError
197+ , oResponse
198+ , oName
199+ , oMetadata
200+
182201 -- ** Empty
183202 , Empty
184203 , empty
@@ -266,6 +285,11 @@ module Network.Google.Jobs
266285 , histogramQueryResultHistogram
267286 , hqrhAddtional
268287
288+ -- ** StatusDetailsItem
289+ , StatusDetailsItem
290+ , statusDetailsItem
291+ , sdiAddtional
292+
269293 -- ** HistogramQueryResult
270294 , HistogramQueryResult
271295 , histogramQueryResult
@@ -504,6 +528,11 @@ module Network.Google.Jobs
504528 , ceDescription
505529 , ceUnit
506530
531+ -- ** OperationMetadata
532+ , OperationMetadata
533+ , operationMetadata
534+ , omAddtional
535+
507536 -- ** CompensationRange
508537 , CompensationRange
509538 , compensationRange
@@ -552,6 +581,11 @@ module Network.Google.Jobs
552581 , nboBucketBounds
553582 , nboRequiresMinMax
554583
584+ -- ** OperationResponse
585+ , OperationResponse
586+ , operationResponse
587+ , orAddtional
588+
555589 -- ** SearchJobsRequestSearchMode
556590 , SearchJobsRequestSearchMode (..)
557591
@@ -630,6 +664,7 @@ import Network.Google.Resource.Jobs.Projects.Jobs.List
630664import Network.Google.Resource.Jobs.Projects.Jobs.Patch
631665import Network.Google.Resource.Jobs.Projects.Jobs.Search
632666import Network.Google.Resource.Jobs.Projects.Jobs.SearchForAlert
667+import Network.Google.Resource.Jobs.Projects.Operations.Get
633668
634669{- $resources
635670TODO
@@ -651,4 +686,5 @@ type JobsAPI =
651686 :<|> ProjectsJobsSearchResource
652687 :<|> ProjectsJobsDeleteResource
653688 :<|> ProjectsClientEventsCreateResource
689+ :<|> ProjectsOperationsGetResource
654690 :<|> ProjectsCompleteResource
gogol-jobs/gen/Network/Google/Jobs/Types.hs+31
@@ -48,6 +48,13 @@ module Network.Google.Jobs.Types
4848 -- * CompensationFilterType
4949 , CompensationFilterType (..)
5050
51+ -- * Status
52+ , Status
53+ , status
54+ , sDetails
55+ , sCode
56+ , sMessage
57+
5158 -- * RequestMetadata
5259 , RequestMetadata
5360 , requestMetadata
@@ -123,6 +130,15 @@ module Network.Google.Jobs.Types
123130 , lPostalAddress
124131 , lRadiusInMiles
125132
133+ -- * Operation
134+ , Operation
135+ , operation
136+ , oDone
137+ , oError
138+ , oResponse
139+ , oName
140+ , oMetadata
141+
126142 -- * Empty
127143 , Empty
128144 , empty
@@ -210,6 +226,11 @@ module Network.Google.Jobs.Types
210226 , histogramQueryResultHistogram
211227 , hqrhAddtional
212228
229+ -- * StatusDetailsItem
230+ , StatusDetailsItem
231+ , statusDetailsItem
232+ , sdiAddtional
233+
213234 -- * HistogramQueryResult
214235 , HistogramQueryResult
215236 , histogramQueryResult
@@ -448,6 +469,11 @@ module Network.Google.Jobs.Types
448469 , ceDescription
449470 , ceUnit
450471
472+ -- * OperationMetadata
473+ , OperationMetadata
474+ , operationMetadata
475+ , omAddtional
476+
451477 -- * CompensationRange
452478 , CompensationRange
453479 , compensationRange
@@ -496,6 +522,11 @@ module Network.Google.Jobs.Types
496522 , nboBucketBounds
497523 , nboRequiresMinMax
498524
525+ -- * OperationResponse
526+ , OperationResponse
527+ , operationResponse
528+ , orAddtional
529+
499530 -- * SearchJobsRequestSearchMode
500531 , SearchJobsRequestSearchMode (..)
501532
gogol-jobs/gen/Network/Google/Jobs/Types/Product.hs+314−6
@@ -234,6 +234,100 @@ instance ToJSON MatchingJob where
234234 ("searchTextSnippet" .=) <$> _mjSearchTextSnippet,
235235 ("job" .=) <$> _mjJob])
236236
237+-- | The \`Status\` type defines a logical error model that is suitable for
238+-- different programming environments, including REST APIs and RPC APIs. It
239+-- is used by [gRPC](https:\/\/github.com\/grpc). The error model is
240+-- designed to be: - Simple to use and understand for most users - Flexible
241+-- enough to meet unexpected needs # Overview The \`Status\` message
242+-- contains three pieces of data: error code, error message, and error
243+-- details. The error code should be an enum value of google.rpc.Code, but
244+-- it may accept additional error codes if needed. The error message should
245+-- be a developer-facing English message that helps developers *understand*
246+-- and *resolve* the error. If a localized user-facing error message is
247+-- needed, put the localized message in the error details or localize it in
248+-- the client. The optional error details may contain arbitrary information
249+-- about the error. There is a predefined set of error detail types in the
250+-- package \`google.rpc\` that can be used for common error conditions. #
251+-- Language mapping The \`Status\` message is the logical representation of
252+-- the error model, but it is not necessarily the actual wire format. When
253+-- the \`Status\` message is exposed in different client libraries and
254+-- different wire protocols, it can be mapped differently. For example, it
255+-- will likely be mapped to some exceptions in Java, but more likely mapped
256+-- to some error codes in C. # Other uses The error model and the
257+-- \`Status\` message can be used in a variety of environments, either with
258+-- or without APIs, to provide a consistent developer experience across
259+-- different environments. Example uses of this error model include: -
260+-- Partial errors. If a service needs to return partial errors to the
261+-- client, it may embed the \`Status\` in the normal response to indicate
262+-- the partial errors. - Workflow errors. A typical workflow has multiple
263+-- steps. Each step may have a \`Status\` message for error reporting. -
264+-- Batch operations. If a client uses batch request and batch response, the
265+-- \`Status\` message should be used directly inside batch response, one
266+-- for each error sub-response. - Asynchronous operations. If an API call
267+-- embeds asynchronous operation results in its response, the status of
268+-- those operations should be represented directly using the \`Status\`
269+-- message. - Logging. If some API errors are stored in logs, the message
270+-- \`Status\` could be used directly after any stripping needed for
271+-- security\/privacy reasons.
272+--
273+-- /See:/ 'status' smart constructor.
274+data Status =
275+ Status'
276+ { _sDetails :: !(Maybe [StatusDetailsItem])
277+ , _sCode :: !(Maybe (Textual Int32))
278+ , _sMessage :: !(Maybe Text)
279+ }
280+ deriving (Eq, Show, Data, Typeable, Generic)
281+
282+-- | Creates a value of 'Status' with the minimum fields required to make a request.
283+--
284+-- Use one of the following lenses to modify other fields as desired:
285+--
286+-- * 'sDetails'
287+--
288+-- * 'sCode'
289+--
290+-- * 'sMessage'
291+status
292+ :: Status
293+status = Status' {_sDetails = Nothing, _sCode = Nothing, _sMessage = Nothing}
294+
295+-- | A list of messages that carry the error details. There is a common set
296+-- of message types for APIs to use.
297+sDetails :: Lens' Status [StatusDetailsItem]
298+sDetails
299+ = lens _sDetails (\ s a -> s{_sDetails = a}) .
300+ _Default
301+ . _Coerce
302+
303+-- | The status code, which should be an enum value of google.rpc.Code.
304+sCode :: Lens' Status (Maybe Int32)
305+sCode
306+ = lens _sCode (\ s a -> s{_sCode = a}) .
307+ mapping _Coerce
308+
309+-- | A developer-facing error message, which should be in English. Any
310+-- user-facing error message should be localized and sent in the
311+-- google.rpc.Status.details field, or localized by the client.
312+sMessage :: Lens' Status (Maybe Text)
313+sMessage = lens _sMessage (\ s a -> s{_sMessage = a})
314+
315+instance FromJSON Status where
316+ parseJSON
317+ = withObject "Status"
318+ (\ o ->
319+ Status' <$>
320+ (o .:? "details" .!= mempty) <*> (o .:? "code") <*>
321+ (o .:? "message"))
322+
323+instance ToJSON Status where
324+ toJSON Status'{..}
325+ = object
326+ (catMaybes
327+ [("details" .=) <$> _sDetails,
328+ ("code" .=) <$> _sCode,
329+ ("message" .=) <$> _sMessage])
330+
237331-- | Input only. Meta information related to the job searcher or entity
238332-- conducting the job search. This information is used to improve the
239333-- performance of the service.
@@ -849,6 +943,99 @@ instance ToJSON Location where
849943 ("postalAddress" .=) <$> _lPostalAddress,
850944 ("radiusInMiles" .=) <$> _lRadiusInMiles])
851945
946+-- | This resource represents a long-running operation that is the result of
947+-- a network API call.
948+--
949+-- /See:/ 'operation' smart constructor.
950+data Operation =
951+ Operation'
952+ { _oDone :: !(Maybe Bool)
953+ , _oError :: !(Maybe Status)
954+ , _oResponse :: !(Maybe OperationResponse)
955+ , _oName :: !(Maybe Text)
956+ , _oMetadata :: !(Maybe OperationMetadata)
957+ }
958+ deriving (Eq, Show, Data, Typeable, Generic)
959+
960+-- | Creates a value of 'Operation' with the minimum fields required to make a request.
961+--
962+-- Use one of the following lenses to modify other fields as desired:
963+--
964+-- * 'oDone'
965+--
966+-- * 'oError'
967+--
968+-- * 'oResponse'
969+--
970+-- * 'oName'
971+--
972+-- * 'oMetadata'
973+operation
974+ :: Operation
975+operation =
976+ Operation'
977+ { _oDone = Nothing
978+ , _oError = Nothing
979+ , _oResponse = Nothing
980+ , _oName = Nothing
981+ , _oMetadata = Nothing
982+ }
983+
984+-- | If the value is \`false\`, it means the operation is still in progress.
985+-- If \`true\`, the operation is completed, and either \`error\` or
986+-- \`response\` is available.
987+oDone :: Lens' Operation (Maybe Bool)
988+oDone = lens _oDone (\ s a -> s{_oDone = a})
989+
990+-- | The error result of the operation in case of failure or cancellation.
991+oError :: Lens' Operation (Maybe Status)
992+oError = lens _oError (\ s a -> s{_oError = a})
993+
994+-- | The normal response of the operation in case of success. If the original
995+-- method returns no data on success, such as \`Delete\`, the response is
996+-- \`google.protobuf.Empty\`. If the original method is standard
997+-- \`Get\`\/\`Create\`\/\`Update\`, the response should be the resource.
998+-- For other methods, the response should have the type \`XxxResponse\`,
999+-- where \`Xxx\` is the original method name. For example, if the original
1000+-- method name is \`TakeSnapshot()\`, the inferred response type is
1001+-- \`TakeSnapshotResponse\`.
1002+oResponse :: Lens' Operation (Maybe OperationResponse)
1003+oResponse
1004+ = lens _oResponse (\ s a -> s{_oResponse = a})
1005+
1006+-- | The server-assigned name, which is only unique within the same service
1007+-- that originally returns it. If you use the default HTTP mapping, the
1008+-- \`name\` should have the format of \`operations\/some\/unique\/name\`.
1009+oName :: Lens' Operation (Maybe Text)
1010+oName = lens _oName (\ s a -> s{_oName = a})
1011+
1012+-- | Service-specific metadata associated with the operation. It typically
1013+-- contains progress information and common metadata such as create time.
1014+-- Some services might not provide such metadata. Any method that returns a
1015+-- long-running operation should document the metadata type, if any.
1016+oMetadata :: Lens' Operation (Maybe OperationMetadata)
1017+oMetadata
1018+ = lens _oMetadata (\ s a -> s{_oMetadata = a})
1019+
1020+instance FromJSON Operation where
1021+ parseJSON
1022+ = withObject "Operation"
1023+ (\ o ->
1024+ Operation' <$>
1025+ (o .:? "done") <*> (o .:? "error") <*>
1026+ (o .:? "response")
1027+ <*> (o .:? "name")
1028+ <*> (o .:? "metadata"))
1029+
1030+instance ToJSON Operation where
1031+ toJSON Operation'{..}
1032+ = object
1033+ (catMaybes
1034+ [("done" .=) <$> _oDone, ("error" .=) <$> _oError,
1035+ ("response" .=) <$> _oResponse,
1036+ ("name" .=) <$> _oName,
1037+ ("metadata" .=) <$> _oMetadata])
1038+
8521039-- | A generic empty message that you can re-use to avoid defining duplicated
8531040-- empty messages in your APIs. A typical example is to use it as the
8541041-- request or the response type of an API method. For instance: service Foo
@@ -1242,7 +1429,7 @@ cfRoadTraffic
12421429 (\ s a -> s{_cfRoadTraffic = a})
12431430
12441431-- | Optional. The departure time used to calculate traffic impact,
1245−-- represented as .google.type.TimeOfDay in local time zone. Currently
1432+-- represented as google.type.TimeOfDay in local time zone. Currently
12461433-- traffic model is restricted to hour level resolution.
12471434cfDePartureTime :: Lens' CommuteFilter (Maybe TimeOfDay')
12481435cfDePartureTime
@@ -1514,7 +1701,17 @@ sjrJobView
15141701-- SearchJobsRequest.custom_ranking_info.ranking_expression with weight
15151702-- factor assigned by
15161703-- SearchJobsRequest.custom_ranking_info.importance_level in descending
1517−-- order.
1704+-- order. * \"location\`_\`distance\": By the distance between the location
1705+-- on jobs and locations specified in the
1706+-- SearchJobsRequest.job_query.location_filters. When this order is
1707+-- selected, the SearchJobsRequest.job_query.location_filters must not be
1708+-- empty. When a job has multiple locations, the location closest to one of
1709+-- the locations specified in the location filter will be used to calculate
1710+-- location distance. Distance is calculated by the distance between two
1711+-- lat\/long coordinates, with a precision of 10e-4 degrees (11.3 meters).
1712+-- Jobs that don\'t have locations specified will be ranked below jobs
1713+-- having locations. Diversification strategy is still applied unless
1714+-- explicitly disabled in SearchJobsRequest.diversification_level.
15181715sjrOrderBy :: Lens' SearchJobsRequest (Maybe Text)
15191716sjrOrderBy
15201717 = lens _sjrOrderBy (\ s a -> s{_sjrOrderBy = a})
@@ -1716,6 +1913,39 @@ instance FromJSON HistogramQueryResultHistogram where
17161913instance ToJSON HistogramQueryResultHistogram where
17171914 toJSON = toJSON . _hqrhAddtional
17181915
1916+--
1917+-- /See:/ 'statusDetailsItem' smart constructor.
1918+newtype StatusDetailsItem =
1919+ StatusDetailsItem'
1920+ { _sdiAddtional :: HashMap Text JSONValue
1921+ }
1922+ deriving (Eq, Show, Data, Typeable, Generic)
1923+
1924+-- | Creates a value of 'StatusDetailsItem' with the minimum fields required to make a request.
1925+--
1926+-- Use one of the following lenses to modify other fields as desired:
1927+--
1928+-- * 'sdiAddtional'
1929+statusDetailsItem
1930+ :: HashMap Text JSONValue -- ^ 'sdiAddtional'
1931+ -> StatusDetailsItem
1932+statusDetailsItem pSdiAddtional_ =
1933+ StatusDetailsItem' {_sdiAddtional = _Coerce # pSdiAddtional_}
1934+
1935+-- | Properties of the object. Contains field \'type with type URL.
1936+sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
1937+sdiAddtional
1938+ = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})
1939+ . _Coerce
1940+
1941+instance FromJSON StatusDetailsItem where
1942+ parseJSON
1943+ = withObject "StatusDetailsItem"
1944+ (\ o -> StatusDetailsItem' <$> (parseJSONObject o))
1945+
1946+instance ToJSON StatusDetailsItem where
1947+ toJSON = toJSON . _sdiAddtional
1948+
17191949-- | Output only. Histogram result that matches HistogramSpec specified in
17201950-- searches.
17211951--
@@ -2874,10 +3104,10 @@ jJobEndTime
28743104-- | Optional. The job PostingRegion (for example, state, country) throughout
28753105-- which the job is available. If this field is set, a LocationFilter in a
28763106-- search query within the job region finds this job posting if an exact
2877−-- location match is not specified. If this field is set to
2878−-- PostingRegion.NATION_WIDE or [PostingRegion.ADMINISTRATIVE_AREA],
2879−-- setting job addresses to the same location level as this field is
2880−-- strongly recommended.
3107+-- location match isn\'t specified. If this field is set to
3108+-- PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job
3109+-- Job.addresses to the same location level as this field is strongly
3110+-- recommended.
28813111jPostingRegion :: Lens' Job (Maybe JobPostingRegion)
28823112jPostingRegion
28833113 = lens _jPostingRegion
@@ -3902,6 +4132,43 @@ instance ToJSON CompensationEntry where
39024132 ("description" .=) <$> _ceDescription,
39034133 ("unit" .=) <$> _ceUnit])
39044134
4135+-- | Service-specific metadata associated with the operation. It typically
4136+-- contains progress information and common metadata such as create time.
4137+-- Some services might not provide such metadata. Any method that returns a
4138+-- long-running operation should document the metadata type, if any.
4139+--
4140+-- /See:/ 'operationMetadata' smart constructor.
4141+newtype OperationMetadata =
4142+ OperationMetadata'
4143+ { _omAddtional :: HashMap Text JSONValue
4144+ }
4145+ deriving (Eq, Show, Data, Typeable, Generic)
4146+
4147+-- | Creates a value of 'OperationMetadata' with the minimum fields required to make a request.
4148+--
4149+-- Use one of the following lenses to modify other fields as desired:
4150+--
4151+-- * 'omAddtional'
4152+operationMetadata
4153+ :: HashMap Text JSONValue -- ^ 'omAddtional'
4154+ -> OperationMetadata
4155+operationMetadata pOmAddtional_ =
4156+ OperationMetadata' {_omAddtional = _Coerce # pOmAddtional_}
4157+
4158+-- | Properties of the object. Contains field \'type with type URL.
4159+omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
4160+omAddtional
4161+ = lens _omAddtional (\ s a -> s{_omAddtional = a}) .
4162+ _Coerce
4163+
4164+instance FromJSON OperationMetadata where
4165+ parseJSON
4166+ = withObject "OperationMetadata"
4167+ (\ o -> OperationMetadata' <$> (parseJSONObject o))
4168+
4169+instance ToJSON OperationMetadata where
4170+ toJSON = toJSON . _omAddtional
4171+
39054172-- | Compensation range.
39064173--
39074174-- /See:/ 'compensationRange' smart constructor.
@@ -4397,6 +4664,47 @@ instance ToJSON NumericBucketingOption where
43974664 [("bucketBounds" .=) <$> _nboBucketBounds,
43984665 ("requiresMinMax" .=) <$> _nboRequiresMinMax])
43994666
4667+-- | The normal response of the operation in case of success. If the original
4668+-- method returns no data on success, such as \`Delete\`, the response is
4669+-- \`google.protobuf.Empty\`. If the original method is standard
4670+-- \`Get\`\/\`Create\`\/\`Update\`, the response should be the resource.
4671+-- For other methods, the response should have the type \`XxxResponse\`,
4672+-- where \`Xxx\` is the original method name. For example, if the original
4673+-- method name is \`TakeSnapshot()\`, the inferred response type is
4674+-- \`TakeSnapshotResponse\`.
4675+--
4676+-- /See:/ 'operationResponse' smart constructor.
4677+newtype OperationResponse =
4678+ OperationResponse'
4679+ { _orAddtional :: HashMap Text JSONValue
4680+ }
4681+ deriving (Eq, Show, Data, Typeable, Generic)
4682+
4683+-- | Creates a value of 'OperationResponse' with the minimum fields required to make a request.
4684+--
4685+-- Use one of the following lenses to modify other fields as desired:
4686+--
4687+-- * 'orAddtional'
4688+operationResponse
4689+ :: HashMap Text JSONValue -- ^ 'orAddtional'
4690+ -> OperationResponse
4691+operationResponse pOrAddtional_ =
4692+ OperationResponse' {_orAddtional = _Coerce # pOrAddtional_}
4693+
4694+-- | Properties of the object. Contains field \'type with type URL.
4695+orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
4696+orAddtional
4697+ = lens _orAddtional (\ s a -> s{_orAddtional = a}) .
4698+ _Coerce
4699+
4700+instance FromJSON OperationResponse where
4701+ parseJSON
4702+ = withObject "OperationResponse"
4703+ (\ o -> OperationResponse' <$> (parseJSONObject o))
4704+
4705+instance ToJSON OperationResponse where
4706+ toJSON = toJSON . _orAddtional
4707+
44004708-- | Input only. Histogram facets to be specified in SearchJobsRequest.
44014709--
44024710-- /See:/ 'histogramFacets' smart constructor.
gogol-jobs/gen/Network/Google/Jobs/Types/Sum.hs+5−5
@@ -665,10 +665,10 @@ instance ToJSON CustomRankingInfoImportanceLevel where
665665-- | Optional. The job PostingRegion (for example, state, country) throughout
666666-- which the job is available. If this field is set, a LocationFilter in a
667667-- search query within the job region finds this job posting if an exact
668−-- location match is not specified. If this field is set to
669−-- PostingRegion.NATION_WIDE or [PostingRegion.ADMINISTRATIVE_AREA],
670−-- setting job addresses to the same location level as this field is
671−-- strongly recommended.
668+-- location match isn\'t specified. If this field is set to
669+-- PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job
670+-- Job.addresses to the same location level as this field is strongly
671+-- recommended.
672672data JobPostingRegion
673673 = PostingRegionUnspecified
674674 -- ^ @POSTING_REGION_UNSPECIFIED@
@@ -1075,7 +1075,7 @@ data JobEventType
10751075 | Notification
10761076 -- ^ @NOTIFICATION@
10771077 -- The job seeker or other entity interacting with the service was sent a
1078− -- notification, such as an email alert or device notification, contatining
1078+ -- notification, such as an email alert or device notification, containing
10791079 -- one or more jobs listings generated by the service.
10801080 | Hired
10811081 -- ^ @HIRED@
gogol-jobs/gen/Network/Google/Resource/Jobs/Projects/Operations/Get.hsnew file+151
@@ -0,0 +1,151 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.Jobs.Projects.Operations.Get
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Gets the latest state of a long-running operation. Clients can use this
24+-- method to poll the operation result at intervals as recommended by the
25+-- API service.
26+--
27+-- /See:/ <https://cloud.google.com/talent-solution/job-search/docs/ Cloud Talent Solution API Reference> for @jobs.projects.operations.get@.
28+module Network.Google.Resource.Jobs.Projects.Operations.Get
29+ (
30+ -- * REST Resource
31+ ProjectsOperationsGetResource
32+
33+ -- * Creating a Request
34+ , projectsOperationsGet
35+ , ProjectsOperationsGet
36+
37+ -- * Request Lenses
38+ , pogXgafv
39+ , pogUploadProtocol
40+ , pogAccessToken
41+ , pogUploadType
42+ , pogName
43+ , pogCallback
44+ ) where
45+
46+import Network.Google.Jobs.Types
47+import Network.Google.Prelude
48+
49+-- | A resource alias for @jobs.projects.operations.get@ method which the
50+-- 'ProjectsOperationsGet' request conforms to.
51+type ProjectsOperationsGetResource =
52+ "v3p1beta1" :>
53+ Capture "name" Text :>
54+ QueryParam "$.xgafv" Xgafv :>
55+ QueryParam "upload_protocol" Text :>
56+ QueryParam "access_token" Text :>
57+ QueryParam "uploadType" Text :>
58+ QueryParam "callback" Text :>
59+ QueryParam "alt" AltJSON :> Get '[JSON] Operation
60+
61+-- | Gets the latest state of a long-running operation. Clients can use this
62+-- method to poll the operation result at intervals as recommended by the
63+-- API service.
64+--
65+-- /See:/ 'projectsOperationsGet' smart constructor.
66+data ProjectsOperationsGet =
67+ ProjectsOperationsGet'
68+ { _pogXgafv :: !(Maybe Xgafv)
69+ , _pogUploadProtocol :: !(Maybe Text)
70+ , _pogAccessToken :: !(Maybe Text)
71+ , _pogUploadType :: !(Maybe Text)
72+ , _pogName :: !Text
73+ , _pogCallback :: !(Maybe Text)
74+ }
75+ deriving (Eq, Show, Data, Typeable, Generic)
76+
77+-- | Creates a value of 'ProjectsOperationsGet' with the minimum fields required to make a request.
78+--
79+-- Use one of the following lenses to modify other fields as desired:
80+--
81+-- * 'pogXgafv'
82+--
83+-- * 'pogUploadProtocol'
84+--
85+-- * 'pogAccessToken'
86+--
87+-- * 'pogUploadType'
88+--
89+-- * 'pogName'
90+--
91+-- * 'pogCallback'
92+projectsOperationsGet
93+ :: Text -- ^ 'pogName'
94+ -> ProjectsOperationsGet
95+projectsOperationsGet pPogName_ =
96+ ProjectsOperationsGet'
97+ { _pogXgafv = Nothing
98+ , _pogUploadProtocol = Nothing
99+ , _pogAccessToken = Nothing
100+ , _pogUploadType = Nothing
101+ , _pogName = pPogName_
102+ , _pogCallback = Nothing
103+ }
104+
105+-- | V1 error format.
106+pogXgafv :: Lens' ProjectsOperationsGet (Maybe Xgafv)
107+pogXgafv = lens _pogXgafv (\ s a -> s{_pogXgafv = a})
108+
109+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
110+pogUploadProtocol :: Lens' ProjectsOperationsGet (Maybe Text)
111+pogUploadProtocol
112+ = lens _pogUploadProtocol
113+ (\ s a -> s{_pogUploadProtocol = a})
114+
115+-- | OAuth access token.
116+pogAccessToken :: Lens' ProjectsOperationsGet (Maybe Text)
117+pogAccessToken
118+ = lens _pogAccessToken
119+ (\ s a -> s{_pogAccessToken = a})
120+
121+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
122+pogUploadType :: Lens' ProjectsOperationsGet (Maybe Text)
123+pogUploadType
124+ = lens _pogUploadType
125+ (\ s a -> s{_pogUploadType = a})
126+
127+-- | The name of the operation resource.
128+pogName :: Lens' ProjectsOperationsGet Text
129+pogName = lens _pogName (\ s a -> s{_pogName = a})
130+
131+-- | JSONP
132+pogCallback :: Lens' ProjectsOperationsGet (Maybe Text)
133+pogCallback
134+ = lens _pogCallback (\ s a -> s{_pogCallback = a})
135+
136+instance GoogleRequest ProjectsOperationsGet where
137+ type Rs ProjectsOperationsGet = Operation
138+ type Scopes ProjectsOperationsGet =
139+ '["https://www.googleapis.com/auth/cloud-platform",
140+ "https://www.googleapis.com/auth/jobs"]
141+ requestClient ProjectsOperationsGet'{..}
142+ = go _pogName _pogXgafv _pogUploadProtocol
143+ _pogAccessToken
144+ _pogUploadType
145+ _pogCallback
146+ (Just AltJSON)
147+ jobsService
148+ where go
149+ = buildClient
150+ (Proxy :: Proxy ProjectsOperationsGetResource)
151+ mempty
gogol-jobs/gogol-jobs.cabal+3−2
@@ -1,5 +1,5 @@
11name: gogol-jobs
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Talent Solution SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -52,11 +52,12 @@ library
5252 , Network.Google.Resource.Jobs.Projects.Jobs.Patch
5353 , Network.Google.Resource.Jobs.Projects.Jobs.Search
5454 , Network.Google.Resource.Jobs.Projects.Jobs.SearchForAlert
55+ , Network.Google.Resource.Jobs.Projects.Operations.Get
5556
5657 other-modules:
5758 Network.Google.Jobs.Types.Product
5859 , Network.Google.Jobs.Types.Sum
5960
6061 build-depends:
61− gogol-core == 0.4.0.*
62+ gogol-core == 0.5.0.*
6263 , base >= 4.7 && < 5
gogol-kgsearch/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-kgsearch/gogol-kgsearch.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-kgsearch
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Knowledge Graph Search SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.KnowledgeGraphSearch.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-language/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-language/gogol-language.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-language
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Natural Language SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -49,5 +49,5 @@ library
4949 , Network.Google.Language.Types.Sum
5050
5151 build-depends:
52− gogol-core == 0.4.0.*
52+ gogol-core == 0.5.0.*
5353 , base >= 4.7 && < 5
gogol-libraryagent/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-libraryagent/gogol-libraryagent.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-libraryagent
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Library Agent SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@ library
4747 , Network.Google.LibraryAgent.Types.Sum
4848
4949 build-depends:
50− gogol-core == 0.4.0.*
50+ gogol-core == 0.5.0.*
5151 , base >= 4.7 && < 5
gogol-logging/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-logging/gen/Network/Google/Logging.hs+6
@@ -388,9 +388,11 @@ module Network.Google.Logging
388388 , LogExclusion
389389 , logExclusion
390390 , leDisabled
391+ , leUpdateTime
391392 , leName
392393 , leFilter
393394 , leDescription
395+ , leCreateTime
394396
395397 -- ** WriteLogEntriesResponse
396398 , WriteLogEntriesResponse
@@ -406,8 +408,10 @@ module Network.Google.Logging
406408 , lsIncludeChildren
407409 , lsOutputVersionFormat
408410 , lsWriterIdentity
411+ , lsUpdateTime
409412 , lsName
410413 , lsFilter
414+ , lsCreateTime
411415
412416 -- ** MonitoredResourceMetadataUserLabels
413417 , MonitoredResourceMetadataUserLabels
@@ -536,6 +540,7 @@ module Network.Google.Logging
536540 , LogMetric
537541 , logMetric
538542 , lmMetricDescriptor
543+ , lmUpdateTime
539544 , lmName
540545 , lmVersion
541546 , lmLabelExtractors
@@ -543,6 +548,7 @@ module Network.Google.Logging
543548 , lmValueExtractor
544549 , lmBucketOptions
545550 , lmDescription
551+ , lmCreateTime
546552
547553 -- ** LogEntry
548554 , LogEntry
gogol-logging/gen/Network/Google/Logging/Types.hs+6
@@ -163,9 +163,11 @@ module Network.Google.Logging.Types
163163 , LogExclusion
164164 , logExclusion
165165 , leDisabled
166+ , leUpdateTime
166167 , leName
167168 , leFilter
168169 , leDescription
170+ , leCreateTime
169171
170172 -- * WriteLogEntriesResponse
171173 , WriteLogEntriesResponse
@@ -181,8 +183,10 @@ module Network.Google.Logging.Types
181183 , lsIncludeChildren
182184 , lsOutputVersionFormat
183185 , lsWriterIdentity
186+ , lsUpdateTime
184187 , lsName
185188 , lsFilter
189+ , lsCreateTime
186190
187191 -- * MonitoredResourceMetadataUserLabels
188192 , MonitoredResourceMetadataUserLabels
@@ -311,6 +315,7 @@ module Network.Google.Logging.Types
311315 , LogMetric
312316 , logMetric
313317 , lmMetricDescriptor
318+ , lmUpdateTime
314319 , lmName
315320 , lmVersion
316321 , lmLabelExtractors
@@ -318,6 +323,7 @@ module Network.Google.Logging.Types
318323 , lmValueExtractor
319324 , lmBucketOptions
320325 , lmDescription
326+ , lmCreateTime
321327
322328 -- * LogEntry
323329 , LogEntry
gogol-logging/gen/Network/Google/Logging/Types/Product.hs+100−23
@@ -1327,9 +1327,11 @@ instance ToJSON LogEntrySourceLocation where
13271327data LogExclusion =
13281328 LogExclusion'
13291329 { _leDisabled :: !(Maybe Bool)
1330+ , _leUpdateTime :: !(Maybe DateTime')
13301331 , _leName :: !(Maybe Text)
13311332 , _leFilter :: !(Maybe Text)
13321333 , _leDescription :: !(Maybe Text)
1334+ , _leCreateTime :: !(Maybe DateTime')
13331335 }
13341336 deriving (Eq, Show, Data, Typeable, Generic)
13351337
@@ -1339,28 +1341,41 @@ data LogExclusion =
13391341--
13401342-- * 'leDisabled'
13411343--
1344+-- * 'leUpdateTime'
1345+--
13421346-- * 'leName'
13431347--
13441348-- * 'leFilter'
13451349--
13461350-- * 'leDescription'
1351+--
1352+-- * 'leCreateTime'
13471353logExclusion
13481354 :: LogExclusion
13491355logExclusion =
13501356 LogExclusion'
13511357 { _leDisabled = Nothing
1358+ , _leUpdateTime = Nothing
13521359 , _leName = Nothing
13531360 , _leFilter = Nothing
13541361 , _leDescription = Nothing
1362+ , _leCreateTime = Nothing
13551363 }
13561364
13571365-- | Optional. If set to True, then this exclusion is disabled and it does
1358−-- not exclude any log entries. You can use exclusions.patch to change the
1366+-- not exclude any log entries. You can update an exclusion to change the
13591367-- value of this field.
13601368leDisabled :: Lens' LogExclusion (Maybe Bool)
13611369leDisabled
13621370 = lens _leDisabled (\ s a -> s{_leDisabled = a})
13631371
1372+-- | Output only. The last update timestamp of the exclusion.This field may
1373+-- not be present for older exclusions.
1374+leUpdateTime :: Lens' LogExclusion (Maybe UTCTime)
1375+leUpdateTime
1376+ = lens _leUpdateTime (\ s a -> s{_leUpdateTime = a})
1377+ . mapping _DateTime
1378+
13641379-- | Required. A client-assigned identifier, such as
13651380-- \"load-balancer-exclusion\". Identifiers are limited to 100 characters
13661381-- and can include only letters, digits, underscores, hyphens, and periods.
@@ -1381,22 +1396,33 @@ leDescription
13811396 = lens _leDescription
13821397 (\ s a -> s{_leDescription = a})
13831398
1399+-- | Output only. The creation timestamp of the exclusion.This field may not
1400+-- be present for older exclusions.
1401+leCreateTime :: Lens' LogExclusion (Maybe UTCTime)
1402+leCreateTime
1403+ = lens _leCreateTime (\ s a -> s{_leCreateTime = a})
1404+ . mapping _DateTime
1405+
13841406instance FromJSON LogExclusion where
13851407 parseJSON
13861408 = withObject "LogExclusion"
13871409 (\ o ->
13881410 LogExclusion' <$>
1389− (o .:? "disabled") <*> (o .:? "name") <*>
1390− (o .:? "filter")
1391− <*> (o .:? "description"))
1411+ (o .:? "disabled") <*> (o .:? "updateTime") <*>
1412+ (o .:? "name")
1413+ <*> (o .:? "filter")
1414+ <*> (o .:? "description")
1415+ <*> (o .:? "createTime"))
13921416
13931417instance ToJSON LogExclusion where
13941418 toJSON LogExclusion'{..}
13951419 = object
13961420 (catMaybes
13971421 [("disabled" .=) <$> _leDisabled,
1422+ ("updateTime" .=) <$> _leUpdateTime,
13981423 ("name" .=) <$> _leName, ("filter" .=) <$> _leFilter,
1399− ("description" .=) <$> _leDescription])
1424+ ("description" .=) <$> _leDescription,
1425+ ("createTime" .=) <$> _leCreateTime])
14001426
14011427-- | Result returned from WriteLogEntries. empty
14021428--
@@ -1432,8 +1458,10 @@ data LogSink =
14321458 , _lsIncludeChildren :: !(Maybe Bool)
14331459 , _lsOutputVersionFormat :: !(Maybe LogSinkOutputVersionFormat)
14341460 , _lsWriterIdentity :: !(Maybe Text)
1461+ , _lsUpdateTime :: !(Maybe DateTime')
14351462 , _lsName :: !(Maybe Text)
14361463 , _lsFilter :: !(Maybe Text)
1464+ , _lsCreateTime :: !(Maybe DateTime')
14371465 }
14381466 deriving (Eq, Show, Data, Typeable, Generic)
14391467
@@ -1449,9 +1477,13 @@ data LogSink =
14491477--
14501478-- * 'lsWriterIdentity'
14511479--
1480+-- * 'lsUpdateTime'
1481+--
14521482-- * 'lsName'
14531483--
14541484-- * 'lsFilter'
1485+--
1486+-- * 'lsCreateTime'
14551487logSink
14561488 :: LogSink
14571489logSink =
@@ -1460,8 +1492,10 @@ logSink =
14601492 , _lsIncludeChildren = Nothing
14611493 , _lsOutputVersionFormat = Nothing
14621494 , _lsWriterIdentity = Nothing
1495+ , _lsUpdateTime = Nothing
14631496 , _lsName = Nothing
14641497 , _lsFilter = Nothing
1498+ , _lsCreateTime = Nothing
14651499 }
14661500
14671501-- | Required. The export destination:
@@ -1470,7 +1504,7 @@ logSink =
14701504-- \"pubsub.googleapis.com\/projects\/[PROJECT_ID]\/topics\/[TOPIC_ID]\"
14711505-- The sink\'s writer_identity, set when the sink is created, must have
14721506-- permission to write to the destination or else the log entries are not
1473−-- exported. For more information, see Exporting Logs With Sinks.
1507+-- exported. For more information, see Exporting Logs with Sinks.
14741508lsDestination :: Lens' LogSink (Maybe Text)
14751509lsDestination
14761510 = lens _lsDestination
@@ -1502,10 +1536,10 @@ lsOutputVersionFormat
15021536
15031537-- | Output only. An IAM identity—a service account or group—under which
15041538-- Logging writes the exported log entries to the sink\'s destination. This
1505−-- field is set by sinks.create and sinks.update, based on the setting of
1539+-- field is set by sinks.create and sinks.update based on the value of
15061540-- unique_writer_identity in those methods.Until you grant this identity
15071541-- write-access to the destination, log entry exports from this sink will
1508−-- fail. For more information, see Granting access for a resource. Consult
1542+-- fail. For more information, see Granting Access for a Resource. Consult
15091543-- the destination service\'s documentation to determine the appropriate
15101544-- IAM roles to assign to the identity.
15111545lsWriterIdentity :: Lens' LogSink (Maybe Text)
@@ -1513,6 +1547,13 @@ lsWriterIdentity
15131547 = lens _lsWriterIdentity
15141548 (\ s a -> s{_lsWriterIdentity = a})
15151549
1550+-- | Output only. The last update timestamp of the sink.This field may not be
1551+-- present for older sinks.
1552+lsUpdateTime :: Lens' LogSink (Maybe UTCTime)
1553+lsUpdateTime
1554+ = lens _lsUpdateTime (\ s a -> s{_lsUpdateTime = a})
1555+ . mapping _DateTime
1556+
15161557-- | Required. The client-assigned sink identifier, unique within the
15171558-- project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are
15181559-- limited to 100 characters and can include only the following characters:
@@ -1528,6 +1569,13 @@ lsName = lens _lsName (\ s a -> s{_lsName = a})
15281569lsFilter :: Lens' LogSink (Maybe Text)
15291570lsFilter = lens _lsFilter (\ s a -> s{_lsFilter = a})
15301571
1572+-- | Output only. The creation timestamp of the sink.This field may not be
1573+-- present for older sinks.
1574+lsCreateTime :: Lens' LogSink (Maybe UTCTime)
1575+lsCreateTime
1576+ = lens _lsCreateTime (\ s a -> s{_lsCreateTime = a})
1577+ . mapping _DateTime
1578+
15311579instance FromJSON LogSink where
15321580 parseJSON
15331581 = withObject "LogSink"
@@ -1536,8 +1584,10 @@ instance FromJSON LogSink where
15361584 (o .:? "destination") <*> (o .:? "includeChildren")
15371585 <*> (o .:? "outputVersionFormat")
15381586 <*> (o .:? "writerIdentity")
1587+ <*> (o .:? "updateTime")
15391588 <*> (o .:? "name")
1540− <*> (o .:? "filter"))
1589+ <*> (o .:? "filter")
1590+ <*> (o .:? "createTime"))
15411591
15421592instance ToJSON LogSink where
15431593 toJSON LogSink'{..}
@@ -1548,8 +1598,9 @@ instance ToJSON LogSink where
15481598 ("outputVersionFormat" .=) <$>
15491599 _lsOutputVersionFormat,
15501600 ("writerIdentity" .=) <$> _lsWriterIdentity,
1551− ("name" .=) <$> _lsName,
1552− ("filter" .=) <$> _lsFilter])
1601+ ("updateTime" .=) <$> _lsUpdateTime,
1602+ ("name" .=) <$> _lsName, ("filter" .=) <$> _lsFilter,
1603+ ("createTime" .=) <$> _lsCreateTime])
15531604
15541605-- | Output only. A map of user-defined metadata labels.
15551606--
@@ -2706,6 +2757,7 @@ instance ToJSON LogEntryOperation where
27062757data LogMetric =
27072758 LogMetric'
27082759 { _lmMetricDescriptor :: !(Maybe MetricDescriptor)
2760+ , _lmUpdateTime :: !(Maybe DateTime')
27092761 , _lmName :: !(Maybe Text)
27102762 , _lmVersion :: !(Maybe LogMetricVersion)
27112763 , _lmLabelExtractors :: !(Maybe LogMetricLabelExtractors)
@@ -2713,6 +2765,7 @@ data LogMetric =
27132765 , _lmValueExtractor :: !(Maybe Text)
27142766 , _lmBucketOptions :: !(Maybe BucketOptions)
27152767 , _lmDescription :: !(Maybe Text)
2768+ , _lmCreateTime :: !(Maybe DateTime')
27162769 }
27172770 deriving (Eq, Show, Data, Typeable, Generic)
27182771
@@ -2722,6 +2775,8 @@ data LogMetric =
27222775--
27232776-- * 'lmMetricDescriptor'
27242777--
2778+-- * 'lmUpdateTime'
2779+--
27252780-- * 'lmName'
27262781--
27272782-- * 'lmVersion'
@@ -2735,11 +2790,14 @@ data LogMetric =
27352790-- * 'lmBucketOptions'
27362791--
27372792-- * 'lmDescription'
2793+--
2794+-- * 'lmCreateTime'
27382795logMetric
27392796 :: LogMetric
27402797logMetric =
27412798 LogMetric'
27422799 { _lmMetricDescriptor = Nothing
2800+ , _lmUpdateTime = Nothing
27432801 , _lmName = Nothing
27442802 , _lmVersion = Nothing
27452803 , _lmLabelExtractors = Nothing
@@ -2747,6 +2805,7 @@ logMetric =
27472805 , _lmValueExtractor = Nothing
27482806 , _lmBucketOptions = Nothing
27492807 , _lmDescription = Nothing
2808+ , _lmCreateTime = Nothing
27502809 }
27512810
27522811-- | Optional. The metric descriptor associated with the logs-based metric.
@@ -2769,6 +2828,13 @@ lmMetricDescriptor
27692828 = lens _lmMetricDescriptor
27702829 (\ s a -> s{_lmMetricDescriptor = a})
27712830
2831+-- | Output only. The last update timestamp of the metric.This field may not
2832+-- be present for older metrics.
2833+lmUpdateTime :: Lens' LogMetric (Maybe UTCTime)
2834+lmUpdateTime
2835+ = lens _lmUpdateTime (\ s a -> s{_lmUpdateTime = a})
2836+ . mapping _DateTime
2837+
27722838-- | Required. The client-assigned metric identifier. Examples:
27732839-- \"error_count\", \"nginx\/requests\".Metric identifiers are limited to
27742840-- 100 characters and can include only the following characters: A-Z, a-z,
@@ -2846,31 +2912,42 @@ lmDescription
28462912 = lens _lmDescription
28472913 (\ s a -> s{_lmDescription = a})
28482914
2915+-- | Output only. The creation timestamp of the metric.This field may not be
2916+-- present for older metrics.
2917+lmCreateTime :: Lens' LogMetric (Maybe UTCTime)
2918+lmCreateTime
2919+ = lens _lmCreateTime (\ s a -> s{_lmCreateTime = a})
2920+ . mapping _DateTime
2921+
28492922instance FromJSON LogMetric where
28502923 parseJSON
28512924 = withObject "LogMetric"
28522925 (\ o ->
28532926 LogMetric' <$>
2854− (o .:? "metricDescriptor") <*> (o .:? "name") <*>
2855− (o .:? "version")
2927+ (o .:? "metricDescriptor") <*> (o .:? "updateTime")
2928+ <*> (o .:? "name")
2929+ <*> (o .:? "version")
28562930 <*> (o .:? "labelExtractors")
28572931 <*> (o .:? "filter")
28582932 <*> (o .:? "valueExtractor")
28592933 <*> (o .:? "bucketOptions")
2860− <*> (o .:? "description"))
2934+ <*> (o .:? "description")
2935+ <*> (o .:? "createTime"))
28612936
28622937instance ToJSON LogMetric where
28632938 toJSON LogMetric'{..}
28642939 = object
28652940 (catMaybes
28662941 [("metricDescriptor" .=) <$> _lmMetricDescriptor,
2942+ ("updateTime" .=) <$> _lmUpdateTime,
28672943 ("name" .=) <$> _lmName,
28682944 ("version" .=) <$> _lmVersion,
28692945 ("labelExtractors" .=) <$> _lmLabelExtractors,
28702946 ("filter" .=) <$> _lmFilter,
28712947 ("valueExtractor" .=) <$> _lmValueExtractor,
28722948 ("bucketOptions" .=) <$> _lmBucketOptions,
2873− ("description" .=) <$> _lmDescription])
2949+ ("description" .=) <$> _lmDescription,
2950+ ("createTime" .=) <$> _lmCreateTime])
28742951
28752952-- | An individual entry in a log.
28762953--
@@ -2989,10 +3066,10 @@ leHTTPRequest
29893066 = lens _leHTTPRequest
29903067 (\ s a -> s{_leHTTPRequest = a})
29913068
2992−-- | Required. The primary monitored resource associated with this log entry.
2993−-- Example: a log entry that reports a database error would be associated
2994−-- with the monitored resource designating the particular database that
2995−-- reported the error.
3069+-- | Required. The primary monitored resource associated with this log
3070+-- entry.Example: a log entry that reports a database error would be
3071+-- associated with the monitored resource designating the particular
3072+-- database that reported the error.
29963073leResource :: Lens' LogEntry (Maybe MonitoredResource)
29973074leResource
29983075 = lens _leResource (\ s a -> s{_leResource = a})
@@ -3007,7 +3084,7 @@ leInsertId :: Lens' LogEntry (Maybe Text)
30073084leInsertId
30083085 = lens _leInsertId (\ s a -> s{_leInsertId = a})
30093086
3010−-- | Output only. Additional metadata about the monitored resource. Only
3087+-- | Output only. Additional metadata about the monitored resource.Only
30113088-- k8s_container, k8s_pod, and k8s_node MonitoredResources have this field
30123089-- populated.
30133090leMetadata :: Lens' LogEntry (Maybe MonitoredResourceMetadata)
@@ -3041,7 +3118,7 @@ leSourceLocation
30413118 (\ s a -> s{_leSourceLocation = a})
30423119
30433120-- | Optional. The sampling decision of the trace associated with the log
3044−-- entry. True means that the trace resource name in the trace field was
3121+-- entry.True means that the trace resource name in the trace field was
30453122-- sampled for storage in a trace backend. False means that the trace was
30463123-- not sampled for storage when this log entry was written, or the sampling
30473124-- decision was unknown at the time. A non-sampled trace value is still
@@ -3095,8 +3172,8 @@ leTimestamp
30953172leTrace :: Lens' LogEntry (Maybe Text)
30963173leTrace = lens _leTrace (\ s a -> s{_leTrace = a})
30973174
3098−-- | Optional. The span ID within the trace associated with the log entry.
3099−-- For Trace spans, this is the same format that the Trace API v2 uses: a
3175+-- | Optional. The span ID within the trace associated with the log entry.For
3176+-- Trace spans, this is the same format that the Trace API v2 uses: a
31003177-- 16-character hexadecimal encoding of an 8-byte array, such as
31013178-- '\"000000000000004a\"'.
31023179leSpanId :: Lens' LogEntry (Maybe Text)
gogol-logging/gen/Network/Google/Resource/Logging/BillingAccounts/Sinks/Patch.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.billingAccounts.sinks.patch@.
@@ -66,8 +66,8 @@ type BillingAccountsSinksPatchResource =
6666 ReqBody '[JSON] LogSink :> Patch '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'billingAccountsSinksPatch' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/BillingAccounts/Sinks/Update.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.billingAccounts.sinks.update@.
@@ -66,8 +66,8 @@ type BillingAccountsSinksUpdateResource =
6666 ReqBody '[JSON] LogSink :> Put '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'billingAccountsSinksUpdate' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Folders/Sinks/Patch.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.folders.sinks.patch@.
@@ -66,8 +66,8 @@ type FoldersSinksPatchResource =
6666 ReqBody '[JSON] LogSink :> Patch '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'foldersSinksPatch' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Folders/Sinks/Update.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.folders.sinks.update@.
@@ -66,8 +66,8 @@ type FoldersSinksUpdateResource =
6666 ReqBody '[JSON] LogSink :> Put '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'foldersSinksUpdate' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Organizations/Sinks/Patch.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.organizations.sinks.patch@.
@@ -66,8 +66,8 @@ type OrganizationsSinksPatchResource =
6666 ReqBody '[JSON] LogSink :> Patch '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'organizationsSinksPatch' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Organizations/Sinks/Update.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.organizations.sinks.update@.
@@ -66,8 +66,8 @@ type OrganizationsSinksUpdateResource =
6666 ReqBody '[JSON] LogSink :> Put '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'organizationsSinksUpdate' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/Patch.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.projects.sinks.patch@.
@@ -66,8 +66,8 @@ type ProjectsSinksPatchResource =
6666 ReqBody '[JSON] LogSink :> Patch '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'projectsSinksPatch' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/Update.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.projects.sinks.update@.
@@ -66,8 +66,8 @@ type ProjectsSinksUpdateResource =
6666 ReqBody '[JSON] LogSink :> Put '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'projectsSinksUpdate' smart constructor.
gogol-logging/gen/Network/Google/Resource/Logging/Sinks/Update.hs+4−4
@@ -21,8 +21,8 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Updates a sink. This method replaces the following fields in the
24−-- existing sink with values from the new sink: destination, and filter.
25−-- The updated sink might also have a new writer_identity; see the
24+-- existing sink with values from the new sink: destination, and filter.The
25+-- updated sink might also have a new writer_identity; see the
2626-- unique_writer_identity field.
2727--
2828-- /See:/ <https://cloud.google.com/logging/docs/ Stackdriver Logging API Reference> for @logging.sinks.update@.
@@ -66,8 +66,8 @@ type SinksUpdateResource =
6666 ReqBody '[JSON] LogSink :> Put '[JSON] LogSink
6767
6868-- | Updates a sink. This method replaces the following fields in the
69−-- existing sink with values from the new sink: destination, and filter.
70−-- The updated sink might also have a new writer_identity; see the
69+-- existing sink with values from the new sink: destination, and filter.The
70+-- updated sink might also have a new writer_identity; see the
7171-- unique_writer_identity field.
7272--
7373-- /See:/ 'sinksUpdate' smart constructor.
gogol-logging/gogol-logging.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-logging
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Stackdriver Logging SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -113,5 +113,5 @@ library
113113 , Network.Google.Logging.Types.Sum
114114
115115 build-depends:
116− gogol-core == 0.4.0.*
116+ gogol-core == 0.5.0.*
117117 , base >= 4.7 && < 5
gogol-manufacturers/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-manufacturers/gogol-manufacturers.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-manufacturers
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Manufacturer Center SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -45,5 +45,5 @@ library
4545 , Network.Google.Manufacturers.Types.Sum
4646
4747 build-depends:
48− gogol-core == 0.4.0.*
48+ gogol-core == 0.5.0.*
4949 , base >= 4.7 && < 5
gogol-mirror/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-mirror/gogol-mirror.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-mirror
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Mirror SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -69,5 +69,5 @@ library
6969 , Network.Google.Mirror.Types.Sum
7070
7171 build-depends:
72− gogol-core == 0.4.0.*
72+ gogol-core == 0.5.0.*
7373 , base >= 4.7 && < 5
gogol-ml/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-ml/gen/Network/Google/MachineLearning.hs+16−7
@@ -29,6 +29,9 @@ module Network.Google.MachineLearning
2929
3030 -- * Resources
3131
32+ -- ** ml.operations.delete
33+ , module Network.Google.Resource.Ml.Operations.Delete
34+
3235 -- ** ml.projects.getConfig
3336 , module Network.Google.Resource.Ml.Projects.GetConfig
3437
@@ -107,9 +110,6 @@ module Network.Google.MachineLearning
107110 -- ** ml.projects.operations.cancel
108111 , module Network.Google.Resource.Ml.Projects.Operations.Cancel
109112
110− -- ** ml.projects.operations.delete
111− , module Network.Google.Resource.Ml.Projects.Operations.Delete
112−
113113 -- ** ml.projects.operations.get
114114 , module Network.Google.Resource.Ml.Projects.Operations.Get
115115
@@ -341,6 +341,12 @@ module Network.Google.MachineLearning
341341 , grsCode
342342 , grsMessage
343343
344+ -- ** GoogleCloudMlV1__ReplicaConfig
345+ , GoogleCloudMlV1__ReplicaConfig
346+ , googleCloudMlV1__ReplicaConfig
347+ , gcmvrcImageURI
348+ , gcmvrcAcceleratorConfig
349+
344350 -- ** GoogleCloudMlV1__Config
345351 , GoogleCloudMlV1__Config
346352 , googleCloudMlV1__Config
@@ -422,6 +428,7 @@ module Network.Google.MachineLearning
422428 , GoogleCloudMlV1__TrainingInput
423429 , googleCloudMlV1__TrainingInput
424430 , gcmvtiMasterType
431+ , gcmvtiWorkerConfig
425432 , gcmvtiParameterServerCount
426433 , gcmvtiArgs
427434 , gcmvtiWorkerCount
@@ -429,12 +436,14 @@ module Network.Google.MachineLearning
429436 , gcmvtiPythonVersion
430437 , gcmvtiRuntimeVersion
431438 , gcmvtiWorkerType
439+ , gcmvtiMasterConfig
432440 , gcmvtiPythonModule
433441 , gcmvtiParameterServerType
434442 , gcmvtiHyperparameters
435443 , gcmvtiPackageURIs
436444 , gcmvtiScaleTier
437445 , gcmvtiRegion
446+ , gcmvtiParameterServerConfig
438447
439448 -- ** GoogleRpc__StatusDetailsItem
440449 , GoogleRpc__StatusDetailsItem
@@ -524,6 +533,7 @@ module Network.Google.MachineLearning
524533
525534import Network.Google.MachineLearning.Types
526535import Network.Google.Prelude
536+import Network.Google.Resource.Ml.Operations.Delete
527537import Network.Google.Resource.Ml.Projects.GetConfig
528538import Network.Google.Resource.Ml.Projects.Jobs.Cancel
529539import Network.Google.Resource.Ml.Projects.Jobs.Create
@@ -550,7 +560,6 @@ import Network.Google.Resource.Ml.Projects.Models.Versions.List
550560import Network.Google.Resource.Ml.Projects.Models.Versions.Patch
551561import Network.Google.Resource.Ml.Projects.Models.Versions.SetDefault
552562import Network.Google.Resource.Ml.Projects.Operations.Cancel
553−import Network.Google.Resource.Ml.Projects.Operations.Delete
554563import Network.Google.Resource.Ml.Projects.Operations.Get
555564import Network.Google.Resource.Ml.Projects.Operations.List
556565import Network.Google.Resource.Ml.Projects.Predict
@@ -561,8 +570,9 @@ TODO
561570
562571-- | Represents the entirety of the methods and resources available for the Cloud Machine Learning Engine service.
563572type MachineLearningAPI =
564− ProjectsModelsVersionsListResource :<|>
565− ProjectsModelsVersionsPatchResource
573+ OperationsDeleteResource :<|>
574+ ProjectsModelsVersionsListResource
575+ :<|> ProjectsModelsVersionsPatchResource
566576 :<|> ProjectsModelsVersionsGetResource
567577 :<|> ProjectsModelsVersionsSetDefaultResource
568578 :<|> ProjectsModelsVersionsCreateResource
@@ -586,7 +596,6 @@ type MachineLearningAPI =
586596 :<|> ProjectsOperationsListResource
587597 :<|> ProjectsOperationsGetResource
588598 :<|> ProjectsOperationsCancelResource
589− :<|> ProjectsOperationsDeleteResource
590599 :<|> ProjectsLocationsListResource
591600 :<|> ProjectsLocationsGetResource
592601 :<|> ProjectsGetConfigResource
gogol-ml/gen/Network/Google/MachineLearning/Types.hs+9
@@ -242,6 +242,12 @@ module Network.Google.MachineLearning.Types
242242 , grsCode
243243 , grsMessage
244244
245+ -- * GoogleCloudMlV1__ReplicaConfig
246+ , GoogleCloudMlV1__ReplicaConfig
247+ , googleCloudMlV1__ReplicaConfig
248+ , gcmvrcImageURI
249+ , gcmvrcAcceleratorConfig
250+
245251 -- * GoogleCloudMlV1__Config
246252 , GoogleCloudMlV1__Config
247253 , googleCloudMlV1__Config
@@ -323,6 +329,7 @@ module Network.Google.MachineLearning.Types
323329 , GoogleCloudMlV1__TrainingInput
324330 , googleCloudMlV1__TrainingInput
325331 , gcmvtiMasterType
332+ , gcmvtiWorkerConfig
326333 , gcmvtiParameterServerCount
327334 , gcmvtiArgs
328335 , gcmvtiWorkerCount
@@ -330,12 +337,14 @@ module Network.Google.MachineLearning.Types
330337 , gcmvtiPythonVersion
331338 , gcmvtiRuntimeVersion
332339 , gcmvtiWorkerType
340+ , gcmvtiMasterConfig
333341 , gcmvtiPythonModule
334342 , gcmvtiParameterServerType
335343 , gcmvtiHyperparameters
336344 , gcmvtiPackageURIs
337345 , gcmvtiScaleTier
338346 , gcmvtiRegion
347+ , gcmvtiParameterServerConfig
339348
340349 -- * GoogleRpc__StatusDetailsItem
341350 , GoogleRpc__StatusDetailsItem
gogol-ml/gen/Network/Google/MachineLearning/Types/Product.hs+118−29
@@ -1941,6 +1941,57 @@ instance ToJSON GoogleRpc__Status where
19411941 ("code" .=) <$> _grsCode,
19421942 ("message" .=) <$> _grsMessage])
19431943
1944+-- | Represents the configration for a replica in a cluster.
1945+--
1946+-- /See:/ 'googleCloudMlV1__ReplicaConfig' smart constructor.
1947+data GoogleCloudMlV1__ReplicaConfig =
1948+ GoogleCloudMlV1__ReplicaConfig'
1949+ { _gcmvrcImageURI :: !(Maybe Text)
1950+ , _gcmvrcAcceleratorConfig :: !(Maybe GoogleCloudMlV1__AcceleratorConfig)
1951+ }
1952+ deriving (Eq, Show, Data, Typeable, Generic)
1953+
1954+-- | Creates a value of 'GoogleCloudMlV1__ReplicaConfig' with the minimum fields required to make a request.
1955+--
1956+-- Use one of the following lenses to modify other fields as desired:
1957+--
1958+-- * 'gcmvrcImageURI'
1959+--
1960+-- * 'gcmvrcAcceleratorConfig'
1961+googleCloudMlV1__ReplicaConfig
1962+ :: GoogleCloudMlV1__ReplicaConfig
1963+googleCloudMlV1__ReplicaConfig =
1964+ GoogleCloudMlV1__ReplicaConfig'
1965+ {_gcmvrcImageURI = Nothing, _gcmvrcAcceleratorConfig = Nothing}
1966+
1967+-- | The docker image to run on worker. This image must be in Google
1968+-- Container Registry.
1969+gcmvrcImageURI :: Lens' GoogleCloudMlV1__ReplicaConfig (Maybe Text)
1970+gcmvrcImageURI
1971+ = lens _gcmvrcImageURI
1972+ (\ s a -> s{_gcmvrcImageURI = a})
1973+
1974+gcmvrcAcceleratorConfig :: Lens' GoogleCloudMlV1__ReplicaConfig (Maybe GoogleCloudMlV1__AcceleratorConfig)
1975+gcmvrcAcceleratorConfig
1976+ = lens _gcmvrcAcceleratorConfig
1977+ (\ s a -> s{_gcmvrcAcceleratorConfig = a})
1978+
1979+instance FromJSON GoogleCloudMlV1__ReplicaConfig
1980+ where
1981+ parseJSON
1982+ = withObject "GoogleCloudMlV1ReplicaConfig"
1983+ (\ o ->
1984+ GoogleCloudMlV1__ReplicaConfig' <$>
1985+ (o .:? "imageUri") <*> (o .:? "acceleratorConfig"))
1986+
1987+instance ToJSON GoogleCloudMlV1__ReplicaConfig where
1988+ toJSON GoogleCloudMlV1__ReplicaConfig'{..}
1989+ = object
1990+ (catMaybes
1991+ [("imageUri" .=) <$> _gcmvrcImageURI,
1992+ ("acceleratorConfig" .=) <$>
1993+ _gcmvrcAcceleratorConfig])
1994+
19441995--
19451996-- /See:/ 'googleCloudMlV1__Config' smart constructor.
19461997newtype GoogleCloudMlV1__Config =
@@ -2555,7 +2606,7 @@ instance ToJSON GoogleIAMV1__SetIAMPolicyRequest
25552606 [("updateMask" .=) <$> _givsiprUpdateMask,
25562607 ("policy" .=) <$> _givsiprPolicy])
25572608
2558−-- | Represents input parameters for a prediction job. Next field: 20
2609+-- | Represents input parameters for a prediction job.
25592610--
25602611-- /See:/ 'googleCloudMlV1__PredictionInput' smart constructor.
25612612data GoogleCloudMlV1__PredictionInput =
@@ -2775,20 +2826,23 @@ instance ToJSON GoogleCloudMlV1__PredictionInput
27752826-- /See:/ 'googleCloudMlV1__TrainingInput' smart constructor.
27762827data GoogleCloudMlV1__TrainingInput =
27772828 GoogleCloudMlV1__TrainingInput'
2778− { _gcmvtiMasterType :: !(Maybe Text)
2779− , _gcmvtiParameterServerCount :: !(Maybe (Textual Int64))
2780− , _gcmvtiArgs :: !(Maybe [Text])
2781− , _gcmvtiWorkerCount :: !(Maybe (Textual Int64))
2782− , _gcmvtiJobDir :: !(Maybe Text)
2783− , _gcmvtiPythonVersion :: !(Maybe Text)
2784− , _gcmvtiRuntimeVersion :: !(Maybe Text)
2785− , _gcmvtiWorkerType :: !(Maybe Text)
2786− , _gcmvtiPythonModule :: !(Maybe Text)
2787− , _gcmvtiParameterServerType :: !(Maybe Text)
2788− , _gcmvtiHyperparameters :: !(Maybe GoogleCloudMlV1__HyperparameterSpec)
2789− , _gcmvtiPackageURIs :: !(Maybe [Text])
2790− , _gcmvtiScaleTier :: !(Maybe GoogleCloudMlV1__TrainingInputScaleTier)
2791− , _gcmvtiRegion :: !(Maybe Text)
2829+ { _gcmvtiMasterType :: !(Maybe Text)
2830+ , _gcmvtiWorkerConfig :: !(Maybe GoogleCloudMlV1__ReplicaConfig)
2831+ , _gcmvtiParameterServerCount :: !(Maybe (Textual Int64))
2832+ , _gcmvtiArgs :: !(Maybe [Text])
2833+ , _gcmvtiWorkerCount :: !(Maybe (Textual Int64))
2834+ , _gcmvtiJobDir :: !(Maybe Text)
2835+ , _gcmvtiPythonVersion :: !(Maybe Text)
2836+ , _gcmvtiRuntimeVersion :: !(Maybe Text)
2837+ , _gcmvtiWorkerType :: !(Maybe Text)
2838+ , _gcmvtiMasterConfig :: !(Maybe GoogleCloudMlV1__ReplicaConfig)
2839+ , _gcmvtiPythonModule :: !(Maybe Text)
2840+ , _gcmvtiParameterServerType :: !(Maybe Text)
2841+ , _gcmvtiHyperparameters :: !(Maybe GoogleCloudMlV1__HyperparameterSpec)
2842+ , _gcmvtiPackageURIs :: !(Maybe [Text])
2843+ , _gcmvtiScaleTier :: !(Maybe GoogleCloudMlV1__TrainingInputScaleTier)
2844+ , _gcmvtiRegion :: !(Maybe Text)
2845+ , _gcmvtiParameterServerConfig :: !(Maybe GoogleCloudMlV1__ReplicaConfig)
27922846 }
27932847 deriving (Eq, Show, Data, Typeable, Generic)
27942848
@@ -2798,6 +2852,8 @@ data GoogleCloudMlV1__TrainingInput =
27982852--
27992853-- * 'gcmvtiMasterType'
28002854--
2855+-- * 'gcmvtiWorkerConfig'
2856+--
28012857-- * 'gcmvtiParameterServerCount'
28022858--
28032859-- * 'gcmvtiArgs'
@@ -2812,6 +2868,8 @@ data GoogleCloudMlV1__TrainingInput =
28122868--
28132869-- * 'gcmvtiWorkerType'
28142870--
2871+-- * 'gcmvtiMasterConfig'
2872+--
28152873-- * 'gcmvtiPythonModule'
28162874--
28172875-- * 'gcmvtiParameterServerType'
@@ -2823,11 +2881,14 @@ data GoogleCloudMlV1__TrainingInput =
28232881-- * 'gcmvtiScaleTier'
28242882--
28252883-- * 'gcmvtiRegion'
2884+--
2885+-- * 'gcmvtiParameterServerConfig'
28262886googleCloudMlV1__TrainingInput
28272887 :: GoogleCloudMlV1__TrainingInput
28282888googleCloudMlV1__TrainingInput =
28292889 GoogleCloudMlV1__TrainingInput'
28302890 { _gcmvtiMasterType = Nothing
2891+ , _gcmvtiWorkerConfig = Nothing
28312892 , _gcmvtiParameterServerCount = Nothing
28322893 , _gcmvtiArgs = Nothing
28332894 , _gcmvtiWorkerCount = Nothing
@@ -2835,12 +2896,14 @@ googleCloudMlV1__TrainingInput =
28352896 , _gcmvtiPythonVersion = Nothing
28362897 , _gcmvtiRuntimeVersion = Nothing
28372898 , _gcmvtiWorkerType = Nothing
2899+ , _gcmvtiMasterConfig = Nothing
28382900 , _gcmvtiPythonModule = Nothing
28392901 , _gcmvtiParameterServerType = Nothing
28402902 , _gcmvtiHyperparameters = Nothing
28412903 , _gcmvtiPackageURIs = Nothing
28422904 , _gcmvtiScaleTier = Nothing
28432905 , _gcmvtiRegion = Nothing
2906+ , _gcmvtiParameterServerConfig = Nothing
28442907 }
28452908
28462909-- | Optional. Specifies the type of virtual machine to use for your training
@@ -2881,20 +2944,16 @@ googleCloudMlV1__TrainingInput =
28812944-- NVIDIA Tesla P100 GPUs.
28822945-- [standard_v100]
28832946-- A machine equivalent to /standard/ that also includes a single
2884−-- NVIDIA Tesla V100 GPU. The availability of these GPUs is in the
2885−-- /Beta/ launch stage.
2947+-- NVIDIA Tesla V100 GPU.
28862948-- [large_model_v100]
28872949-- A machine equivalent to /large_model/ that also includes a single
2888−-- NVIDIA Tesla V100 GPU. The availability of these GPUs is in the
2889−-- /Beta/ launch stage.
2950+-- NVIDIA Tesla V100 GPU.
28902951-- [complex_model_m_v100]
28912952-- A machine equivalent to /complex_model_m/ that also includes four
2892−-- NVIDIA Tesla V100 GPUs. The availability of these GPUs is in the
2893−-- /Beta/ launch stage.
2953+-- NVIDIA Tesla V100 GPUs.
28942954-- [complex_model_l_v100]
28952955-- A machine equivalent to /complex_model_l/ that also includes eight
2896−-- NVIDIA Tesla V100 GPUs. The availability of these GPUs is in the
2897−-- /Beta/ launch stage.
2956+-- NVIDIA Tesla V100 GPUs.
28982957-- [cloud_tpu]
28992958-- A TPU VM including one Cloud TPU. See more about
29002959-- </ml-engine/docs/tensorflow/using-tpus using TPUs to train your model>.
@@ -2905,11 +2964,18 @@ gcmvtiMasterType
29052964 = lens _gcmvtiMasterType
29062965 (\ s a -> s{_gcmvtiMasterType = a})
29072966
2967+-- | Optional. The configrations for workers. If \`workerConfig.imageUri\`
2968+-- has not been set, the value of \`masterConfig.imageUri\` will be used.
2969+gcmvtiWorkerConfig :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__ReplicaConfig)
2970+gcmvtiWorkerConfig
2971+ = lens _gcmvtiWorkerConfig
2972+ (\ s a -> s{_gcmvtiWorkerConfig = a})
2973+
29082974-- | Optional. The number of parameter server replicas to use for the
29092975-- training job. Each replica in the cluster will be of the type specified
29102976-- in \`parameter_server_type\`. This value can only be used when
29112977-- \`scale_tier\` is set to \`CUSTOM\`.If you set this value, you must also
2912−-- set \`parameter_server_type\`.
2978+-- set \`parameter_server_type\`. The default value is zero.
29132979gcmvtiParameterServerCount :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Int64)
29142980gcmvtiParameterServerCount
29152981 = lens _gcmvtiParameterServerCount
@@ -2927,6 +2993,7 @@ gcmvtiArgs
29272993-- Each replica in the cluster will be of the type specified in
29282994-- \`worker_type\`. This value can only be used when \`scale_tier\` is set
29292995-- to \`CUSTOM\`. If you set this value, you must also set \`worker_type\`.
2996+-- The default value is zero.
29302997gcmvtiWorkerCount :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Int64)
29312998gcmvtiWorkerCount
29322999 = lens _gcmvtiWorkerCount
@@ -2972,6 +3039,13 @@ gcmvtiWorkerType
29723039 = lens _gcmvtiWorkerType
29733040 (\ s a -> s{_gcmvtiWorkerType = a})
29743041
3042+-- | Optional. The configuration for master. Only one of
3043+-- \`masterConfig.imageUri\` and \`runtimeVersion\` should be set.
3044+gcmvtiMasterConfig :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__ReplicaConfig)
3045+gcmvtiMasterConfig
3046+ = lens _gcmvtiMasterConfig
3047+ (\ s a -> s{_gcmvtiMasterConfig = a})
3048+
29753049-- | Required. The Python module name to run after installing the packages.
29763050gcmvtiPythonModule :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
29773051gcmvtiPythonModule
@@ -3018,13 +3092,21 @@ gcmvtiRegion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
30183092gcmvtiRegion
30193093 = lens _gcmvtiRegion (\ s a -> s{_gcmvtiRegion = a})
30203094
3095+-- | Optional. The config of parameter servers. If
3096+-- \`parameterServerConfig.imageUri\` has not been set, the value of
3097+-- \`masterConfig.imageUri\` will be used.
3098+gcmvtiParameterServerConfig :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__ReplicaConfig)
3099+gcmvtiParameterServerConfig
3100+ = lens _gcmvtiParameterServerConfig
3101+ (\ s a -> s{_gcmvtiParameterServerConfig = a})
3102+
30213103instance FromJSON GoogleCloudMlV1__TrainingInput
30223104 where
30233105 parseJSON
30243106 = withObject "GoogleCloudMlV1TrainingInput"
30253107 (\ o ->
30263108 GoogleCloudMlV1__TrainingInput' <$>
3027− (o .:? "masterType") <*>
3109+ (o .:? "masterType") <*> (o .:? "workerConfig") <*>
30283110 (o .:? "parameterServerCount")
30293111 <*> (o .:? "args" .!= mempty)
30303112 <*> (o .:? "workerCount")
@@ -3032,18 +3114,21 @@ instance FromJSON GoogleCloudMlV1__TrainingInput
30323114 <*> (o .:? "pythonVersion")
30333115 <*> (o .:? "runtimeVersion")
30343116 <*> (o .:? "workerType")
3117+ <*> (o .:? "masterConfig")
30353118 <*> (o .:? "pythonModule")
30363119 <*> (o .:? "parameterServerType")
30373120 <*> (o .:? "hyperparameters")
30383121 <*> (o .:? "packageUris" .!= mempty)
30393122 <*> (o .:? "scaleTier")
3040− <*> (o .:? "region"))
3123+ <*> (o .:? "region")
3124+ <*> (o .:? "parameterServerConfig"))
30413125
30423126instance ToJSON GoogleCloudMlV1__TrainingInput where
30433127 toJSON GoogleCloudMlV1__TrainingInput'{..}
30443128 = object
30453129 (catMaybes
30463130 [("masterType" .=) <$> _gcmvtiMasterType,
3131+ ("workerConfig" .=) <$> _gcmvtiWorkerConfig,
30473132 ("parameterServerCount" .=) <$>
30483133 _gcmvtiParameterServerCount,
30493134 ("args" .=) <$> _gcmvtiArgs,
@@ -3052,13 +3137,16 @@ instance ToJSON GoogleCloudMlV1__TrainingInput where
30523137 ("pythonVersion" .=) <$> _gcmvtiPythonVersion,
30533138 ("runtimeVersion" .=) <$> _gcmvtiRuntimeVersion,
30543139 ("workerType" .=) <$> _gcmvtiWorkerType,
3140+ ("masterConfig" .=) <$> _gcmvtiMasterConfig,
30553141 ("pythonModule" .=) <$> _gcmvtiPythonModule,
30563142 ("parameterServerType" .=) <$>
30573143 _gcmvtiParameterServerType,
30583144 ("hyperparameters" .=) <$> _gcmvtiHyperparameters,
30593145 ("packageUris" .=) <$> _gcmvtiPackageURIs,
30603146 ("scaleTier" .=) <$> _gcmvtiScaleTier,
3061− ("region" .=) <$> _gcmvtiRegion])
3147+ ("region" .=) <$> _gcmvtiRegion,
3148+ ("parameterServerConfig" .=) <$>
3149+ _gcmvtiParameterServerConfig])
30623150
30633151--
30643152-- /See:/ 'googleRpc__StatusDetailsItem' smart constructor.
@@ -3604,13 +3692,14 @@ gahttpbExtensions
36043692 . _Default
36053693 . _Coerce
36063694
3607−-- | HTTP body binary data.
3695+-- | The HTTP request\/response body as raw binary.
36083696gahttpbData :: Lens' GoogleAPI__HTTPBody (Maybe ByteString)
36093697gahttpbData
36103698 = lens _gahttpbData (\ s a -> s{_gahttpbData = a}) .
36113699 mapping _Bytes
36123700
3613−-- | The HTTP Content-Type string representing the content type of the body.
3701+-- | The HTTP Content-Type header value specifying the content type of the
3702+-- body.
36143703gahttpbContentType :: Lens' GoogleAPI__HTTPBody (Maybe Text)
36153704gahttpbContentType
36163705 = lens _gahttpbContentType
gogol-ml/gen/Network/Google/MachineLearning/Types/Sum.hs+8−7
@@ -190,7 +190,7 @@ instance ToJSON GoogleCloudMlV1__ParameterSpecScaleType where
190190data GoogleCloudMlV1__VersionFramework
191191 = FrameworkUnspecified
192192 -- ^ @FRAMEWORK_UNSPECIFIED@
193− -- Unspecified framework. Defaults to TensorFlow.
193+ -- Unspecified framework. Assigns a value based on the file suffix.
194194 | Tensorflow
195195 -- ^ @TENSORFLOW@
196196 -- Tensorflow framework.
@@ -284,7 +284,8 @@ instance ToJSON GoogleCloudMlV1__VersionState where
284284data GoogleCloudMlV1__HyperparameterSpecAlgorithm
285285 = AlgorithmUnspecified
286286 -- ^ @ALGORITHM_UNSPECIFIED@
287− -- The default algorithm used by hyperparameter tuning service.
287+ -- The default algorithm used by the hyperparameter tuning service. This is
288+ -- a Bayesian optimization algorithm.
288289 | GridSearch
289290 -- ^ @GRID_SEARCH@
290291 -- Simple grid search within the feasible space. To use grid search, all
@@ -685,9 +686,9 @@ data GoogleCloudMlV1__AcceleratorConfigType
685686 | NvidiaTeslaP4
686687 -- ^ @NVIDIA_TESLA_P4@
687688 -- Nvidia Tesla P4 GPU.
688− | NvidiaTeslaT4
689− -- ^ @NVIDIA_TESLA_T4@
690− -- Nvidia Tesla T4 GPU.
689+ | TpuV2
690+ -- ^ @TPU_V2@
691+ -- TPU V2
691692 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
692693
693694instance Hashable GoogleCloudMlV1__AcceleratorConfigType
@@ -699,7 +700,7 @@ instance FromHttpApiData GoogleCloudMlV1__AcceleratorConfigType where
699700 "NVIDIA_TESLA_P100" -> Right NvidiaTeslaP100
700701 "NVIDIA_TESLA_V100" -> Right NvidiaTeslaV100
701702 "NVIDIA_TESLA_P4" -> Right NvidiaTeslaP4
702− "NVIDIA_TESLA_T4" -> Right NvidiaTeslaT4
703+ "TPU_V2" -> Right TpuV2
703704 x -> Left ("Unable to parse GoogleCloudMlV1__AcceleratorConfigType from: " <> x)
704705
705706instance ToHttpApiData GoogleCloudMlV1__AcceleratorConfigType where
@@ -709,7 +710,7 @@ instance ToHttpApiData GoogleCloudMlV1__AcceleratorConfigType where
709710 NvidiaTeslaP100 -> "NVIDIA_TESLA_P100"
710711 NvidiaTeslaV100 -> "NVIDIA_TESLA_V100"
711712 NvidiaTeslaP4 -> "NVIDIA_TESLA_P4"
712− NvidiaTeslaT4 -> "NVIDIA_TESLA_T4"
713+ TpuV2 -> "TPU_V2"
713714
714715instance FromJSON GoogleCloudMlV1__AcceleratorConfigType where
715716 parseJSON = parseJSONText "GoogleCloudMlV1__AcceleratorConfigType"
gogol-ml/gen/Network/Google/Resource/Ml/Operations/Delete.hsnew file+152
@@ -0,0 +1,152 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.Ml.Operations.Delete
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Deletes a long-running operation. This method indicates that the client
24+-- is no longer interested in the operation result. It does not cancel the
25+-- operation. If the server doesn\'t support this method, it returns
26+-- \`google.rpc.Code.UNIMPLEMENTED\`.
27+--
28+-- /See:/ <https://cloud.google.com/ml/ Cloud Machine Learning Engine Reference> for @ml.operations.delete@.
29+module Network.Google.Resource.Ml.Operations.Delete
30+ (
31+ -- * REST Resource
32+ OperationsDeleteResource
33+
34+ -- * Creating a Request
35+ , operationsDelete
36+ , OperationsDelete
37+
38+ -- * Request Lenses
39+ , odXgafv
40+ , odUploadProtocol
41+ , odAccessToken
42+ , odUploadType
43+ , odName
44+ , odCallback
45+ ) where
46+
47+import Network.Google.MachineLearning.Types
48+import Network.Google.Prelude
49+
50+-- | A resource alias for @ml.operations.delete@ method which the
51+-- 'OperationsDelete' request conforms to.
52+type OperationsDeleteResource =
53+ "v1" :>
54+ Capture "name" Text :>
55+ QueryParam "$.xgafv" Xgafv :>
56+ QueryParam "upload_protocol" Text :>
57+ QueryParam "access_token" Text :>
58+ QueryParam "uploadType" Text :>
59+ QueryParam "callback" Text :>
60+ QueryParam "alt" AltJSON :>
61+ Delete '[JSON] GoogleProtobuf__Empty
62+
63+-- | Deletes a long-running operation. This method indicates that the client
64+-- is no longer interested in the operation result. It does not cancel the
65+-- operation. If the server doesn\'t support this method, it returns
66+-- \`google.rpc.Code.UNIMPLEMENTED\`.
67+--
68+-- /See:/ 'operationsDelete' smart constructor.
69+data OperationsDelete =
70+ OperationsDelete'
71+ { _odXgafv :: !(Maybe Xgafv)
72+ , _odUploadProtocol :: !(Maybe Text)
73+ , _odAccessToken :: !(Maybe Text)
74+ , _odUploadType :: !(Maybe Text)
75+ , _odName :: !Text
76+ , _odCallback :: !(Maybe Text)
77+ }
78+ deriving (Eq, Show, Data, Typeable, Generic)
79+
80+-- | Creates a value of 'OperationsDelete' with the minimum fields required to make a request.
81+--
82+-- Use one of the following lenses to modify other fields as desired:
83+--
84+-- * 'odXgafv'
85+--
86+-- * 'odUploadProtocol'
87+--
88+-- * 'odAccessToken'
89+--
90+-- * 'odUploadType'
91+--
92+-- * 'odName'
93+--
94+-- * 'odCallback'
95+operationsDelete
96+ :: Text -- ^ 'odName'
97+ -> OperationsDelete
98+operationsDelete pOdName_ =
99+ OperationsDelete'
100+ { _odXgafv = Nothing
101+ , _odUploadProtocol = Nothing
102+ , _odAccessToken = Nothing
103+ , _odUploadType = Nothing
104+ , _odName = pOdName_
105+ , _odCallback = Nothing
106+ }
107+
108+-- | V1 error format.
109+odXgafv :: Lens' OperationsDelete (Maybe Xgafv)
110+odXgafv = lens _odXgafv (\ s a -> s{_odXgafv = a})
111+
112+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
113+odUploadProtocol :: Lens' OperationsDelete (Maybe Text)
114+odUploadProtocol
115+ = lens _odUploadProtocol
116+ (\ s a -> s{_odUploadProtocol = a})
117+
118+-- | OAuth access token.
119+odAccessToken :: Lens' OperationsDelete (Maybe Text)
120+odAccessToken
121+ = lens _odAccessToken
122+ (\ s a -> s{_odAccessToken = a})
123+
124+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
125+odUploadType :: Lens' OperationsDelete (Maybe Text)
126+odUploadType
127+ = lens _odUploadType (\ s a -> s{_odUploadType = a})
128+
129+-- | The name of the operation resource to be deleted.
130+odName :: Lens' OperationsDelete Text
131+odName = lens _odName (\ s a -> s{_odName = a})
132+
133+-- | JSONP
134+odCallback :: Lens' OperationsDelete (Maybe Text)
135+odCallback
136+ = lens _odCallback (\ s a -> s{_odCallback = a})
137+
138+instance GoogleRequest OperationsDelete where
139+ type Rs OperationsDelete = GoogleProtobuf__Empty
140+ type Scopes OperationsDelete =
141+ '["https://www.googleapis.com/auth/cloud-platform"]
142+ requestClient OperationsDelete'{..}
143+ = go _odName _odXgafv _odUploadProtocol
144+ _odAccessToken
145+ _odUploadType
146+ _odCallback
147+ (Just AltJSON)
148+ machineLearningService
149+ where go
150+ = buildClient
151+ (Proxy :: Proxy OperationsDeleteResource)
152+ mempty
gogol-ml/gen/Network/Google/Resource/Ml/Projects/Operations/Delete.hsdeleted−154
@@ -1,154 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.Ml.Projects.Operations.Delete
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Deletes a long-running operation. This method indicates that the client
24−-- is no longer interested in the operation result. It does not cancel the
25−-- operation. If the server doesn\'t support this method, it returns
26−-- \`google.rpc.Code.UNIMPLEMENTED\`.
27−--
28−-- /See:/ <https://cloud.google.com/ml/ Cloud Machine Learning Engine Reference> for @ml.projects.operations.delete@.
29−module Network.Google.Resource.Ml.Projects.Operations.Delete
30− (
31− -- * REST Resource
32− ProjectsOperationsDeleteResource
33−
34− -- * Creating a Request
35− , projectsOperationsDelete
36− , ProjectsOperationsDelete
37−
38− -- * Request Lenses
39− , podXgafv
40− , podUploadProtocol
41− , podAccessToken
42− , podUploadType
43− , podName
44− , podCallback
45− ) where
46−
47−import Network.Google.MachineLearning.Types
48−import Network.Google.Prelude
49−
50−-- | A resource alias for @ml.projects.operations.delete@ method which the
51−-- 'ProjectsOperationsDelete' request conforms to.
52−type ProjectsOperationsDeleteResource =
53− "v1" :>
54− Capture "name" Text :>
55− QueryParam "$.xgafv" Xgafv :>
56− QueryParam "upload_protocol" Text :>
57− QueryParam "access_token" Text :>
58− QueryParam "uploadType" Text :>
59− QueryParam "callback" Text :>
60− QueryParam "alt" AltJSON :>
61− Delete '[JSON] GoogleProtobuf__Empty
62−
63−-- | Deletes a long-running operation. This method indicates that the client
64−-- is no longer interested in the operation result. It does not cancel the
65−-- operation. If the server doesn\'t support this method, it returns
66−-- \`google.rpc.Code.UNIMPLEMENTED\`.
67−--
68−-- /See:/ 'projectsOperationsDelete' smart constructor.
69−data ProjectsOperationsDelete =
70− ProjectsOperationsDelete'
71− { _podXgafv :: !(Maybe Xgafv)
72− , _podUploadProtocol :: !(Maybe Text)
73− , _podAccessToken :: !(Maybe Text)
74− , _podUploadType :: !(Maybe Text)
75− , _podName :: !Text
76− , _podCallback :: !(Maybe Text)
77− }
78− deriving (Eq, Show, Data, Typeable, Generic)
79−
80−-- | Creates a value of 'ProjectsOperationsDelete' with the minimum fields required to make a request.
81−--
82−-- Use one of the following lenses to modify other fields as desired:
83−--
84−-- * 'podXgafv'
85−--
86−-- * 'podUploadProtocol'
87−--
88−-- * 'podAccessToken'
89−--
90−-- * 'podUploadType'
91−--
92−-- * 'podName'
93−--
94−-- * 'podCallback'
95−projectsOperationsDelete
96− :: Text -- ^ 'podName'
97− -> ProjectsOperationsDelete
98−projectsOperationsDelete pPodName_ =
99− ProjectsOperationsDelete'
100− { _podXgafv = Nothing
101− , _podUploadProtocol = Nothing
102− , _podAccessToken = Nothing
103− , _podUploadType = Nothing
104− , _podName = pPodName_
105− , _podCallback = Nothing
106− }
107−
108−-- | V1 error format.
109−podXgafv :: Lens' ProjectsOperationsDelete (Maybe Xgafv)
110−podXgafv = lens _podXgafv (\ s a -> s{_podXgafv = a})
111−
112−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
113−podUploadProtocol :: Lens' ProjectsOperationsDelete (Maybe Text)
114−podUploadProtocol
115− = lens _podUploadProtocol
116− (\ s a -> s{_podUploadProtocol = a})
117−
118−-- | OAuth access token.
119−podAccessToken :: Lens' ProjectsOperationsDelete (Maybe Text)
120−podAccessToken
121− = lens _podAccessToken
122− (\ s a -> s{_podAccessToken = a})
123−
124−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
125−podUploadType :: Lens' ProjectsOperationsDelete (Maybe Text)
126−podUploadType
127− = lens _podUploadType
128− (\ s a -> s{_podUploadType = a})
129−
130−-- | The name of the operation resource to be deleted.
131−podName :: Lens' ProjectsOperationsDelete Text
132−podName = lens _podName (\ s a -> s{_podName = a})
133−
134−-- | JSONP
135−podCallback :: Lens' ProjectsOperationsDelete (Maybe Text)
136−podCallback
137− = lens _podCallback (\ s a -> s{_podCallback = a})
138−
139−instance GoogleRequest ProjectsOperationsDelete where
140− type Rs ProjectsOperationsDelete =
141− GoogleProtobuf__Empty
142− type Scopes ProjectsOperationsDelete =
143− '["https://www.googleapis.com/auth/cloud-platform"]
144− requestClient ProjectsOperationsDelete'{..}
145− = go _podName _podXgafv _podUploadProtocol
146− _podAccessToken
147− _podUploadType
148− _podCallback
149− (Just AltJSON)
150− machineLearningService
151− where go
152− = buildClient
153− (Proxy :: Proxy ProjectsOperationsDeleteResource)
154− mempty
gogol-ml/gogol-ml.cabal+3−3
@@ -1,5 +1,5 @@
11name: gogol-ml
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Machine Learning Engine SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -35,6 +35,7 @@ library
3535 exposed-modules:
3636 Network.Google.MachineLearning
3737 , Network.Google.MachineLearning.Types
38+ , Network.Google.Resource.Ml.Operations.Delete
3839 , Network.Google.Resource.Ml.Projects.GetConfig
3940 , Network.Google.Resource.Ml.Projects.Jobs.Cancel
4041 , Network.Google.Resource.Ml.Projects.Jobs.Create
@@ -61,7 +62,6 @@ library
6162 , Network.Google.Resource.Ml.Projects.Models.Versions.Patch
6263 , Network.Google.Resource.Ml.Projects.Models.Versions.SetDefault
6364 , Network.Google.Resource.Ml.Projects.Operations.Cancel
64− , Network.Google.Resource.Ml.Projects.Operations.Delete
6565 , Network.Google.Resource.Ml.Projects.Operations.Get
6666 , Network.Google.Resource.Ml.Projects.Operations.List
6767 , Network.Google.Resource.Ml.Projects.Predict
@@ -71,5 +71,5 @@ library
7171 , Network.Google.MachineLearning.Types.Sum
7272
7373 build-depends:
74− gogol-core == 0.4.0.*
74+ gogol-core == 0.5.0.*
7575 , base >= 4.7 && < 5
gogol-monitoring/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-monitoring/gen/Network/Google/Monitoring/Types/Product.hs+1−1
@@ -2835,7 +2835,7 @@ uccInternalCheckers
28352835
28362836-- | How often, in seconds, the uptime check is performed. Currently, the
28372837-- only supported values are 60s (1 minute), 300s (5 minutes), 600s (10
2838−-- minutes), and 900s (15 minutes). Optional, defaults to 300s.
2838+-- minutes), and 900s (15 minutes). Optional, defaults to 60s.
28392839uccPeriod :: Lens' UptimeCheckConfig (Maybe Scientific)
28402840uccPeriod
28412841 = lens _uccPeriod (\ s a -> s{_uccPeriod = a}) .
gogol-monitoring/gen/Network/Google/Resource/Monitoring/Projects/Groups/Delete.hs+16−2
@@ -38,6 +38,7 @@ module Network.Google.Resource.Monitoring.Projects.Groups.Delete
3838 , pgdAccessToken
3939 , pgdUploadType
4040 , pgdName
41+ , pgdRecursive
4142 , pgdCallback
4243 ) where
4344
@@ -53,8 +54,9 @@ type ProjectsGroupsDeleteResource =
5354 QueryParam "upload_protocol" Text :>
5455 QueryParam "access_token" Text :>
5556 QueryParam "uploadType" Text :>
56− QueryParam "callback" Text :>
57− QueryParam "alt" AltJSON :> Delete '[JSON] Empty
57+ QueryParam "recursive" Bool :>
58+ QueryParam "callback" Text :>
59+ QueryParam "alt" AltJSON :> Delete '[JSON] Empty
5860
5961-- | Deletes an existing group.
6062--
@@ -66,6 +68,7 @@ data ProjectsGroupsDelete =
6668 , _pgdAccessToken :: !(Maybe Text)
6769 , _pgdUploadType :: !(Maybe Text)
6870 , _pgdName :: !Text
71+ , _pgdRecursive :: !(Maybe Bool)
6972 , _pgdCallback :: !(Maybe Text)
7073 }
7174 deriving (Eq, Show, Data, Typeable, Generic)
@@ -84,6 +87,8 @@ data ProjectsGroupsDelete =
8487--
8588-- * 'pgdName'
8689--
90+-- * 'pgdRecursive'
91+--
8792-- * 'pgdCallback'
8893projectsGroupsDelete
8994 :: Text -- ^ 'pgdName'
@@ -95,6 +100,7 @@ projectsGroupsDelete pPgdName_ =
95100 , _pgdAccessToken = Nothing
96101 , _pgdUploadType = Nothing
97102 , _pgdName = pPgdName_
103+ , _pgdRecursive = Nothing
98104 , _pgdCallback = Nothing
99105 }
100106
@@ -125,6 +131,13 @@ pgdUploadType
125131pgdName :: Lens' ProjectsGroupsDelete Text
126132pgdName = lens _pgdName (\ s a -> s{_pgdName = a})
127133
134+-- | If this field is true, then the request means to delete a group with all
135+-- its descendants. Otherwise, the request means to delete a group only
136+-- when it has no descendants. The default value is false.
137+pgdRecursive :: Lens' ProjectsGroupsDelete (Maybe Bool)
138+pgdRecursive
139+ = lens _pgdRecursive (\ s a -> s{_pgdRecursive = a})
140+
128141-- | JSONP
129142pgdCallback :: Lens' ProjectsGroupsDelete (Maybe Text)
130143pgdCallback
@@ -139,6 +152,7 @@ instance GoogleRequest ProjectsGroupsDelete where
139152 = go _pgdName _pgdXgafv _pgdUploadProtocol
140153 _pgdAccessToken
141154 _pgdUploadType
155+ _pgdRecursive
142156 _pgdCallback
143157 (Just AltJSON)
144158 monitoringService
gogol-monitoring/gogol-monitoring.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-monitoring
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Stackdriver Monitoring SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -79,5 +79,5 @@ library
7979 , Network.Google.Monitoring.Types.Sum
8080
8181 build-depends:
82− gogol-core == 0.4.0.*
82+ gogol-core == 0.5.0.*
8383 , base >= 4.7 && < 5
gogol-oauth2/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-oauth2/gogol-oauth2.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-oauth2
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google OAuth2 SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -45,5 +45,5 @@ library
4545 , Network.Google.OAuth2.Types.Sum
4646
4747 build-depends:
48− gogol-core == 0.4.0.*
48+ gogol-core == 0.5.0.*
4949 , base >= 4.7 && < 5
gogol-oslogin/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-oslogin/gen/Network/Google/OSLogin.hs+1−1
@@ -15,7 +15,7 @@
1515--
1616-- Manages OS login configuration for Google account users.
1717--
18−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference>
18+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference>
1919module Network.Google.OSLogin
2020 (
2121 -- * Service Configuration
gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/GetLoginProFile.hs+1−1
@@ -23,7 +23,7 @@
2323-- Retrieves the profile information used for logging in to a virtual
2424-- machine on Google Compute Engine.
2525--
26−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference> for @oslogin.users.getLoginProfile@.
26+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference> for @oslogin.users.getLoginProfile@.
2727module Network.Google.Resource.OSLogin.Users.GetLoginProFile
2828 (
2929 -- * REST Resource
gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/ImportSSHPublicKey.hs+1−1
@@ -24,7 +24,7 @@
2424-- POSIX account information is set when no username and UID exist as part
2525-- of the login profile.
2626--
27−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference> for @oslogin.users.importSshPublicKey@.
27+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference> for @oslogin.users.importSshPublicKey@.
2828module Network.Google.Resource.OSLogin.Users.ImportSSHPublicKey
2929 (
3030 -- * REST Resource
gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/Projects/Delete.hs+1−1
@@ -22,7 +22,7 @@
2222--
2323-- Deletes a POSIX account.
2424--
25−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference> for @oslogin.users.projects.delete@.
25+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference> for @oslogin.users.projects.delete@.
2626module Network.Google.Resource.OSLogin.Users.Projects.Delete
2727 (
2828 -- * REST Resource
gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/SSHPublicKeys/Delete.hs+1−1
@@ -22,7 +22,7 @@
2222--
2323-- Deletes an SSH public key.
2424--
25−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference> for @oslogin.users.sshPublicKeys.delete@.
25+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference> for @oslogin.users.sshPublicKeys.delete@.
2626module Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Delete
2727 (
2828 -- * REST Resource
gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/SSHPublicKeys/Get.hs+1−1
@@ -22,7 +22,7 @@
2222--
2323-- Retrieves an SSH public key.
2424--
25−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference> for @oslogin.users.sshPublicKeys.get@.
25+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference> for @oslogin.users.sshPublicKeys.get@.
2626module Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Get
2727 (
2828 -- * REST Resource
gogol-oslogin/gen/Network/Google/Resource/OSLogin/Users/SSHPublicKeys/Patch.hs+1−1
@@ -23,7 +23,7 @@
2323-- Updates an SSH public key and returns the profile information. This
2424-- method supports patch semantics.
2525--
26−-- /See:/ <https://cloud.google.com/compute/docs/oslogin/rest/ Cloud OS Login API Reference> for @oslogin.users.sshPublicKeys.patch@.
26+-- /See:/ <https://cloud.google.com/compute/docs/oslogin/ Cloud OS Login API Reference> for @oslogin.users.sshPublicKeys.patch@.
2727module Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch
2828 (
2929 -- * REST Resource
gogol-oslogin/gogol-oslogin.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-oslogin
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud OS Login SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@ library
4747 , Network.Google.OSLogin.Types.Sum
4848
4949 build-depends:
50− gogol-core == 0.4.0.*
50+ gogol-core == 0.5.0.*
5151 , base >= 4.7 && < 5
gogol-pagespeed/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-pagespeed/gogol-pagespeed.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-pagespeed
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google PageSpeed Insights SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -43,5 +43,5 @@ library
4343 , Network.Google.PageSpeed.Types.Sum
4444
4545 build-depends:
46− gogol-core == 0.4.0.*
46+ gogol-core == 0.5.0.*
4747 , base >= 4.7 && < 5
gogol-partners/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-partners/gogol-partners.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-partners
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Partners SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -59,5 +59,5 @@ library
5959 , Network.Google.Partners.Types.Sum
6060
6161 build-depends:
62− gogol-core == 0.4.0.*
62+ gogol-core == 0.5.0.*
6363 , base >= 4.7 && < 5
gogol-people/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-people/gogol-people.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-people
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google People SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -54,5 +54,5 @@ library
5454 , Network.Google.People.Types.Sum
5555
5656 build-depends:
57− gogol-core == 0.4.0.*
57+ gogol-core == 0.5.0.*
5858 , base >= 4.7 && < 5
gogol-photoslibrary/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-photoslibrary/gogol-photoslibrary.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-photoslibrary
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Photos Library SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -51,5 +51,5 @@ library
5151 , Network.Google.PhotosLibrary.Types.Sum
5252
5353 build-depends:
54− gogol-core == 0.4.0.*
54+ gogol-core == 0.5.0.*
5555 , base >= 4.7 && < 5
gogol-play-moviespartner/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-play-moviespartner/gogol-play-moviespartner.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-play-moviespartner
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play Movies Partner SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@ library
4747 , Network.Google.PlayMoviesPartner.Types.Sum
4848
4949 build-depends:
50− gogol-core == 0.4.0.*
50+ gogol-core == 0.5.0.*
5151 , base >= 4.7 && < 5
gogol-playcustomapp/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-playcustomapp/gogol-playcustomapp.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-playcustomapp
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Play Custom App Publishing SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.PlayCustomApp.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-plus-domains/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-plus-domains/gogol-plus-domains.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-plus-domains
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google + Domains SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -61,5 +61,5 @@ library
6161 , Network.Google.PlusDomains.Types.Sum
6262
6363 build-depends:
64− gogol-core == 0.4.0.*
64+ gogol-core == 0.5.0.*
6565 , base >= 4.7 && < 5
gogol-plus/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-plus/gogol-plus.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-plus
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google + SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -50,5 +50,5 @@ library
5050 , Network.Google.Plus.Types.Sum
5151
5252 build-depends:
53− gogol-core == 0.4.0.*
53+ gogol-core == 0.5.0.*
5454 , base >= 4.7 && < 5
gogol-poly/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-poly/gogol-poly.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-poly
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Poly SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@ library
4747 , Network.Google.Poly.Types.Sum
4848
4949 build-depends:
50− gogol-core == 0.4.0.*
50+ gogol-core == 0.5.0.*
5151 , base >= 4.7 && < 5
gogol-prediction/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-prediction/gogol-prediction.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-prediction
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Prediction SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -50,5 +50,5 @@ library
5050 , Network.Google.Prediction.Types.Sum
5151
5252 build-depends:
53− gogol-core == 0.4.0.*
53+ gogol-core == 0.5.0.*
5454 , base >= 4.7 && < 5
gogol-proximitybeacon/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-proximitybeacon/gogol-proximitybeacon.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-proximitybeacon
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Proximity Beacon SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -58,5 +58,5 @@ library
5858 , Network.Google.ProximityBeacon.Types.Sum
5959
6060 build-depends:
61− gogol-core == 0.4.0.*
61+ gogol-core == 0.5.0.*
6262 , base >= 4.7 && < 5
gogol-pubsub/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Snapshots/Create.hs+6−6
@@ -36,9 +36,9 @@
3636-- not provided in the request, the server will assign a random name for
3737-- this snapshot on the same project as the subscription, conforming to the
3838-- [resource name
39−-- format](https:\/\/cloud.google.com\/pubsub\/docs\/overview#names). The
40−-- generated name is populated in the returned Snapshot object. Note that
41−-- for REST API requests, you must specify a name in the request.
39+-- format](https:\/\/cloud.google.com\/pubsub\/docs\/admin#resource_names).
40+-- The generated name is populated in the returned Snapshot object. Note
41+-- that for REST API requests, you must specify a name in the request.
4242--
4343-- /See:/ <https://cloud.google.com/pubsub/docs Cloud Pub/Sub API Reference> for @pubsub.projects.snapshots.create@.
4444module Network.Google.Resource.PubSub.Projects.Snapshots.Create
@@ -93,9 +93,9 @@ type ProjectsSnapshotsCreateResource =
9393-- not provided in the request, the server will assign a random name for
9494-- this snapshot on the same project as the subscription, conforming to the
9595-- [resource name
96−-- format](https:\/\/cloud.google.com\/pubsub\/docs\/overview#names). The
97−-- generated name is populated in the returned Snapshot object. Note that
98−-- for REST API requests, you must specify a name in the request.
96+-- format](https:\/\/cloud.google.com\/pubsub\/docs\/admin#resource_names).
97+-- The generated name is populated in the returned Snapshot object. Note
98+-- that for REST API requests, you must specify a name in the request.
9999--
100100-- /See:/ 'projectsSnapshotsCreate' smart constructor.
101101data ProjectsSnapshotsCreate =
gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs+6−6
@@ -27,9 +27,9 @@
2727-- is not provided in the request, the server will assign a random name for
2828-- this subscription on the same project as the topic, conforming to the
2929-- [resource name
30−-- format](https:\/\/cloud.google.com\/pubsub\/docs\/overview#names). The
31−-- generated name is populated in the returned Subscription object. Note
32−-- that for REST API requests, you must specify a name in the request.
30+-- format](https:\/\/cloud.google.com\/pubsub\/docs\/admin#resource_names).
31+-- The generated name is populated in the returned Subscription object.
32+-- Note that for REST API requests, you must specify a name in the request.
3333--
3434-- /See:/ <https://cloud.google.com/pubsub/docs Cloud Pub/Sub API Reference> for @pubsub.projects.subscriptions.create@.
3535module Network.Google.Resource.PubSub.Projects.Subscriptions.Create
@@ -75,9 +75,9 @@ type ProjectsSubscriptionsCreateResource =
7575-- is not provided in the request, the server will assign a random name for
7676-- this subscription on the same project as the topic, conforming to the
7777-- [resource name
78−-- format](https:\/\/cloud.google.com\/pubsub\/docs\/overview#names). The
79−-- generated name is populated in the returned Subscription object. Note
80−-- that for REST API requests, you must specify a name in the request.
78+-- format](https:\/\/cloud.google.com\/pubsub\/docs\/admin#resource_names).
79+-- The generated name is populated in the returned Subscription object.
80+-- Note that for REST API requests, you must specify a name in the request.
8181--
8282-- /See:/ 'projectsSubscriptionsCreate' smart constructor.
8383data ProjectsSubscriptionsCreate =
gogol-pubsub/gogol-pubsub.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-pubsub
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Pub/Sub SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -74,5 +74,5 @@ library
7474 , Network.Google.PubSub.Types.Sum
7575
7676 build-depends:
77− gogol-core == 0.4.0.*
77+ gogol-core == 0.5.0.*
7878 , base >= 4.7 && < 5
gogol-qpxexpress/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-qpxexpress/gogol-qpxexpress.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-qpxexpress
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google QPX Express SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.QPXExpress.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-redis/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-redis/gen/Network/Google/Redis/Types/Sum.hs+1−2
@@ -102,8 +102,7 @@ data InstanceState
102102 -- Redis instance is being deleted.
103103 | Repairing
104104 -- ^ @REPAIRING@
105− -- Redis instance is being repaired and may be unusable. Details can be
106− -- found in the \`status_message\` field.
105+ -- Redis instance is being repaired and may be unusable.
107106 | Maintenance
108107 -- ^ @MAINTENANCE@
109108 -- Maintenance is being performed on this Redis instance.
gogol-redis/gogol-redis.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-redis
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Memorystore for Redis SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -52,5 +52,5 @@ library
5252 , Network.Google.Redis.Types.Sum
5353
5454 build-depends:
55− gogol-core == 0.4.0.*
55+ gogol-core == 0.5.0.*
5656 , base >= 4.7 && < 5
gogol-remotebuildexecution/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution.hs+8−6
@@ -212,6 +212,7 @@ module Network.Google.RemoteBuildExecution
212212 , gdraviState
213213 , gdraviLocation
214214 , gdraviName
215+ , gdraviLoggingEnabled
215216
216217 -- ** GoogleDevtoolsRemoteexecutionV1testToolDetails
217218 , GoogleDevtoolsRemoteexecutionV1testToolDetails
@@ -377,6 +378,11 @@ module Network.Google.RemoteBuildExecution
377378 , buildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
378379 , bbrevacucUpdateEnabled
379380
381+ -- ** GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
382+ , GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
383+ , googleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
384+ , gdrvcrmiAddtional
385+
380386 -- ** BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest
381387 , BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest
382388 , buildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest
@@ -395,17 +401,12 @@ module Network.Google.RemoteBuildExecution
395401 , gdrvcrOverhead
396402 , gdrvcrOutputs
397403 , gdrvcrExitCode
398− , gdrvcrStatistics
404+ , gdrvcrMetadata
399405 , gdrvcrDuration
400406
401407 -- ** GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadataStage
402408 , GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadataStage (..)
403409
404− -- ** GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
405− , GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
406− , googleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
407− , gdrvcrsiAddtional
408−
409410 -- ** GoogleDevtoolsRemoteexecutionV1testFileNode
410411 , GoogleDevtoolsRemoteexecutionV1testFileNode
411412 , googleDevtoolsRemoteexecutionV1testFileNode
@@ -580,6 +581,7 @@ module Network.Google.RemoteBuildExecution
580581 , bbreverServerLogs
581582 , bbreverResult
582583 , bbreverCachedResult
584+ , bbreverMessage
583585
584586 -- ** GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest
585587 , GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest
gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution/Types.hs+8−6
@@ -176,6 +176,7 @@ module Network.Google.RemoteBuildExecution.Types
176176 , gdraviState
177177 , gdraviLocation
178178 , gdraviName
179+ , gdraviLoggingEnabled
179180
180181 -- * GoogleDevtoolsRemoteexecutionV1testToolDetails
181182 , GoogleDevtoolsRemoteexecutionV1testToolDetails
@@ -341,6 +342,11 @@ module Network.Google.RemoteBuildExecution.Types
341342 , buildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
342343 , bbrevacucUpdateEnabled
343344
345+ -- * GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
346+ , GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
347+ , googleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
348+ , gdrvcrmiAddtional
349+
344350 -- * BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest
345351 , BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest
346352 , buildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest
@@ -359,17 +365,12 @@ module Network.Google.RemoteBuildExecution.Types
359365 , gdrvcrOverhead
360366 , gdrvcrOutputs
361367 , gdrvcrExitCode
362− , gdrvcrStatistics
368+ , gdrvcrMetadata
363369 , gdrvcrDuration
364370
365371 -- * GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadataStage
366372 , GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadataStage (..)
367373
368− -- * GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
369− , GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
370− , googleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
371− , gdrvcrsiAddtional
372−
373374 -- * GoogleDevtoolsRemoteexecutionV1testFileNode
374375 , GoogleDevtoolsRemoteexecutionV1testFileNode
375376 , googleDevtoolsRemoteexecutionV1testFileNode
@@ -544,6 +545,7 @@ module Network.Google.RemoteBuildExecution.Types
544545 , bbreverServerLogs
545546 , bbreverResult
546547 , bbreverCachedResult
548+ , bbreverMessage
547549
548550 -- * GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest
549551 , GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest
gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution/Types/Product.hs+152−111
@@ -40,8 +40,8 @@ import Network.Google.RemoteBuildExecution.Types.Sum
4040-- to the message in binary encoded form. To ensure consistent hashing,
4141-- clients and servers MUST ensure that they serialize messages according
4242-- to the following rules, even if there are alternate valid encodings for
43−-- the same message. - Fields are serialized in tag order. - There are no
44−-- unknown fields. - There are no duplicate fields. - Fields are serialized
43+-- the same message: * Fields are serialized in tag order. * There are no
44+-- unknown fields. * There are no duplicate fields. * Fields are serialized
4545-- according to the default semantics for their type. Most protocol buffer
4646-- implementations will always follow these rules when serializing, but
4747-- care should be taken to avoid shortcuts. For instance, concatenating two
@@ -1352,7 +1352,7 @@ gdravcirParent
13521352 (\ s a -> s{_gdravcirParent = a})
13531353
13541354-- | ID of the created instance. A valid \`instance_id\` must: be 6-50
1355−-- characters long, contains only lowercase letters, digits, hyphens and
1355+-- characters long, contain only lowercase letters, digits, hyphens and
13561356-- underscores, start with a lowercase letter, and end with a lowercase
13571357-- letter or a digit.
13581358gdravcirInstanceId :: Lens' GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest (Maybe Text)
@@ -1397,10 +1397,10 @@ instance ToJSON
13971397-- target, as well as possibly some metadata about the file or directory.
13981398-- In order to ensure that two equivalent directory trees hash to the same
13991399-- value, the following restrictions MUST be obeyed when constructing a a
1400−-- \`Directory\`: - Every child in the directory must have a path of
1400+-- \`Directory\`: * Every child in the directory must have a path of
14011401-- exactly one segment. Multiple levels of directory hierarchy may not be
1402−-- collapsed. - Each child in the directory must have a unique path segment
1403−-- (file name). - The files, directories and symlinks in the directory must
1402+-- collapsed. * Each child in the directory must have a unique path segment
1403+-- (file name). * The files, directories and symlinks in the directory must
14041404-- each be sorted in lexicographical order by path. The path strings must
14051405-- be sorted by code point, equivalently, by UTF-8 bytes. A \`Directory\`
14061406-- that obeys the restrictions is said to be in canonical form. As an
@@ -1629,9 +1629,10 @@ instance ToJSON
16291629-- /See:/ 'googleDevtoolsRemotebuildexecutionAdminV1alphaInstance' smart constructor.
16301630data GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance =
16311631 GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance'
1632− { _gdraviState :: !(Maybe GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstanceState)
1633− , _gdraviLocation :: !(Maybe Text)
1634− , _gdraviName :: !(Maybe Text)
1632+ { _gdraviState :: !(Maybe GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstanceState)
1633+ , _gdraviLocation :: !(Maybe Text)
1634+ , _gdraviName :: !(Maybe Text)
1635+ , _gdraviLoggingEnabled :: !(Maybe Bool)
16351636 }
16361637 deriving (Eq, Show, Data, Typeable, Generic)
16371638
@@ -1644,11 +1645,17 @@ data GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance =
16441645-- * 'gdraviLocation'
16451646--
16461647-- * 'gdraviName'
1648+--
1649+-- * 'gdraviLoggingEnabled'
16471650googleDevtoolsRemotebuildexecutionAdminV1alphaInstance
16481651 :: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
16491652googleDevtoolsRemotebuildexecutionAdminV1alphaInstance =
16501653 GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance'
1651− {_gdraviState = Nothing, _gdraviLocation = Nothing, _gdraviName = Nothing}
1654+ { _gdraviState = Nothing
1655+ , _gdraviLocation = Nothing
1656+ , _gdraviName = Nothing
1657+ , _gdraviLoggingEnabled = Nothing
1658+ }
16521659
16531660-- | Output only. State of the instance.
16541661gdraviState :: Lens' GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance (Maybe GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstanceState)
@@ -1670,6 +1677,12 @@ gdraviName :: Lens' GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance (Mayb
16701677gdraviName
16711678 = lens _gdraviName (\ s a -> s{_gdraviName = a})
16721679
1680+-- | Output only. Whether stack driver logging is enabled for the instance.
1681+gdraviLoggingEnabled :: Lens' GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance (Maybe Bool)
1682+gdraviLoggingEnabled
1683+ = lens _gdraviLoggingEnabled
1684+ (\ s a -> s{_gdraviLoggingEnabled = a})
1685+
16731686instance FromJSON
16741687 GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
16751688 where
@@ -1680,7 +1693,8 @@ instance FromJSON
16801693 GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance'
16811694 <$>
16821695 (o .:? "state") <*> (o .:? "location") <*>
1683− (o .:? "name"))
1696+ (o .:? "name")
1697+ <*> (o .:? "loggingEnabled"))
16841698
16851699instance ToJSON
16861700 GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
@@ -1691,7 +1705,8 @@ instance ToJSON
16911705 (catMaybes
16921706 [("state" .=) <$> _gdraviState,
16931707 ("location" .=) <$> _gdraviLocation,
1694− ("name" .=) <$> _gdraviName])
1708+ ("name" .=) <$> _gdraviName,
1709+ ("loggingEnabled" .=) <$> _gdraviLoggingEnabled])
16951710
16961711-- | Details for the tool used to call the API.
16971712--
@@ -2808,6 +2823,7 @@ instance ToJSON
28082823 ("result" .=) <$> _gdrverResult,
28092824 ("cachedResult" .=) <$> _gdrverCachedResult])
28102825
2826+-- | The full version of a given tool.
28112827--
28122828-- /See:/ 'buildBazelSemverSemVer' smart constructor.
28132829data BuildBazelSemverSemVer =
@@ -2840,21 +2856,27 @@ buildBazelSemverSemVer =
28402856 , _bbssvPrerelease = Nothing
28412857 }
28422858
2859+-- | The minor version, e.g. 2 for 10.2.3.
28432860bbssvMinor :: Lens' BuildBazelSemverSemVer (Maybe Int32)
28442861bbssvMinor
28452862 = lens _bbssvMinor (\ s a -> s{_bbssvMinor = a}) .
28462863 mapping _Coerce
28472864
2865+-- | The major version, e.g 10 for 10.2.3.
28482866bbssvMajor :: Lens' BuildBazelSemverSemVer (Maybe Int32)
28492867bbssvMajor
28502868 = lens _bbssvMajor (\ s a -> s{_bbssvMajor = a}) .
28512869 mapping _Coerce
28522870
2871+-- | The patch version, e.g 3 for 10.2.3.
28532872bbssvPatch :: Lens' BuildBazelSemverSemVer (Maybe Int32)
28542873bbssvPatch
28552874 = lens _bbssvPatch (\ s a -> s{_bbssvPatch = a}) .
28562875 mapping _Coerce
28572876
2877+-- | The pre-release version. Either this field or major\/minor\/patch fields
2878+-- must be filled. They are mutually exclusive. Pre-release versions are
2879+-- assumed to be earlier than any released versions.
28582880bbssvPrerelease :: Lens' BuildBazelSemverSemVer (Maybe Text)
28592881bbssvPrerelease
28602882 = lens _bbssvPrerelease
@@ -3421,6 +3443,48 @@ instance ToJSON
34213443 (catMaybes
34223444 [("updateEnabled" .=) <$> _bbrevacucUpdateEnabled])
34233445
3446+--
3447+-- /See:/ 'googleDevtoolsRemoteworkersV1test2CommandResultMetadataItem' smart constructor.
3448+newtype GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem =
3449+ GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem'
3450+ { _gdrvcrmiAddtional :: HashMap Text JSONValue
3451+ }
3452+ deriving (Eq, Show, Data, Typeable, Generic)
3453+
3454+-- | Creates a value of 'GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem' with the minimum fields required to make a request.
3455+--
3456+-- Use one of the following lenses to modify other fields as desired:
3457+--
3458+-- * 'gdrvcrmiAddtional'
3459+googleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
3460+ :: HashMap Text JSONValue -- ^ 'gdrvcrmiAddtional'
3461+ -> GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
3462+googleDevtoolsRemoteworkersV1test2CommandResultMetadataItem pGdrvcrmiAddtional_ =
3463+ GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem'
3464+ {_gdrvcrmiAddtional = _Coerce # pGdrvcrmiAddtional_}
3465+
3466+-- | Properties of the object. Contains field \'type with type URL.
3467+gdrvcrmiAddtional :: Lens' GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem (HashMap Text JSONValue)
3468+gdrvcrmiAddtional
3469+ = lens _gdrvcrmiAddtional
3470+ (\ s a -> s{_gdrvcrmiAddtional = a})
3471+ . _Coerce
3472+
3473+instance FromJSON
3474+ GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
3475+ where
3476+ parseJSON
3477+ = withObject
3478+ "GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem"
3479+ (\ o ->
3480+ GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem'
3481+ <$> (parseJSONObject o))
3482+
3483+instance ToJSON
3484+ GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem
3485+ where
3486+ toJSON = toJSON . _gdrvcrmiAddtional
3487+
34243488-- | A request corresponding to a single blob that the client wants to
34253489-- upload.
34263490--
@@ -3530,12 +3594,12 @@ instance ToJSON
35303594-- /See:/ 'googleDevtoolsRemoteworkersV1test2CommandResult' smart constructor.
35313595data GoogleDevtoolsRemoteworkersV1test2CommandResult =
35323596 GoogleDevtoolsRemoteworkersV1test2CommandResult'
3533− { _gdrvcrStatus :: !(Maybe GoogleRpcStatus)
3534− , _gdrvcrOverhead :: !(Maybe GDuration)
3535− , _gdrvcrOutputs :: !(Maybe GoogleDevtoolsRemoteworkersV1test2Digest)
3536− , _gdrvcrExitCode :: !(Maybe (Textual Int32))
3537− , _gdrvcrStatistics :: !(Maybe [GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem])
3538− , _gdrvcrDuration :: !(Maybe GDuration)
3597+ { _gdrvcrStatus :: !(Maybe GoogleRpcStatus)
3598+ , _gdrvcrOverhead :: !(Maybe GDuration)
3599+ , _gdrvcrOutputs :: !(Maybe GoogleDevtoolsRemoteworkersV1test2Digest)
3600+ , _gdrvcrExitCode :: !(Maybe (Textual Int32))
3601+ , _gdrvcrMetadata :: !(Maybe [GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem])
3602+ , _gdrvcrDuration :: !(Maybe GDuration)
35393603 }
35403604 deriving (Eq, Show, Data, Typeable, Generic)
35413605
@@ -3551,7 +3615,7 @@ data GoogleDevtoolsRemoteworkersV1test2CommandResult =
35513615--
35523616-- * 'gdrvcrExitCode'
35533617--
3554−-- * 'gdrvcrStatistics'
3618+-- * 'gdrvcrMetadata'
35553619--
35563620-- * 'gdrvcrDuration'
35573621googleDevtoolsRemoteworkersV1test2CommandResult
@@ -3562,7 +3626,7 @@ googleDevtoolsRemoteworkersV1test2CommandResult =
35623626 , _gdrvcrOverhead = Nothing
35633627 , _gdrvcrOutputs = Nothing
35643628 , _gdrvcrExitCode = Nothing
3565− , _gdrvcrStatistics = Nothing
3629+ , _gdrvcrMetadata = Nothing
35663630 , _gdrvcrDuration = Nothing
35673631 }
35683632
@@ -3600,16 +3664,16 @@ gdrvcrExitCode
36003664 (\ s a -> s{_gdrvcrExitCode = a})
36013665 . mapping _Coerce
36023666
3603−-- | Implementation-dependent statistics about the task. Both servers and
3604−-- bots may define messages which can be encoded here; bots are free to
3605−-- provide statistics in multiple formats, and servers are free to choose
3606−-- one or more of the values to process and ignore others. In particular,
3607−-- it is *not* considered an error for the bot to provide the server with a
3608−-- field that it doesn\'t know about.
3609−gdrvcrStatistics :: Lens' GoogleDevtoolsRemoteworkersV1test2CommandResult [GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem]
3610−gdrvcrStatistics
3611− = lens _gdrvcrStatistics
3612− (\ s a -> s{_gdrvcrStatistics = a})
3667+-- | Implementation-dependent metadata about the task. Both servers and bots
3668+-- may define messages which can be encoded here; bots are free to provide
3669+-- metadata in multiple formats, and servers are free to choose one or more
3670+-- of the values to process and ignore others. In particular, it is *not*
3671+-- considered an error for the bot to provide the server with a field that
3672+-- it doesn\'t know about.
3673+gdrvcrMetadata :: Lens' GoogleDevtoolsRemoteworkersV1test2CommandResult [GoogleDevtoolsRemoteworkersV1test2CommandResultMetadataItem]
3674+gdrvcrMetadata
3675+ = lens _gdrvcrMetadata
3676+ (\ s a -> s{_gdrvcrMetadata = a})
36133677 . _Default
36143678 . _Coerce
36153679
@@ -3633,7 +3697,7 @@ instance FromJSON
36333697 (o .:? "status") <*> (o .:? "overhead") <*>
36343698 (o .:? "outputs")
36353699 <*> (o .:? "exitCode")
3636− <*> (o .:? "statistics" .!= mempty)
3700+ <*> (o .:? "metadata" .!= mempty)
36373701 <*> (o .:? "duration"))
36383702
36393703instance ToJSON
@@ -3647,51 +3711,9 @@ instance ToJSON
36473711 ("overhead" .=) <$> _gdrvcrOverhead,
36483712 ("outputs" .=) <$> _gdrvcrOutputs,
36493713 ("exitCode" .=) <$> _gdrvcrExitCode,
3650− ("statistics" .=) <$> _gdrvcrStatistics,
3714+ ("metadata" .=) <$> _gdrvcrMetadata,
36513715 ("duration" .=) <$> _gdrvcrDuration])
36523716
3653−--
3654−-- /See:/ 'googleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem' smart constructor.
3655−newtype GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem =
3656− GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem'
3657− { _gdrvcrsiAddtional :: HashMap Text JSONValue
3658− }
3659− deriving (Eq, Show, Data, Typeable, Generic)
3660−
3661−-- | Creates a value of 'GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem' with the minimum fields required to make a request.
3662−--
3663−-- Use one of the following lenses to modify other fields as desired:
3664−--
3665−-- * 'gdrvcrsiAddtional'
3666−googleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
3667− :: HashMap Text JSONValue -- ^ 'gdrvcrsiAddtional'
3668− -> GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
3669−googleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem pGdrvcrsiAddtional_ =
3670− GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem'
3671− {_gdrvcrsiAddtional = _Coerce # pGdrvcrsiAddtional_}
3672−
3673−-- | Properties of the object. Contains field \'type with type URL.
3674−gdrvcrsiAddtional :: Lens' GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem (HashMap Text JSONValue)
3675−gdrvcrsiAddtional
3676− = lens _gdrvcrsiAddtional
3677− (\ s a -> s{_gdrvcrsiAddtional = a})
3678− . _Coerce
3679−
3680−instance FromJSON
3681− GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
3682− where
3683− parseJSON
3684− = withObject
3685− "GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem"
3686− (\ o ->
3687− GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem'
3688− <$> (parseJSONObject o))
3689−
3690−instance ToJSON
3691− GoogleDevtoolsRemoteworkersV1test2CommandResultStatisticsItem
3692− where
3693− toJSON = toJSON . _gdrvcrsiAddtional
3694−
36953717-- | A \`FileNode\` represents a single file and associated metadata.
36963718--
36973719-- /See:/ 'googleDevtoolsRemoteexecutionV1testFileNode' smart constructor.
@@ -5263,16 +5285,18 @@ gdravwcDiskSizeGb
52635285 (\ s a -> s{_gdravwcDiskSizeGb = a})
52645286 . mapping _Coerce
52655287
5266−-- | Output only. \`reserved=true\` means the worker is reserved and won\'t
5267−-- be preempted.
5288+-- | Determines whether the worker is reserved (and therefore won\'t be
5289+-- preempted). See [Preemptible
5290+-- VMs](https:\/\/cloud.google.com\/preemptible-vms\/) for more details.
52685291gdravwcReserved :: Lens' GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig (Maybe Bool)
52695292gdravwcReserved
52705293 = lens _gdravwcReserved
52715294 (\ s a -> s{_gdravwcReserved = a})
52725295
5273−-- | Required. Machine type of the worker, such as n1-standard-2. See
5296+-- | Required. Machine type of the worker, such as \`n1-standard-2\`. See
52745297-- https:\/\/cloud.google.com\/compute\/docs\/machine-types for a list of
5275−-- supported machine types.
5298+-- supported machine types. Note that \`f1-micro\` and \`g1-small\` are not
5299+-- yet supported.
52765300gdravwcMachineType :: Lens' GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig (Maybe Text)
52775301gdravwcMachineType
52785302 = lens _gdravwcMachineType
@@ -5330,6 +5354,7 @@ data BuildBazelRemoteExecutionV2ExecuteResponse =
53305354 , _bbreverServerLogs :: !(Maybe BuildBazelRemoteExecutionV2ExecuteResponseServerLogs)
53315355 , _bbreverResult :: !(Maybe BuildBazelRemoteExecutionV2ActionResult)
53325356 , _bbreverCachedResult :: !(Maybe Bool)
5357+ , _bbreverMessage :: !(Maybe Text)
53335358 }
53345359 deriving (Eq, Show, Data, Typeable, Generic)
53355360
@@ -5344,6 +5369,8 @@ data BuildBazelRemoteExecutionV2ExecuteResponse =
53445369-- * 'bbreverResult'
53455370--
53465371-- * 'bbreverCachedResult'
5372+--
5373+-- * 'bbreverMessage'
53475374buildBazelRemoteExecutionV2ExecuteResponse
53485375 :: BuildBazelRemoteExecutionV2ExecuteResponse
53495376buildBazelRemoteExecutionV2ExecuteResponse =
@@ -5352,6 +5379,7 @@ buildBazelRemoteExecutionV2ExecuteResponse =
53525379 , _bbreverServerLogs = Nothing
53535380 , _bbreverResult = Nothing
53545381 , _bbreverCachedResult = Nothing
5382+ , _bbreverMessage = Nothing
53555383 }
53565384
53575385-- | If the status has a code other than \`OK\`, it indicates that the action
@@ -5392,6 +5420,14 @@ bbreverCachedResult
53925420 = lens _bbreverCachedResult
53935421 (\ s a -> s{_bbreverCachedResult = a})
53945422
5423+-- | Freeform informational message with details on the execution of the
5424+-- action that may be displayed to the user upon failure or when requested
5425+-- explicitly.
5426+bbreverMessage :: Lens' BuildBazelRemoteExecutionV2ExecuteResponse (Maybe Text)
5427+bbreverMessage
5428+ = lens _bbreverMessage
5429+ (\ s a -> s{_bbreverMessage = a})
5430+
53955431instance FromJSON
53965432 BuildBazelRemoteExecutionV2ExecuteResponse
53975433 where
@@ -5402,7 +5438,8 @@ instance FromJSON
54025438 BuildBazelRemoteExecutionV2ExecuteResponse' <$>
54035439 (o .:? "status") <*> (o .:? "serverLogs") <*>
54045440 (o .:? "result")
5405− <*> (o .:? "cachedResult"))
5441+ <*> (o .:? "cachedResult")
5442+ <*> (o .:? "message"))
54065443
54075444instance ToJSON
54085445 BuildBazelRemoteExecutionV2ExecuteResponse
@@ -5414,7 +5451,8 @@ instance ToJSON
54145451 [("status" .=) <$> _bbreverStatus,
54155452 ("serverLogs" .=) <$> _bbreverServerLogs,
54165453 ("result" .=) <$> _bbreverResult,
5417− ("cachedResult" .=) <$> _bbreverCachedResult])
5454+ ("cachedResult" .=) <$> _bbreverCachedResult,
5455+ ("message" .=) <$> _bbreverMessage])
54185456
54195457-- | The request used for \`DeleteInstance\`.
54205458--
@@ -5819,9 +5857,9 @@ instance ToJSON
58195857-- | An optional Metadata to attach to any RPC request to tell the server
58205858-- about an external context of the request. The server may use this for
58215859-- logging or other purposes. To use it, the client attaches the header to
5822−-- the call using the canonical proto serialization: name:
5823−-- build.bazel.remote.execution.v2.requestmetadata-bin contents: the base64
5824−-- encoded binary RequestMetadata message.
5860+-- the call using the canonical proto serialization: * name:
5861+-- \`build.bazel.remote.execution.v2.requestmetadata-bin\` * contents: the
5862+-- base64 encoded binary \`RequestMetadata\` message.
58255863--
58265864-- /See:/ 'buildBazelRemoteExecutionV2RequestMetadata' smart constructor.
58275865data BuildBazelRemoteExecutionV2RequestMetadata =
@@ -6141,22 +6179,24 @@ bbrevcPlatform
61416179 (\ s a -> s{_bbrevcPlatform = a})
61426180
61436181-- | A list of the output directories that the client expects to retrieve
6144−-- from the action. Only the contents of the indicated directories
6145−-- (recursively including the contents of their subdirectories) will be
6146−-- returned, as well as files listed in \`output_files\`. Other files that
6147−-- may be created during command execution are discarded. The paths are
6148−-- relative to the working directory of the action execution. The paths are
6149−-- specified using a single forward slash (\`\/\`) as a path separator,
6150−-- even if the execution platform natively uses a different separator. The
6151−-- path MUST NOT include a trailing slash, nor a leading slash, being a
6152−-- relative path. The special value of empty string is allowed, although
6153−-- not recommended, and can be used to capture the entire working directory
6154−-- tree, including inputs. In order to ensure consistent hashing of the
6155−-- same Action, the output paths MUST be sorted lexicographically by code
6156−-- point (or, equivalently, by UTF-8 bytes). An output directory cannot be
6157−-- duplicated, be a parent of another output directory, be a parent of a
6158−-- listed output file, or have the same path as any of the listed output
6159−-- files.
6182+-- from the action. Only the listed directories will be returned (an entire
6183+-- directory structure will be returned as a Tree message digest, see
6184+-- OutputDirectory), as well as files listed in \`output_files\`. Other
6185+-- files or directories that may be created during command execution are
6186+-- discarded. The paths are relative to the working directory of the action
6187+-- execution. The paths are specified using a single forward slash (\`\/\`)
6188+-- as a path separator, even if the execution platform natively uses a
6189+-- different separator. The path MUST NOT include a trailing slash, nor a
6190+-- leading slash, being a relative path. The special value of empty string
6191+-- is allowed, although not recommended, and can be used to capture the
6192+-- entire working directory tree, including inputs. In order to ensure
6193+-- consistent hashing of the same Action, the output paths MUST be sorted
6194+-- lexicographically by code point (or, equivalently, by UTF-8 bytes). An
6195+-- output directory cannot be duplicated or have the same path as any of
6196+-- the listed output files. Directories leading up to the output
6197+-- directories (but not the output directories themselves) are created by
6198+-- the worker prior to execution, even if they are not explicitly part of
6199+-- the input root.
61606200bbrevcOutputDirectories :: Lens' BuildBazelRemoteExecutionV2Command [Text]
61616201bbrevcOutputDirectories
61626202 = lens _bbrevcOutputDirectories
@@ -6185,17 +6225,18 @@ bbrevcArguments
61856225-- | A list of the output files that the client expects to retrieve from the
61866226-- action. Only the listed files, as well as directories listed in
61876227-- \`output_directories\`, will be returned to the client as output. Other
6188−-- files that may be created during command execution are discarded. The
6189−-- paths are relative to the working directory of the action execution. The
6190−-- paths are specified using a single forward slash (\`\/\`) as a path
6191−-- separator, even if the execution platform natively uses a different
6192−-- separator. The path MUST NOT include a trailing slash, nor a leading
6193−-- slash, being a relative path. In order to ensure consistent hashing of
6194−-- the same Action, the output paths MUST be sorted lexicographically by
6195−-- code point (or, equivalently, by UTF-8 bytes). An output file cannot be
6196−-- duplicated, be a parent of another output file, be a child of a listed
6197−-- output directory, or have the same path as any of the listed output
6198−-- directories.
6228+-- files or directories that may be created during command execution are
6229+-- discarded. The paths are relative to the working directory of the action
6230+-- execution. The paths are specified using a single forward slash (\`\/\`)
6231+-- as a path separator, even if the execution platform natively uses a
6232+-- different separator. The path MUST NOT include a trailing slash, nor a
6233+-- leading slash, being a relative path. In order to ensure consistent
6234+-- hashing of the same Action, the output paths MUST be sorted
6235+-- lexicographically by code point (or, equivalently, by UTF-8 bytes). An
6236+-- output file cannot be duplicated, be a parent of another output file, or
6237+-- have the same path as any of the listed output directories. Directories
6238+-- leading up to the output files are created by the worker prior to
6239+-- execution, even if they are not explicitly part of the input root.
61996240bbrevcOutputFiles :: Lens' BuildBazelRemoteExecutionV2Command [Text]
62006241bbrevcOutputFiles
62016242 = lens _bbrevcOutputFiles
@@ -6206,7 +6247,7 @@ bbrevcOutputFiles
62066247-- | The environment variables to set when running the program. The worker
62076248-- may provide its own default environment variables; these defaults can be
62086249-- overridden using this field. Additional variables can also be specified.
6209−-- In order to ensure that equivalent \`Command\`s always hash to the same
6250+-- In order to ensure that equivalent Commands always hash to the same
62106251-- value, the environment variables MUST be lexicographically sorted by
62116252-- name. Sorting of strings is done by code point, equivalently, by the
62126253-- UTF-8 bytes.
gogol-remotebuildexecution/gen/Network/Google/RemoteBuildExecution/Types/Sum.hs+7−3
@@ -234,12 +234,16 @@ instance ToJSON Xgafv where
234234data BuildBazelRemoteExecutionV2ExecutionCapabilitiesDigestFunction
235235 = BBREVECDFUnknown
236236 -- ^ @UNKNOWN@
237+ -- It is an error for the server to return this value.
237238 | BBREVECDFSHA256
238239 -- ^ @SHA256@
240+ -- The Sha-256 digest function.
239241 | BBREVECDFSHA1
240242 -- ^ @SHA1@
243+ -- The Sha-1 digest function.
241244 | BBREVECDFMD5
242245 -- ^ @MD5@
246+ -- The MD5 digest function.
243247 deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
244248
245249instance Hashable BuildBazelRemoteExecutionV2ExecutionCapabilitiesDigestFunction
@@ -271,9 +275,9 @@ data BuildBazelRemoteExecutionV2CacheCapabilitiesSymlinkAbsolutePathStrategy
271275 -- ^ @UNKNOWN@
272276 | BBREVCCSAPSDisallowed
273277 -- ^ @DISALLOWED@
274− -- Server will return an INVALID_ARGUMENT on input symlinks with absolute
275− -- targets. If an action tries to create an output symlink with an absolute
276− -- target, a FAILED_PRECONDITION will be returned.
278+ -- Server will return an \`INVALID_ARGUMENT\` on input symlinks with
279+ -- absolute targets. If an action tries to create an output symlink with an
280+ -- absolute target, a \`FAILED_PRECONDITION\` will be returned.
277281 | BBREVCCSAPSAllowed
278282 -- ^ @ALLOWED@
279283 -- Server will allow symlink targets to escape the input root tree,
gogol-remotebuildexecution/gen/Network/Google/Resource/RemoteBuildExecution/ActionResults/Update.hs+18−18
@@ -20,15 +20,15 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Upload a new execution result. This method is intended for servers which
24−-- implement the distributed cache independently of the Execution API. As a
25−-- result, it is OPTIONAL for servers to implement. In order to allow the
26−-- server to perform access control based on the type of action, and to
27−-- assist with client debugging, the client MUST first upload the Action
28−-- that produced the result, along with its Command, into the
29−-- \`ContentAddressableStorage\`. Errors: * \`UNIMPLEMENTED\`: This method
30−-- is not supported by the server. * \`RESOURCE_EXHAUSTED\`: There is
31−-- insufficient storage space to add the entry to the cache.
23+-- Upload a new execution result. In order to allow the server to perform
24+-- access control based on the type of action, and to assist with client
25+-- debugging, the client MUST first upload the Action that produced the
26+-- result, along with its Command, into the \`ContentAddressableStorage\`.
27+-- Errors: * \`INVALID_ARGUMENT\`: One or more arguments are invalid. *
28+-- \`FAILED_PRECONDITION\`: One or more errors occurred in updating the
29+-- action result, such as a missing command or action. *
30+-- \`RESOURCE_EXHAUSTED\`: There is insufficient storage space to add the
31+-- entry to the cache.
3232--
3333-- /See:/ <https://cloud.google.com/remote-build-execution/docs/ Remote Build Execution API Reference> for @remotebuildexecution.actionResults.update@.
3434module Network.Google.Resource.RemoteBuildExecution.ActionResults.Update
@@ -79,15 +79,15 @@ type ActionResultsUpdateResource =
7979 Put '[JSON]
8080 BuildBazelRemoteExecutionV2ActionResult
8181
82−-- | Upload a new execution result. This method is intended for servers which
83−-- implement the distributed cache independently of the Execution API. As a
84−-- result, it is OPTIONAL for servers to implement. In order to allow the
85−-- server to perform access control based on the type of action, and to
86−-- assist with client debugging, the client MUST first upload the Action
87−-- that produced the result, along with its Command, into the
88−-- \`ContentAddressableStorage\`. Errors: * \`UNIMPLEMENTED\`: This method
89−-- is not supported by the server. * \`RESOURCE_EXHAUSTED\`: There is
90−-- insufficient storage space to add the entry to the cache.
82+-- | Upload a new execution result. In order to allow the server to perform
83+-- access control based on the type of action, and to assist with client
84+-- debugging, the client MUST first upload the Action that produced the
85+-- result, along with its Command, into the \`ContentAddressableStorage\`.
86+-- Errors: * \`INVALID_ARGUMENT\`: One or more arguments are invalid. *
87+-- \`FAILED_PRECONDITION\`: One or more errors occurred in updating the
88+-- action result, such as a missing command or action. *
89+-- \`RESOURCE_EXHAUSTED\`: There is insufficient storage space to add the
90+-- entry to the cache.
9191--
9292-- /See:/ 'actionResultsUpdate' smart constructor.
9393data ActionResultsUpdate =
gogol-remotebuildexecution/gen/Network/Google/Resource/RemoteBuildExecution/Actions/Execute.hs+16−10
@@ -55,11 +55,14 @@
5555-- support a queue), the action could not be started. The client should
5656-- retry. * \`INTERNAL\`: An internal error occurred in the execution
5757-- engine or the worker. * \`DEADLINE_EXCEEDED\`: The execution timed out.
58−-- In the case of a missing input or command, the server SHOULD
59−-- additionally send a PreconditionFailure error detail where, for each
60−-- requested blob not present in the CAS, there is a \`Violation\` with a
61−-- \`type\` of \`MISSING\` and a \`subject\` of
62−-- \`\"blobs\/{hash}\/{size}\"\` indicating the digest of the missing blob.
58+-- * \`CANCELLED\`: The operation was cancelled by the client. This status
59+-- is only possible if the server implements the Operations API
60+-- CancelOperation method, and it was called for the current execution. In
61+-- the case of a missing input or command, the server SHOULD additionally
62+-- send a PreconditionFailure error detail where, for each requested blob
63+-- not present in the CAS, there is a \`Violation\` with a \`type\` of
64+-- \`MISSING\` and a \`subject\` of \`\"blobs\/{hash}\/{size}\"\`
65+-- indicating the digest of the missing blob.
6366--
6467-- /See:/ <https://cloud.google.com/remote-build-execution/docs/ Remote Build Execution API Reference> for @remotebuildexecution.actions.execute@.
6568module Network.Google.Resource.RemoteBuildExecution.Actions.Execute
@@ -135,11 +138,14 @@ type ActionsExecuteResource =
135138-- support a queue), the action could not be started. The client should
136139-- retry. * \`INTERNAL\`: An internal error occurred in the execution
137140-- engine or the worker. * \`DEADLINE_EXCEEDED\`: The execution timed out.
138−-- In the case of a missing input or command, the server SHOULD
139−-- additionally send a PreconditionFailure error detail where, for each
140−-- requested blob not present in the CAS, there is a \`Violation\` with a
141−-- \`type\` of \`MISSING\` and a \`subject\` of
142−-- \`\"blobs\/{hash}\/{size}\"\` indicating the digest of the missing blob.
141+-- * \`CANCELLED\`: The operation was cancelled by the client. This status
142+-- is only possible if the server implements the Operations API
143+-- CancelOperation method, and it was called for the current execution. In
144+-- the case of a missing input or command, the server SHOULD additionally
145+-- send a PreconditionFailure error detail where, for each requested blob
146+-- not present in the CAS, there is a \`Violation\` with a \`type\` of
147+-- \`MISSING\` and a \`subject\` of \`\"blobs\/{hash}\/{size}\"\`
148+-- indicating the digest of the missing blob.
143149--
144150-- /See:/ 'actionsExecute' smart constructor.
145151data ActionsExecute =
gogol-remotebuildexecution/gogol-remotebuildexecution.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-remotebuildexecution
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Remote Build Execution SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -50,5 +50,5 @@ library
5050 , Network.Google.RemoteBuildExecution.Types.Sum
5151
5252 build-depends:
53− gogol-core == 0.4.0.*
53+ gogol-core == 0.5.0.*
5454 , base >= 4.7 && < 5
gogol-replicapool-updater/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-replicapool-updater/gogol-replicapool-updater.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-replicapool-updater
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Compute Engine Instance Group Updater SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -57,5 +57,5 @@ library
5757 , Network.Google.ReplicaPoolUpdater.Types.Sum
5858
5959 build-depends:
60− gogol-core == 0.4.0.*
60+ gogol-core == 0.5.0.*
6161 , base >= 4.7 && < 5
gogol-replicapool/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-replicapool/gogol-replicapool.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-replicapool
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Replica Pool SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -56,5 +56,5 @@ library
5656 , Network.Google.ReplicaPool.Types.Sum
5757
5858 build-depends:
59− gogol-core == 0.4.0.*
59+ gogol-core == 0.5.0.*
6060 , base >= 4.7 && < 5
gogol-resourcemanager/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-resourcemanager/gogol-resourcemanager.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-resourcemanager
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Resource Manager SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -54,5 +54,5 @@ library
5454 , Network.Google.ResourceManager.Types.Sum
5555
5656 build-depends:
57− gogol-core == 0.4.0.*
57+ gogol-core == 0.5.0.*
5858 , base >= 4.7 && < 5
gogol-runtimeconfig/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-runtimeconfig/gogol-runtimeconfig.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-runtimeconfig
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Cloud Runtime Configuration SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@ library
4747 , Network.Google.RuntimeConfig.Types.Sum
4848
4949 build-depends:
50− gogol-core == 0.4.0.*
50+ gogol-core == 0.5.0.*
5151 , base >= 4.7 && < 5
gogol-safebrowsing/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-safebrowsing/gogol-safebrowsing.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-safebrowsing
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Safe Browsing SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -49,5 +49,5 @@ library
4949 , Network.Google.SafeBrowsing.Types.Sum
5050
5151 build-depends:
52− gogol-core == 0.4.0.*
52+ gogol-core == 0.5.0.*
5353 , base >= 4.7 && < 5
gogol-script/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-script/gen/Network/Google/Script/Types/Product.hs+5−4
@@ -858,14 +858,15 @@ executionRequest =
858858 }
859859
860860-- | The name of the function to execute in the given script. The name does
861−-- not include parentheses or parameters.
861+-- not include parentheses or parameters. It can reference a function in an
862+-- included library such as \`Library.libFunction1\`.
862863erFunction :: Lens' ExecutionRequest (Maybe Text)
863864erFunction
864865 = lens _erFunction (\ s a -> s{_erFunction = a})
865866
866−-- | For Android add-ons only. An ID that represents the user\'s current
867−-- session in the Android app for Google Docs or Sheets, included as extra
868−-- data in the
867+-- | __Deprecated__. For use with Android add-ons only. An ID that represents
868+-- the user\'s current session in the Android app for Google Docs or
869+-- Sheets, included as extra data in the
869870-- [Intent](https:\/\/developer.android.com\/guide\/components\/intents-filters.html)
870871-- that launches the add-on. When an Android add-on is run with a session
871872-- state, it gains the privileges of a
gogol-script/gogol-script.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-script
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Apps Script SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -57,5 +57,5 @@ library
5757 , Network.Google.Script.Types.Sum
5858
5959 build-depends:
60− gogol-core == 0.4.0.*
60+ gogol-core == 0.5.0.*
6161 , base >= 4.7 && < 5
gogol-searchconsole/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-searchconsole/gogol-searchconsole.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-searchconsole
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Search Console URL Testing Tools SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -42,5 +42,5 @@ library
4242 , Network.Google.SearchConsole.Types.Sum
4343
4444 build-depends:
45− gogol-core == 0.4.0.*
45+ gogol-core == 0.5.0.*
4646 , base >= 4.7 && < 5
gogol-servicebroker/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-servicebroker/gogol-servicebroker.cabal+2−2
@@ -1,5 +1,5 @@
11name: gogol-servicebroker
2−version: 0.4.0
2+version: 0.5.0
33synopsis: Google Service Broker SDK.
44homepage: https://github.com/brendanhay/gogol
55bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@ library
4646 , Network.Google.ServiceBroker.Types.Sum
4747
4848 build-depends:
49− gogol-core == 0.4.0.*
49+ gogol-core == 0.5.0.*
5050 , base >= 4.7 && < 5
gogol-serviceconsumermanagement/README.md+1−1
@@ -8,7 +8,7 @@
88
99## Version
1010
11−`0.4.0`
11+`0.5.0`
1212
1313
1414## Description
gogol-serviceconsumermanagement/gen/Network/Google/Resource/ServiceConsumerManagement/Services/TenancyUnits/ApplyProjectConfig.hs+8−6
@@ -29,9 +29,10 @@
2929-- activated. No service will be deactivated. New billing configuration
3030-- will be applied if specified. Omit billing configuration to keep the
3131-- existing one. Service account in the project will be created if
32−-- previously non existing. Operation fails if any of the steps fail, but
33−-- no rollback of already applied configuration changes is attempted.
34−-- Operation.
32+-- previously non existing. Specified folder will be ignored, moving tenant
33+-- project to a different folder is not supported. Operation fails if any
34+-- of the steps fail, but no rollback of already applied configuration
35+-- changes is attempted. Operation.
3536--
3637-- /See:/ <https://cloud.google.com/service-consumer-management/docs/overview Service Consumer Management API Reference> for @serviceconsumermanagement.services.tenancyUnits.applyProjectConfig@.
3738module Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.ApplyProjectConfig
@@ -79,9 +80,10 @@ type ServicesTenancyUnitsApplyProjectConfigResource =
7980-- activated. No service will be deactivated. New billing configuration
8081-- will be applied if specified. Omit billing configuration to keep the
8182-- existing one. Service account in the project will be created if
82−-- previously non existing. Operation fails if any of the steps fail, but
83−-- no rollback of already applied configuration changes is attempted.
84−-- Operation.
83+-- previously non existing. Specified folder will be ignored, moving tenant
84+-- project to a different folder is not supported. Operation fails if any
85+-- of the steps fail, but no rollback of already applied configuration
86+-- changes is attempted. Operation.
8587--
8688-- /See:/ 'servicesTenancyUnitsApplyProjectConfig' smart constructor.
8789data ServicesTenancyUnitsApplyProjectConfig =
gogol-serviceconsumermanagement/gen/Network/Google/Resource/ServiceConsumerManagement/Services/TenancyUnits/RemoveProject.hs+8−6
@@ -23,9 +23,10 @@
2323-- Removes specified project resource identified by tenant resource tag. It
2424-- will remove project lien with \'TenantManager\' origin if that was
2525-- added. It will then attempt to delete the project. If that operation
26−-- fails, this method fails. After the project has been deleted, or if was
27−-- already in DELETED state, resource metadata is permanently removed from
28−-- the tenancy unit. Operation.
26+-- fails, this method fails. Calls to remove already removed or
27+-- non-existent tenant project will succeed. After the project has been
28+-- deleted, or if was already in DELETED state, resource metadata is
29+-- permanently removed from the tenancy unit. Operation.
2930--
3031-- /See:/ <https://cloud.google.com/service-consumer-management/docs/overview Service Consumer Management API Reference> for @serviceconsumermanagement.services.tenancyUnits.removeProject@.
3132module Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject
@@ -67,9 +68,10 @@ type ServicesTenancyUnitsRemoveProjectResource =
6768-- | Removes specified project resource identified by tenant resource tag. It
6869-- will remove project lien with \'TenantManager\' origin if that was
6970-- added. It will then attempt to delete the project. If that operation
70−-- fails, this method fails. After the project has been deleted, or if was
71−-- already in DELETED state, resource metadata is permanently removed from
72−-- the tenancy unit. Operation.
71+-- fails, this method fails. Calls to remove already removed or
72+-- non-existent tenant project will succeed. After the project has been
73+-- deleted, or if was already in DELETED state, resource metadata is
74+-- permanently removed from the tenancy unit. Operation.
7375--
7476-- /See:/ 'servicesTenancyUnitsRemoveProject' smart constructor.
7577data ServicesTenancyUnitsRemoveProject =
gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement.hs+5
@@ -86,6 +86,9 @@ module Network.Google.ServiceConsumerManagement
8686 , mrdType
8787 , mrdDescription
8888
89+ -- ** BackendRulePathTranslation
90+ , BackendRulePathTranslation (..)
91+
8992 -- ** DocumentationRule
9093 , DocumentationRule
9194 , documentationRule
@@ -157,11 +160,13 @@ module Network.Google.ServiceConsumerManagement
157160 -- ** BackendRule
158161 , BackendRule
159162 , backendRule
163+ , brJwtAudience
160164 , brSelector
161165 , brMinDeadline
162166 , brAddress
163167 , brOperationDeadline
164168 , brDeadline
169+ , brPathTranslation
165170
166171 -- ** SourceContext
167172 , SourceContext
gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement/Types.hs+5
@@ -41,6 +41,9 @@ module Network.Google.ServiceConsumerManagement.Types
4141 , mrdType
4242 , mrdDescription
4343
44+ -- * BackendRulePathTranslation
45+ , BackendRulePathTranslation (..)
46+
4447 -- * DocumentationRule
4548 , DocumentationRule
4649 , documentationRule
@@ -112,11 +115,13 @@ module Network.Google.ServiceConsumerManagement.Types
112115 -- * BackendRule
113116 , BackendRule
114117 , backendRule
118+ , brJwtAudience
115119 , brSelector
116120 , brMinDeadline
117121 , brAddress
118122 , brOperationDeadline
119123 , brDeadline
124+ , brPathTranslation
120125
121126 -- * SourceContext
122127 , SourceContext
gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement/Types/Product.hs+30−7
@@ -850,11 +850,13 @@ instance ToJSON CancelOperationRequest where
850850-- /See:/ 'backendRule' smart constructor.
851851data BackendRule =
852852 BackendRule'
853− { _brSelector :: !(Maybe Text)
853+ { _brJwtAudience :: !(Maybe Text)
854+ , _brSelector :: !(Maybe Text)
854855 , _brMinDeadline :: !(Maybe (Textual Double))
855856 , _brAddress :: !(Maybe Text)
856857 , _brOperationDeadline :: !(Maybe (Textual Double))
857858 , _brDeadline :: !(Maybe (Textual Double))
859+ , _brPathTranslation :: !(Maybe BackendRulePathTranslation)
858860 }
859861 deriving (Eq, Show, Data, Typeable, Generic)
860862
@@ -862,6 +864,8 @@ data BackendRule =
862864--
863865-- Use one of the following lenses to modify other fields as desired:
864866--
867+-- * 'brJwtAudience'
868+--
865869-- * 'brSelector'
866870--
867871-- * 'brMinDeadline'
@@ -871,17 +875,27 @@ data BackendRule =
871875-- * 'brOperationDeadline'
872876--
873877-- * 'brDeadline'
878+--
879+-- * 'brPathTranslation'
874880backendRule
875881 :: BackendRule
876882backendRule =
877883 BackendRule'
878− { _brSelector = Nothing
884+ { _brJwtAudience = Nothing
885+ , _brSelector = Nothing
879886 , _brMinDeadline = Nothing
880887 , _brAddress = Nothing
881888 , _brOperationDeadline = Nothing
882889 , _brDeadline = Nothing
890+ , _brPathTranslation = Nothing
883891 }
884892
893+-- | The JWT audience is used when generating a JWT id token for the backend.
894+brJwtAudience :: Lens' BackendRule (Maybe Text)
895+brJwtAudience
896+ = lens _brJwtAudience
897+ (\ s a -> s{_brJwtAudience = a})
898+
885899-- | Selects the methods to which this rule applies. Refer to selector for
886900-- syntax details.
887901brSelector :: Lens' BackendRule (Maybe Text)
@@ -917,25 +931,34 @@ brDeadline
917931 = lens _brDeadline (\ s a -> s{_brDeadline = a}) .
918932 mapping _Coerce
919933
934+brPathTranslation :: Lens' BackendRule (Maybe BackendRulePathTranslation)
935+brPathTranslation
936+ = lens _brPathTranslation
937+ (\ s a -> s{_brPathTranslation = a})
938+
920939instance FromJSON BackendRule where
921940 parseJSON
922941 = withObject "BackendRule"
923942 (\ o ->
924943 BackendRule' <$>
925− (o .:? "selector") <*> (o .:? "minDeadline") <*>
926− (o .:? "address")
944+ (o .:? "jwtAudience") <*> (o .:? "selector") <*>
945+ (o .:? "minDeadline")
946+ <*> (o .:? "address")
927947 <*> (o .:? "operationDeadline")
928− <*> (o .:? "deadline"))
948+ <*> (o .:? "deadline")
949+ <*> (o .:? "pathTranslation"))
929950
930951instance ToJSON BackendRule where
931952 toJSON BackendRule'{..}
932953 = object
933954 (catMaybes
934− [("selector" .=) <$> _brSelector,
955+ [("jwtAudience" .=) <$> _brJwtAudience,
956+ ("selector" .=) <$> _brSelector,
935957 ("minDeadline" .=) <$> _brMinDeadline,
936958 ("address" .=) <$> _brAddress,
937959 ("operationDeadline" .=) <$> _brOperationDeadline,
938− ("deadline" .=) <$> _brDeadline])
960+ ("deadline" .=) <$> _brDeadline,
961+ ("pathTranslation" .=) <$> _brPathTranslation])
939962
940963-- | \`SourceContext\` represents information about the source of a protobuf
941964-- element, like the file in which it is defined.
gogol-serviceconsumermanagement/gen/Network/Google/ServiceConsumerManagement/Types/Sum.hs+53

This diff is too big to show here.

gogol-serviceconsumermanagement/gogol-serviceconsumermanagement.cabal+2−2

This diff is too big to show here.

gogol-servicecontrol/README.md+1−1

This diff is too big to show here.

gogol-servicecontrol/gen/Network/Google/ServiceControl.hs+1

This diff is too big to show here.

gogol-servicecontrol/gen/Network/Google/ServiceControl/Types.hs+1

This diff is too big to show here.

gogol-servicecontrol/gen/Network/Google/ServiceControl/Types/Product.hs+24−7

This diff is too big to show here.

gogol-servicecontrol/gogol-servicecontrol.cabal+2−2

This diff is too big to show here.

gogol-servicemanagement/README.md+1−1

This diff is too big to show here.

gogol-servicemanagement/gen/Network/Google/ServiceManagement.hs+5

This diff is too big to show here.

gogol-servicemanagement/gen/Network/Google/ServiceManagement/Types.hs+5

This diff is too big to show here.

gogol-servicemanagement/gen/Network/Google/ServiceManagement/Types/Product.hs+30−7

This diff is too big to show here.

gogol-servicemanagement/gen/Network/Google/ServiceManagement/Types/Sum.hs+53

This diff is too big to show here.

gogol-servicemanagement/gogol-servicemanagement.cabal+2−2

This diff is too big to show here.

gogol-servicenetworking/README.md+1−1

This diff is too big to show here.

gogol-servicenetworking/gogol-servicenetworking.cabal+2−2

This diff is too big to show here.

gogol-serviceusage/README.md+1−1

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/Resource/ServiceUsage/Services/BatchEnable.hs+2−2

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/Resource/ServiceUsage/Services/Disable.hs+2−2

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/Resource/ServiceUsage/Services/Enable.hs+2−2

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/ServiceUsage.hs+5

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/ServiceUsage/Types.hs+5

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/ServiceUsage/Types/Product.hs+30−7

This diff is too big to show here.

gogol-serviceusage/gen/Network/Google/ServiceUsage/Types/Sum.hs+53

This diff is too big to show here.

gogol-serviceusage/gogol-serviceusage.cabal+2−2

This diff is too big to show here.

gogol-serviceuser/README.md+1−1

This diff is too big to show here.

gogol-serviceuser/gogol-serviceuser.cabal+2−2

This diff is too big to show here.

gogol-sheets/README.md+1−1

This diff is too big to show here.

gogol-sheets/gogol-sheets.cabal+2−2

This diff is too big to show here.

gogol-shopping-content/README.md+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Accountstatuses/Custombatch.hs+3

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/NotifyauthApproved.hsdeleted−126

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/Notifyauthdeclined.hsdeleted−123

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/Notifycharge.hsdeleted−120

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orderpayments/Notifyrefund.hsdeleted−119

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orderreturns/List.hs+50−53

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Cancel.hs+28−27

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Cancellineitem.hs+28−28

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent.hs+15−72

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent/Types.hs+15−52

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent/Types/Product.hs+167−478

This diff is too big to show here.

gogol-shopping-content/gogol-shopping-content.cabal+2−6

This diff is too big to show here.

gogol-siteverification/README.md+1−1

This diff is too big to show here.

gogol-siteverification/gogol-siteverification.cabal+2−2

This diff is too big to show here.

gogol-slides/README.md+1−1

This diff is too big to show here.

gogol-slides/gen/Network/Google/Slides/Types/Product.hs+1−1

This diff is too big to show here.

gogol-slides/gogol-slides.cabal+2−2

This diff is too big to show here.

gogol-sourcerepo/README.md+1−1

This diff is too big to show here.

gogol-sourcerepo/gogol-sourcerepo.cabal+2−2

This diff is too big to show here.

gogol-spanner/README.md+1−1

This diff is too big to show here.

gogol-spanner/gogol-spanner.cabal+2−2

This diff is too big to show here.

gogol-spectrum/README.md+1−1

This diff is too big to show here.

gogol-spectrum/gogol-spectrum.cabal+2−2

This diff is too big to show here.

gogol-speech/README.md+2−2

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Operations/Get.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Operations/List.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Projects/Locations/Operations/Get.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Projects/Locations/Operations/List.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Projects/Operations/ManualRecognitionTasks/Get.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Speech/Longrunningrecognize.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Resource/Speech/Speech/Recognize.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Speech.hs+2−2

This diff is too big to show here.

gogol-speech/gen/Network/Google/Speech/Types.hs+1−1

This diff is too big to show here.

gogol-speech/gen/Network/Google/Speech/Types/Product.hs+6−6

This diff is too big to show here.

gogol-speech/gogol-speech.cabal+3−3

This diff is too big to show here.

gogol-sqladmin/README.md+1−1

This diff is too big to show here.

gogol-sqladmin/gogol-sqladmin.cabal+2−2

This diff is too big to show here.

gogol-storage-transfer/README.md+1−1

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Product.hs+5−4

This diff is too big to show here.

gogol-storage-transfer/gogol-storage-transfer.cabal+2−2

This diff is too big to show here.

gogol-storage/README.md+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage.hs+9

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage/Types.hs+9

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage/Types/Product.hs+97−2

This diff is too big to show here.

gogol-storage/gogol-storage.cabal+2−2

This diff is too big to show here.

gogol-streetviewpublish/README.md+1−1

This diff is too big to show here.

gogol-streetviewpublish/gogol-streetviewpublish.cabal+2−2

This diff is too big to show here.

gogol-surveys/README.md+1−1

This diff is too big to show here.

gogol-surveys/gogol-surveys.cabal+2−2

This diff is too big to show here.

gogol-tagmanager/README.md+1−1

This diff is too big to show here.

gogol-tagmanager/gogol-tagmanager.cabal+2−2

This diff is too big to show here.

gogol-testing/README.md+1−1

This diff is too big to show here.

gogol-testing/gen/Network/Google/Testing.hs+1

This diff is too big to show here.

gogol-testing/gen/Network/Google/Testing/Types.hs+1

This diff is too big to show here.

gogol-testing/gen/Network/Google/Testing/Types/Product.hs+17−3

This diff is too big to show here.

gogol-testing/gen/Network/Google/Testing/Types/Sum.hs+6

This diff is too big to show here.

gogol-testing/gogol-testing.cabal+2−2

This diff is too big to show here.

gogol-texttospeech/README.md+1−1

This diff is too big to show here.

gogol-texttospeech/gen/Network/Google/TextToSpeech.hs+1

This diff is too big to show here.

gogol-texttospeech/gen/Network/Google/TextToSpeech/Types.hs+1

This diff is too big to show here.

gogol-texttospeech/gen/Network/Google/TextToSpeech/Types/Product.hs+23−5

This diff is too big to show here.

gogol-texttospeech/gogol-texttospeech.cabal+2−2

This diff is too big to show here.

gogol-toolresults/README.md+1−1

This diff is too big to show here.

gogol-toolresults/gen/Network/Google/ToolResults.hs+26

This diff is too big to show here.

gogol-toolresults/gen/Network/Google/ToolResults/Types.hs+26

This diff is too big to show here.

gogol-toolresults/gen/Network/Google/ToolResults/Types/Product.hs+177

This diff is too big to show here.

gogol-toolresults/gen/Network/Google/ToolResults/Types/Sum.hs+105−15

This diff is too big to show here.

gogol-toolresults/gogol-toolresults.cabal+2−2

This diff is too big to show here.

gogol-tpu/README.md+1−1

This diff is too big to show here.

gogol-tpu/gen/Network/Google/TPU/Types/Sum.hs+15−4

This diff is too big to show here.

gogol-tpu/gogol-tpu.cabal+2−2

This diff is too big to show here.

gogol-tracing/README.md+1−1

This diff is too big to show here.

gogol-tracing/gogol-tracing.cabal+2−2

This diff is too big to show here.

gogol-translate/README.md+1−1

This diff is too big to show here.

gogol-translate/gogol-translate.cabal+2−2

This diff is too big to show here.

gogol-urlshortener/README.md+1−1

This diff is too big to show here.

gogol-urlshortener/gogol-urlshortener.cabal+2−2

This diff is too big to show here.

gogol-vault/README.md+1−1

This diff is too big to show here.

gogol-vault/gogol-vault.cabal+2−2

This diff is too big to show here.

gogol-videointelligence/README.md+1−1

This diff is too big to show here.

gogol-videointelligence/gogol-videointelligence.cabal+2−2

This diff is too big to show here.

gogol-vision/README.md+1−1

This diff is too big to show here.

gogol-vision/gen/Network/Google/Vision/Types/Product.hs+26−33

This diff is too big to show here.

gogol-vision/gen/Network/Google/Vision/Types/Sum.hs+20

This diff is too big to show here.

gogol-vision/gogol-vision.cabal+2−2

This diff is too big to show here.

gogol-webmaster-tools/README.md+1−1

This diff is too big to show here.

gogol-webmaster-tools/gogol-webmaster-tools.cabal+2−2

This diff is too big to show here.

gogol-websecurityscanner/README.md+1−1

This diff is too big to show here.

gogol-websecurityscanner/gen/Network/Google/WebSecurityScanner.hs+1

This diff is too big to show here.

gogol-websecurityscanner/gen/Network/Google/WebSecurityScanner/Types.hs+1

This diff is too big to show here.

gogol-websecurityscanner/gen/Network/Google/WebSecurityScanner/Types/Product.hs+16−5

This diff is too big to show here.

gogol-websecurityscanner/gogol-websecurityscanner.cabal+2−2

This diff is too big to show here.

gogol-youtube-analytics/README.md+1−1

This diff is too big to show here.

gogol-youtube-analytics/gogol-youtube-analytics.cabal+2−2

This diff is too big to show here.

gogol-youtube-reporting/README.md+1−1

This diff is too big to show here.

gogol-youtube-reporting/gogol-youtube-reporting.cabal+2−2

This diff is too big to show here.

gogol-youtube/README.md+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube.hs+19−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types.hs+19−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types/Product.hs+221−35

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types/Sum.hs+85−13

This diff is too big to show here.

gogol-youtube/gogol-youtube.cabal+2−2

This diff is too big to show here.

gogol/gogol.cabal+2−2

This diff is too big to show here.

stack-8.2.2.yaml+1

This diff is too big to show here.

stack-8.4.4.yaml+1

This diff is too big to show here.

stack-8.6.3.yaml+1

This diff is too big to show here.