From 201893f548fefa4889e0ae241a1ca9ddf8586918 Mon Sep 17 00:00:00 2001 From: cloudsharp Date: Mon, 2 Mar 2020 08:18:05 +0000 Subject: [PATCH] Update discovery documents and generated code automatically_generated_update --- .../acceleratedmobilepageurl_v1.json | 2 +- DiscoveryJson/accesscontextmanager_v1.json | 12 +- .../accesscontextmanager_v1beta.json | 26 +- DiscoveryJson/adexchangebuyer2_v2beta1.json | 2 +- DiscoveryJson/admob_v1.json | 2 +- DiscoveryJson/adsense_v1.4.json | 4 +- DiscoveryJson/adsensehost_v4.1.json | 4 +- .../androiddeviceprovisioning_v1.json | 2 +- DiscoveryJson/androidpublisher_v1.1.json | 4 +- DiscoveryJson/androidpublisher_v1.json | 4 +- DiscoveryJson/androidpublisher_v2.json | 4 +- DiscoveryJson/androidpublisher_v3.json | 4 +- DiscoveryJson/appsactivity_v1.json | 4 +- DiscoveryJson/bigquery_v2.json | 2 +- DiscoveryJson/bigqueryconnection_v1beta1.json | 2 +- DiscoveryJson/binaryauthorization_v1.json | 3 +- .../binaryauthorization_v1beta1.json | 3 +- DiscoveryJson/blogger_v2.json | 923 -- DiscoveryJson/classroom_v1.json | 2 +- DiscoveryJson/cloudasset_v1.json | 5 +- DiscoveryJson/cloudasset_v1beta1.json | 9 +- DiscoveryJson/clouddebugger_v2.json | 3 +- DiscoveryJson/cloudfunctions_v1.json | 3 +- DiscoveryJson/cloudfunctions_v1beta2.json | 3 +- DiscoveryJson/cloudidentity_v1.json | 2 +- DiscoveryJson/cloudidentity_v1beta1.json | 2 +- DiscoveryJson/cloudiot_v1.json | 3 +- DiscoveryJson/cloudprofiler_v2.json | 2 +- DiscoveryJson/cloudtasks_v2.json | 3 +- DiscoveryJson/composer_v1.json | 2 +- DiscoveryJson/composer_v1beta1.json | 2 +- DiscoveryJson/content_v2.1.json | 38 +- DiscoveryJson/content_v2.json | 38 +- DiscoveryJson/dataproc_v1.json | 20 +- DiscoveryJson/dataproc_v1beta2.json | 20 +- DiscoveryJson/dialogflow_v2.json | 5790 ++++++++++++ DiscoveryJson/discovery_v1.json | 4 +- DiscoveryJson/displayvideo_v1.json | 507 + DiscoveryJson/drive_v2.json | 4 +- DiscoveryJson/drive_v3.json | 4 +- DiscoveryJson/driveactivity_v2.json | 2 +- DiscoveryJson/factchecktools_v1alpha1.json | 2 +- DiscoveryJson/firebase_v1beta1.json | 2 +- DiscoveryJson/firebasedynamiclinks_v1.json | 2 +- DiscoveryJson/firebaserules_v1.json | 2 +- DiscoveryJson/fitness_v1.json | 4 +- .../gamesManagement_v1management.json | 4 +- DiscoveryJson/games_v1.json | 4 +- DiscoveryJson/games_v1.json.original | 4 +- DiscoveryJson/genomics_v1.json | 6 +- DiscoveryJson/genomics_v1alpha2.json | 6 +- DiscoveryJson/genomics_v2alpha1.json | 2 +- DiscoveryJson/healthcare_v1beta1.json | 2 +- DiscoveryJson/language_v1.json | 2 +- DiscoveryJson/language_v1beta1.json | 2 +- DiscoveryJson/language_v1beta2.json | 2 +- DiscoveryJson/libraryagent_v1.json | 2 +- DiscoveryJson/logging_v2.json | 49 +- DiscoveryJson/managedidentities_v1.json | 1634 ++++ DiscoveryJson/managedidentities_v1alpha1.json | 1619 ++++ DiscoveryJson/managedidentities_v1beta1.json | 1634 ++++ DiscoveryJson/oauth2_v1.json | 4 +- DiscoveryJson/oauth2_v2.json | 47 +- DiscoveryJson/oslogin_v1alpha.json | 2 +- DiscoveryJson/oslogin_v1beta.json | 2 +- DiscoveryJson/people_v1.json | 2 +- DiscoveryJson/pubsub_v1.json | 76 +- DiscoveryJson/pubsub_v1beta1a.json | 10 +- DiscoveryJson/pubsub_v1beta2.json | 2 +- DiscoveryJson/run_v1.json | 2 +- DiscoveryJson/run_v1alpha1.json | 2 +- DiscoveryJson/run_v1beta1.json | 2 +- DiscoveryJson/runtimeconfig_v1.json | 6 +- DiscoveryJson/safebrowsing_v4.json | 2 +- DiscoveryJson/script_v1.json | 2 +- DiscoveryJson/searchconsole_v1.json | 2 +- DiscoveryJson/secretmanager_v1.json | 5 +- DiscoveryJson/secretmanager_v1beta1.json | 5 +- .../serviceconsumermanagement_v1.json | 28 +- DiscoveryJson/servicecontrol_v1.json | 8 +- DiscoveryJson/servicemanagement_v1.json | 5 +- DiscoveryJson/servicenetworking_v1.json | 28 +- DiscoveryJson/servicenetworking_v1beta.json | 28 +- DiscoveryJson/serviceusage_v1.json | 28 +- DiscoveryJson/serviceusage_v1beta1.json | 28 +- DiscoveryJson/spanner_v1.json | 19 +- DiscoveryJson/storagetransfer_v1.json | 2 +- DiscoveryJson/streetviewpublish_v1.json | 2 +- DiscoveryJson/tagmanager_v1.json | 2 +- DiscoveryJson/tagmanager_v2.json | 2 +- DiscoveryJson/toolresults_v1.json | 2 +- DiscoveryJson/toolresults_v1beta3.json | 4 +- DiscoveryJson/youtubeAnalytics_v1.json | 2 +- DiscoveryJson/youtubeAnalytics_v2.json | 2 +- DiscoveryJson/youtubereporting_v1.json | 2 +- ...Google.Apis.Acceleratedmobilepageurl.v1.cs | 2 +- ...le.Apis.Acceleratedmobilepageurl.v1.csproj | 2 +- .../Google.Apis.AccessContextManager.v1.cs | 46 +- ...Google.Apis.AccessContextManager.v1.csproj | 2 +- ...Google.Apis.AccessContextManager.v1beta.cs | 27 +- ...le.Apis.AccessContextManager.v1beta.csproj | 2 +- .../Google.Apis.AdExchangeBuyerII.v2beta1.cs | 2 +- ...ogle.Apis.AdExchangeBuyerII.v2beta1.csproj | 2 +- .../Google.Apis.AdMob.v1.cs | 2 +- .../Google.Apis.AdMob.v1.csproj | 2 +- .../Google.Apis.AdSense.v1_4.cs | 2 +- .../Google.Apis.AdSense.v1_4.csproj | 2 +- .../Google.Apis.AdSenseHost.v4_1.cs | 2 +- .../Google.Apis.AdSenseHost.v4_1.csproj | 2 +- ...ogle.Apis.AndroidProvisioningPartner.v1.cs | 2 +- ....Apis.AndroidProvisioningPartner.v1.csproj | 2 +- .../Google.Apis.AndroidPublisher.v1.cs | 2 +- .../Google.Apis.AndroidPublisher.v1.csproj | 2 +- .../Google.Apis.AndroidPublisher.v1_1.cs | 2 +- .../Google.Apis.AndroidPublisher.v1_1.csproj | 2 +- .../Google.Apis.AndroidPublisher.v2.cs | 2 +- .../Google.Apis.AndroidPublisher.v2.csproj | 2 +- .../Google.Apis.AndroidPublisher.v3.cs | 2 +- .../Google.Apis.AndroidPublisher.v3.csproj | 2 +- .../Google.Apis.Appsactivity.v1.cs | 2 +- .../Google.Apis.Appsactivity.v1.csproj | 2 +- ....Apis.BigQueryConnectionService.v1beta1.cs | 2 +- ...s.BigQueryConnectionService.v1beta1.csproj | 2 +- .../Google.Apis.Bigquery.v2.cs | 2 +- .../Google.Apis.Bigquery.v2.csproj | 2 +- .../Google.Apis.BinaryAuthorization.v1.cs | 2 +- .../Google.Apis.BinaryAuthorization.v1.csproj | 2 +- ...Google.Apis.BinaryAuthorization.v1beta1.cs | 2 +- ...le.Apis.BinaryAuthorization.v1beta1.csproj | 2 +- .../Google.Apis.Blogger.v2.cs | 1807 ---- .../Google.Apis.Classroom.v1.cs | 2 +- .../Google.Apis.Classroom.v1.csproj | 2 +- .../Google.Apis.CloudAsset.v1.cs | 4 +- .../Google.Apis.CloudAsset.v1.csproj | 2 +- .../Google.Apis.CloudAsset.v1beta1.cs | 8 +- .../Google.Apis.CloudAsset.v1beta1.csproj | 2 +- .../Google.Apis.CloudComposer.v1.cs | 2 +- .../Google.Apis.CloudComposer.v1.csproj | 2 +- .../Google.Apis.CloudComposer.v1beta1.cs | 2 +- .../Google.Apis.CloudComposer.v1beta1.csproj | 2 +- .../Google.Apis.CloudDebugger.v2.cs | 2 +- .../Google.Apis.CloudDebugger.v2.csproj | 2 +- .../Google.Apis.CloudFunctions.v1.cs | 2 +- .../Google.Apis.CloudFunctions.v1.csproj | 2 +- .../Google.Apis.CloudFunctions.v1beta2.cs | 2 +- .../Google.Apis.CloudFunctions.v1beta2.csproj | 2 +- .../Google.Apis.CloudHealthcare.v1beta1.cs | 2 +- ...Google.Apis.CloudHealthcare.v1beta1.csproj | 2 +- .../Google.Apis.CloudIdentity.v1.cs | 2 +- .../Google.Apis.CloudIdentity.v1.csproj | 2 +- .../Google.Apis.CloudIdentity.v1beta1.cs | 2 +- .../Google.Apis.CloudIdentity.v1beta1.csproj | 2 +- .../Google.Apis.CloudIot.v1.cs | 2 +- .../Google.Apis.CloudIot.v1.csproj | 2 +- .../Google.Apis.CloudNaturalLanguage.v1.cs | 2 +- ...Google.Apis.CloudNaturalLanguage.v1.csproj | 2 +- ...oogle.Apis.CloudNaturalLanguage.v1beta1.cs | 2 +- ...e.Apis.CloudNaturalLanguage.v1beta1.csproj | 2 +- ...oogle.Apis.CloudNaturalLanguage.v1beta2.cs | 2 +- ...e.Apis.CloudNaturalLanguage.v1beta2.csproj | 2 +- .../Google.Apis.CloudOSLogin.v1alpha.cs | 2 +- .../Google.Apis.CloudOSLogin.v1alpha.csproj | 2 +- .../Google.Apis.CloudOSLogin.v1beta.cs | 2 +- .../Google.Apis.CloudOSLogin.v1beta.csproj | 2 +- .../Google.Apis.CloudProfiler.v2.cs | 2 +- .../Google.Apis.CloudProfiler.v2.csproj | 2 +- .../Google.Apis.CloudRun.v1.cs | 2 +- .../Google.Apis.CloudRun.v1.csproj | 2 +- .../Google.Apis.CloudRun.v1alpha1.cs | 2 +- .../Google.Apis.CloudRun.v1alpha1.csproj | 2 +- .../Google.Apis.CloudRun.v1beta1.cs | 2 +- .../Google.Apis.CloudRun.v1beta1.csproj | 2 +- .../Google.Apis.CloudRuntimeConfig.v1.cs | 6 +- .../Google.Apis.CloudRuntimeConfig.v1.csproj | 2 +- .../Google.Apis.CloudTasks.v2.cs | 2 +- .../Google.Apis.CloudTasks.v2.csproj | 2 +- .../Google.Apis.Dataproc.v1.cs | 12 +- .../Google.Apis.Dataproc.v1.csproj | 2 +- .../Google.Apis.Dataproc.v1beta2.cs | 12 +- .../Google.Apis.Dataproc.v1beta2.csproj | 2 +- .../Google.Apis.Dialogflow.v2.cs | 8178 +++++++++++++++++ .../Google.Apis.Dialogflow.v2.csproj} | 8 +- .../app.net40.config | 0 .../app.netstandard10.config | 0 .../Google.Apis.Discovery.v1.cs | 2 +- .../Google.Apis.DisplayVideo.v1.cs | 864 ++ .../Google.Apis.DisplayVideo.v1.csproj | 97 + .../app.net40.config | 23 + .../app.netstandard10.config | 95 + .../Google.Apis.Drive.v2.cs | 2 +- .../Google.Apis.Drive.v2.csproj | 2 +- .../Google.Apis.Drive.v3.cs | 2 +- .../Google.Apis.Drive.v3.csproj | 2 +- .../Google.Apis.DriveActivity.v2.cs | 2 +- .../Google.Apis.DriveActivity.v2.csproj | 2 +- .../Google.Apis.FactCheckTools.v1alpha1.cs | 2 +- ...Google.Apis.FactCheckTools.v1alpha1.csproj | 2 +- .../Google.Apis.FirebaseDynamicLinks.v1.cs | 2 +- ...Google.Apis.FirebaseDynamicLinks.v1.csproj | 2 +- .../Google.Apis.FirebaseManagement.v1beta1.cs | 2 +- ...gle.Apis.FirebaseManagement.v1beta1.csproj | 2 +- .../Google.Apis.FirebaseRules.v1.cs | 2 +- .../Google.Apis.FirebaseRules.v1.csproj | 2 +- .../Google.Apis.Fitness.v1.cs | 2 +- .../Google.Apis.Fitness.v1.csproj | 2 +- .../Google.Apis.Games.v1.cs | 2 +- .../Google.Apis.Games.v1.csproj | 2 +- ...oogle.Apis.GamesManagement.v1management.cs | 2 +- ...e.Apis.GamesManagement.v1management.csproj | 2 +- .../Google.Apis.Genomics.v1.cs | 6 +- .../Google.Apis.Genomics.v1.csproj | 2 +- .../Google.Apis.Genomics.v1alpha2.cs | 6 +- .../Google.Apis.Genomics.v1alpha2.csproj | 2 +- .../Google.Apis.Genomics.v2alpha1.cs | 2 +- .../Google.Apis.Genomics.v2alpha1.csproj | 2 +- .../Google.Apis.Libraryagent.v1.cs | 2 +- .../Google.Apis.Libraryagent.v1.csproj | 2 +- .../Google.Apis.Logging.v2.cs | 110 +- .../Google.Apis.Logging.v2.csproj | 2 +- ...rMicrosoftActiveDirectoryConsumerAPI.v1.cs | 2913 ++++++ ...rosoftActiveDirectoryConsumerAPI.v1.csproj | 97 + .../app.net40.config | 23 + .../app.netstandard10.config | 95 + ...softActiveDirectoryConsumerAPI.v1alpha1.cs | 2897 ++++++ ...ActiveDirectoryConsumerAPI.v1alpha1.csproj | 97 + .../app.net40.config | 23 + .../app.netstandard10.config | 95 + ...osoftActiveDirectoryConsumerAPI.v1beta1.cs | 2909 ++++++ ...tActiveDirectoryConsumerAPI.v1beta1.csproj | 97 + .../app.net40.config | 23 + .../app.netstandard10.config | 95 + .../Google.Apis.Oauth2.v2.cs | 77 +- .../Google.Apis.Oauth2.v2.csproj | 2 +- .../Google.Apis.PeopleService.v1.cs | 2 +- .../Google.Apis.PeopleService.v1.csproj | 2 +- .../Google.Apis.Pubsub.v1.cs | 189 +- .../Google.Apis.Pubsub.v1.csproj | 2 +- .../Google.Apis.Pubsub.v1beta1a.cs | 10 +- .../Google.Apis.Pubsub.v1beta1a.csproj | 2 +- .../Google.Apis.Pubsub.v1beta2.cs | 2 +- .../Google.Apis.Pubsub.v1beta2.csproj | 2 +- .../Google.Apis.Safebrowsing.v4.cs | 2 +- .../Google.Apis.Safebrowsing.v4.csproj | 2 +- .../Google.Apis.Script.v1.cs | 2 +- .../Google.Apis.Script.v1.csproj | 2 +- .../Google.Apis.SearchConsole.v1.cs | 2 +- .../Google.Apis.SearchConsole.v1.csproj | 2 +- .../Google.Apis.SecretManager.v1.cs | 2 +- .../Google.Apis.SecretManager.v1.csproj | 2 +- .../Google.Apis.SecretManager.v1beta1.cs | 2 +- .../Google.Apis.SecretManager.v1beta1.csproj | 2 +- ...oogle.Apis.ServiceConsumerManagement.v1.cs | 38 +- ...e.Apis.ServiceConsumerManagement.v1.csproj | 2 +- .../Google.Apis.ServiceControl.v1.cs | 2 +- .../Google.Apis.ServiceControl.v1.csproj | 2 +- .../Google.Apis.ServiceManagement.v1.cs | 4 +- .../Google.Apis.ServiceManagement.v1.csproj | 2 +- .../Google.Apis.ServiceNetworking.v1.cs | 38 +- .../Google.Apis.ServiceNetworking.v1.csproj | 2 +- .../Google.Apis.ServiceNetworking.v1beta.cs | 38 +- ...oogle.Apis.ServiceNetworking.v1beta.csproj | 2 +- .../Google.Apis.ServiceUsage.v1.cs | 38 +- .../Google.Apis.ServiceUsage.v1.csproj | 2 +- .../Google.Apis.ServiceUsage.v1beta1.cs | 38 +- .../Google.Apis.ServiceUsage.v1beta1.csproj | 2 +- .../Google.Apis.ShoppingContent.v2.cs | 33 +- .../Google.Apis.ShoppingContent.v2.csproj | 2 +- .../Google.Apis.ShoppingContent.v2_1.cs | 33 +- .../Google.Apis.ShoppingContent.v2_1.csproj | 2 +- .../Google.Apis.Spanner.v1.cs | 41 +- .../Google.Apis.Spanner.v1.csproj | 2 +- .../Google.Apis.Storagetransfer.v1.cs | 2 +- .../Google.Apis.Storagetransfer.v1.csproj | 2 +- .../Google.Apis.StreetViewPublish.v1.cs | 2 +- .../Google.Apis.StreetViewPublish.v1.csproj | 2 +- .../Google.Apis.TagManager.v1.cs | 2 +- .../Google.Apis.TagManager.v1.csproj | 2 +- .../Google.Apis.TagManager.v2.cs | 2 +- .../Google.Apis.TagManager.v2.csproj | 2 +- .../Google.Apis.ToolResults.v1.cs | 2 +- .../Google.Apis.ToolResults.v1.csproj | 2 +- .../Google.Apis.ToolResults.v1beta3.cs | 2 +- .../Google.Apis.ToolResults.v1beta3.csproj | 2 +- .../Google.Apis.YouTubeAnalytics.v1.cs | 2 +- .../Google.Apis.YouTubeAnalytics.v1.csproj | 2 +- .../Google.Apis.YouTubeAnalytics.v2.cs | 2 +- .../Google.Apis.YouTubeAnalytics.v2.csproj | 2 +- .../Google.Apis.YouTubeReporting.v1.cs | 2 +- .../Google.Apis.YouTubeReporting.v1.csproj | 2 +- 289 files changed, 30903 insertions(+), 3473 deletions(-) delete mode 100644 DiscoveryJson/blogger_v2.json create mode 100644 DiscoveryJson/dialogflow_v2.json create mode 100644 DiscoveryJson/displayvideo_v1.json create mode 100644 DiscoveryJson/managedidentities_v1.json create mode 100644 DiscoveryJson/managedidentities_v1alpha1.json create mode 100644 DiscoveryJson/managedidentities_v1beta1.json delete mode 100644 Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs create mode 100644 Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs rename Src/Generated/{Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj => Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj} (95%) rename Src/Generated/{Google.Apis.Blogger.v2 => Google.Apis.Dialogflow.v2}/app.net40.config (100%) rename Src/Generated/{Google.Apis.Blogger.v2 => Google.Apis.Dialogflow.v2}/app.netstandard10.config (100%) create mode 100644 Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs create mode 100644 Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj create mode 100644 Src/Generated/Google.Apis.DisplayVideo.v1/app.net40.config create mode 100644 Src/Generated/Google.Apis.DisplayVideo.v1/app.netstandard10.config create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.net40.config create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.netstandard10.config create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.net40.config create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.netstandard10.config create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.net40.config create mode 100644 Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.netstandard10.config diff --git a/DiscoveryJson/acceleratedmobilepageurl_v1.json b/DiscoveryJson/acceleratedmobilepageurl_v1.json index 607aebb63d1..bbd5c993c17 100644 --- a/DiscoveryJson/acceleratedmobilepageurl_v1.json +++ b/DiscoveryJson/acceleratedmobilepageurl_v1.json @@ -115,7 +115,7 @@ } } }, - "revision": "20200226", + "revision": "20200228", "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", "schemas": { "AmpUrl": { diff --git a/DiscoveryJson/accesscontextmanager_v1.json b/DiscoveryJson/accesscontextmanager_v1.json index bdfe1357871..e6f18a29447 100644 --- a/DiscoveryJson/accesscontextmanager_v1.json +++ b/DiscoveryJson/accesscontextmanager_v1.json @@ -414,7 +414,7 @@ ] }, "replaceAll": { - "description": "Replace all existing Access Levels in an Access\nPolicy with\nthe Access Levels provided. This\nis done within one transaction. The longrunning operation from this RPC\nwill have a successful status once all replacements have propagated to\nlong-lasting storage. Replacements containing errors will result in an\nerror response for the first error encountered and the transaction will be\ncancelled. Operation.response field will contain\nReplaceAccessLevelsResponse. Removing Access Levels contained in existing\nService Perimeters will result in\nerror.", + "description": "Replace all existing Access Levels in an Access\nPolicy with\nthe Access Levels provided. This\nis done atomically. The longrunning operation from this RPC will have a\nsuccessful status once all replacements have propagated to long-lasting\nstorage. Replacements containing errors will result in an error response\nfor the first error encountered. Replacement will be cancelled on error,\nexisting Access Levels will not be\naffected. Operation.response field will contain\nReplaceAccessLevelsResponse. Removing Access Levels contained in existing\nService Perimeters will result in\nerror.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/accessLevels:replaceAll", "httpMethod": "POST", "id": "accesscontextmanager.accessPolicies.accessLevels.replaceAll", @@ -622,7 +622,7 @@ ] }, "replaceAll": { - "description": "Replace all existing Service Perimeters in an\nAccess Policy\nwith the Service Perimeters provided.\nThis is done within one transaction. The longrunning operation from this\nRPC will have a successful status once all replacements have propagated to\nlong-lasting storage. Replacements containing errors will result in an\nerror response for the first error encountered and the transaction will be\ncancelled. Operation.response field will contain\nReplaceServicePerimetersResponse.", + "description": "Replace all existing Service Perimeters in an\nAccess Policy\nwith the Service Perimeters provided.\nThis is done atomically. The longrunning operation from this\nRPC will have a successful status once all replacements have propagated to\nlong-lasting storage. Replacements containing errors will result in an\nerror response for the first error encountered. Replacement will be\ncancelled on error, existing Service Perimeters will not be\naffected. Operation.response field will contain\nReplaceServicePerimetersResponse.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/servicePerimeters:replaceAll", "httpMethod": "POST", "id": "accesscontextmanager.accessPolicies.servicePerimeters.replaceAll", @@ -777,7 +777,7 @@ } } }, - "revision": "20200215", + "revision": "20200224", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessLevel": { @@ -1195,7 +1195,7 @@ "type": "object" }, "ReplaceAccessLevelsRequest": { - "description": "A request to replace all existing Access Levels in an Access Policy with\nthe Access Levels provided. This is done within one transaction.", + "description": "A request to replace all existing Access Levels in an Access Policy with\nthe Access Levels provided. This is done atomically.", "id": "ReplaceAccessLevelsRequest", "properties": { "accessLevels": { @@ -1227,7 +1227,7 @@ "type": "object" }, "ReplaceServicePerimetersRequest": { - "description": "A request to replace all existing Service Perimeters in an Access Policy\nwith the Service Perimeters provided. This is done within one transaction.", + "description": "A request to replace all existing Service Perimeters in an Access Policy\nwith the Service Perimeters provided. This is done atomically.", "id": "ReplaceServicePerimetersRequest", "properties": { "etag": { @@ -1338,7 +1338,7 @@ }, "vpcAccessibleServices": { "$ref": "VpcAccessibleServices", - "description": "Configuration for within Perimeter allowed APIs." + "description": "Configuration for APIs allowed within Perimeter." } }, "type": "object" diff --git a/DiscoveryJson/accesscontextmanager_v1beta.json b/DiscoveryJson/accesscontextmanager_v1beta.json index 3c3c098a50a..694053a68ab 100644 --- a/DiscoveryJson/accesscontextmanager_v1beta.json +++ b/DiscoveryJson/accesscontextmanager_v1beta.json @@ -599,7 +599,7 @@ } } }, - "revision": "20200215", + "revision": "20200224", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessLevel": { @@ -1040,11 +1040,7 @@ }, "vpcAccessibleServices": { "$ref": "VpcAccessibleServices", - "description": "Beta. Configuration for within Perimeter allowed APIs." - }, - "vpcServiceRestriction": { - "$ref": "VpcServiceRestriction", - "description": "Alpha. Configuration for within Perimeter allowed APIs.\nDeprecated. The field had been renamed to vpc_accessible_services" + "description": "Beta. Configuration for APIs allowed within Perimeter." } }, "type": "object" @@ -1093,24 +1089,6 @@ } }, "type": "object" - }, - "VpcServiceRestriction": { - "description": "Alpha. Specifies how APIs are allowed to communicate within the Service\nPerimeter.\nThis message is DEPRECATED and had been renamed to VpcAccessibleServices", - "id": "VpcServiceRestriction", - "properties": { - "allowedServices": { - "description": "The list of APIs usable within the Service Perimeter. Must be empty\nunless 'enable_restriction' is True.", - "items": { - "type": "string" - }, - "type": "array" - }, - "enableRestriction": { - "description": "Whether to restrict API calls within the Service Perimeter to the list of\nAPIs specified in 'allowed_services'.", - "type": "boolean" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/adexchangebuyer2_v2beta1.json b/DiscoveryJson/adexchangebuyer2_v2beta1.json index 0029f384cee..6de8c7a28ec 100644 --- a/DiscoveryJson/adexchangebuyer2_v2beta1.json +++ b/DiscoveryJson/adexchangebuyer2_v2beta1.json @@ -2486,7 +2486,7 @@ } } }, - "revision": "20200226", + "revision": "20200227", "rootUrl": "https://adexchangebuyer.googleapis.com/", "schemas": { "AbsoluteDateRange": { diff --git a/DiscoveryJson/admob_v1.json b/DiscoveryJson/admob_v1.json index 15a24c3bf6d..20daf9e707b 100644 --- a/DiscoveryJson/admob_v1.json +++ b/DiscoveryJson/admob_v1.json @@ -207,7 +207,7 @@ } } }, - "revision": "20200226", + "revision": "20200227", "rootUrl": "https://admob.googleapis.com/", "schemas": { "Date": { diff --git a/DiscoveryJson/adsense_v1.4.json b/DiscoveryJson/adsense_v1.4.json index a78617d5ad9..a756b10f3ef 100644 --- a/DiscoveryJson/adsense_v1.4.json +++ b/DiscoveryJson/adsense_v1.4.json @@ -18,7 +18,7 @@ "description": "Accesses AdSense publishers' inventory and generates performance reports.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/adsense/management/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/m4u1NtWlnXz9bha-jyAhJ_LykA4\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/XqR8mbMd9b0ZKn-AAdneK_FKuDM\"", "icons": { "x16": "https://www.google.com/images/icons/product/adsense-16.png", "x32": "https://www.google.com/images/icons/product/adsense-32.png" @@ -1655,7 +1655,7 @@ } } }, - "revision": "20200220", + "revision": "20200226", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { diff --git a/DiscoveryJson/adsensehost_v4.1.json b/DiscoveryJson/adsensehost_v4.1.json index 0df9c6f2e3d..63e66b13281 100644 --- a/DiscoveryJson/adsensehost_v4.1.json +++ b/DiscoveryJson/adsensehost_v4.1.json @@ -15,7 +15,7 @@ "description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/adsense/host/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/hGrf-kzOlQpoJbBLUf1stEqrnFI\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/KqlDhwP19oyV26Cmuzhd5tdcpHc\"", "icons": { "x16": "https://www.google.com/images/icons/product/adsense-16.png", "x32": "https://www.google.com/images/icons/product/adsense-32.png" @@ -1072,7 +1072,7 @@ } } }, - "revision": "20200220", + "revision": "20200226", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { diff --git a/DiscoveryJson/androiddeviceprovisioning_v1.json b/DiscoveryJson/androiddeviceprovisioning_v1.json index 9bb34f54464..0507f133940 100644 --- a/DiscoveryJson/androiddeviceprovisioning_v1.json +++ b/DiscoveryJson/androiddeviceprovisioning_v1.json @@ -825,7 +825,7 @@ } } }, - "revision": "20200225", + "revision": "20200226", "rootUrl": "https://androiddeviceprovisioning.googleapis.com/", "schemas": { "ClaimDeviceRequest": { diff --git a/DiscoveryJson/androidpublisher_v1.1.json b/DiscoveryJson/androidpublisher_v1.1.json index eaa3acd0041..4fa68a8ef46 100644 --- a/DiscoveryJson/androidpublisher_v1.1.json +++ b/DiscoveryJson/androidpublisher_v1.1.json @@ -15,7 +15,7 @@ "description": "Accesses Android application developers' Google Play accounts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/8b4y8Ea61MKp7ZanPSAr4qFxeEM\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/CrOfuaXT8Tatd5YKje1snNPOQ2o\"", "icons": { "x16": "https://www.google.com/images/icons/product/android-16.png", "x32": "https://www.google.com/images/icons/product/android-32.png" @@ -189,7 +189,7 @@ } } }, - "revision": "20200223", + "revision": "20200225", "rootUrl": "https://www.googleapis.com/", "schemas": { "InappPurchase": { diff --git a/DiscoveryJson/androidpublisher_v1.json b/DiscoveryJson/androidpublisher_v1.json index 208b425ee30..5912591ef1e 100644 --- a/DiscoveryJson/androidpublisher_v1.json +++ b/DiscoveryJson/androidpublisher_v1.json @@ -15,7 +15,7 @@ "description": "Accesses Android application developers' Google Play accounts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/FJ_iOopgvdN0m34z1eblcJHVLuE\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/te_0dy-8xZ1PeMQd2mDAFl5T9Zo\"", "icons": { "x16": "https://www.google.com/images/icons/product/android-16.png", "x32": "https://www.google.com/images/icons/product/android-32.png" @@ -148,7 +148,7 @@ } } }, - "revision": "20200223", + "revision": "20200225", "rootUrl": "https://www.googleapis.com/", "schemas": { "SubscriptionPurchase": { diff --git a/DiscoveryJson/androidpublisher_v2.json b/DiscoveryJson/androidpublisher_v2.json index b693335f544..e12eae2d3b7 100644 --- a/DiscoveryJson/androidpublisher_v2.json +++ b/DiscoveryJson/androidpublisher_v2.json @@ -15,7 +15,7 @@ "description": "Accesses Android application developers' Google Play accounts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/yYIrwL4rhy_5BYI52USwBstyaYI\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/cm3nLWxyVWxBGCjugwWHRuPbiFM\"", "icons": { "x16": "https://www.google.com/images/icons/product/android-16.png", "x32": "https://www.google.com/images/icons/product/android-32.png" @@ -2483,7 +2483,7 @@ } } }, - "revision": "20200223", + "revision": "20200225", "rootUrl": "https://www.googleapis.com/", "schemas": { "Apk": { diff --git a/DiscoveryJson/androidpublisher_v3.json b/DiscoveryJson/androidpublisher_v3.json index b95e48ad934..be2a28a8434 100644 --- a/DiscoveryJson/androidpublisher_v3.json +++ b/DiscoveryJson/androidpublisher_v3.json @@ -15,7 +15,7 @@ "description": "Accesses Android application developers' Google Play accounts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/BD94sc-dTZbQlj3kncdlRya8SqE\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/qqvNQGpFH4_RvFW_S-wzJk0gfkE\"", "icons": { "x16": "https://www.google.com/images/icons/product/android-16.png", "x32": "https://www.google.com/images/icons/product/android-32.png" @@ -2553,7 +2553,7 @@ } } }, - "revision": "20200223", + "revision": "20200225", "rootUrl": "https://www.googleapis.com/", "schemas": { "Apk": { diff --git a/DiscoveryJson/appsactivity_v1.json b/DiscoveryJson/appsactivity_v1.json index 076e2b14a7c..3b8c020802a 100644 --- a/DiscoveryJson/appsactivity_v1.json +++ b/DiscoveryJson/appsactivity_v1.json @@ -14,7 +14,7 @@ "description": "Provides a historical view of activity.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/activity/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/GZI9U1DGm3hOnez5X4zxHhk2G10\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/Hz3a7-nWwWBB1z7s3ucKUIu6JVw\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -137,7 +137,7 @@ } } }, - "revision": "20200218", + "revision": "20200223", "rootUrl": "https://www.googleapis.com/", "schemas": { "Activity": { diff --git a/DiscoveryJson/bigquery_v2.json b/DiscoveryJson/bigquery_v2.json index bda69623fd2..a07e208fc85 100644 --- a/DiscoveryJson/bigquery_v2.json +++ b/DiscoveryJson/bigquery_v2.json @@ -1428,7 +1428,7 @@ } } }, - "revision": "20200206", + "revision": "20200219", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { diff --git a/DiscoveryJson/bigqueryconnection_v1beta1.json b/DiscoveryJson/bigqueryconnection_v1beta1.json index 0e6b7ee288b..c4584bf4bef 100644 --- a/DiscoveryJson/bigqueryconnection_v1beta1.json +++ b/DiscoveryJson/bigqueryconnection_v1beta1.json @@ -394,7 +394,7 @@ } } }, - "revision": "20200206", + "revision": "20200220", "rootUrl": "https://bigqueryconnection.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/DiscoveryJson/binaryauthorization_v1.json b/DiscoveryJson/binaryauthorization_v1.json index a51e2f020c3..31b1b90f0fd 100644 --- a/DiscoveryJson/binaryauthorization_v1.json +++ b/DiscoveryJson/binaryauthorization_v1.json @@ -22,6 +22,7 @@ }, "id": "binaryauthorization:v1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://binaryauthorization.mtls.googleapis.com/", "name": "binaryauthorization", "ownerDomain": "google.com", "ownerName": "Google", @@ -493,7 +494,7 @@ } } }, - "revision": "20200214", + "revision": "20200221", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { diff --git a/DiscoveryJson/binaryauthorization_v1beta1.json b/DiscoveryJson/binaryauthorization_v1beta1.json index 60b8435bc0d..18b2b6fb933 100644 --- a/DiscoveryJson/binaryauthorization_v1beta1.json +++ b/DiscoveryJson/binaryauthorization_v1beta1.json @@ -22,6 +22,7 @@ }, "id": "binaryauthorization:v1beta1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://binaryauthorization.mtls.googleapis.com/", "name": "binaryauthorization", "ownerDomain": "google.com", "ownerName": "Google", @@ -493,7 +494,7 @@ } } }, - "revision": "20200214", + "revision": "20200221", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { diff --git a/DiscoveryJson/blogger_v2.json b/DiscoveryJson/blogger_v2.json deleted file mode 100644 index d2b0c31391c..00000000000 --- a/DiscoveryJson/blogger_v2.json +++ /dev/null @@ -1,923 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/blogger": { - "description": "Manage your Blogger account" - } - } - } - }, - "basePath": "/blogger/v2/", - "baseUrl": "https://www.googleapis.com/blogger/v2/", - "batchPath": "batch/blogger/v2", - "description": "API for access to the data within Blogger.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/blogger/docs/2.0/json/getting_started", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/5n8J-SrfC_3u-tnboDRXTbXXKhw\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/blogger-16.png", - "x32": "https://www.google.com/images/icons/product/blogger-32.png" - }, - "id": "blogger:v2", - "kind": "discovery#restDescription", - "labels": [ - "limited_availability" - ], - "name": "blogger", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "blogs": { - "methods": { - "get": { - "description": "Gets one blog by id.", - "httpMethod": "GET", - "id": "blogger.blogs.get", - "parameterOrder": [ - "blogId" - ], - "parameters": { - "blogId": { - "description": "The ID of the blog to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "blogs/{blogId}", - "response": { - "$ref": "Blog" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - } - } - }, - "comments": { - "methods": { - "get": { - "description": "Gets one comment by id.", - "httpMethod": "GET", - "id": "blogger.comments.get", - "parameterOrder": [ - "blogId", - "postId", - "commentId" - ], - "parameters": { - "blogId": { - "description": "ID of the blog to containing the comment.", - "location": "path", - "required": true, - "type": "string" - }, - "commentId": { - "description": "The ID of the comment to get.", - "location": "path", - "required": true, - "type": "string" - }, - "postId": { - "description": "ID of the post to fetch posts from.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}", - "response": { - "$ref": "Comment" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - }, - "list": { - "description": "Retrieves the comments for a blog, possibly filtered.", - "httpMethod": "GET", - "id": "blogger.comments.list", - "parameterOrder": [ - "blogId", - "postId" - ], - "parameters": { - "blogId": { - "description": "ID of the blog to fetch comments from.", - "location": "path", - "required": true, - "type": "string" - }, - "fetchBodies": { - "description": "Whether the body content of the comments is included.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "Maximum number of comments to include in the result.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Continuation token if request is paged.", - "location": "query", - "type": "string" - }, - "postId": { - "description": "ID of the post to fetch posts from.", - "location": "path", - "required": true, - "type": "string" - }, - "startDate": { - "description": "Earliest date of comment to fetch, a date-time with RFC 3339 formatting.", - "format": "date-time", - "location": "query", - "type": "string" - } - }, - "path": "blogs/{blogId}/posts/{postId}/comments", - "response": { - "$ref": "CommentList" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - } - } - }, - "pages": { - "methods": { - "get": { - "description": "Gets one blog page by id.", - "httpMethod": "GET", - "id": "blogger.pages.get", - "parameterOrder": [ - "blogId", - "pageId" - ], - "parameters": { - "blogId": { - "description": "ID of the blog containing the page.", - "location": "path", - "required": true, - "type": "string" - }, - "pageId": { - "description": "The ID of the page to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "blogs/{blogId}/pages/{pageId}", - "response": { - "$ref": "Page" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - }, - "list": { - "description": "Retrieves pages for a blog, possibly filtered.", - "httpMethod": "GET", - "id": "blogger.pages.list", - "parameterOrder": [ - "blogId" - ], - "parameters": { - "blogId": { - "description": "ID of the blog to fetch pages from.", - "location": "path", - "required": true, - "type": "string" - }, - "fetchBodies": { - "description": "Whether to retrieve the Page bodies.", - "location": "query", - "type": "boolean" - } - }, - "path": "blogs/{blogId}/pages", - "response": { - "$ref": "PageList" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - } - } - }, - "posts": { - "methods": { - "get": { - "description": "Get a post by id.", - "httpMethod": "GET", - "id": "blogger.posts.get", - "parameterOrder": [ - "blogId", - "postId" - ], - "parameters": { - "blogId": { - "description": "ID of the blog to fetch the post from.", - "location": "path", - "required": true, - "type": "string" - }, - "postId": { - "description": "The ID of the post", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "blogs/{blogId}/posts/{postId}", - "response": { - "$ref": "Post" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - }, - "list": { - "description": "Retrieves a list of posts, possibly filtered.", - "httpMethod": "GET", - "id": "blogger.posts.list", - "parameterOrder": [ - "blogId" - ], - "parameters": { - "blogId": { - "description": "ID of the blog to fetch posts from.", - "location": "path", - "required": true, - "type": "string" - }, - "fetchBodies": { - "description": "Whether the body content of posts is included.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "Maximum number of posts to fetch.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Continuation token if the request is paged.", - "location": "query", - "type": "string" - }, - "startDate": { - "description": "Earliest post date to fetch, a date-time with RFC 3339 formatting.", - "format": "date-time", - "location": "query", - "type": "string" - } - }, - "path": "blogs/{blogId}/posts", - "response": { - "$ref": "PostList" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - } - } - }, - "users": { - "methods": { - "get": { - "description": "Gets one user by id.", - "httpMethod": "GET", - "id": "blogger.users.get", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "The ID of the user to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "users/{userId}", - "response": { - "$ref": "User" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - } - }, - "resources": { - "blogs": { - "methods": { - "list": { - "description": "Retrieves a list of blogs, possibly filtered.", - "httpMethod": "GET", - "id": "blogger.users.blogs.list", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "users/{userId}/blogs", - "response": { - "$ref": "BlogList" - }, - "scopes": [ - "https://www.googleapis.com/auth/blogger" - ] - } - } - } - } - } - }, - "revision": "20200204", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Blog": { - "id": "Blog", - "properties": { - "description": { - "description": "The description of this blog. This is displayed underneath the title.", - "type": "string" - }, - "id": { - "description": "The identifier for this resource.", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "blogger#blog", - "description": "The kind of this entry. Always blogger#blog", - "type": "string" - }, - "locale": { - "description": "The locale this Blog is set to.", - "properties": { - "country": { - "description": "The country this blog's locale is set to.", - "type": "string" - }, - "language": { - "description": "The language this blog is authored in.", - "type": "string" - }, - "variant": { - "description": "The language variant this blog is authored in.", - "type": "string" - } - }, - "type": "object" - }, - "name": { - "description": "The name of this blog. This is displayed as the title.", - "type": "string" - }, - "pages": { - "description": "The container of pages in this blog.", - "properties": { - "selfLink": { - "description": "The URL of the container for pages in this blog.", - "type": "string" - }, - "totalItems": { - "description": "The count of pages in this blog.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "posts": { - "description": "The container of posts in this blog.", - "properties": { - "selfLink": { - "description": "The URL of the container for posts in this blog.", - "type": "string" - }, - "totalItems": { - "description": "The count of posts in this blog.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "published": { - "description": "RFC 3339 date-time when this blog was published.", - "format": "date-time", - "type": "string" - }, - "selfLink": { - "description": "The API REST URL to fetch this resource from.", - "type": "string" - }, - "updated": { - "description": "RFC 3339 date-time when this blog was last updated.", - "format": "date-time", - "type": "string" - }, - "url": { - "description": "The URL where this blog is published.", - "type": "string" - } - }, - "type": "object" - }, - "BlogList": { - "id": "BlogList", - "properties": { - "items": { - "description": "The list of Blogs this user has Authorship or Admin rights over.", - "items": { - "$ref": "Blog" - }, - "type": "array" - }, - "kind": { - "default": "blogger#blogList", - "description": "The kind of this entity. Always blogger#blogList", - "type": "string" - } - }, - "type": "object" - }, - "Comment": { - "id": "Comment", - "properties": { - "author": { - "description": "The author of this Comment.", - "properties": { - "displayName": { - "description": "The display name.", - "type": "string" - }, - "id": { - "description": "The identifier of the Comment creator.", - "type": "string" - }, - "image": { - "description": "The comment creator's avatar.", - "properties": { - "url": { - "description": "The comment creator's avatar URL.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "The URL of the Comment creator's Profile page.", - "type": "string" - } - }, - "type": "object" - }, - "blog": { - "description": "Data about the blog containing this comment.", - "properties": { - "id": { - "description": "The identifier of the blog containing this comment.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "content": { - "description": "The actual content of the comment. May include HTML markup.", - "type": "string" - }, - "id": { - "description": "The identifier for this resource.", - "format": "int64", - "type": "string" - }, - "inReplyTo": { - "description": "Data about the comment this is in reply to.", - "properties": { - "id": { - "description": "The identified of the parent of this comment.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "kind": { - "default": "blogger#comment", - "description": "The kind of this entry. Always blogger#comment", - "type": "string" - }, - "post": { - "description": "Data about the post containing this comment.", - "properties": { - "id": { - "description": "The identifier of the post containing this comment.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "published": { - "description": "RFC 3339 date-time when this comment was published.", - "format": "date-time", - "type": "string" - }, - "selfLink": { - "description": "The API REST URL to fetch this resource from.", - "type": "string" - }, - "updated": { - "description": "RFC 3339 date-time when this comment was last updated.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "CommentList": { - "id": "CommentList", - "properties": { - "items": { - "description": "The List of Comments for a Post.", - "items": { - "$ref": "Comment" - }, - "type": "array" - }, - "kind": { - "default": "blogger#commentList", - "description": "The kind of this entry. Always blogger#commentList", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to fetch the next page, if one exists.", - "type": "string" - }, - "prevPageToken": { - "description": "Pagination token to fetch the previous page, if one exists.", - "type": "string" - } - }, - "type": "object" - }, - "Page": { - "id": "Page", - "properties": { - "author": { - "description": "The author of this Page.", - "properties": { - "displayName": { - "description": "The display name.", - "type": "string" - }, - "id": { - "description": "The identifier of the Page creator.", - "type": "string" - }, - "image": { - "description": "The page author's avatar.", - "properties": { - "url": { - "description": "The page author's avatar URL.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "The URL of the Page creator's Profile page.", - "type": "string" - } - }, - "type": "object" - }, - "blog": { - "description": "Data about the blog containing this Page.", - "properties": { - "id": { - "description": "The identifier of the blog containing this page.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "content": { - "description": "The body content of this Page, in HTML.", - "type": "string" - }, - "id": { - "description": "The identifier for this resource.", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "blogger#page", - "description": "The kind of this entity. Always blogger#page", - "type": "string" - }, - "published": { - "description": "RFC 3339 date-time when this Page was published.", - "format": "date-time", - "type": "string" - }, - "selfLink": { - "description": "The API REST URL to fetch this resource from.", - "type": "string" - }, - "title": { - "description": "The title of this entity. This is the name displayed in the Admin user interface.", - "type": "string" - }, - "updated": { - "description": "RFC 3339 date-time when this Page was last updated.", - "format": "date-time", - "type": "string" - }, - "url": { - "description": "The URL that this Page is displayed at.", - "type": "string" - } - }, - "type": "object" - }, - "PageList": { - "id": "PageList", - "properties": { - "items": { - "description": "The list of Pages for a Blog.", - "items": { - "$ref": "Page" - }, - "type": "array" - }, - "kind": { - "default": "blogger#pageList", - "description": "The kind of this entity. Always blogger#pageList", - "type": "string" - } - }, - "type": "object" - }, - "Post": { - "id": "Post", - "properties": { - "author": { - "description": "The author of this Post.", - "properties": { - "displayName": { - "description": "The display name.", - "type": "string" - }, - "id": { - "description": "The identifier of the Post creator.", - "type": "string" - }, - "image": { - "description": "The Post author's avatar.", - "properties": { - "url": { - "description": "The Post author's avatar URL.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "The URL of the Post creator's Profile page.", - "type": "string" - } - }, - "type": "object" - }, - "blog": { - "description": "Data about the blog containing this Post.", - "properties": { - "id": { - "description": "The identifier of the Blog that contains this Post.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "content": { - "description": "The content of the Post. May contain HTML markup.", - "type": "string" - }, - "id": { - "description": "The identifier of this Post.", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "blogger#post", - "description": "The kind of this entity. Always blogger#post", - "type": "string" - }, - "labels": { - "description": "The list of labels this Post was tagged with.", - "items": { - "type": "string" - }, - "type": "array" - }, - "published": { - "description": "RFC 3339 date-time when this Post was published.", - "format": "date-time", - "type": "string" - }, - "replies": { - "description": "The container of comments on this Post.", - "properties": { - "selfLink": { - "description": "The URL of the comments on this post.", - "type": "string" - }, - "totalItems": { - "description": "The count of comments on this post.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "selfLink": { - "description": "The API REST URL to fetch this resource from.", - "type": "string" - }, - "title": { - "description": "The title of the Post.", - "type": "string" - }, - "updated": { - "description": "RFC 3339 date-time when this Post was last updated.", - "format": "date-time", - "type": "string" - }, - "url": { - "description": "The URL where this Post is displayed.", - "type": "string" - } - }, - "type": "object" - }, - "PostList": { - "id": "PostList", - "properties": { - "items": { - "description": "The list of Posts for this Blog.", - "items": { - "$ref": "Post" - }, - "type": "array" - }, - "kind": { - "default": "blogger#postList", - "description": "The kind of this entity. Always blogger#postList", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to fetch the next page, if one exists.", - "type": "string" - }, - "prevPageToken": { - "description": "Pagination token to fetch the previous page, if one exists.", - "type": "string" - } - }, - "type": "object" - }, - "User": { - "id": "User", - "properties": { - "about": { - "description": "Profile summary information.", - "type": "string" - }, - "blogs": { - "description": "The container of blogs for this user.", - "properties": { - "selfLink": { - "description": "The URL of the Blogs for this user.", - "type": "string" - } - }, - "type": "object" - }, - "created": { - "description": "The timestamp of when this profile was created, in seconds since epoch.", - "format": "date-time", - "type": "string" - }, - "displayName": { - "description": "The display name.", - "type": "string" - }, - "id": { - "description": "The identifier for this User.", - "type": "string" - }, - "kind": { - "default": "blogger#user", - "description": "The kind of this entity. Always blogger#user", - "type": "string" - }, - "locale": { - "description": "This user's locale", - "properties": { - "country": { - "description": "The user's country setting.", - "type": "string" - }, - "language": { - "description": "The user's language setting.", - "type": "string" - }, - "variant": { - "description": "The user's language variant setting.", - "type": "string" - } - }, - "type": "object" - }, - "selfLink": { - "description": "The API REST URL to fetch this resource from.", - "type": "string" - }, - "url": { - "description": "The user's profile page.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "blogger/v2/", - "title": "Blogger API", - "version": "v2" -} \ No newline at end of file diff --git a/DiscoveryJson/classroom_v1.json b/DiscoveryJson/classroom_v1.json index 0e199317774..570e9056707 100644 --- a/DiscoveryJson/classroom_v1.json +++ b/DiscoveryJson/classroom_v1.json @@ -2152,7 +2152,7 @@ } } }, - "revision": "20200224", + "revision": "20200225", "rootUrl": "https://classroom.googleapis.com/", "schemas": { "Announcement": { diff --git a/DiscoveryJson/cloudasset_v1.json b/DiscoveryJson/cloudasset_v1.json index 250baceb948..661297d097c 100644 --- a/DiscoveryJson/cloudasset_v1.json +++ b/DiscoveryJson/cloudasset_v1.json @@ -22,6 +22,7 @@ }, "id": "cloudasset:v1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", "name": "cloudasset", "ownerDomain": "google.com", "ownerName": "Google", @@ -253,7 +254,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^[^/]+/[^/]+/operations/[^/]+/.+$", + "pattern": "^[^/]+/[^/]+/operations/[^/]+/.*$", "required": true, "type": "string" } @@ -356,7 +357,7 @@ } } }, - "revision": "20200219", + "revision": "20200221", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "Asset": { diff --git a/DiscoveryJson/cloudasset_v1beta1.json b/DiscoveryJson/cloudasset_v1beta1.json index 2b927ec35fc..924a57fee4a 100644 --- a/DiscoveryJson/cloudasset_v1beta1.json +++ b/DiscoveryJson/cloudasset_v1beta1.json @@ -22,6 +22,7 @@ }, "id": "cloudasset:v1beta1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", "name": "cloudasset", "ownerDomain": "google.com", "ownerName": "Google", @@ -150,7 +151,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^folders/[^/]+/operations/[^/]+/.+$", + "pattern": "^folders/[^/]+/operations/[^/]+/.*$", "required": true, "type": "string" } @@ -266,7 +267,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+/.+$", + "pattern": "^organizations/[^/]+/operations/[^/]+/.*$", "required": true, "type": "string" } @@ -382,7 +383,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+/.+$", + "pattern": "^projects/[^/]+/operations/[^/]+/.*$", "required": true, "type": "string" } @@ -400,7 +401,7 @@ } } }, - "revision": "20200219", + "revision": "20200221", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "Asset": { diff --git a/DiscoveryJson/clouddebugger_v2.json b/DiscoveryJson/clouddebugger_v2.json index fd922cedc17..4442262661f 100644 --- a/DiscoveryJson/clouddebugger_v2.json +++ b/DiscoveryJson/clouddebugger_v2.json @@ -25,6 +25,7 @@ }, "id": "clouddebugger:v2", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://clouddebugger.mtls.googleapis.com/", "name": "clouddebugger", "ownerDomain": "google.com", "ownerName": "Google", @@ -423,7 +424,7 @@ } } }, - "revision": "20200214", + "revision": "20200221", "rootUrl": "https://clouddebugger.googleapis.com/", "schemas": { "AliasContext": { diff --git a/DiscoveryJson/cloudfunctions_v1.json b/DiscoveryJson/cloudfunctions_v1.json index 0b91fd2c00d..674715d6b88 100644 --- a/DiscoveryJson/cloudfunctions_v1.json +++ b/DiscoveryJson/cloudfunctions_v1.json @@ -22,6 +22,7 @@ }, "id": "cloudfunctions:v1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudfunctions.mtls.googleapis.com/", "name": "cloudfunctions", "ownerDomain": "google.com", "ownerName": "Google", @@ -545,7 +546,7 @@ } } }, - "revision": "20200213", + "revision": "20200219", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/DiscoveryJson/cloudfunctions_v1beta2.json b/DiscoveryJson/cloudfunctions_v1beta2.json index cb69590ae35..a543878d745 100644 --- a/DiscoveryJson/cloudfunctions_v1beta2.json +++ b/DiscoveryJson/cloudfunctions_v1beta2.json @@ -22,6 +22,7 @@ }, "id": "cloudfunctions:v1beta2", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudfunctions.mtls.googleapis.com/", "name": "cloudfunctions", "ownerDomain": "google.com", "ownerName": "Google", @@ -452,7 +453,7 @@ } } }, - "revision": "20200213", + "revision": "20200219", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "CallFunctionRequest": { diff --git a/DiscoveryJson/cloudidentity_v1.json b/DiscoveryJson/cloudidentity_v1.json index bb247ee7aae..b5fe7778e0b 100644 --- a/DiscoveryJson/cloudidentity_v1.json +++ b/DiscoveryJson/cloudidentity_v1.json @@ -512,7 +512,7 @@ } } }, - "revision": "20200224", + "revision": "20200225", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AndroidAttributes": { diff --git a/DiscoveryJson/cloudidentity_v1beta1.json b/DiscoveryJson/cloudidentity_v1beta1.json index 3f106e8cc4f..f0656edfd61 100644 --- a/DiscoveryJson/cloudidentity_v1beta1.json +++ b/DiscoveryJson/cloudidentity_v1beta1.json @@ -550,7 +550,7 @@ } } }, - "revision": "20200224", + "revision": "20200225", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "EntityKey": { diff --git a/DiscoveryJson/cloudiot_v1.json b/DiscoveryJson/cloudiot_v1.json index b620e3a9cfe..b9febaad3e4 100644 --- a/DiscoveryJson/cloudiot_v1.json +++ b/DiscoveryJson/cloudiot_v1.json @@ -25,6 +25,7 @@ }, "id": "cloudiot:v1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudiot.mtls.googleapis.com/", "name": "cloudiot", "ownerDomain": "google.com", "ownerName": "Google", @@ -927,7 +928,7 @@ } } }, - "revision": "20200212", + "revision": "20200220", "rootUrl": "https://cloudiot.googleapis.com/", "schemas": { "BindDeviceToGatewayRequest": { diff --git a/DiscoveryJson/cloudprofiler_v2.json b/DiscoveryJson/cloudprofiler_v2.json index 536b494ee01..ecfdc0c0847 100644 --- a/DiscoveryJson/cloudprofiler_v2.json +++ b/DiscoveryJson/cloudprofiler_v2.json @@ -216,7 +216,7 @@ } } }, - "revision": "20200210", + "revision": "20200224", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": { diff --git a/DiscoveryJson/cloudtasks_v2.json b/DiscoveryJson/cloudtasks_v2.json index 722dfb9d5e9..e33addf0707 100644 --- a/DiscoveryJson/cloudtasks_v2.json +++ b/DiscoveryJson/cloudtasks_v2.json @@ -22,6 +22,7 @@ }, "id": "cloudtasks:v2", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudtasks.mtls.googleapis.com/", "name": "cloudtasks", "ownerDomain": "google.com", "ownerName": "Google", @@ -674,7 +675,7 @@ } } }, - "revision": "20200201", + "revision": "20200210", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": { diff --git a/DiscoveryJson/composer_v1.json b/DiscoveryJson/composer_v1.json index ee09ffa279f..12b2b6a617b 100644 --- a/DiscoveryJson/composer_v1.json +++ b/DiscoveryJson/composer_v1.json @@ -400,7 +400,7 @@ } } }, - "revision": "20200219", + "revision": "20200226", "rootUrl": "https://composer.googleapis.com/", "schemas": { "Empty": { diff --git a/DiscoveryJson/composer_v1beta1.json b/DiscoveryJson/composer_v1beta1.json index bbc638ead0f..617277e56cb 100644 --- a/DiscoveryJson/composer_v1beta1.json +++ b/DiscoveryJson/composer_v1beta1.json @@ -400,7 +400,7 @@ } } }, - "revision": "20200219", + "revision": "20200226", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AllowedIpRange": { diff --git a/DiscoveryJson/content_v2.1.json b/DiscoveryJson/content_v2.1.json index 541824c3e16..bc58b52b961 100644 --- a/DiscoveryJson/content_v2.1.json +++ b/DiscoveryJson/content_v2.1.json @@ -15,7 +15,7 @@ "description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/shopping-content", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/RSVbnqswQuYPsAsSBqbr1pb9V0A\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/jsas8bLNaSH3hHj4JQAHY8a_-DI\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -3233,7 +3233,7 @@ } } }, - "revision": "20200205", + "revision": "20200219", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { @@ -4225,9 +4225,11 @@ "id": "CustomerReturnReason", "properties": { "description": { + "description": "Description of the reason.", "type": "string" }, "reasonCode": { + "description": "Code of the return reason.", "type": "string" } }, @@ -5432,27 +5434,34 @@ "type": "object" }, "MerchantOrderReturn": { + "description": "Order return. Production access (all methods) requires the order manager role. Sandbox access does not.", "id": "MerchantOrderReturn", "properties": { "creationDate": { + "description": "The date of creation of the return, in ISO 8601 format.", "type": "string" }, "merchantOrderId": { + "description": "Merchant defined order ID.", "type": "string" }, "orderId": { + "description": "Google order ID.", "type": "string" }, "orderReturnId": { + "description": "Order return ID generated by Google.", "type": "string" }, "returnItems": { + "description": "Items of the return.", "items": { "$ref": "MerchantOrderReturnItem" }, "type": "array" }, "returnShipments": { + "description": "Shipments of the return.", "items": { "$ref": "ReturnShipment" }, @@ -5465,24 +5474,30 @@ "id": "MerchantOrderReturnItem", "properties": { "customerReturnReason": { - "$ref": "CustomerReturnReason" + "$ref": "CustomerReturnReason", + "description": "The reason that the customer chooses to return an item." }, "itemId": { + "description": "Product level item ID. If the returned items are of the same product, they will have the same ID.", "type": "string" }, "merchantReturnReason": { - "$ref": "RefundReason" + "$ref": "RefundReason", + "description": "The reason that merchant chooses to accept a return item." }, "product": { - "$ref": "OrderLineItemProduct" + "$ref": "OrderLineItemProduct", + "description": "Product data from the time of the order placement." }, "returnShipmentIds": { + "description": "IDs of the return shipments that this return item belongs to.", "items": { "type": "string" }, "type": "array" }, "state": { + "description": "State of the item.", "type": "string" } }, @@ -6347,7 +6362,7 @@ "id": "OrderShipment", "properties": { "carrier": { - "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"ups\" (United Parcel Service) automatic status updates \n- \"usps\" (United States Postal Service) automatic status updates \n- \"fedex\" (FedEx) automatic status updates \n- \"dhl\" (DHL eCommerce) automatic status updates (US only) \n- \"ontrac\" (OnTrac) automatic status updates \n- \"dhl express\" (DHL Express)\n- \"deliv\" (Deliv) \n- \"dynamex\" (TForce) \n- \"lasership\" (LaserShip) \n- \"mpx\" (Military Parcel Xpress) \n- \"uds\" (United Delivery Service) \n- \"efw\" (Estes Forwarding Worldwide) \n- \"jd logistics\" (JD Logistics) \n- \"yunexpress\" (YunExpress) \n- \"china post\" (China Post) \n- \"china ems\" (China Post Express Mail Service) \n- \"singapore post\" (Singapore Post) \n- \"pos malaysia\" (Pos Malaysia) \n- \"postnl\" (PostNL) \n- \"ptt\" (PTT Turkish Post) \n- \"eub\" (ePacket) \n- \"chukou1\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"la poste\" (La Poste) automatic status updates \n- \"colissimo\" (Colissimo by La Poste) automatic status updates \n- \"ups\" (United Parcel Service) automatic status updates \n- \"chronopost\" (Chronopost by La Poste) \n- \"gls\" (General Logistics Systems France) \n- \"dpd\" (DPD Group by GeoPost) \n- \"bpost\" (Belgian Post Group) \n- \"colis prive\" (Colis Priv\u00e9) \n- \"boxtal\" (Boxtal) \n- \"geodis\" (GEODIS) \n- \"tnt\" (TNT) \n- \"db schenker\" (DB Schenker)", + "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"ups\" (United Parcel Service) automatic status updates \n- \"usps\" (United States Postal Service) automatic status updates \n- \"fedex\" (FedEx) automatic status updates \n- \"dhl\" (DHL eCommerce) automatic status updates (US only) \n- \"ontrac\" (OnTrac) automatic status updates \n- \"dhl express\" (DHL Express)\n- \"deliv\" (Deliv) \n- \"dynamex\" (TForce) \n- \"lasership\" (LaserShip) \n- \"mpx\" (Military Parcel Xpress) \n- \"uds\" (United Delivery Service) \n- \"efw\" (Estes Forwarding Worldwide) \n- \"jd logistics\" (JD Logistics) \n- \"yunexpress\" (YunExpress) \n- \"china post\" (China Post) \n- \"china ems\" (China Post Express Mail Service) \n- \"singapore post\" (Singapore Post) \n- \"pos malaysia\" (Pos Malaysia) \n- \"postnl\" (PostNL) \n- \"ptt\" (PTT Turkish Post) \n- \"eub\" (ePacket) \n- \"chukou1\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"la poste\" (La Poste) automatic status updates \n- \"colissimo\" (Colissimo by La Poste) automatic status updates \n- \"ups\" (United Parcel Service) automatic status updates \n- \"chronopost\" (Chronopost by La Poste) \n- \"gls\" (General Logistics Systems France) \n- \"dpd\" (DPD Group by GeoPost) \n- \"bpost\" (Belgian Post Group) \n- \"colis prive\" (Colis Priv\u00e9) \n- \"boxtal\" (Boxtal) \n- \"geodis\" (GEODIS) \n- \"tnt\" (TNT) \n- \"db schenker\" (DB Schenker) \n- \"aramex\" (Aramex)", "type": "string" }, "creationDate": { @@ -8842,9 +8857,11 @@ "id": "RefundReason", "properties": { "description": { + "description": "Description of the reason.", "type": "string" }, "reasonCode": { + "description": "Code of the refund reason.", "type": "string" } }, @@ -9194,27 +9211,34 @@ "id": "ReturnShipment", "properties": { "creationDate": { + "description": "The date of creation of the shipment, in ISO 8601 format.", "type": "string" }, "deliveryDate": { + "description": "The date of delivery of the shipment, in ISO 8601 format.", "type": "string" }, "returnMethodType": { + "description": "Type of the return method.", "type": "string" }, "shipmentId": { + "description": "Shipment ID generated by Google.", "type": "string" }, "shipmentTrackingInfos": { + "description": "Tracking information of the shipment. One return shipment might be handled by several shipping carriers sequentially.", "items": { "$ref": "ShipmentTrackingInfo" }, "type": "array" }, "shippingDate": { + "description": "The date of shipping of the shipment, in ISO 8601 format.", "type": "string" }, "state": { + "description": "State of the shipment.", "type": "string" } }, @@ -9534,9 +9558,11 @@ "id": "ShipmentTrackingInfo", "properties": { "carrier": { + "description": "The shipping carrier that handles the package.", "type": "string" }, "trackingNumber": { + "description": "The tracking number for the package.", "type": "string" } }, diff --git a/DiscoveryJson/content_v2.json b/DiscoveryJson/content_v2.json index a84945d8700..e40bd3ceb51 100644 --- a/DiscoveryJson/content_v2.json +++ b/DiscoveryJson/content_v2.json @@ -15,7 +15,7 @@ "description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/shopping-content", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/ZsvU-ICBUxsXtaEBvWSCykGXE0s\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/bGk1bwI9fEY62BmDuTqYA-OcuRc\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -3162,7 +3162,7 @@ } } }, - "revision": "20200205", + "revision": "20200219", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { @@ -4215,9 +4215,11 @@ "id": "CustomerReturnReason", "properties": { "description": { + "description": "Description of the reason.", "type": "string" }, "reasonCode": { + "description": "Code of the return reason.", "type": "string" } }, @@ -5672,27 +5674,34 @@ "type": "object" }, "MerchantOrderReturn": { + "description": "Order return. Production access (all methods) requires the order manager role. Sandbox access does not.", "id": "MerchantOrderReturn", "properties": { "creationDate": { + "description": "The date of creation of the return, in ISO 8601 format.", "type": "string" }, "merchantOrderId": { + "description": "Merchant defined order ID.", "type": "string" }, "orderId": { + "description": "Google order ID.", "type": "string" }, "orderReturnId": { + "description": "Order return ID generated by Google.", "type": "string" }, "returnItems": { + "description": "Items of the return.", "items": { "$ref": "MerchantOrderReturnItem" }, "type": "array" }, "returnShipments": { + "description": "Shipments of the return.", "items": { "$ref": "ReturnShipment" }, @@ -5705,24 +5714,30 @@ "id": "MerchantOrderReturnItem", "properties": { "customerReturnReason": { - "$ref": "CustomerReturnReason" + "$ref": "CustomerReturnReason", + "description": "The reason that the customer chooses to return an item." }, "itemId": { + "description": "Product level item ID. If the returned items are of the same product, they will have the same ID.", "type": "string" }, "merchantReturnReason": { - "$ref": "RefundReason" + "$ref": "RefundReason", + "description": "The reason that merchant chooses to accept a return item." }, "product": { - "$ref": "OrderLineItemProduct" + "$ref": "OrderLineItemProduct", + "description": "Product data from the time of the order placement." }, "returnShipmentIds": { + "description": "IDs of the return shipments that this return item belongs to.", "items": { "type": "string" }, "type": "array" }, "state": { + "description": "State of the item.", "type": "string" } }, @@ -6543,7 +6558,7 @@ "id": "OrderShipment", "properties": { "carrier": { - "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"ups\" (United Parcel Service) automatic status updates \n- \"usps\" (United States Postal Service) automatic status updates \n- \"fedex\" (FedEx) automatic status updates \n- \"dhl\" (DHL eCommerce) automatic status updates (US only) \n- \"ontrac\" (OnTrac) automatic status updates \n- \"dhl express\" (DHL Express)\n- \"deliv\" (Deliv) \n- \"dynamex\" (TForce) \n- \"lasership\" (LaserShip) \n- \"mpx\" (Military Parcel Xpress) \n- \"uds\" (United Delivery Service) \n- \"efw\" (Estes Forwarding Worldwide) \n- \"jd logistics\" (JD Logistics) \n- \"yunexpress\" (YunExpress) \n- \"china post\" (China Post) \n- \"china ems\" (China Post Express Mail Service) \n- \"singapore post\" (Singapore Post) \n- \"pos malaysia\" (Pos Malaysia) \n- \"postnl\" (PostNL) \n- \"ptt\" (PTT Turkish Post) \n- \"eub\" (ePacket) \n- \"chukou1\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"la poste\" (La Poste) automatic status updates \n- \"colissimo\" (Colissimo by La Poste) automatic status updates \n- \"ups\" (United Parcel Service) automatic status updates \n- \"chronopost\" (Chronopost by La Poste) \n- \"gls\" (General Logistics Systems France) \n- \"dpd\" (DPD Group by GeoPost) \n- \"bpost\" (Belgian Post Group) \n- \"colis prive\" (Colis Priv\u00e9) \n- \"boxtal\" (Boxtal) \n- \"geodis\" (GEODIS) \n- \"tnt\" (TNT) \n- \"db schenker\" (DB Schenker)", + "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"ups\" (United Parcel Service) automatic status updates \n- \"usps\" (United States Postal Service) automatic status updates \n- \"fedex\" (FedEx) automatic status updates \n- \"dhl\" (DHL eCommerce) automatic status updates (US only) \n- \"ontrac\" (OnTrac) automatic status updates \n- \"dhl express\" (DHL Express)\n- \"deliv\" (Deliv) \n- \"dynamex\" (TForce) \n- \"lasership\" (LaserShip) \n- \"mpx\" (Military Parcel Xpress) \n- \"uds\" (United Delivery Service) \n- \"efw\" (Estes Forwarding Worldwide) \n- \"jd logistics\" (JD Logistics) \n- \"yunexpress\" (YunExpress) \n- \"china post\" (China Post) \n- \"china ems\" (China Post Express Mail Service) \n- \"singapore post\" (Singapore Post) \n- \"pos malaysia\" (Pos Malaysia) \n- \"postnl\" (PostNL) \n- \"ptt\" (PTT Turkish Post) \n- \"eub\" (ePacket) \n- \"chukou1\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"la poste\" (La Poste) automatic status updates \n- \"colissimo\" (Colissimo by La Poste) automatic status updates \n- \"ups\" (United Parcel Service) automatic status updates \n- \"chronopost\" (Chronopost by La Poste) \n- \"gls\" (General Logistics Systems France) \n- \"dpd\" (DPD Group by GeoPost) \n- \"bpost\" (Belgian Post Group) \n- \"colis prive\" (Colis Priv\u00e9) \n- \"boxtal\" (Boxtal) \n- \"geodis\" (GEODIS) \n- \"tnt\" (TNT) \n- \"db schenker\" (DB Schenker) \n- \"aramex\" (Aramex)", "type": "string" }, "creationDate": { @@ -9706,9 +9721,11 @@ "id": "RefundReason", "properties": { "description": { + "description": "Description of the reason.", "type": "string" }, "reasonCode": { + "description": "Code of the refund reason.", "type": "string" } }, @@ -9718,27 +9735,34 @@ "id": "ReturnShipment", "properties": { "creationDate": { + "description": "The date of creation of the shipment, in ISO 8601 format.", "type": "string" }, "deliveryDate": { + "description": "The date of delivery of the shipment, in ISO 8601 format.", "type": "string" }, "returnMethodType": { + "description": "Type of the return method.", "type": "string" }, "shipmentId": { + "description": "Shipment ID generated by Google.", "type": "string" }, "shipmentTrackingInfos": { + "description": "Tracking information of the shipment. One return shipment might be handled by several shipping carriers sequentially.", "items": { "$ref": "ShipmentTrackingInfo" }, "type": "array" }, "shippingDate": { + "description": "The date of shipping of the shipment, in ISO 8601 format.", "type": "string" }, "state": { + "description": "State of the shipment.", "type": "string" } }, @@ -9856,9 +9880,11 @@ "id": "ShipmentTrackingInfo", "properties": { "carrier": { + "description": "The shipping carrier that handles the package.", "type": "string" }, "trackingNumber": { + "description": "The tracking number for the package.", "type": "string" } }, diff --git a/DiscoveryJson/dataproc_v1.json b/DiscoveryJson/dataproc_v1.json index a602e77722c..76892017e19 100644 --- a/DiscoveryJson/dataproc_v1.json +++ b/DiscoveryJson/dataproc_v1.json @@ -2095,7 +2095,7 @@ } } }, - "revision": "20200213", + "revision": "20200220", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2835,6 +2835,20 @@ "description": "Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.", "format": "int32", "type": "integer" + }, + "preemptibility": { + "description": "Optional. Specifies the preemptibility of the instance group.", + "enum": [ + "PREEMPTIBILITY_UNSPECIFIED", + "NON_PREEMPTIBLE", + "PREEMPTIBLE" + ], + "enumDescriptions": [ + "Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.", + "Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.", + "Instances are preemptible.This option is allowed only for secondary worker group." + ], + "type": "string" } }, "type": "object" @@ -2866,6 +2880,10 @@ "description": "A Dataproc job resource.", "id": "Job", "properties": { + "done": { + "description": "Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.", + "type": "boolean" + }, "driverControlFilesUri": { "description": "Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", "type": "string" diff --git a/DiscoveryJson/dataproc_v1beta2.json b/DiscoveryJson/dataproc_v1beta2.json index 8ab65164945..ca968ffecc0 100644 --- a/DiscoveryJson/dataproc_v1beta2.json +++ b/DiscoveryJson/dataproc_v1beta2.json @@ -2126,7 +2126,7 @@ } } }, - "revision": "20200213", + "revision": "20200220", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2888,6 +2888,20 @@ "description": "Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.", "format": "int32", "type": "integer" + }, + "preemptibility": { + "description": "Optional. Specifies the preemptibility of the instance group.", + "enum": [ + "PREEMPTIBILITY_UNSPECIFIED", + "NON_PREEMPTIBLE", + "PREEMPTIBLE" + ], + "enumDescriptions": [ + "Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.", + "Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.", + "Instances are preemptible.This option is allowed only for secondary worker group." + ], + "type": "string" } }, "type": "object" @@ -2923,6 +2937,10 @@ "description": "A Dataproc job resource.", "id": "Job", "properties": { + "done": { + "description": "Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.", + "type": "boolean" + }, "driverControlFilesUri": { "description": "Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", "type": "string" diff --git a/DiscoveryJson/dialogflow_v2.json b/DiscoveryJson/dialogflow_v2.json new file mode 100644 index 00000000000..537ec7fb8c8 --- /dev/null +++ b/DiscoveryJson/dialogflow_v2.json @@ -0,0 +1,5790 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/dialogflow": { + "description": "View, manage and query your Dialogflow agents" + } + } + } + }, + "basePath": "", + "baseUrl": "https://dialogflow.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Dialogflow", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/dialogflow/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "dialogflow:v2", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://dialogflow.mtls.googleapis.com/", + "name": "dialogflow", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "methods": { + "deleteAgent": { + "description": "Deletes the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent", + "httpMethod": "DELETE", + "id": "dialogflow.projects.deleteAgent", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project that the agent to delete is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "getAgent": { + "description": "Retrieves the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent", + "httpMethod": "GET", + "id": "dialogflow.projects.getAgent", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project that the agent to fetch is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent", + "response": { + "$ref": "GoogleCloudDialogflowV2Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "setAgent": { + "description": "Creates/updates the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent", + "httpMethod": "POST", + "id": "dialogflow.projects.setAgent", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project of this agent.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+parent}/agent", + "request": { + "$ref": "GoogleCloudDialogflowV2Agent" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "agent": { + "methods": { + "export": { + "description": "Exports the specified agent to a ZIP file.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent:export", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.export", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project that the agent to export is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent:export", + "request": { + "$ref": "GoogleCloudDialogflowV2ExportAgentRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "getFulfillment": { + "description": "Retrieves the fulfillment.", + "flatPath": "v2/projects/{projectsId}/agent/fulfillment", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.getFulfillment", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the fulfillment.\nFormat: `projects//agent/fulfillment`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/fulfillment$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2Fulfillment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "getValidationResult": { + "description": "Gets agent validation result. Agent validation is performed during\ntraining time and is updated automatically when training is completed.", + "flatPath": "v2/projects/{projectsId}/agent/validationResult", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.getValidationResult", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "Optional. The language for which you want a validation result. If not\nspecified, the agent's default language is used. [Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project that the agent is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent/validationResult", + "response": { + "$ref": "GoogleCloudDialogflowV2ValidationResult" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "import": { + "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent:import", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project that the agent to import is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent:import", + "request": { + "$ref": "GoogleCloudDialogflowV2ImportAgentRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "restore": { + "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent:restore", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.restore", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project that the agent to restore is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent:restore", + "request": { + "$ref": "GoogleCloudDialogflowV2RestoreAgentRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "search": { + "description": "Returns the list of agents.\n\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).", + "flatPath": "v2/projects/{projectsId}/agent:search", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.search", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of items to return in a single page. By\ndefault 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project to list agents from.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent:search", + "response": { + "$ref": "GoogleCloudDialogflowV2SearchAgentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "train": { + "description": "Trains the specified agent.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent:train", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.train", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project that the agent to train is associated with.\nFormat: `projects/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/agent:train", + "request": { + "$ref": "GoogleCloudDialogflowV2TrainAgentRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "updateFulfillment": { + "description": "Updates the fulfillment.", + "flatPath": "v2/projects/{projectsId}/agent/fulfillment", + "httpMethod": "PATCH", + "id": "dialogflow.projects.agent.updateFulfillment", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The unique identifier of the fulfillment.\nFormat: `projects//agent/fulfillment`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/fulfillment$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields get updated. If the mask is not\npresent, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowV2Fulfillment" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Fulfillment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "entityTypes": { + "methods": { + "batchDelete": { + "description": "Deletes entity types in the specified agent.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes:batchDelete", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.entityTypes.batchDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the agent to delete all entities types for. Format:\n`projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entityTypes:batchDelete", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "batchUpdate": { + "description": "Updates/Creates multiple entity types in the specified agent.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes:batchUpdate", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.entityTypes.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the agent to update or create entity types in.\nFormat: `projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entityTypes:batchUpdate", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "create": { + "description": "Creates an entity type in the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.entityTypes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "Optional. The language of entity synonyms defined in `entity_type`. If not\nspecified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to create a entity type for.\nFormat: `projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entityTypes", + "request": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified entity type.", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.agent.entityTypes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the entity type to delete.\nFormat: `projects//agent/entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified entity type.", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.entityTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Optional. The language to retrieve entity synonyms for. If not specified,\nthe agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the entity type.\nFormat: `projects//agent/entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all entity types in the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.entityTypes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "Optional. The language to list entity synonyms for. If not specified,\nthe agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return in a single page. By\ndefault 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all entity types from.\nFormat: `projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entityTypes", + "response": { + "$ref": "GoogleCloudDialogflowV2ListEntityTypesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified entity type.", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.agent.entityTypes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Optional. The language of entity synonyms defined in `entity_type`. If not\nspecified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of the entity type.\nRequired for EntityTypes.UpdateEntityType and\nEntityTypes.BatchUpdateEntityTypes methods.\nFormat: `projects//agent/entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "entities": { + "methods": { + "batchCreate": { + "description": "Creates multiple new entities in the specified entity type.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchCreate", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.entityTypes.entities.batchCreate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the entity type to create entities in. Format:\n`projects//agent/entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entities:batchCreate", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchCreateEntitiesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "batchDelete": { + "description": "Deletes entities in the specified entity type.\n\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchDelete", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.entityTypes.entities.batchDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the entity type to delete entries for. Format:\n`projects//agent/entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entities:batchDelete", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchDeleteEntitiesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "batchUpdate": { + "description": "Updates or creates multiple entities in the specified entity type. This\nmethod does not affect entities in the entity type that aren't explicitly\nspecified in the request.\n\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdate", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.entityTypes.entities.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the entity type to update or create entities in.\nFormat: `projects//agent/entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entities:batchUpdate", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchUpdateEntitiesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "intents": { + "methods": { + "batchDelete": { + "description": "Deletes intents in the specified agent.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/intents:batchDelete", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.intents.batchDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the agent to delete all entities types for. Format:\n`projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/intents:batchDelete", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchDeleteIntentsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "batchUpdate": { + "description": "Updates/Creates multiple intents in the specified agent.\n\nOperation ", + "flatPath": "v2/projects/{projectsId}/agent/intents:batchUpdate", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.intents.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the agent to update or create intents in.\nFormat: `projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/intents:batchUpdate", + "request": { + "$ref": "GoogleCloudDialogflowV2BatchUpdateIntentsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "create": { + "description": "Creates an intent in the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent/intents", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.intents.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "intentView": { + "description": "Optional. The resource view to apply to the returned intent.", + "enum": [ + "INTENT_VIEW_UNSPECIFIED", + "INTENT_VIEW_FULL" + ], + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "Optional. The language of training phrases, parameters and rich messages\ndefined in `intent`. If not specified, the agent's default language is\nused. [Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to create a intent for.\nFormat: `projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/intents", + "request": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified intent and its direct or indirect followup intents.", + "flatPath": "v2/projects/{projectsId}/agent/intents/{intentsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.agent.intents.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the intent to delete. If this intent has direct or\nindirect followup intents, we also delete them.\nFormat: `projects//agent/intents/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/intents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified intent.", + "flatPath": "v2/projects/{projectsId}/agent/intents/{intentsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.intents.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "intentView": { + "description": "Optional. The resource view to apply to the returned intent.", + "enum": [ + "INTENT_VIEW_UNSPECIFIED", + "INTENT_VIEW_FULL" + ], + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "Optional. The language to retrieve training phrases, parameters and rich\nmessages for. If not specified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the intent.\nFormat: `projects//agent/intents/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/intents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all intents in the specified agent.", + "flatPath": "v2/projects/{projectsId}/agent/intents", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.intents.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "intentView": { + "description": "Optional. The resource view to apply to the returned intent.", + "enum": [ + "INTENT_VIEW_UNSPECIFIED", + "INTENT_VIEW_FULL" + ], + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "Optional. The language to list training phrases, parameters and rich\nmessages for. If not specified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return in a single page. By\ndefault 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all intents from.\nFormat: `projects//agent`.", + "location": "path", + "pattern": "^projects/[^/]+/agent$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/intents", + "response": { + "$ref": "GoogleCloudDialogflowV2ListIntentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified intent.", + "flatPath": "v2/projects/{projectsId}/agent/intents/{intentsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.agent.intents.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "intentView": { + "description": "Optional. The resource view to apply to the returned intent.", + "enum": [ + "INTENT_VIEW_UNSPECIFIED", + "INTENT_VIEW_FULL" + ], + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "Optional. The language of training phrases, parameters and rich messages\ndefined in `intent`. If not specified, the agent's default language is\nused. [Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/intents/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, + "sessions": { + "methods": { + "deleteContexts": { + "description": "Deletes all active contexts in the specified session.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", + "httpMethod": "DELETE", + "id": "dialogflow.projects.agent.sessions.deleteContexts", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the session to delete all contexts from. Format:\n`projects//agent/sessions/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/contexts", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "detectIntent": { + "description": "Processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause contexts\nand session entity types to be updated, which in turn might affect\nresults of future queries.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}:detectIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.sessions.detectIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format:\n`projects//agent/sessions/`. It's up to the API\ncaller to choose an appropriate session ID. It can be a random number or\nsome type of user identifier (preferably hashed). The length of the session\nID must not exceed 36 bytes.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+session}:detectIntent", + "request": { + "$ref": "GoogleCloudDialogflowV2DetectIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2DetectIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "contexts": { + "methods": { + "create": { + "description": "Creates a context.\n\nIf the specified context already exists, overrides the context.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.sessions.contexts.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The session to create a context for.\nFormat: `projects//agent/sessions/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/contexts", + "request": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified context.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.agent.sessions.contexts.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the context to delete. Format:\n`projects//agent/sessions//contexts/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified context.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.sessions.contexts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the context. Format:\n`projects//agent/sessions//contexts/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all contexts in the specified session.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.sessions.contexts.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of items to return in a single page. By\ndefault 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The session to list all contexts from.\nFormat: `projects//agent/sessions/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/contexts", + "response": { + "$ref": "GoogleCloudDialogflowV2ListContextsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified context.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.agent.sessions.contexts.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The unique identifier of the context. Format:\n`projects//agent/sessions//contexts/`.\n\nThe `Context ID` is always converted to lowercase, may only contain\ncharacters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.\n\nThe following context names are reserved for internal use by Dialogflow.\nYou should not use these contexts or create contexts with these names:\n\n* `__system_counters__`\n* `*_id_dialog_context`\n* `*_dialog_params_size`", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, + "entityTypes": { + "methods": { + "create": { + "description": "Creates a session entity type.\n\nIf the specified session entity type already exists, overrides the session\nentity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes", + "httpMethod": "POST", + "id": "dialogflow.projects.agent.sessions.entityTypes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The session to create a session entity type for.\nFormat: `projects//agent/sessions/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entityTypes", + "request": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.agent.sessions.entityTypes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the entity type to delete. Format:\n`projects//agent/sessions//entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.sessions.entityTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the session entity type. Format:\n`projects//agent/sessions//entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all session entity types in the specified session.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes", + "httpMethod": "GET", + "id": "dialogflow.projects.agent.sessions.entityTypes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of items to return in a single page. By\ndefault 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The session to list all session entity types from.\nFormat: `projects//agent/sessions/`.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entityTypes", + "response": { + "$ref": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.agent.sessions.entityTypes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The unique identifier of this session entity type. Format:\n`projects//agent/sessions//entityTypes/`.\n\n`` must be the display name of an existing entity\ntype in the same agent that will be overridden or supplemented.", + "location": "path", + "pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + } + } + }, + "locations": { + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "flatPath": "v2/projects/{projectsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dialogflow.projects.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "flatPath": "v2/projects/{projectsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", + "flatPath": "v2/projects/{projectsId}/operations", + "httpMethod": "GET", + "id": "dialogflow.projects.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + } + }, + "revision": "20200225", + "rootUrl": "https://dialogflow.googleapis.com/", + "schemas": { + "GoogleCloudDialogflowV2Agent": { + "description": "Represents a conversational agent.", + "id": "GoogleCloudDialogflowV2Agent", + "properties": { + "apiVersion": { + "description": "Optional. API version displayed in Dialogflow console. If not specified,\nV2 API is assumed. Clients are free to query different service endpoints\nfor different API versions. However, bots connectors and webhook calls will\nfollow the specified API version.", + "enum": [ + "API_VERSION_UNSPECIFIED", + "API_VERSION_V1", + "API_VERSION_V2", + "API_VERSION_V2_BETA_1" + ], + "enumDescriptions": [ + "Not specified.", + "Legacy V1 API.", + "V2 API.", + "V2beta1 API." + ], + "type": "string" + }, + "avatarUri": { + "description": "Optional. The URI of the agent's avatar.\nAvatars are used throughout the Dialogflow console and in the self-hosted\n[Web\nDemo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)\nintegration.", + "type": "string" + }, + "classificationThreshold": { + "description": "Optional. To filter out false positive results and still get variety in\nmatched natural language inputs for your agent, you can tune the machine\nlearning classification threshold. If the returned score value is less than\nthe threshold value, then a fallback intent will be triggered or, if there\nare no fallback intents defined, no intent will be triggered. The score\nvalues range from 0.0 (completely uncertain) to 1.0 (completely certain).\nIf set to 0.0, the default of 0.3 is used.", + "format": "float", + "type": "number" + }, + "defaultLanguageCode": { + "description": "Required. The default language of the agent as a language tag. See\n[Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. This field cannot be\nset by the `Update` method.", + "type": "string" + }, + "description": { + "description": "Optional. The description of this agent.\nThe maximum length is 500 characters. If exceeded, the request is rejected.", + "type": "string" + }, + "displayName": { + "description": "Required. The name of this agent.", + "type": "string" + }, + "enableLogging": { + "description": "Optional. Determines whether this agent should log conversation queries.", + "type": "boolean" + }, + "matchMode": { + "description": "Optional. Determines how intents are detected from user queries.", + "enum": [ + "MATCH_MODE_UNSPECIFIED", + "MATCH_MODE_HYBRID", + "MATCH_MODE_ML_ONLY" + ], + "enumDescriptions": [ + "Not specified.", + "Best for agents with a small number of examples in intents and/or wide\nuse of templates syntax and composite entities.", + "Can be used for agents with a large number of examples in intents,\nespecially the ones using @sys.any or very large custom entities." + ], + "type": "string" + }, + "parent": { + "description": "Required. The project of this agent.\nFormat: `projects/`.", + "type": "string" + }, + "supportedLanguageCodes": { + "description": "Optional. The list of all languages supported by this agent (except for the\n`default_language_code`).", + "items": { + "type": "string" + }, + "type": "array" + }, + "tier": { + "description": "Optional. The agent tier. If not specified, TIER_STANDARD is assumed.", + "enum": [ + "TIER_UNSPECIFIED", + "TIER_STANDARD", + "TIER_ENTERPRISE", + "TIER_ENTERPRISE_PLUS" + ], + "enumDescriptions": [ + "Not specified. This value should never be used.", + "Standard tier.", + "Enterprise tier (Essentials).", + "Enterprise tier (Plus)." + ], + "type": "string" + }, + "timeZone": { + "description": "Required. The time zone of this agent from the\n[time zone database](https://www.iana.org/time-zones), e.g.,\nAmerica/New_York, Europe/Paris.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2AnnotatedMessagePart": { + "description": "Represents a part of a message possibly annotated with an entity. The part\ncan be an entity or purely a part of the message between two entities or\nmessage start/end.", + "id": "GoogleCloudDialogflowV2AnnotatedMessagePart", + "properties": { + "entityType": { + "description": "The [Dialogflow system entity\ntype](https://cloud.google.com/dialogflow/docs/reference/system-entities)\nof this message part. If this is empty, Dialogflow could not annotate the\nphrase part with a system entity.", + "type": "string" + }, + "formattedValue": { + "description": "The [Dialogflow system entity formatted value\n](https://cloud.google.com/dialogflow/docs/reference/system-entities) of\nthis message part. For example for a system entity of type\n`@sys.unit-currency`, this may contain:\n
\n{\n  \"amount\": 5,\n  \"currency\": \"USD\"\n}\n
", + "type": "any" + }, + "text": { + "description": "A part of a message possibly annotated with an entity.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchCreateEntitiesRequest": { + "description": "The request message for EntityTypes.BatchCreateEntities.", + "id": "GoogleCloudDialogflowV2BatchCreateEntitiesRequest", + "properties": { + "entities": { + "description": "Required. The entities to create.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityTypeEntity" + }, + "type": "array" + }, + "languageCode": { + "description": "Optional. The language of entity synonyms defined in `entities`. If not\nspecified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchDeleteEntitiesRequest": { + "description": "The request message for EntityTypes.BatchDeleteEntities.", + "id": "GoogleCloudDialogflowV2BatchDeleteEntitiesRequest", + "properties": { + "entityValues": { + "description": "Required. The reference `values` of the entities to delete. Note that\nthese are not fully-qualified names, i.e. they don't start with\n`projects/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "languageCode": { + "description": "Optional. The language of entity synonyms defined in `entities`. If not\nspecified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest": { + "description": "The request message for EntityTypes.BatchDeleteEntityTypes.", + "id": "GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest", + "properties": { + "entityTypeNames": { + "description": "Required. The names entity types to delete. All names must point to the\nsame agent as `parent`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchDeleteIntentsRequest": { + "description": "The request message for Intents.BatchDeleteIntents.", + "id": "GoogleCloudDialogflowV2BatchDeleteIntentsRequest", + "properties": { + "intents": { + "description": "Required. The collection of intents to delete. Only intent `name` must be\nfilled in.", + "items": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchUpdateEntitiesRequest": { + "description": "The request message for EntityTypes.BatchUpdateEntities.", + "id": "GoogleCloudDialogflowV2BatchUpdateEntitiesRequest", + "properties": { + "entities": { + "description": "Required. The entities to update or create.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityTypeEntity" + }, + "type": "array" + }, + "languageCode": { + "description": "Optional. The language of entity synonyms defined in `entities`. If not\nspecified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest": { + "description": "The request message for EntityTypes.BatchUpdateEntityTypes.", + "id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest", + "properties": { + "entityTypeBatchInline": { + "$ref": "GoogleCloudDialogflowV2EntityTypeBatch", + "description": "The collection of entity types to update or create." + }, + "entityTypeBatchUri": { + "description": "The URI to a Google Cloud Storage file containing entity types to update\nor create. The file format can either be a serialized proto (of\nEntityBatch type) or a JSON object. Note: The URI must start with\n\"gs://\".", + "type": "string" + }, + "languageCode": { + "description": "Optional. The language of entity synonyms defined in `entity_types`. If not\nspecified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": { + "description": "The response message for EntityTypes.BatchUpdateEntityTypes.", + "id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse", + "properties": { + "entityTypes": { + "description": "The collection of updated or created entity types.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchUpdateIntentsRequest": { + "description": "The request message for Intents.BatchUpdateIntents.", + "id": "GoogleCloudDialogflowV2BatchUpdateIntentsRequest", + "properties": { + "intentBatchInline": { + "$ref": "GoogleCloudDialogflowV2IntentBatch", + "description": "The collection of intents to update or create." + }, + "intentBatchUri": { + "description": "The URI to a Google Cloud Storage file containing intents to update or\ncreate. The file format can either be a serialized proto (of IntentBatch\ntype) or JSON object. Note: The URI must start with \"gs://\".", + "type": "string" + }, + "intentView": { + "description": "Optional. The resource view to apply to the returned intent.", + "enum": [ + "INTENT_VIEW_UNSPECIFIED", + "INTENT_VIEW_FULL" + ], + "enumDescriptions": [ + "Training phrases field is not populated in the response.", + "All fields are populated." + ], + "type": "string" + }, + "languageCode": { + "description": "Optional. The language of training phrases, parameters and rich messages\ndefined in `intents`. If not specified, the agent's default language is\nused. [Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language)\nare supported. Note: languages must be enabled in the agent before they can\nbe used.", + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2BatchUpdateIntentsResponse": { + "description": "The response message for Intents.BatchUpdateIntents.", + "id": "GoogleCloudDialogflowV2BatchUpdateIntentsResponse", + "properties": { + "intents": { + "description": "The collection of updated or created intents.", + "items": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2Context": { + "description": "Represents a context.", + "id": "GoogleCloudDialogflowV2Context", + "properties": { + "lifespanCount": { + "description": "Optional. The number of conversational query requests after which the\ncontext expires. If set to `0` (the default) the context expires\nimmediately. Contexts expire automatically after 20 minutes if there\nare no matching queries.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Required. The unique identifier of the context. Format:\n`projects//agent/sessions//contexts/`.\n\nThe `Context ID` is always converted to lowercase, may only contain\ncharacters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.\n\nThe following context names are reserved for internal use by Dialogflow.\nYou should not use these contexts or create contexts with these names:\n\n* `__system_counters__`\n* `*_id_dialog_context`\n* `*_dialog_params_size`", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The collection of parameters associated with this context.\nRefer to [this\ndoc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)\nfor syntax.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ConversationEvent": { + "description": "Represents a notification sent to Cloud Pub/Sub subscribers for conversation\nlifecycle events.", + "id": "GoogleCloudDialogflowV2ConversationEvent", + "properties": { + "conversation": { + "description": "The unique identifier of the conversation this notification\nrefers to.\nFormat: `projects//conversations/`.", + "type": "string" + }, + "errorStatus": { + "$ref": "GoogleRpcStatus", + "description": "More detailed information about an error. Only set for type\nUNRECOVERABLE_ERROR_IN_PHONE_CALL." + }, + "newMessagePayload": { + "$ref": "GoogleCloudDialogflowV2Message", + "description": "Payload of NEW_MESSAGE event." + }, + "type": { + "description": "The type of the event that this notification refers to.", + "enum": [ + "TYPE_UNSPECIFIED", + "CONVERSATION_STARTED", + "CONVERSATION_FINISHED", + "HUMAN_INTERVENTION_NEEDED", + "NEW_MESSAGE", + "UNRECOVERABLE_ERROR" + ], + "enumDescriptions": [ + "Type not set.", + "A new conversation has been opened. This is fired when a telephone call\nis answered, or a conversation is created via the API.", + "An existing conversation has closed. This is fired when a telephone call\nis terminated, or a conversation is closed via the API.", + "An existing conversation has received notification from Dialogflow that\nhuman intervention is required.", + "An existing conversation has received a new message, either from API or\ntelephony. It is configured in\nConversationProfile.new_message_event_notification_config", + "Unrecoverable error during a telephone call.\n\nIn general non-recoverable errors only occur if something was\nmisconfigured in the ConversationProfile corresponding to the call. After\na non-recoverable error, Dialogflow may stop responding.\n\nWe don't fire this event:\n* in an API call because we can directly return the error, or,\n* when we can recover from an error." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2DetectIntentRequest": { + "description": "============================================================================\nRequests and responses for custom methods.\nThe request to detect user's intent.", + "id": "GoogleCloudDialogflowV2DetectIntentRequest", + "properties": { + "inputAudio": { + "description": "The natural language speech audio to be processed. This field\nshould be populated iff `query_input` is set to an input audio config.\nA single request can contain up to 1 minute of speech audio data.", + "format": "byte", + "type": "string" + }, + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowV2OutputAudioConfig", + "description": "Instructs the speech synthesizer how to generate the output\naudio. If this field is not set and agent-level speech synthesizer is not\nconfigured, no output audio is generated." + }, + "outputAudioConfigMask": { + "description": "Mask for output_audio_config indicating which settings in this\nrequest-level config should override speech synthesizer settings defined at\nagent-level.\n\nIf unspecified or empty, output_audio_config replaces the agent-level\nconfig in its entirety.", + "format": "google-fieldmask", + "type": "string" + }, + "queryInput": { + "$ref": "GoogleCloudDialogflowV2QueryInput", + "description": "Required. The input specification. It can be set to:\n\n1. an audio config\n which instructs the speech recognizer how to process the speech audio,\n\n2. a conversational query in the form of text, or\n\n3. an event that specifies which intent to trigger." + }, + "queryParams": { + "$ref": "GoogleCloudDialogflowV2QueryParameters", + "description": "The parameters of this query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2DetectIntentResponse": { + "description": "The message returned from the DetectIntent method.", + "id": "GoogleCloudDialogflowV2DetectIntentResponse", + "properties": { + "outputAudio": { + "description": "The audio data bytes encoded as specified in the request.\nNote: The output audio is generated based on the values of default platform\ntext responses found in the `query_result.fulfillment_messages` field. If\nmultiple default text responses exist, they will be concatenated when\ngenerating audio. If no default platform text responses exist, the\ngenerated audio content will be empty.", + "format": "byte", + "type": "string" + }, + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowV2OutputAudioConfig", + "description": "The config used by the speech synthesizer to generate the output audio." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowV2QueryResult", + "description": "The selected results of the conversational query or event processing.\nSee `alternative_query_results` for additional potential results." + }, + "responseId": { + "description": "The unique identifier of the response. It can be used to\nlocate a response in the training example set or for reporting issues.", + "type": "string" + }, + "webhookStatus": { + "$ref": "GoogleRpcStatus", + "description": "Specifies the status of the webhook request." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2EntityType": { + "description": "Represents an entity type.\nEntity types serve as a tool for extracting parameter values from natural\nlanguage queries.", + "id": "GoogleCloudDialogflowV2EntityType", + "properties": { + "autoExpansionMode": { + "description": "Optional. Indicates whether the entity type can be automatically\nexpanded.", + "enum": [ + "AUTO_EXPANSION_MODE_UNSPECIFIED", + "AUTO_EXPANSION_MODE_DEFAULT" + ], + "enumDescriptions": [ + "Auto expansion disabled for the entity.", + "Allows an agent to recognize values that have not been explicitly\nlisted in the entity." + ], + "type": "string" + }, + "displayName": { + "description": "Required. The name of the entity type.", + "type": "string" + }, + "enableFuzzyExtraction": { + "description": "Optional. Enables fuzzy entity extraction during classification.", + "type": "boolean" + }, + "entities": { + "description": "Optional. The collection of entity entries associated with the entity type.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityTypeEntity" + }, + "type": "array" + }, + "kind": { + "description": "Required. Indicates the kind of entity type.", + "enum": [ + "KIND_UNSPECIFIED", + "KIND_MAP", + "KIND_LIST", + "KIND_REGEXP" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Map entity types allow mapping of a group of synonyms to a reference\nvalue.", + "List entity types contain a set of entries that do not map to reference\nvalues. However, list entity types can contain references to other entity\ntypes (with or without aliases).", + "Regexp entity types allow to specify regular expressions in entries\nvalues." + ], + "type": "string" + }, + "name": { + "description": "The unique identifier of the entity type.\nRequired for EntityTypes.UpdateEntityType and\nEntityTypes.BatchUpdateEntityTypes methods.\nFormat: `projects//agent/entityTypes/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2EntityTypeBatch": { + "description": "This message is a wrapper around a collection of entity types.", + "id": "GoogleCloudDialogflowV2EntityTypeBatch", + "properties": { + "entityTypes": { + "description": "A collection of entity types.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2EntityTypeEntity": { + "description": "An **entity entry** for an associated entity type.", + "id": "GoogleCloudDialogflowV2EntityTypeEntity", + "properties": { + "synonyms": { + "description": "Required. A collection of value synonyms. For example, if the entity type\nis *vegetable*, and `value` is *scallions*, a synonym could be *green\nonions*.\n\nFor `KIND_LIST` entity types:\n\n* This collection must contain exactly one synonym equal to `value`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "value": { + "description": "Required. The primary value associated with this entity entry.\nFor example, if the entity type is *vegetable*, the value could be\n*scallions*.\n\nFor `KIND_MAP` entity types:\n\n* A reference value to be used in place of synonyms.\n\nFor `KIND_LIST` entity types:\n\n* A string that can contain references to other entity types (with or\n without aliases).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2EventInput": { + "description": "Events allow for matching intents by event name instead of the natural\nlanguage input. For instance, input `` can trigger a personalized welcome response.\nThe parameter `name` may be used by the agent in the response:\n`\"Hello #welcome_event.name! What can I do for you today?\"`.", + "id": "GoogleCloudDialogflowV2EventInput", + "properties": { + "languageCode": { + "description": "Required. The language of this query. See [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.", + "type": "string" + }, + "name": { + "description": "Required. The unique identifier of the event.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The collection of parameters associated with the event.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ExportAgentRequest": { + "description": "The request message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowV2ExportAgentRequest", + "properties": { + "agentUri": { + "description": "Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)\nURI to export the agent to.\nThe format of this URI must be `gs:///`.\nIf left unspecified, the serialized agent is returned inline.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowV2ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Zip compressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in `ExportAgentRequest`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2Fulfillment": { + "description": "Represents a fulfillment.", + "id": "GoogleCloudDialogflowV2Fulfillment", + "properties": { + "displayName": { + "description": "Optional. The human-readable name of the fulfillment, unique within the agent.", + "type": "string" + }, + "enabled": { + "description": "Optional. Whether fulfillment is enabled.", + "type": "boolean" + }, + "features": { + "description": "Optional. The field defines whether the fulfillment is enabled for certain features.", + "items": { + "$ref": "GoogleCloudDialogflowV2FulfillmentFeature" + }, + "type": "array" + }, + "genericWebService": { + "$ref": "GoogleCloudDialogflowV2FulfillmentGenericWebService", + "description": "Configuration for a generic web service." + }, + "name": { + "description": "Required. The unique identifier of the fulfillment.\nFormat: `projects//agent/fulfillment`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2FulfillmentFeature": { + "description": "Whether fulfillment is enabled for the specific feature.", + "id": "GoogleCloudDialogflowV2FulfillmentFeature", + "properties": { + "type": { + "description": "The type of the feature that enabled for fulfillment.", + "enum": [ + "TYPE_UNSPECIFIED", + "SMALLTALK" + ], + "enumDescriptions": [ + "Feature type not specified.", + "Fulfillment is enabled for SmallTalk." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2FulfillmentGenericWebService": { + "description": "Represents configuration for a generic web service.\nDialogflow supports two mechanisms for authentications:\n- Basic authentication with username and password.\n- Authentication with additional authentication headers.\nMore information could be found at:\nhttps://cloud.google.com/dialogflow/docs/fulfillment-configure.", + "id": "GoogleCloudDialogflowV2FulfillmentGenericWebService", + "properties": { + "isCloudFunction": { + "description": "Optional. Indicates if generic web service is created through Cloud Functions\nintegration. Defaults to false.", + "type": "boolean" + }, + "password": { + "description": "Optional. The password for HTTP Basic authentication.", + "type": "string" + }, + "requestHeaders": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The HTTP request headers to send together with fulfillment requests.", + "type": "object" + }, + "uri": { + "description": "Required. The fulfillment URI for receiving POST requests.", + "type": "string" + }, + "username": { + "description": "Optional. The user name for HTTP Basic authentication.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ImportAgentRequest": { + "description": "The request message for Agents.ImportAgent.", + "id": "GoogleCloudDialogflowV2ImportAgentRequest", + "properties": { + "agentContent": { + "description": "Zip compressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a Google Cloud Storage file containing the agent to import.\nNote: The URI must start with \"gs://\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InputAudioConfig": { + "description": "Instructs the speech recognizer how to process the audio content.", + "id": "GoogleCloudDialogflowV2InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio\nCodec) is the recommended encoding because it is lossless (therefore\nrecognition is not compromised) and requires only about half the\nbandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and\n24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container\n([OggOpus](https://wiki.xiph.org/OggOpus)).\n`sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low\nbitrate encoding is required, `OGG_OPUS` is highly preferred over\nSpeex encoding. The [Speex](https://speex.org/) encoding supported by\nDialogflow API has a header byte in each block, as in MIME type\n`audio/x-speex-with-header-byte`.\nIt is a variant of the RTP Speex encoding defined in\n[RFC 5574](https://tools.ietf.org/html/rfc5574).\nThe stream is a sequence of blocks, one block per RTP packet. Each block\nstarts with a byte containing the length of the block, in bytes, followed\nby one or more frames of Speex data, padded to an integral number of\nbytes (octets) as specified in RFC 5574. In other words, each RTP header\nis replaced with a single byte containing the block length. Only Speex\nwideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in\nStreamingRecognitionResult with information about the recognized speech\nwords, e.g. start and end time offsets. If false or unspecified, Speech\ndoesn't return any word-level information.", + "type": "boolean" + }, + "languageCode": { + "description": "Required. The language of the supplied audio. Dialogflow does not do\ntranslations. See [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.", + "type": "string" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the\nmodel best suited to your domain to get best results. If a model is not\nexplicitly specified, then we auto-select a model based on the parameters\nin the InputAudioConfig.\nIf enhanced speech model is enabled for the agent and an enhanced\nversion of the specified model for the language does not exist, then the\nspeech is recognized using the standard version of the specified model.\nRefer to\n[Cloud Speech API\ndocumentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)\nfor more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to\nUSE_BEST_AVAILABLE.", + "Use the best available variant of the Speech\nmodel that the caller is eligible for.\n\nPlease see the [Dialogflow\ndocs](https://cloud.google.com/dialogflow/docs/data-logging) for\nhow to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the\n[Cloud Speech\ndocumentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)\nfor details about enhanced models.", + "Use an enhanced model variant:\n\n* If an enhanced variant does not exist for the given\n model and request language, Dialogflow falls\n back to the standard variant.\n\n The [Cloud Speech\n documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)\n describes which models have enhanced variants.\n\n* If the API caller isn't eligible for enhanced models, Dialogflow returns\n an error. Please see the [Dialogflow\n docs](https://cloud.google.com/dialogflow/docs/data-logging)\n for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech\nrecognizer should recognize with higher likelihood.\n\nSee [the Cloud Speech\ndocumentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)\nfor more details.\n\nThis field is deprecated. Please use [speech_contexts]() instead. If you\nspecify both [phrase_hints]() and [speech_contexts](), Dialogflow will\ntreat the [phrase_hints]() as a single additional [SpeechContext]().", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Required. Sample rate (in Hertz) of the audio content sent in the query.\nRefer to\n[Cloud Speech API\ndocumentation](https://cloud.google.com/speech-to-text/docs/basics) for\nmore details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the\nclient closes the stream.\nIf `true`, the recognizer will detect a single spoken utterance in input\naudio. Recognition ceases when it detects the audio's voice has\nstopped or paused. In this case, once a detected intent is received, the\nclient should close the stream and start a new request with a new stream as\nneeded.\nNote: This setting is relevant only for streaming methods.\nNote: When specified, InputAudioConfig.single_utterance takes precedence\nover StreamingDetectIntentRequest.single_utterance.", + "type": "boolean" + }, + "speechContexts": { + "description": "Optional. Context information to assist speech recognition.\n\nSee [the Cloud Speech\ndocumentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)\nfor more details.", + "items": { + "$ref": "GoogleCloudDialogflowV2SpeechContext" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2Intent": { + "description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.", + "id": "GoogleCloudDialogflowV2Intent", + "properties": { + "action": { + "description": "Optional. The name of the action associated with the intent.\nNote: The action name must not contain whitespaces.", + "type": "string" + }, + "defaultResponsePlatforms": { + "description": "Optional. The list of platforms for which the first responses will be\ncopied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).", + "enumDescriptions": [ + "Not specified.", + "Facebook.", + "Slack.", + "Telegram.", + "Kik.", + "Skype.", + "Line.", + "Viber.", + "Actions on Google.\nWhen using Actions on Google, you can choose one of the specific\nIntent.Message types that mention support for Actions on Google,\nor you can use the advanced Intent.Message.payload field.\nThe payload field provides access to AoG features not available in the\nspecific message types.\nIf using the Intent.Message.payload field, it should have a structure\nsimilar to the JSON message shown here. For more information, see\n[Actions on Google Webhook\nFormat](https://developers.google.com/actions/dialogflow/webhook)\n
{\n  \"expectUserResponse\": true,\n  \"isSsml\": false,\n  \"noInputPrompts\": [],\n  \"richResponse\": {\n    \"items\": [\n      {\n        \"simpleResponse\": {\n          \"displayText\": \"hi\",\n          \"textToSpeech\": \"hello\"\n        }\n      }\n    ],\n    \"suggestions\": [\n      {\n        \"title\": \"Say this\"\n      },\n      {\n        \"title\": \"or this\"\n      }\n    ]\n  },\n  \"systemIntent\": {\n    \"data\": {\n      \"@type\": \"type.googleapis.com/google.actions.v2.OptionValueSpec\",\n      \"listSelect\": {\n        \"items\": [\n          {\n            \"optionInfo\": {\n              \"key\": \"key1\",\n              \"synonyms\": [\n                \"key one\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          },\n          {\n            \"optionInfo\": {\n              \"key\": \"key2\",\n              \"synonyms\": [\n                \"key two\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          }\n        ]\n      }\n    },\n    \"intent\": \"actions.intent.OPTION\"\n  }\n}
", + "Google Hangouts." + ], + "items": { + "enum": [ + "PLATFORM_UNSPECIFIED", + "FACEBOOK", + "SLACK", + "TELEGRAM", + "KIK", + "SKYPE", + "LINE", + "VIBER", + "ACTIONS_ON_GOOGLE", + "GOOGLE_HANGOUTS" + ], + "type": "string" + }, + "type": "array" + }, + "displayName": { + "description": "Required. The name of this intent.", + "type": "string" + }, + "events": { + "description": "Optional. The collection of event names that trigger the intent.\nIf the collection of input contexts is not empty, all of the contexts must\nbe present in the active user session for an event to trigger this intent.", + "items": { + "type": "string" + }, + "type": "array" + }, + "followupIntentInfo": { + "description": "Read-only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" + }, + "type": "array" + }, + "inputContextNames": { + "description": "Optional. The list of context names required for this intent to be\ntriggered.\nFormat: `projects//agent/sessions/-/contexts/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "isFallback": { + "description": "Optional. Indicates whether this is a fallback intent.", + "type": "boolean" + }, + "messages": { + "description": "Optional. The collection of rich messages corresponding to the\n`Response` field in the Dialogflow console.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessage" + }, + "type": "array" + }, + "mlDisabled": { + "description": "Optional. Indicates whether Machine Learning is disabled for the intent.\nNote: If `ml_disabled` setting is set to true, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.", + "type": "boolean" + }, + "name": { + "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "outputContexts": { + "description": "Optional. The collection of contexts that are activated when the intent\nis matched. Context messages in this collection should not set the\nparameters field. Setting the `lifespan_count` to 0 will reset the context\nwhen the intent is matched.\nFormat: `projects//agent/sessions/-/contexts/`.", + "items": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "type": "array" + }, + "parameters": { + "description": "Optional. The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentParameter" + }, + "type": "array" + }, + "parentFollowupIntentName": { + "description": "Read-only after creation. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "priority": { + "description": "Optional. The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "resetContexts": { + "description": "Optional. Indicates whether to delete all contexts in the current\nsession when this intent is matched.", + "type": "boolean" + }, + "rootFollowupIntentName": { + "description": "Read-only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent. We populate this field only in the output.\n\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "trainingPhrases": { + "description": "Optional. The collection of examples that the agent is\ntrained on.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentTrainingPhrase" + }, + "type": "array" + }, + "webhookState": { + "description": "Optional. Indicates whether webhooks are enabled for the intent.", + "enum": [ + "WEBHOOK_STATE_UNSPECIFIED", + "WEBHOOK_STATE_ENABLED", + "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" + ], + "enumDescriptions": [ + "Webhook is disabled in the agent and in the intent.", + "Webhook is enabled in the agent and in the intent.", + "Webhook is enabled in the agent and in the intent. Also, each slot\nfilling prompt is forwarded to the webhook." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentBatch": { + "description": "This message is a wrapper around a collection of intents.", + "id": "GoogleCloudDialogflowV2IntentBatch", + "properties": { + "intents": { + "description": "A collection of intents.", + "items": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentFollowupIntentInfo": { + "description": "Represents a single followup intent in the chain.", + "id": "GoogleCloudDialogflowV2IntentFollowupIntentInfo", + "properties": { + "followupIntentName": { + "description": "The unique identifier of the followup intent.\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "parentFollowupIntentName": { + "description": "The unique identifier of the followup intent's parent.\nFormat: `projects//agent/intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessage": { + "description": "Corresponds to the `Response` field in the Dialogflow console.", + "id": "GoogleCloudDialogflowV2IntentMessage", + "properties": { + "basicCard": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCard", + "description": "The basic card response for Actions on Google." + }, + "browseCarouselCard": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", + "description": "Browse carousel card for Actions on Google." + }, + "card": { + "$ref": "GoogleCloudDialogflowV2IntentMessageCard", + "description": "The card response." + }, + "carouselSelect": { + "$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", + "description": "The carousel card response for Actions on Google." + }, + "image": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "The image response." + }, + "linkOutSuggestion": { + "$ref": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", + "description": "The link out suggestion chip for Actions on Google." + }, + "listSelect": { + "$ref": "GoogleCloudDialogflowV2IntentMessageListSelect", + "description": "The list card response for Actions on Google." + }, + "mediaContent": { + "$ref": "GoogleCloudDialogflowV2IntentMessageMediaContent", + "description": "The media content card for Actions on Google." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.\nSee the Intent.Message.Platform type for a description of the\nstructure that may be required for your platform.", + "type": "object" + }, + "platform": { + "description": "Optional. The platform that this message is intended for.", + "enum": [ + "PLATFORM_UNSPECIFIED", + "FACEBOOK", + "SLACK", + "TELEGRAM", + "KIK", + "SKYPE", + "LINE", + "VIBER", + "ACTIONS_ON_GOOGLE", + "GOOGLE_HANGOUTS" + ], + "enumDescriptions": [ + "Not specified.", + "Facebook.", + "Slack.", + "Telegram.", + "Kik.", + "Skype.", + "Line.", + "Viber.", + "Actions on Google.\nWhen using Actions on Google, you can choose one of the specific\nIntent.Message types that mention support for Actions on Google,\nor you can use the advanced Intent.Message.payload field.\nThe payload field provides access to AoG features not available in the\nspecific message types.\nIf using the Intent.Message.payload field, it should have a structure\nsimilar to the JSON message shown here. For more information, see\n[Actions on Google Webhook\nFormat](https://developers.google.com/actions/dialogflow/webhook)\n
{\n  \"expectUserResponse\": true,\n  \"isSsml\": false,\n  \"noInputPrompts\": [],\n  \"richResponse\": {\n    \"items\": [\n      {\n        \"simpleResponse\": {\n          \"displayText\": \"hi\",\n          \"textToSpeech\": \"hello\"\n        }\n      }\n    ],\n    \"suggestions\": [\n      {\n        \"title\": \"Say this\"\n      },\n      {\n        \"title\": \"or this\"\n      }\n    ]\n  },\n  \"systemIntent\": {\n    \"data\": {\n      \"@type\": \"type.googleapis.com/google.actions.v2.OptionValueSpec\",\n      \"listSelect\": {\n        \"items\": [\n          {\n            \"optionInfo\": {\n              \"key\": \"key1\",\n              \"synonyms\": [\n                \"key one\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          },\n          {\n            \"optionInfo\": {\n              \"key\": \"key2\",\n              \"synonyms\": [\n                \"key two\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          }\n        ]\n      }\n    },\n    \"intent\": \"actions.intent.OPTION\"\n  }\n}
", + "Google Hangouts." + ], + "type": "string" + }, + "quickReplies": { + "$ref": "GoogleCloudDialogflowV2IntentMessageQuickReplies", + "description": "The quick replies response." + }, + "simpleResponses": { + "$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", + "description": "The voice and text-only responses for Actions on Google." + }, + "suggestions": { + "$ref": "GoogleCloudDialogflowV2IntentMessageSuggestions", + "description": "The suggestion chips for Actions on Google." + }, + "tableCard": { + "$ref": "GoogleCloudDialogflowV2IntentMessageTableCard", + "description": "Table card for Actions on Google." + }, + "text": { + "$ref": "GoogleCloudDialogflowV2IntentMessageText", + "description": "The text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageBasicCard": { + "description": "The basic card message. Useful for displaying information.", + "id": "GoogleCloudDialogflowV2IntentMessageBasicCard", + "properties": { + "buttons": { + "description": "Optional. The collection of card buttons.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" + }, + "type": "array" + }, + "formattedText": { + "description": "Required, unless image is present. The body text of the card.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. The image for the card." + }, + "subtitle": { + "description": "Optional. The subtitle of the card.", + "type": "string" + }, + "title": { + "description": "Optional. The title of the card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageBasicCardButton": { + "description": "The button object that appears at the bottom of a card.", + "id": "GoogleCloudDialogflowV2IntentMessageBasicCardButton", + "properties": { + "openUriAction": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", + "description": "Required. Action to take when a user taps on the button." + }, + "title": { + "description": "Required. The title of the button.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction": { + "description": "Opens the given URI.", + "id": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", + "properties": { + "uri": { + "description": "Required. The HTTP or HTTPS scheme URI.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard": { + "description": "Browse Carousel Card for Actions on Google.\nhttps://developers.google.com/actions/assistant/responses#browsing_carousel", + "id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", + "properties": { + "imageDisplayOptions": { + "description": "Optional. Settings for displaying the image. Applies to every image in\nitems.", + "enum": [ + "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", + "GRAY", + "WHITE", + "CROPPED", + "BLURRED_BACKGROUND" + ], + "enumDescriptions": [ + "Fill the gaps between the image and the image container with gray\nbars.", + "Fill the gaps between the image and the image container with gray\nbars.", + "Fill the gaps between the image and the image container with white\nbars.", + "Image is scaled such that the image width and height match or exceed\nthe container dimensions. This may crop the top and bottom of the\nimage if the scaled image height is greater than the container\nheight, or crop the left and right of the image if the scaled image\nwidth is greater than the container width. This is similar to \"Zoom\nMode\" on a widescreen TV when playing a 4:3 video.", + "Pad the gaps between image and image frame with a blurred copy of the\nsame image." + ], + "type": "string" + }, + "items": { + "description": "Required. List of items in the Browse Carousel Card. Minimum of two\nitems, maximum of ten.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { + "description": "Browsing carousel tile", + "id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem", + "properties": { + "description": { + "description": "Optional. Description of the carousel item. Maximum of four lines of\ntext.", + "type": "string" + }, + "footer": { + "description": "Optional. Text that appears at the bottom of the Browse Carousel\nCard. Maximum of one line of text.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. Hero image for the carousel item." + }, + "openUriAction": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", + "description": "Required. Action to present to the user." + }, + "title": { + "description": "Required. Title of the carousel item. Maximum of two lines of text.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { + "description": "Actions on Google action to open a given url.", + "id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", + "properties": { + "url": { + "description": "Required. URL", + "type": "string" + }, + "urlTypeHint": { + "description": "Optional. Specifies the type of viewer that is used when opening\nthe URL. Defaults to opening via web browser.", + "enum": [ + "URL_TYPE_HINT_UNSPECIFIED", + "AMP_ACTION", + "AMP_CONTENT" + ], + "enumDescriptions": [ + "Unspecified", + "Url would be an amp action", + "URL that points directly to AMP content, or to a canonical URL\nwhich refers to AMP content via ." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageCard": { + "description": "The card response message.", + "id": "GoogleCloudDialogflowV2IntentMessageCard", + "properties": { + "buttons": { + "description": "Optional. The collection of card buttons.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageCardButton" + }, + "type": "array" + }, + "imageUri": { + "description": "Optional. The public URI to an image file for the card.", + "type": "string" + }, + "subtitle": { + "description": "Optional. The subtitle of the card.", + "type": "string" + }, + "title": { + "description": "Optional. The title of the card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageCardButton": { + "description": "Contains information about a button.", + "id": "GoogleCloudDialogflowV2IntentMessageCardButton", + "properties": { + "postback": { + "description": "Optional. The text to send back to the Dialogflow API or a URI to\nopen.", + "type": "string" + }, + "text": { + "description": "Optional. The text to show on the button.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageCarouselSelect": { + "description": "The card for presenting a carousel of options to select from.", + "id": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", + "properties": { + "items": { + "description": "Required. Carousel items.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem": { + "description": "An item in the carousel.", + "id": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem", + "properties": { + "description": { + "description": "Optional. The body text of the card.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. The image to display." + }, + "info": { + "$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", + "description": "Required. Additional info about the option item." + }, + "title": { + "description": "Required. Title of the carousel item.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageColumnProperties": { + "description": "Column properties for TableCard.", + "id": "GoogleCloudDialogflowV2IntentMessageColumnProperties", + "properties": { + "header": { + "description": "Required. Column heading.", + "type": "string" + }, + "horizontalAlignment": { + "description": "Optional. Defines text alignment for all cells in this column.", + "enum": [ + "HORIZONTAL_ALIGNMENT_UNSPECIFIED", + "LEADING", + "CENTER", + "TRAILING" + ], + "enumDescriptions": [ + "Text is aligned to the leading edge of the column.", + "Text is aligned to the leading edge of the column.", + "Text is centered in the column.", + "Text is aligned to the trailing edge of the column." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageImage": { + "description": "The image response message.", + "id": "GoogleCloudDialogflowV2IntentMessageImage", + "properties": { + "accessibilityText": { + "description": "Optional. A text description of the image to be used for accessibility,\ne.g., screen readers.", + "type": "string" + }, + "imageUri": { + "description": "Optional. The public URI to an image file.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion": { + "description": "The suggestion chip message that allows the user to jump out to the app\nor website associated with this agent.", + "id": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", + "properties": { + "destinationName": { + "description": "Required. The name of the app or site this chip is linking to.", + "type": "string" + }, + "uri": { + "description": "Required. The URI of the app or site to open when the user taps the\nsuggestion chip.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageListSelect": { + "description": "The card for presenting a list of options to select from.", + "id": "GoogleCloudDialogflowV2IntentMessageListSelect", + "properties": { + "items": { + "description": "Required. List items.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageListSelectItem" + }, + "type": "array" + }, + "subtitle": { + "description": "Optional. Subtitle of the list.", + "type": "string" + }, + "title": { + "description": "Optional. The overall title of the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageListSelectItem": { + "description": "An item in the list.", + "id": "GoogleCloudDialogflowV2IntentMessageListSelectItem", + "properties": { + "description": { + "description": "Optional. The main text describing the item.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. The image to display." + }, + "info": { + "$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", + "description": "Required. Additional information about this option." + }, + "title": { + "description": "Required. The title of the list item.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageMediaContent": { + "description": "The media content card for Actions on Google.", + "id": "GoogleCloudDialogflowV2IntentMessageMediaContent", + "properties": { + "mediaObjects": { + "description": "Required. List of media objects.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject" + }, + "type": "array" + }, + "mediaType": { + "description": "Optional. What type of media is the content (ie \"audio\").", + "enum": [ + "RESPONSE_MEDIA_TYPE_UNSPECIFIED", + "AUDIO" + ], + "enumDescriptions": [ + "Unspecified.", + "Response media type is audio." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject": { + "description": "Response media object for media content card.", + "id": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject", + "properties": { + "contentUrl": { + "description": "Required. Url where the media is stored.", + "type": "string" + }, + "description": { + "description": "Optional. Description of media card.", + "type": "string" + }, + "icon": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. Icon to display above media content." + }, + "largeImage": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. Image to display above media content." + }, + "name": { + "description": "Required. Name of media card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageQuickReplies": { + "description": "The quick replies response message.", + "id": "GoogleCloudDialogflowV2IntentMessageQuickReplies", + "properties": { + "quickReplies": { + "description": "Optional. The collection of quick replies.", + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Optional. The title of the collection of quick replies.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageSelectItemInfo": { + "description": "Additional info about the select item for when it is triggered in a\ndialog.", + "id": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", + "properties": { + "key": { + "description": "Required. A unique key that will be sent back to the agent if this\nresponse is given.", + "type": "string" + }, + "synonyms": { + "description": "Optional. A list of synonyms that can also be used to trigger this\nitem in dialog.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageSimpleResponse": { + "description": "The simple response message containing speech or text.", + "id": "GoogleCloudDialogflowV2IntentMessageSimpleResponse", + "properties": { + "displayText": { + "description": "Optional. The text to display.", + "type": "string" + }, + "ssml": { + "description": "One of text_to_speech or ssml must be provided. Structured spoken\nresponse to the user in the SSML format. Mutually exclusive with\ntext_to_speech.", + "type": "string" + }, + "textToSpeech": { + "description": "One of text_to_speech or ssml must be provided. The plain text of the\nspeech output. Mutually exclusive with ssml.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageSimpleResponses": { + "description": "The collection of simple response candidates.\nThis message in `QueryResult.fulfillment_messages` and\n`WebhookResponse.fulfillment_messages` should contain only one\n`SimpleResponse`.", + "id": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", + "properties": { + "simpleResponses": { + "description": "Required. The list of simple responses.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageSuggestion": { + "description": "The suggestion chip message that the user can tap to quickly post a reply\nto the conversation.", + "id": "GoogleCloudDialogflowV2IntentMessageSuggestion", + "properties": { + "title": { + "description": "Required. The text shown the in the suggestion chip.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageSuggestions": { + "description": "The collection of suggestions.", + "id": "GoogleCloudDialogflowV2IntentMessageSuggestions", + "properties": { + "suggestions": { + "description": "Required. The list of suggested replies.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageSuggestion" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageTableCard": { + "description": "Table card for Actions on Google.", + "id": "GoogleCloudDialogflowV2IntentMessageTableCard", + "properties": { + "buttons": { + "description": "Optional. List of buttons for the card.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" + }, + "type": "array" + }, + "columnProperties": { + "description": "Optional. Display properties for the columns in this table.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageColumnProperties" + }, + "type": "array" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2IntentMessageImage", + "description": "Optional. Image which should be displayed on the card." + }, + "rows": { + "description": "Optional. Rows in this table of data.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageTableCardRow" + }, + "type": "array" + }, + "subtitle": { + "description": "Optional. Subtitle to the title.", + "type": "string" + }, + "title": { + "description": "Required. Title of the card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageTableCardCell": { + "description": "Cell of TableCardRow.", + "id": "GoogleCloudDialogflowV2IntentMessageTableCardCell", + "properties": { + "text": { + "description": "Required. Text in this cell.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageTableCardRow": { + "description": "Row of TableCard.", + "id": "GoogleCloudDialogflowV2IntentMessageTableCardRow", + "properties": { + "cells": { + "description": "Optional. List of cells that make up this row.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessageTableCardCell" + }, + "type": "array" + }, + "dividerAfter": { + "description": "Optional. Whether to add a visual divider after this row.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowV2IntentMessageText", + "properties": { + "text": { + "description": "Optional. The collection of the agent's responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentParameter": { + "description": "Represents intent parameters.", + "id": "GoogleCloudDialogflowV2IntentParameter", + "properties": { + "defaultValue": { + "description": "Optional. The default value to use when the `value` yields an empty\nresult.\nDefault values can be extracted from contexts by using the following\nsyntax: `#context_name.parameter_name`.", + "type": "string" + }, + "displayName": { + "description": "Required. The name of the parameter.", + "type": "string" + }, + "entityTypeDisplayName": { + "description": "Optional. The name of the entity type, prefixed with `@`, that\ndescribes values of the parameter. If the parameter is\nrequired, this must be provided.", + "type": "string" + }, + "isList": { + "description": "Optional. Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "mandatory": { + "description": "Optional. Indicates whether the parameter is required. That is,\nwhether the intent cannot be completed without collecting the parameter\nvalue.", + "type": "boolean" + }, + "name": { + "description": "The unique identifier of this parameter.", + "type": "string" + }, + "prompts": { + "description": "Optional. The collection of prompts that the agent can present to the\nuser in order to collect a value for the parameter.", + "items": { + "type": "string" + }, + "type": "array" + }, + "value": { + "description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on.", + "id": "GoogleCloudDialogflowV2IntentTrainingPhrase", + "properties": { + "name": { + "description": "Output only. The unique identifier of this training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts.\nThe parts are concatenated in order to form the training phrase.\n\nNote: The API does not automatically annotate training phrases like the\nDialogflow Console does.\n\nNote: Do not forget to include whitespace at part boundaries,\nso the training phrase is well formatted when the parts are concatenated.\n\nIf the training phrase does not need to be annotated with parameters,\nyou just need a single part with only the Part.text field set.\n\nIf you want to annotate the training phrase, you must create multiple\nparts, where the fields of each part are populated in one of two ways:\n\n- `Part.text` is set to a part of the phrase that has no parameters.\n- `Part.text` is set to a part of the phrase that you want to annotate,\n and the `entity_type`, `alias`, and `user_defined` fields are all\n set.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentTrainingPhrasePart" + }, + "type": "array" + }, + "timesAddedCount": { + "description": "Optional. Indicates how many times this example was added to\nthe intent. Each time a developer adds an existing sample by editing an\nintent or training, this counter is increased.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "Required. The type of the training phrase.", + "enum": [ + "TYPE_UNSPECIFIED", + "EXAMPLE", + "TEMPLATE" + ], + "enumDescriptions": [ + "Not specified. This value should never be used.", + "Examples do not contain @-prefixed entity type names, but example parts\ncan be annotated with entity types.", + "Templates are not annotated with entity types, but they can contain\n@-prefixed entity type names as substrings.\nTemplate mode has been deprecated. Example mode is the only supported\nway to create new training phrases. If you have existing training\nphrases that you've created in template mode, those will continue to\nwork." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowV2IntentTrainingPhrasePart", + "properties": { + "alias": { + "description": "Optional. The parameter name for the value extracted from the\nannotated part of the example.\nThis field is required for annotated parts of the training phrase.", + "type": "string" + }, + "entityType": { + "description": "Optional. The entity type name prefixed with `@`.\nThis field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", + "type": "string" + }, + "userDefined": { + "description": "Optional. Indicates whether the text was manually annotated.\nThis field is set to true when the Dialogflow Console is used to\nmanually annotate the part. When creating an annotated part with the\nAPI, you must set this to true.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ListContextsResponse": { + "description": "The response message for Contexts.ListContexts.", + "id": "GoogleCloudDialogflowV2ListContextsResponse", + "properties": { + "contexts": { + "description": "The list of contexts. There will be a maximum number of items\nreturned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ListEntityTypesResponse": { + "description": "The response message for EntityTypes.ListEntityTypes.", + "id": "GoogleCloudDialogflowV2ListEntityTypesResponse", + "properties": { + "entityTypes": { + "description": "The list of agent entity types. There will be a maximum number of items\nreturned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityType" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ListIntentsResponse": { + "description": "The response message for Intents.ListIntents.", + "id": "GoogleCloudDialogflowV2ListIntentsResponse", + "properties": { + "intents": { + "description": "The list of agent intents. There will be a maximum number of items\nreturned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowV2Intent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ListSessionEntityTypesResponse": { + "description": "The response message for SessionEntityTypes.ListSessionEntityTypes.", + "id": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.", + "type": "string" + }, + "sessionEntityTypes": { + "description": "The list of session entity types. There will be a maximum number of items\nreturned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2Message": { + "description": "Represents a message posted into a conversation.", + "id": "GoogleCloudDialogflowV2Message", + "properties": { + "content": { + "description": "Required. The message content.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time when the message was created.", + "format": "google-datetime", + "type": "string" + }, + "languageCode": { + "description": "Optional. The message language.\nThis should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)\nlanguage tag. Example: \"en-US\".", + "type": "string" + }, + "messageAnnotation": { + "$ref": "GoogleCloudDialogflowV2MessageAnnotation", + "description": "Output only. The annotation for the message." + }, + "name": { + "description": "The unique identifier of the message.\nFormat: `projects//conversations//messages/`.", + "type": "string" + }, + "participant": { + "description": "Output only. The participant that sends this message.", + "type": "string" + }, + "participantRole": { + "description": "Output only. The role of the participant.", + "enum": [ + "ROLE_UNSPECIFIED", + "HUMAN_AGENT", + "AUTOMATED_AGENT", + "END_USER" + ], + "enumDescriptions": [ + "Participant role not set.", + "Participant is a human agent.", + "Participant is an automated agent, such as a Dialogflow agent.", + "Participant is an end user that has called or chatted with\nDialogflow services." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2MessageAnnotation": { + "description": "Represents the result of annotation for the message.", + "id": "GoogleCloudDialogflowV2MessageAnnotation", + "properties": { + "containEntities": { + "description": "Indicates whether the text message contains entities.", + "type": "boolean" + }, + "parts": { + "description": "The collection of annotated message parts ordered by their\nposition in the message. You can recover the annotated message by\nconcatenating [AnnotatedMessagePart.text].", + "items": { + "$ref": "GoogleCloudDialogflowV2AnnotatedMessagePart" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2OriginalDetectIntentRequest": { + "description": "Represents the contents of the original request that was passed to\nthe `[Streaming]DetectIntent` call.", + "id": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", + "properties": { + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. This field is set to the value of the `QueryParameters.payload`\nfield passed in the request. Some integrations that query a Dialogflow\nagent may provide additional information in the payload.\n\nIn particular for the Telephony Gateway this field has the form:\n
{\n \"telephony\": {\n   \"caller_id\": \"+18558363987\"\n }\n}
\nNote: The caller ID field (`caller_id`) will be redacted for Standard\nEdition agents and populated with the caller ID in [E.164\nformat](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents.", + "type": "object" + }, + "source": { + "description": "The source of this request, e.g., `google`, `facebook`, `slack`. It is set\nby Dialogflow-owned servers.", + "type": "string" + }, + "version": { + "description": "Optional. The version of the protocol used for this request.\nThis field is AoG-specific.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2OutputAudioConfig": { + "description": "Instructs the speech synthesizer on how to generate the output audio content.\nIf this audio config is supplied in a request, it overrides all existing\ntext-to-speech settings applied to the agent.", + "id": "GoogleCloudDialogflowV2OutputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the synthesized audio content.", + "enum": [ + "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", + "OUTPUT_AUDIO_ENCODING_LINEAR_16", + "OUTPUT_AUDIO_ENCODING_MP3", + "OUTPUT_AUDIO_ENCODING_OGG_OPUS" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).\nAudio content returned as LINEAR16 also contains a WAV header.", + "MP3 audio at 32kbps.", + "Opus encoded audio wrapped in an ogg container. The result will be a\nfile which can be played natively on Android, and in browsers (at least\nChrome and Firefox). The quality of the encoding is considerably higher\nthan MP3 while using approximately the same bitrate." + ], + "type": "string" + }, + "sampleRateHertz": { + "description": "The synthesis sample rate (in hertz) for this audio. If not\nprovided, then the synthesizer will use the default sample rate based on\nthe audio encoding. If this is different from the voice's natural sample\nrate, then the synthesizer will honor this request by converting to the\ndesired sample rate (which might result in worse audio quality).", + "format": "int32", + "type": "integer" + }, + "synthesizeSpeechConfig": { + "$ref": "GoogleCloudDialogflowV2SynthesizeSpeechConfig", + "description": "Configuration of how speech should be synthesized." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2QueryInput": { + "description": "Represents the query input. It can contain either:\n\n1. An audio config which\n instructs the speech recognizer how to process the speech audio.\n\n2. A conversational query in the form of text,.\n\n3. An event that specifies which intent to trigger.", + "id": "GoogleCloudDialogflowV2QueryInput", + "properties": { + "audioConfig": { + "$ref": "GoogleCloudDialogflowV2InputAudioConfig", + "description": "Instructs the speech recognizer how to process the speech audio." + }, + "event": { + "$ref": "GoogleCloudDialogflowV2EventInput", + "description": "The event to be processed." + }, + "text": { + "$ref": "GoogleCloudDialogflowV2TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2QueryParameters": { + "description": "Represents the parameters of the conversational query.", + "id": "GoogleCloudDialogflowV2QueryParameters", + "properties": { + "contexts": { + "description": "The collection of contexts to be activated before this query is\nexecuted.", + "items": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "type": "array" + }, + "geoLocation": { + "$ref": "GoogleTypeLatLng", + "description": "The geo location of this conversational query." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "This field can be used to pass custom data into the webhook\nassociated with the agent. Arbitrary JSON objects are supported.", + "type": "object" + }, + "resetContexts": { + "description": "Specifies whether to delete all contexts in the current session\nbefore the new ones are activated.", + "type": "boolean" + }, + "sentimentAnalysisRequestConfig": { + "$ref": "GoogleCloudDialogflowV2SentimentAnalysisRequestConfig", + "description": "Configures the type of sentiment analysis to perform. If not\nprovided, sentiment analysis is not performed." + }, + "sessionEntityTypes": { + "description": "Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query.", + "items": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "type": "array" + }, + "timeZone": { + "description": "The time zone of this conversational query from the\n[time zone database](https://www.iana.org/time-zones), e.g.,\nAmerica/New_York, Europe/Paris. If not provided, the time zone specified in\nagent settings is used.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2QueryResult": { + "description": "Represents the result of conversational query or event processing.", + "id": "GoogleCloudDialogflowV2QueryResult", + "properties": { + "action": { + "description": "The action name from the matched intent.", + "type": "string" + }, + "allRequiredParamsPresent": { + "description": "This field is set to:\n\n- `false` if the matched intent has required parameters and not all of\n the required parameter values have been collected.\n- `true` if all required parameter values have been collected, or if the\n matched intent doesn't contain any required parameters.", + "type": "boolean" + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Free-form diagnostic information for the associated detect intent request.\nThe fields of this data can change without notice, so you should not write\ncode that depends on its structure.\nThe data may contain:\n\n- webhook call latency\n- webhook errors", + "type": "object" + }, + "fulfillmentMessages": { + "description": "The collection of rich messages to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessage" + }, + "type": "array" + }, + "fulfillmentText": { + "description": "The text to be pronounced to the user or shown on the screen.\nNote: This is a legacy field, `fulfillment_messages` should be preferred.", + "type": "string" + }, + "intent": { + "$ref": "GoogleCloudDialogflowV2Intent", + "description": "The intent that matched the conversational query. Some, not\nall fields are filled in this message, including but not limited to:\n`name`, `display_name`, `end_interaction` and `is_fallback`." + }, + "intentDetectionConfidence": { + "description": "The intent detection confidence. Values range from 0.0\n(completely uncertain) to 1.0 (completely certain).\nThis value is for informational purpose only and is only used to\nhelp match the best intent within the classification threshold.\nThis value may change for the same end-user expression at any time due to a\nmodel retraining or change in implementation.\nIf there are `multiple knowledge_answers` messages, this value is set to\nthe greatest `knowledgeAnswers.match_confidence` value in the list.", + "format": "float", + "type": "number" + }, + "languageCode": { + "description": "The language that was triggered during intent detection.\nSee [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes.", + "type": "string" + }, + "outputContexts": { + "description": "The collection of output contexts. If applicable,\n`output_contexts.parameters` contains entries with name\n`.original` containing the original parameter values\nbefore the query.", + "items": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "type": "array" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The collection of extracted parameters.", + "type": "object" + }, + "queryText": { + "description": "The original conversational query text:\n\n- If natural language text was provided as input, `query_text` contains\n a copy of the input.\n- If natural language speech audio was provided as input, `query_text`\n contains the speech recognition result. If speech recognizer produced\n multiple alternatives, a particular one is picked.\n- If automatic spell correction is enabled, `query_text` will contain the\n corrected user input.", + "type": "string" + }, + "sentimentAnalysisResult": { + "$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult", + "description": "The sentiment analysis result, which depends on the\n`sentiment_analysis_request_config` specified in the request." + }, + "speechRecognitionConfidence": { + "description": "The Speech recognition confidence between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. The default of 0.0 is a sentinel value indicating that confidence\nwas not set.\n\nThis field is not guaranteed to be accurate or set. In particular this\nfield isn't set for StreamingDetectIntent since the streaming endpoint has\nseparate confidence estimates per portion of the audio in\nStreamingRecognitionResult.", + "format": "float", + "type": "number" + }, + "webhookPayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `payload` field returned in the webhook response.", + "type": "object" + }, + "webhookSource": { + "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `source` field returned in the webhook response.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2RestoreAgentRequest": { + "description": "The request message for Agents.RestoreAgent.", + "id": "GoogleCloudDialogflowV2RestoreAgentRequest", + "properties": { + "agentContent": { + "description": "Zip compressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a Google Cloud Storage file containing the agent to restore.\nNote: The URI must start with \"gs://\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchAgentsResponse": { + "description": "The response message for Agents.SearchAgents.", + "id": "GoogleCloudDialogflowV2SearchAgentsResponse", + "properties": { + "agents": { + "description": "The list of agents. There will be a maximum number of items returned based\non the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowV2Agent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2Sentiment": { + "description": "The sentiment, such as positive/negative feeling or association, for a unit\nof analysis, such as the query text.", + "id": "GoogleCloudDialogflowV2Sentiment", + "properties": { + "magnitude": { + "description": "A non-negative number in the [0, +inf) range, which represents the absolute\nmagnitude of sentiment, regardless of score (positive or negative).", + "format": "float", + "type": "number" + }, + "score": { + "description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive\nsentiment).", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SentimentAnalysisRequestConfig": { + "description": "Configures the types of sentiment analysis to perform.", + "id": "GoogleCloudDialogflowV2SentimentAnalysisRequestConfig", + "properties": { + "analyzeQueryTextSentiment": { + "description": "Instructs the service to perform sentiment analysis on\n`query_text`. If not provided, sentiment analysis is not performed on\n`query_text`.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SentimentAnalysisResult": { + "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.", + "id": "GoogleCloudDialogflowV2SentimentAnalysisResult", + "properties": { + "queryTextSentiment": { + "$ref": "GoogleCloudDialogflowV2Sentiment", + "description": "The sentiment analysis result for `query_text`." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SessionEntityType": { + "description": "Represents a session entity type.\n\nExtends or replaces a custom entity type at the user session level (we\nrefer to the entity types defined at the agent level as \"custom entity\ntypes\").\n\nNote: session entity types apply to all queries, regardless of the language.", + "id": "GoogleCloudDialogflowV2SessionEntityType", + "properties": { + "entities": { + "description": "Required. The collection of entities associated with this session entity\ntype.", + "items": { + "$ref": "GoogleCloudDialogflowV2EntityTypeEntity" + }, + "type": "array" + }, + "entityOverrideMode": { + "description": "Required. Indicates whether the additional data should override or\nsupplement the custom entity type definition.", + "enum": [ + "ENTITY_OVERRIDE_MODE_UNSPECIFIED", + "ENTITY_OVERRIDE_MODE_OVERRIDE", + "ENTITY_OVERRIDE_MODE_SUPPLEMENT" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "The collection of session entities overrides the collection of entities\nin the corresponding custom entity type.", + "The collection of session entities extends the collection of entities in\nthe corresponding custom entity type.\n\nNote: Even in this override mode calls to `ListSessionEntityTypes`,\n`GetSessionEntityType`, `CreateSessionEntityType` and\n`UpdateSessionEntityType` only return the additional entities added in\nthis session entity type. If you want to get the supplemented list,\nplease call EntityTypes.GetEntityType on the custom entity type\nand merge." + ], + "type": "string" + }, + "name": { + "description": "Required. The unique identifier of this session entity type. Format:\n`projects//agent/sessions//entityTypes/`.\n\n`` must be the display name of an existing entity\ntype in the same agent that will be overridden or supplemented.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SpeechContext": { + "description": "Hints for the speech recognizer to help with recognition in a specific\nconversation state.", + "id": "GoogleCloudDialogflowV2SpeechContext", + "properties": { + "boost": { + "description": "Optional. Boost for this context compared to other contexts:\n* If the boost is positive, Dialogflow will increase the probability that\n the phrases in this context are recognized over similar sounding phrases.\n* If the boost is unspecified or non-positive, Dialogflow will not apply\n any boost.\n\nDialogflow recommends that you use boosts in the range (0, 20] and that you\nfind a value that fits your use case with binary search.", + "format": "float", + "type": "number" + }, + "phrases": { + "description": "Optional. A list of strings containing words and phrases that the speech\nrecognizer should recognize with higher likelihood.\n\nThis list can be used to:\n* improve accuracy for words and phrases you expect the user to say,\n e.g. typical commands for your Dialogflow agent\n* add additional words to the speech recognizer vocabulary\n* ...\n\nSee the [Cloud Speech\ndocumentation](https://cloud.google.com/speech-to-text/quotas) for usage\nlimits.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SynthesizeSpeechConfig": { + "description": "Configuration of how speech should be synthesized.", + "id": "GoogleCloudDialogflowV2SynthesizeSpeechConfig", + "properties": { + "effectsProfileId": { + "description": "Optional. An identifier which selects 'audio effects' profiles that are\napplied on (post synthesized) text to speech. Effects are applied on top of\neach other in the order they are given.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pitch": { + "description": "Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20\nsemitones from the original pitch. -20 means decrease 20 semitones from the\noriginal pitch.", + "format": "double", + "type": "number" + }, + "speakingRate": { + "description": "Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal\nnative speed supported by the specific voice. 2.0 is twice as fast, and\n0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any\nother values < 0.25 or > 4.0 will return an error.", + "format": "double", + "type": "number" + }, + "voice": { + "$ref": "GoogleCloudDialogflowV2VoiceSelectionParams", + "description": "Optional. The desired voice of the synthesized audio." + }, + "volumeGainDb": { + "description": "Optional. Volume gain (in dB) of the normal native volume supported by the\nspecific voice, in the range [-96.0, 16.0]. If unset, or set to a value of\n0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)\nwill play at approximately half the amplitude of the normal native signal\namplitude. A value of +6.0 (dB) will play at approximately twice the\namplitude of the normal native signal amplitude. We strongly recommend not\nto exceed +10 (dB) as there's usually no effective increase in loudness for\nany value greater than that.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowV2TextInput", + "properties": { + "languageCode": { + "description": "Required. The language of this conversational query. See [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed.\nText length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2TrainAgentRequest": { + "description": "The request message for Agents.TrainAgent.", + "id": "GoogleCloudDialogflowV2TrainAgentRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowV2ValidationError": { + "description": "Represents a single validation error.", + "id": "GoogleCloudDialogflowV2ValidationError", + "properties": { + "entries": { + "description": "The names of the entries that the error is associated with.\nFormat:\n\n- \"projects//agent\", if the error is associated with the entire\nagent.\n- \"projects//agent/intents/\", if the error is\nassociated with certain intents.\n- \"projects//agent/intents//trainingPhrases/\", if the\nerror is associated with certain intent training phrases.\n- \"projects//agent/intents//parameters/\", if the error is associated with certain intent parameters.\n- \"projects//agent/entities/\", if the error is\nassociated with certain entities.", + "items": { + "type": "string" + }, + "type": "array" + }, + "errorMessage": { + "description": "The detailed error messsage.", + "type": "string" + }, + "severity": { + "description": "The severity of the error.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "INFO", + "WARNING", + "ERROR", + "CRITICAL" + ], + "enumDescriptions": [ + "Not specified. This value should never be used.", + "The agent doesn't follow Dialogflow best practicies.", + "The agent may not behave as expected.", + "The agent may experience partial failures.", + "The agent may completely fail." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ValidationResult": { + "description": "Represents the output of agent validation.", + "id": "GoogleCloudDialogflowV2ValidationResult", + "properties": { + "validationErrors": { + "description": "Contains all validation errors.", + "items": { + "$ref": "GoogleCloudDialogflowV2ValidationError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2VoiceSelectionParams": { + "description": "Description of which voice to use for speech synthesis.", + "id": "GoogleCloudDialogflowV2VoiceSelectionParams", + "properties": { + "name": { + "description": "Optional. The name of the voice. If not set, the service will choose a\nvoice based on the other parameters such as language_code and\nssml_gender.", + "type": "string" + }, + "ssmlGender": { + "description": "Optional. The preferred gender of the voice. If not set, the service will\nchoose a voice based on the other parameters such as language_code and\nname. Note that this is only a preference, not requirement. If a\nvoice of the appropriate gender is not available, the synthesizer should\nsubstitute a voice with a different gender rather than failing the request.", + "enum": [ + "SSML_VOICE_GENDER_UNSPECIFIED", + "SSML_VOICE_GENDER_MALE", + "SSML_VOICE_GENDER_FEMALE", + "SSML_VOICE_GENDER_NEUTRAL" + ], + "enumDescriptions": [ + "An unspecified gender, which means that the client doesn't care which\ngender the selected voice will have.", + "A male voice.", + "A female voice.", + "A gender-neutral voice." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowV2WebhookRequest", + "properties": { + "originalDetectIntentRequest": { + "$ref": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", + "description": "Optional. The contents of the original request that was passed to\n`[Streaming]DetectIntent` call." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowV2QueryResult", + "description": "The result of the conversational query or event processing. Contains the\nsame value as `[Streaming]DetectIntentResponse.query_result`." + }, + "responseId": { + "description": "The unique identifier of the response. Contains the same value as\n`[Streaming]DetectIntentResponse.response_id`.", + "type": "string" + }, + "session": { + "description": "The unique identifier of detectIntent request session.\nCan be used to identify end-user inside webhook implementation.\nFormat: `projects//agent/sessions/`, or\n`projects//agent/environments//users//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2WebhookResponse": { + "description": "The response message for a webhook call.\n\nThis response is validated by the Dialogflow server. If validation fails,\nan error will be returned in the QueryResult.diagnostic_info field.\nSetting JSON fields to an empty value with the wrong type is a common error.\nTo avoid this error:\n\n- Use `\"\"` for empty strings\n- Use `{}` or `null` for empty objects\n- Use `[]` or `null` for empty arrays\n\nFor more information, see the\n[Protocol Buffers Language\nGuide](https://developers.google.com/protocol-buffers/docs/proto3#json).", + "id": "GoogleCloudDialogflowV2WebhookResponse", + "properties": { + "followupEventInput": { + "$ref": "GoogleCloudDialogflowV2EventInput", + "description": "Optional. Makes the platform immediately invoke another `DetectIntent` call\ninternally with the specified event as input.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields." + }, + "fulfillmentMessages": { + "description": "Optional. The collection of rich messages to present to the user. This\nvalue is passed directly to `QueryResult.fulfillment_messages`.", + "items": { + "$ref": "GoogleCloudDialogflowV2IntentMessage" + }, + "type": "array" + }, + "fulfillmentText": { + "description": "Optional. The text to be shown on the screen. This value is passed directly\nto `QueryResult.fulfillment_text`.", + "type": "string" + }, + "outputContexts": { + "description": "Optional. The collection of output contexts. This value is passed directly\nto `QueryResult.output_contexts`.", + "items": { + "$ref": "GoogleCloudDialogflowV2Context" + }, + "type": "array" + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. This value is passed directly to `QueryResult.webhook_payload`.\nSee the related `fulfillment_messages[i].payload field`, which may be used\nas an alternative to this field.\n\nThis field can be used for Actions on Google responses.\nIt should have a structure similar to the JSON message shown here. For more\ninformation, see\n[Actions on Google Webhook\nFormat](https://developers.google.com/actions/dialogflow/webhook)\n
{\n  \"google\": {\n    \"expectUserResponse\": true,\n    \"richResponse\": {\n      \"items\": [\n        {\n          \"simpleResponse\": {\n            \"textToSpeech\": \"this is a simple response\"\n          }\n        }\n      ]\n    }\n  }\n}
", + "type": "object" + }, + "sessionEntityTypes": { + "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query. Setting the session entity types inside\nwebhook overwrites the session entity types that have been set through\n`DetectIntentRequest.query_params.session_entity_types`.", + "items": { + "$ref": "GoogleCloudDialogflowV2SessionEntityType" + }, + "type": "array" + }, + "source": { + "description": "Optional. This value is passed directly to `QueryResult.webhook_source`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1AnnotatedConversationDataset": { + "description": "Represents an annotated conversation dataset.\nConversationDataset can have multiple AnnotatedConversationDataset, each of\nthem represents one result from one annotation task.\nAnnotatedConversationDataset can only be generated from annotation task,\nwhich will be triggered by LabelConversation.", + "id": "GoogleCloudDialogflowV2beta1AnnotatedConversationDataset", + "properties": { + "completedExampleCount": { + "description": "Output only. Number of examples that have annotations in the annotated\nconversation dataset.", + "format": "int64", + "type": "string" + }, + "createTime": { + "description": "Output only. Creation time of this annotated conversation dataset.", + "format": "google-datetime", + "type": "string" + }, + "description": { + "description": "Optional. The description of the annotated conversation dataset.\nMaximum of 10000 bytes.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the annotated conversation dataset.\nIt's specified when user starts an annotation task. Maximum of 64 bytes.", + "type": "string" + }, + "exampleCount": { + "description": "Output only. Number of examples in the annotated conversation dataset.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Output only. AnnotatedConversationDataset resource name. Format:\n`projects//conversationDatasets//annotatedConversationDatasets/`", + "type": "string" + }, + "questionTypeName": { + "description": "Output only. Question type name that identifies a labeling task.\nA question is a single task that a worker answers. A question type is set\nof related questions. Each question belongs to a particular question type.\nIt can be used in CrowdCompute UI to filter and manage labeling tasks.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": { + "description": "The response message for EntityTypes.BatchUpdateEntityTypes.", + "id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse", + "properties": { + "entityTypes": { + "description": "The collection of updated or created entity types.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1EntityType" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse": { + "description": "The response message for Intents.BatchUpdateIntents.", + "id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse", + "properties": { + "intents": { + "description": "The collection of updated or created intents.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1Intent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1Context": { + "description": "Represents a context.", + "id": "GoogleCloudDialogflowV2beta1Context", + "properties": { + "lifespanCount": { + "description": "Optional. The number of conversational query requests after which the\ncontext expires. If set to `0` (the default) the context expires\nimmediately. Contexts expire automatically after 20 minutes if there\nare no matching queries.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Required. The unique identifier of the context. Format:\n`projects//agent/sessions//contexts/`,\nor `projects//agent/environments//users//sessions//contexts/`.\n\nThe `Context ID` is always converted to lowercase, may only contain\ncharacters in a-zA-Z0-9_-% and may be at most 250 bytes long.\n\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment. If `User ID` is not specified, we assume default '-' user.\n\nThe following context names are reserved for internal use by Dialogflow.\nYou should not use these contexts or create contexts with these names:\n\n* `__system_counters__`\n* `*_id_dialog_context`\n* `*_dialog_params_size`", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The collection of parameters associated with this context.\nRefer to [this\ndoc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)\nfor syntax.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1EntityType": { + "description": "Represents an entity type.\nEntity types serve as a tool for extracting parameter values from natural\nlanguage queries.", + "id": "GoogleCloudDialogflowV2beta1EntityType", + "properties": { + "autoExpansionMode": { + "description": "Optional. Indicates whether the entity type can be automatically\nexpanded.", + "enum": [ + "AUTO_EXPANSION_MODE_UNSPECIFIED", + "AUTO_EXPANSION_MODE_DEFAULT" + ], + "enumDescriptions": [ + "Auto expansion disabled for the entity.", + "Allows an agent to recognize values that have not been explicitly\nlisted in the entity." + ], + "type": "string" + }, + "displayName": { + "description": "Required. The name of the entity type.", + "type": "string" + }, + "enableFuzzyExtraction": { + "description": "Optional. Enables fuzzy entity extraction during classification.", + "type": "boolean" + }, + "entities": { + "description": "Optional. The collection of entity entries associated with the entity type.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" + }, + "type": "array" + }, + "kind": { + "description": "Required. Indicates the kind of entity type.", + "enum": [ + "KIND_UNSPECIFIED", + "KIND_MAP", + "KIND_LIST", + "KIND_REGEXP" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Map entity types allow mapping of a group of synonyms to a reference\nvalue.", + "List entity types contain a set of entries that do not map to reference\nvalues. However, list entity types can contain references to other entity\ntypes (with or without aliases).", + "Regexp entity types allow to specify regular expressions in entries\nvalues." + ], + "type": "string" + }, + "name": { + "description": "The unique identifier of the entity type.\nRequired for EntityTypes.UpdateEntityType and\nEntityTypes.BatchUpdateEntityTypes methods.\nFormat: `projects//agent/entityTypes/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1EntityTypeEntity": { + "description": "An **entity entry** for an associated entity type.", + "id": "GoogleCloudDialogflowV2beta1EntityTypeEntity", + "properties": { + "synonyms": { + "description": "Required. A collection of value synonyms. For example, if the entity type\nis *vegetable*, and `value` is *scallions*, a synonym could be *green\nonions*.\n\nFor `KIND_LIST` entity types:\n\n* This collection must contain exactly one synonym equal to `value`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "value": { + "description": "Required. The primary value associated with this entity entry.\nFor example, if the entity type is *vegetable*, the value could be\n*scallions*.\n\nFor `KIND_MAP` entity types:\n\n* A reference value to be used in place of synonyms.\n\nFor `KIND_LIST` entity types:\n\n* A string that can contain references to other entity types (with or\n without aliases).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1EventInput": { + "description": "Events allow for matching intents by event name instead of the natural\nlanguage input. For instance, input `` can trigger a personalized welcome response.\nThe parameter `name` may be used by the agent in the response:\n`\"Hello #welcome_event.name! What can I do for you today?\"`.", + "id": "GoogleCloudDialogflowV2beta1EventInput", + "properties": { + "languageCode": { + "description": "Required. The language of this query. See [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.", + "type": "string" + }, + "name": { + "description": "Required. The unique identifier of the event.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The collection of parameters associated with the event.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowV2beta1ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Zip compressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in `ExportAgentRequest`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1Intent": { + "description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.", + "id": "GoogleCloudDialogflowV2beta1Intent", + "properties": { + "action": { + "description": "Optional. The name of the action associated with the intent.\nNote: The action name must not contain whitespaces.", + "type": "string" + }, + "defaultResponsePlatforms": { + "description": "Optional. The list of platforms for which the first responses will be\ncopied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).", + "enumDescriptions": [ + "Not specified.", + "Facebook.", + "Slack.", + "Telegram.", + "Kik.", + "Skype.", + "Line.", + "Viber.", + "Actions on Google.\nWhen using Actions on Google, you can choose one of the specific\nIntent.Message types that mention support for Actions on Google,\nor you can use the advanced Intent.Message.payload field.\nThe payload field provides access to AoG features not available in the\nspecific message types.\nIf using the Intent.Message.payload field, it should have a structure\nsimilar to the JSON message shown here. For more information, see\n[Actions on Google Webhook\nFormat](https://developers.google.com/actions/dialogflow/webhook)\n
{\n  \"expectUserResponse\": true,\n  \"isSsml\": false,\n  \"noInputPrompts\": [],\n  \"richResponse\": {\n    \"items\": [\n      {\n        \"simpleResponse\": {\n          \"displayText\": \"hi\",\n          \"textToSpeech\": \"hello\"\n        }\n      }\n    ],\n    \"suggestions\": [\n      {\n        \"title\": \"Say this\"\n      },\n      {\n        \"title\": \"or this\"\n      }\n    ]\n  },\n  \"systemIntent\": {\n    \"data\": {\n      \"@type\": \"type.googleapis.com/google.actions.v2.OptionValueSpec\",\n      \"listSelect\": {\n        \"items\": [\n          {\n            \"optionInfo\": {\n              \"key\": \"key1\",\n              \"synonyms\": [\n                \"key one\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          },\n          {\n            \"optionInfo\": {\n              \"key\": \"key2\",\n              \"synonyms\": [\n                \"key two\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          }\n        ]\n      }\n    },\n    \"intent\": \"actions.intent.OPTION\"\n  }\n}
", + "Telephony Gateway.", + "Google Hangouts." + ], + "items": { + "enum": [ + "PLATFORM_UNSPECIFIED", + "FACEBOOK", + "SLACK", + "TELEGRAM", + "KIK", + "SKYPE", + "LINE", + "VIBER", + "ACTIONS_ON_GOOGLE", + "TELEPHONY", + "GOOGLE_HANGOUTS" + ], + "type": "string" + }, + "type": "array" + }, + "displayName": { + "description": "Required. The name of this intent.", + "type": "string" + }, + "endInteraction": { + "description": "Optional. Indicates that this intent ends an interaction. Some integrations\n(e.g., Actions on Google or Dialogflow phone gateway) use this information\nto close interaction with an end user. Default is false.", + "type": "boolean" + }, + "events": { + "description": "Optional. The collection of event names that trigger the intent.\nIf the collection of input contexts is not empty, all of the contexts must\nbe present in the active user session for an event to trigger this intent.", + "items": { + "type": "string" + }, + "type": "array" + }, + "followupIntentInfo": { + "description": "Read-only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo" + }, + "type": "array" + }, + "inputContextNames": { + "description": "Optional. The list of context names required for this intent to be\ntriggered.\nFormat: `projects//agent/sessions/-/contexts/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "isFallback": { + "description": "Optional. Indicates whether this is a fallback intent.", + "type": "boolean" + }, + "messages": { + "description": "Optional. The collection of rich messages corresponding to the\n`Response` field in the Dialogflow console.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessage" + }, + "type": "array" + }, + "mlDisabled": { + "description": "Optional. Indicates whether Machine Learning is disabled for the intent.\nNote: If `ml_disabled` setting is set to true, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.", + "type": "boolean" + }, + "mlEnabled": { + "description": "Optional. Indicates whether Machine Learning is enabled for the intent.\nNote: If `ml_enabled` setting is set to false, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.\nDEPRECATED! Please use `ml_disabled` field instead.\nNOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,\nthen the default value is determined as follows:\n- Before April 15th, 2018 the default is:\n ml_enabled = false / ml_disabled = true.\n- After April 15th, 2018 the default is:\n ml_enabled = true / ml_disabled = false.", + "type": "boolean" + }, + "name": { + "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "outputContexts": { + "description": "Optional. The collection of contexts that are activated when the intent\nis matched. Context messages in this collection should not set the\nparameters field. Setting the `lifespan_count` to 0 will reset the context\nwhen the intent is matched.\nFormat: `projects//agent/sessions/-/contexts/`.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1Context" + }, + "type": "array" + }, + "parameters": { + "description": "Optional. The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentParameter" + }, + "type": "array" + }, + "parentFollowupIntentName": { + "description": "Read-only after creation. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "resetContexts": { + "description": "Optional. Indicates whether to delete all contexts in the current\nsession when this intent is matched.", + "type": "boolean" + }, + "rootFollowupIntentName": { + "description": "Read-only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent. We populate this field only in the output.\n\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "trainingPhrases": { + "description": "Optional. The collection of examples that the agent is\ntrained on.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase" + }, + "type": "array" + }, + "webhookState": { + "description": "Optional. Indicates whether webhooks are enabled for the intent.", + "enum": [ + "WEBHOOK_STATE_UNSPECIFIED", + "WEBHOOK_STATE_ENABLED", + "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" + ], + "enumDescriptions": [ + "Webhook is disabled in the agent and in the intent.", + "Webhook is enabled in the agent and in the intent.", + "Webhook is enabled in the agent and in the intent. Also, each slot\nfilling prompt is forwarded to the webhook." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo": { + "description": "Represents a single followup intent in the chain.", + "id": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo", + "properties": { + "followupIntentName": { + "description": "The unique identifier of the followup intent.\nFormat: `projects//agent/intents/`.", + "type": "string" + }, + "parentFollowupIntentName": { + "description": "The unique identifier of the followup intent's parent.\nFormat: `projects//agent/intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessage": { + "description": "Corresponds to the `Response` field in the Dialogflow console.", + "id": "GoogleCloudDialogflowV2beta1IntentMessage", + "properties": { + "basicCard": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", + "description": "Displays a basic card for Actions on Google." + }, + "browseCarouselCard": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", + "description": "Browse carousel card for Actions on Google." + }, + "card": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCard", + "description": "Displays a card." + }, + "carouselSelect": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", + "description": "Displays a carousel card for Actions on Google." + }, + "image": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Displays an image." + }, + "linkOutSuggestion": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", + "description": "Displays a link out suggestion chip for Actions on Google." + }, + "listSelect": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", + "description": "Displays a list card for Actions on Google." + }, + "mediaContent": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", + "description": "The media content card for Actions on Google." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.\nSee the Intent.Message.Platform type for a description of the\nstructure that may be required for your platform.", + "type": "object" + }, + "platform": { + "description": "Optional. The platform that this message is intended for.", + "enum": [ + "PLATFORM_UNSPECIFIED", + "FACEBOOK", + "SLACK", + "TELEGRAM", + "KIK", + "SKYPE", + "LINE", + "VIBER", + "ACTIONS_ON_GOOGLE", + "TELEPHONY", + "GOOGLE_HANGOUTS" + ], + "enumDescriptions": [ + "Not specified.", + "Facebook.", + "Slack.", + "Telegram.", + "Kik.", + "Skype.", + "Line.", + "Viber.", + "Actions on Google.\nWhen using Actions on Google, you can choose one of the specific\nIntent.Message types that mention support for Actions on Google,\nor you can use the advanced Intent.Message.payload field.\nThe payload field provides access to AoG features not available in the\nspecific message types.\nIf using the Intent.Message.payload field, it should have a structure\nsimilar to the JSON message shown here. For more information, see\n[Actions on Google Webhook\nFormat](https://developers.google.com/actions/dialogflow/webhook)\n
{\n  \"expectUserResponse\": true,\n  \"isSsml\": false,\n  \"noInputPrompts\": [],\n  \"richResponse\": {\n    \"items\": [\n      {\n        \"simpleResponse\": {\n          \"displayText\": \"hi\",\n          \"textToSpeech\": \"hello\"\n        }\n      }\n    ],\n    \"suggestions\": [\n      {\n        \"title\": \"Say this\"\n      },\n      {\n        \"title\": \"or this\"\n      }\n    ]\n  },\n  \"systemIntent\": {\n    \"data\": {\n      \"@type\": \"type.googleapis.com/google.actions.v2.OptionValueSpec\",\n      \"listSelect\": {\n        \"items\": [\n          {\n            \"optionInfo\": {\n              \"key\": \"key1\",\n              \"synonyms\": [\n                \"key one\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          },\n          {\n            \"optionInfo\": {\n              \"key\": \"key2\",\n              \"synonyms\": [\n                \"key two\"\n              ]\n            },\n            \"title\": \"must not be empty, but unique\"\n          }\n        ]\n      }\n    },\n    \"intent\": \"actions.intent.OPTION\"\n  }\n}
", + "Telephony Gateway.", + "Google Hangouts." + ], + "type": "string" + }, + "quickReplies": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", + "description": "Displays quick replies." + }, + "rbmCarouselRichCard": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", + "description": "Rich Business Messaging (RBM) carousel rich card response." + }, + "rbmStandaloneRichCard": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", + "description": "Standalone Rich Business Messaging (RBM) rich card response." + }, + "rbmText": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", + "description": "Rich Business Messaging (RBM) text response.\n\nRBM allows businesses to send enriched and branded versions of SMS. See\nhttps://jibe.google.com/business-messaging." + }, + "simpleResponses": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", + "description": "Returns a voice or text-only response for Actions on Google." + }, + "suggestions": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", + "description": "Displays suggestion chips for Actions on Google." + }, + "tableCard": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", + "description": "Table card for Actions on Google." + }, + "telephonyPlayAudio": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", + "description": "Plays audio from a file in Telephony Gateway." + }, + "telephonySynthesizeSpeech": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", + "description": "Synthesizes speech in Telephony Gateway." + }, + "telephonyTransferCall": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", + "description": "Transfers the call in Telephony Gateway." + }, + "text": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageBasicCard": { + "description": "The basic card message. Useful for displaying information.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", + "properties": { + "buttons": { + "description": "Optional. The collection of card buttons.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" + }, + "type": "array" + }, + "formattedText": { + "description": "Required, unless image is present. The body text of the card.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. The image for the card." + }, + "subtitle": { + "description": "Optional. The subtitle of the card.", + "type": "string" + }, + "title": { + "description": "Optional. The title of the card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton": { + "description": "The button object that appears at the bottom of a card.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton", + "properties": { + "openUriAction": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", + "description": "Required. Action to take when a user taps on the button." + }, + "title": { + "description": "Required. The title of the button.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction": { + "description": "Opens the given URI.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", + "properties": { + "uri": { + "description": "Required. The HTTP or HTTPS scheme URI.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard": { + "description": "Browse Carousel Card for Actions on Google.\nhttps://developers.google.com/actions/assistant/responses#browsing_carousel", + "id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", + "properties": { + "imageDisplayOptions": { + "description": "Optional. Settings for displaying the image. Applies to every image in\nitems.", + "enum": [ + "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", + "GRAY", + "WHITE", + "CROPPED", + "BLURRED_BACKGROUND" + ], + "enumDescriptions": [ + "Fill the gaps between the image and the image container with gray\nbars.", + "Fill the gaps between the image and the image container with gray\nbars.", + "Fill the gaps between the image and the image container with white\nbars.", + "Image is scaled such that the image width and height match or exceed\nthe container dimensions. This may crop the top and bottom of the\nimage if the scaled image height is greater than the container\nheight, or crop the left and right of the image if the scaled image\nwidth is greater than the container width. This is similar to \"Zoom\nMode\" on a widescreen TV when playing a 4:3 video.", + "Pad the gaps between image and image frame with a blurred copy of the\nsame image." + ], + "type": "string" + }, + "items": { + "description": "Required. List of items in the Browse Carousel Card. Minimum of two\nitems, maximum of ten.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { + "description": "Browsing carousel tile", + "id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem", + "properties": { + "description": { + "description": "Optional. Description of the carousel item. Maximum of four lines of\ntext.", + "type": "string" + }, + "footer": { + "description": "Optional. Text that appears at the bottom of the Browse Carousel\nCard. Maximum of one line of text.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. Hero image for the carousel item." + }, + "openUriAction": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", + "description": "Required. Action to present to the user." + }, + "title": { + "description": "Required. Title of the carousel item. Maximum of two lines of text.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { + "description": "Actions on Google action to open a given url.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", + "properties": { + "url": { + "description": "Required. URL", + "type": "string" + }, + "urlTypeHint": { + "description": "Optional. Specifies the type of viewer that is used when opening\nthe URL. Defaults to opening via web browser.", + "enum": [ + "URL_TYPE_HINT_UNSPECIFIED", + "AMP_ACTION", + "AMP_CONTENT" + ], + "enumDescriptions": [ + "Unspecified", + "Url would be an amp action", + "URL that points directly to AMP content, or to a canonical URL\nwhich refers to AMP content via ." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageCard": { + "description": "The card response message.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageCard", + "properties": { + "buttons": { + "description": "Optional. The collection of card buttons.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCardButton" + }, + "type": "array" + }, + "imageUri": { + "description": "Optional. The public URI to an image file for the card.", + "type": "string" + }, + "subtitle": { + "description": "Optional. The subtitle of the card.", + "type": "string" + }, + "title": { + "description": "Optional. The title of the card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageCardButton": { + "description": "Optional. Contains information about a button.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageCardButton", + "properties": { + "postback": { + "description": "Optional. The text to send back to the Dialogflow API or a URI to\nopen.", + "type": "string" + }, + "text": { + "description": "Optional. The text to show on the button.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect": { + "description": "The card for presenting a carousel of options to select from.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", + "properties": { + "items": { + "description": "Required. Carousel items.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem": { + "description": "An item in the carousel.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem", + "properties": { + "description": { + "description": "Optional. The body text of the card.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. The image to display." + }, + "info": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", + "description": "Required. Additional info about the option item." + }, + "title": { + "description": "Required. Title of the carousel item.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties": { + "description": "Column properties for TableCard.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties", + "properties": { + "header": { + "description": "Required. Column heading.", + "type": "string" + }, + "horizontalAlignment": { + "description": "Optional. Defines text alignment for all cells in this column.", + "enum": [ + "HORIZONTAL_ALIGNMENT_UNSPECIFIED", + "LEADING", + "CENTER", + "TRAILING" + ], + "enumDescriptions": [ + "Text is aligned to the leading edge of the column.", + "Text is aligned to the leading edge of the column.", + "Text is centered in the column.", + "Text is aligned to the trailing edge of the column." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageImage": { + "description": "The image response message.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "properties": { + "accessibilityText": { + "description": "A text description of the image to be used for accessibility,\ne.g., screen readers. Required if image_uri is set for CarouselSelect.", + "type": "string" + }, + "imageUri": { + "description": "Optional. The public URI to an image file.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion": { + "description": "The suggestion chip message that allows the user to jump out to the app\nor website associated with this agent.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", + "properties": { + "destinationName": { + "description": "Required. The name of the app or site this chip is linking to.", + "type": "string" + }, + "uri": { + "description": "Required. The URI of the app or site to open when the user taps the\nsuggestion chip.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageListSelect": { + "description": "The card for presenting a list of options to select from.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", + "properties": { + "items": { + "description": "Required. List items.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem" + }, + "type": "array" + }, + "subtitle": { + "description": "Optional. Subtitle of the list.", + "type": "string" + }, + "title": { + "description": "Optional. The overall title of the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem": { + "description": "An item in the list.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem", + "properties": { + "description": { + "description": "Optional. The main text describing the item.", + "type": "string" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. The image to display." + }, + "info": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", + "description": "Required. Additional information about this option." + }, + "title": { + "description": "Required. The title of the list item.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageMediaContent": { + "description": "The media content card for Actions on Google.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", + "properties": { + "mediaObjects": { + "description": "Required. List of media objects.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject" + }, + "type": "array" + }, + "mediaType": { + "description": "Optional. What type of media is the content (ie \"audio\").", + "enum": [ + "RESPONSE_MEDIA_TYPE_UNSPECIFIED", + "AUDIO" + ], + "enumDescriptions": [ + "Unspecified.", + "Response media type is audio." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject": { + "description": "Response media object for media content card.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject", + "properties": { + "contentUrl": { + "description": "Required. Url where the media is stored.", + "type": "string" + }, + "description": { + "description": "Optional. Description of media card.", + "type": "string" + }, + "icon": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. Icon to display above media content." + }, + "largeImage": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. Image to display above media content." + }, + "name": { + "description": "Required. Name of media card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies": { + "description": "The quick replies response message.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", + "properties": { + "quickReplies": { + "description": "Optional. The collection of quick replies.", + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Optional. The title of the collection of quick replies.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent": { + "description": "Rich Business Messaging (RBM) Card content", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", + "properties": { + "description": { + "description": "Optional. Description of the card (at most 2000 bytes).\n\nAt least one of the title, description or media must be set.", + "type": "string" + }, + "media": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", + "description": "Optional. However at least one of the title, description or media must\nbe set. Media (image, GIF or a video) to include in the card." + }, + "suggestions": { + "description": "Optional. List of suggestions to include in the card.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" + }, + "type": "array" + }, + "title": { + "description": "Optional. Title of the card (at most 200 bytes).\n\nAt least one of the title, description or media must be set.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia": { + "description": "Rich Business Messaging (RBM) Media displayed in Cards\nThe following media-types are currently supported:\n\n## Image Types\n\n image/jpeg\n image/jpg'\n image/gif\n image/png\n\n## Video Types\n\n video/h263\n video/m4v\n video/mp4\n video/mpeg\n video/mpeg4\n video/webm", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", + "properties": { + "fileUri": { + "description": "Required. Publicly reachable URI of the file. The RBM platform\ndetermines the MIME type of the file from the content-type field in\nthe HTTP headers when the platform fetches the file. The content-type\nfield must be present and accurate in the HTTP response from the URL.", + "type": "string" + }, + "height": { + "description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout. (https://goo.gl/NeFCjz).\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.", + "enum": [ + "HEIGHT_UNSPECIFIED", + "SHORT", + "MEDIUM", + "TALL" + ], + "enumDescriptions": [ + "Not specified.", + "112 DP.", + "168 DP.", + "264 DP. Not available for rich card carousels when the card width\nis set to small." + ], + "type": "string" + }, + "thumbnailUri": { + "description": "Optional. Publicly reachable URI of the thumbnail.If you don't\nprovide a thumbnail URI, the RBM platform displays a blank\nplaceholder thumbnail until the user's device downloads the file.\nDepending on the user's setting, the file may not download\nautomatically and may require the user to tap a download button.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": { + "description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards.\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", + "properties": { + "cardContents": { + "description": "Required. The cards in the carousel. A carousel must have at least\n2 cards and at most 10.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" + }, + "type": "array" + }, + "cardWidth": { + "description": "Required. The width of the cards in the carousel.", + "enum": [ + "CARD_WIDTH_UNSPECIFIED", + "SMALL", + "MEDIUM" + ], + "enumDescriptions": [ + "Not specified.", + "120 DP. Note that tall media cannot be used.", + "232 DP." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": { + "description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards.\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", + "properties": { + "cardContent": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", + "description": "Required. Card content." + }, + "cardOrientation": { + "description": "Required. Orientation of the card.", + "enum": [ + "CARD_ORIENTATION_UNSPECIFIED", + "HORIZONTAL", + "VERTICAL" + ], + "enumDescriptions": [ + "Not specified.", + "Horizontal layout.", + "Vertical layout." + ], + "type": "string" + }, + "thumbnailImageAlignment": { + "description": "Required if orientation is horizontal.\nImage preview alignment for standalone cards with horizontal layout.", + "enum": [ + "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", + "LEFT", + "RIGHT" + ], + "enumDescriptions": [ + "Not specified.", + "Thumbnail preview is left-aligned.", + "Thumbnail preview is right-aligned." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction": { + "description": "Rich Business Messaging (RBM) suggested client-side action that the user\ncan choose from the card.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", + "properties": { + "dial": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", + "description": "Suggested client side action: Dial a phone number" + }, + "openUrl": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", + "description": "Suggested client side action: Open a URI on device" + }, + "postbackData": { + "description": "Opaque payload that the Dialogflow receives in a user event\nwhen the user taps the suggested action. This data will be also\nforwarded to webhook to allow performing custom business logic.", + "type": "string" + }, + "shareLocation": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", + "description": "Suggested client side action: Share user location" + }, + "text": { + "description": "Text to display alongside the action.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": { + "description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically (https://goo.gl/ergbB2).", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", + "properties": { + "phoneNumber": { + "description": "Required. The phone number to fill in the default dialer app.\nThis field should be in [E.164](https://en.wikipedia.org/wiki/E.164)\nformat. An example of a correctly formatted phone number:\n+15556767888.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": { + "description": "Opens the user's default web browser app to the specified uri\n(https://goo.gl/6GLJD2). If the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", + "properties": { + "uri": { + "description": "Required. The uri to open on the user device", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": { + "description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent (https://goo.gl/GXotJW).", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply": { + "description": "Rich Business Messaging (RBM) suggested reply that the user can click\ninstead of typing in their own response.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", + "properties": { + "postbackData": { + "description": "Opaque payload that the Dialogflow receives in a user event\nwhen the user taps the suggested reply. This data will be also\nforwarded to webhook to allow performing custom business logic.", + "type": "string" + }, + "text": { + "description": "Suggested reply text.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion": { + "description": "Rich Business Messaging (RBM) suggestion. Suggestions allow user to\neasily select/click a predefined response or perform an action (like\nopening a web uri).", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion", + "properties": { + "action": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", + "description": "Predefined client side actions that user can choose" + }, + "reply": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", + "description": "Predefined replies for user to select instead of typing" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageRbmText": { + "description": "Rich Business Messaging (RBM) text response with suggestions.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", + "properties": { + "rbmSuggestion": { + "description": "Optional. One or more suggestions to show to the user.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" + }, + "type": "array" + }, + "text": { + "description": "Required. Text sent and displayed to the user.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo": { + "description": "Additional info about the select item for when it is triggered in a\ndialog.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", + "properties": { + "key": { + "description": "Required. A unique key that will be sent back to the agent if this\nresponse is given.", + "type": "string" + }, + "synonyms": { + "description": "Optional. A list of synonyms that can also be used to trigger this\nitem in dialog.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse": { + "description": "The simple response message containing speech or text.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse", + "properties": { + "displayText": { + "description": "Optional. The text to display.", + "type": "string" + }, + "ssml": { + "description": "One of text_to_speech or ssml must be provided. Structured spoken\nresponse to the user in the SSML format. Mutually exclusive with\ntext_to_speech.", + "type": "string" + }, + "textToSpeech": { + "description": "One of text_to_speech or ssml must be provided. The plain text of the\nspeech output. Mutually exclusive with ssml.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses": { + "description": "The collection of simple response candidates.\nThis message in `QueryResult.fulfillment_messages` and\n`WebhookResponse.fulfillment_messages` should contain only one\n`SimpleResponse`.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", + "properties": { + "simpleResponses": { + "description": "Required. The list of simple responses.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageSuggestion": { + "description": "The suggestion chip message that the user can tap to quickly post a reply\nto the conversation.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion", + "properties": { + "title": { + "description": "Required. The text shown the in the suggestion chip.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageSuggestions": { + "description": "The collection of suggestions.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", + "properties": { + "suggestions": { + "description": "Required. The list of suggested replies.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageTableCard": { + "description": "Table card for Actions on Google.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", + "properties": { + "buttons": { + "description": "Optional. List of buttons for the card.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" + }, + "type": "array" + }, + "columnProperties": { + "description": "Optional. Display properties for the columns in this table.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties" + }, + "type": "array" + }, + "image": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", + "description": "Optional. Image which should be displayed on the card." + }, + "rows": { + "description": "Optional. Rows in this table of data.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow" + }, + "type": "array" + }, + "subtitle": { + "description": "Optional. Subtitle to the title.", + "type": "string" + }, + "title": { + "description": "Required. Title of the card.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell": { + "description": "Cell of TableCardRow.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell", + "properties": { + "text": { + "description": "Required. Text in this cell.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow": { + "description": "Row of TableCard.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow", + "properties": { + "cells": { + "description": "Optional. List of cells that make up this row.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell" + }, + "type": "array" + }, + "dividerAfter": { + "description": "Optional. Whether to add a visual divider after this row.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio": { + "description": "Plays audio from a file in Telephony Gateway.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", + "properties": { + "audioUri": { + "description": "Required. URI to a Google Cloud Storage object containing the audio to\nplay, e.g., \"gs://bucket/object\". The object must contain a single\nchannel (mono) of linear PCM audio (2 bytes / sample) at 8kHz.\n\nThis object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account\nwhere is the number of the Telephony Gateway project\n(usually the same as the Dialogflow agent project). If the Google Cloud\nStorage bucket is in the Telephony Gateway project, this permission is\nadded by default when enabling the Dialogflow V2 API.\n\nFor audio from other sources, consider using the\n`TelephonySynthesizeSpeech` message with SSML.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech": { + "description": "Synthesizes speech and plays back the synthesized audio to the caller in\nTelephony Gateway.\n\nTelephony Gateway takes the synthesizer settings from\n`DetectIntentResponse.output_audio_config` which can either be set\nat request-level or can come from the agent-level synthesizer config.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", + "properties": { + "ssml": { + "description": "The SSML to be synthesized. For more information, see\n[SSML](https://developers.google.com/actions/reference/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall": { + "description": "Transfers the call in Telephony Gateway.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", + "properties": { + "phoneNumber": { + "description": "Required. The phone number to transfer the call to\nin [E.164 format](https://en.wikipedia.org/wiki/E.164).\n\nWe currently only allow transferring to US numbers (+1xxxyyyzzzz).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowV2beta1IntentMessageText", + "properties": { + "text": { + "description": "Optional. The collection of the agent's responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentParameter": { + "description": "Represents intent parameters.", + "id": "GoogleCloudDialogflowV2beta1IntentParameter", + "properties": { + "defaultValue": { + "description": "Optional. The default value to use when the `value` yields an empty\nresult.\nDefault values can be extracted from contexts by using the following\nsyntax: `#context_name.parameter_name`.", + "type": "string" + }, + "displayName": { + "description": "Required. The name of the parameter.", + "type": "string" + }, + "entityTypeDisplayName": { + "description": "Optional. The name of the entity type, prefixed with `@`, that\ndescribes values of the parameter. If the parameter is\nrequired, this must be provided.", + "type": "string" + }, + "isList": { + "description": "Optional. Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "mandatory": { + "description": "Optional. Indicates whether the parameter is required. That is,\nwhether the intent cannot be completed without collecting the parameter\nvalue.", + "type": "boolean" + }, + "name": { + "description": "The unique identifier of this parameter.", + "type": "string" + }, + "prompts": { + "description": "Optional. The collection of prompts that the agent can present to the\nuser in order to collect a value for the parameter.", + "items": { + "type": "string" + }, + "type": "array" + }, + "value": { + "description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on.", + "id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase", + "properties": { + "name": { + "description": "Output only. The unique identifier of this training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts.\nThe parts are concatenated in order to form the training phrase.\n\nNote: The API does not automatically annotate training phrases like the\nDialogflow Console does.\n\nNote: Do not forget to include whitespace at part boundaries,\nso the training phrase is well formatted when the parts are concatenated.\n\nIf the training phrase does not need to be annotated with parameters,\nyou just need a single part with only the Part.text field set.\n\nIf you want to annotate the training phrase, you must create multiple\nparts, where the fields of each part are populated in one of two ways:\n\n- `Part.text` is set to a part of the phrase that has no parameters.\n- `Part.text` is set to a part of the phrase that you want to annotate,\n and the `entity_type`, `alias`, and `user_defined` fields are all\n set.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart" + }, + "type": "array" + }, + "timesAddedCount": { + "description": "Optional. Indicates how many times this example was added to\nthe intent. Each time a developer adds an existing sample by editing an\nintent or training, this counter is increased.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "Required. The type of the training phrase.", + "enum": [ + "TYPE_UNSPECIFIED", + "EXAMPLE", + "TEMPLATE" + ], + "enumDescriptions": [ + "Not specified. This value should never be used.", + "Examples do not contain @-prefixed entity type names, but example parts\ncan be annotated with entity types.", + "Templates are not annotated with entity types, but they can contain\n@-prefixed entity type names as substrings.\nTemplate mode has been deprecated. Example mode is the only supported\nway to create new training phrases. If you have existing training\nphrases that you've created in template mode, those will continue to\nwork." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart", + "properties": { + "alias": { + "description": "Optional. The parameter name for the value extracted from the\nannotated part of the example.\nThis field is required for annotated parts of the training phrase.", + "type": "string" + }, + "entityType": { + "description": "Optional. The entity type name prefixed with `@`.\nThis field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", + "type": "string" + }, + "userDefined": { + "description": "Optional. Indicates whether the text was manually annotated.\nThis field is set to true when the Dialogflow Console is used to\nmanually annotate the part. When creating an annotated part with the\nAPI, you must set this to true.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAnswers": { + "description": "Represents the result of querying a Knowledge base.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", + "properties": { + "answers": { + "description": "A list of answers from Knowledge Connector.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer": { + "description": "An answer from Knowledge Connector.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer", + "properties": { + "answer": { + "description": "The piece of text from the `source` knowledge base document that answers\nthis conversational query.", + "type": "string" + }, + "faqQuestion": { + "description": "The corresponding FAQ question if the answer was extracted from a FAQ\nDocument, empty otherwise.", + "type": "string" + }, + "matchConfidence": { + "description": "The system's confidence score that this Knowledge answer is a good match\nfor this conversational query.\nThe range is from 0.0 (completely uncertain) to 1.0 (completely certain).\nNote: The confidence score is likely to vary somewhat (possibly even for\nidentical requests), as the underlying model is under constant\nimprovement. It may be deprecated in the future. We recommend using\n`match_confidence_level` which should be generally more stable.", + "format": "float", + "type": "number" + }, + "matchConfidenceLevel": { + "description": "The system's confidence level that this knowledge answer is a good match\nfor this conversational query.\nNOTE: The confidence level for a given `` pair may change\nwithout notice, as it depends on models that are constantly being\nimproved. However, it will change less frequently than the confidence\nscore below, and should be preferred for referencing the quality of an\nanswer.", + "enum": [ + "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", + "LOW", + "MEDIUM", + "HIGH" + ], + "enumDescriptions": [ + "Not specified.", + "Indicates that the confidence is low.", + "Indicates our confidence is medium.", + "Indicates our confidence is high." + ], + "type": "string" + }, + "source": { + "description": "Indicates which Knowledge Document this answer was extracted from.\nFormat: `projects//knowledgeBases//documents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1LabelConversationResponse": { + "description": "The response for\nConversationDatasets.LabelConversation.", + "id": "GoogleCloudDialogflowV2beta1LabelConversationResponse", + "properties": { + "annotatedConversationDataset": { + "$ref": "GoogleCloudDialogflowV2beta1AnnotatedConversationDataset", + "description": "New annotated conversation dataset created by the labeling task." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest": { + "description": "Represents the contents of the original request that was passed to\nthe `[Streaming]DetectIntent` call.", + "id": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", + "properties": { + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. This field is set to the value of the `QueryParameters.payload`\nfield passed in the request. Some integrations that query a Dialogflow\nagent may provide additional information in the payload.\n\nIn particular for the Telephony Gateway this field has the form:\n
{\n \"telephony\": {\n   \"caller_id\": \"+18558363987\"\n }\n}
\nNote: The caller ID field (`caller_id`) will be redacted for Standard\nEdition agents and populated with the caller ID in [E.164\nformat](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents.", + "type": "object" + }, + "source": { + "description": "The source of this request, e.g., `google`, `facebook`, `slack`. It is set\nby Dialogflow-owned servers.", + "type": "string" + }, + "version": { + "description": "Optional. The version of the protocol used for this request.\nThis field is AoG-specific.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1QueryResult": { + "description": "Represents the result of conversational query or event processing.", + "id": "GoogleCloudDialogflowV2beta1QueryResult", + "properties": { + "action": { + "description": "The action name from the matched intent.", + "type": "string" + }, + "allRequiredParamsPresent": { + "description": "This field is set to:\n\n- `false` if the matched intent has required parameters and not all of\n the required parameter values have been collected.\n- `true` if all required parameter values have been collected, or if the\n matched intent doesn't contain any required parameters.", + "type": "boolean" + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Free-form diagnostic information for the associated detect intent request.\nThe fields of this data can change without notice, so you should not write\ncode that depends on its structure.\nThe data may contain:\n\n- webhook call latency\n- webhook errors", + "type": "object" + }, + "fulfillmentMessages": { + "description": "The collection of rich messages to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessage" + }, + "type": "array" + }, + "fulfillmentText": { + "description": "The text to be pronounced to the user or shown on the screen.\nNote: This is a legacy field, `fulfillment_messages` should be preferred.", + "type": "string" + }, + "intent": { + "$ref": "GoogleCloudDialogflowV2beta1Intent", + "description": "The intent that matched the conversational query. Some, not\nall fields are filled in this message, including but not limited to:\n`name`, `display_name`, `end_interaction` and `is_fallback`." + }, + "intentDetectionConfidence": { + "description": "The intent detection confidence. Values range from 0.0\n(completely uncertain) to 1.0 (completely certain).\nThis value is for informational purpose only and is only used to\nhelp match the best intent within the classification threshold.\nThis value may change for the same end-user expression at any time due to a\nmodel retraining or change in implementation.\nIf there are `multiple knowledge_answers` messages, this value is set to\nthe greatest `knowledgeAnswers.match_confidence` value in the list.", + "format": "float", + "type": "number" + }, + "knowledgeAnswers": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", + "description": "The result from Knowledge Connector (if any), ordered by decreasing\n`KnowledgeAnswers.match_confidence`." + }, + "languageCode": { + "description": "The language that was triggered during intent detection.\nSee [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes.", + "type": "string" + }, + "outputContexts": { + "description": "The collection of output contexts. If applicable,\n`output_contexts.parameters` contains entries with name\n`.original` containing the original parameter values\nbefore the query.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1Context" + }, + "type": "array" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The collection of extracted parameters.", + "type": "object" + }, + "queryText": { + "description": "The original conversational query text:\n\n- If natural language text was provided as input, `query_text` contains\n a copy of the input.\n- If natural language speech audio was provided as input, `query_text`\n contains the speech recognition result. If speech recognizer produced\n multiple alternatives, a particular one is picked.\n- If automatic spell correction is enabled, `query_text` will contain the\n corrected user input.", + "type": "string" + }, + "sentimentAnalysisResult": { + "$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", + "description": "The sentiment analysis result, which depends on the\n`sentiment_analysis_request_config` specified in the request." + }, + "speechRecognitionConfidence": { + "description": "The Speech recognition confidence between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. The default of 0.0 is a sentinel value indicating that confidence\nwas not set.\n\nThis field is not guaranteed to be accurate or set. In particular this\nfield isn't set for StreamingDetectIntent since the streaming endpoint has\nseparate confidence estimates per portion of the audio in\nStreamingRecognitionResult.", + "format": "float", + "type": "number" + }, + "webhookPayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `payload` field returned in the webhook response.", + "type": "object" + }, + "webhookSource": { + "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `source` field returned in the webhook response.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1Sentiment": { + "description": "The sentiment, such as positive/negative feeling or association, for a unit\nof analysis, such as the query text.", + "id": "GoogleCloudDialogflowV2beta1Sentiment", + "properties": { + "magnitude": { + "description": "A non-negative number in the [0, +inf) range, which represents the absolute\nmagnitude of sentiment, regardless of score (positive or negative).", + "format": "float", + "type": "number" + }, + "score": { + "description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive\nsentiment).", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SentimentAnalysisResult": { + "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.", + "id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", + "properties": { + "queryTextSentiment": { + "$ref": "GoogleCloudDialogflowV2beta1Sentiment", + "description": "The sentiment analysis result for `query_text`." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SessionEntityType": { + "description": "Represents a session entity type.\n\nExtends or replaces a custom entity type at the user session level (we\nrefer to the entity types defined at the agent level as \"custom entity\ntypes\").\n\nNote: session entity types apply to all queries, regardless of the language.", + "id": "GoogleCloudDialogflowV2beta1SessionEntityType", + "properties": { + "entities": { + "description": "Required. The collection of entities associated with this session entity\ntype.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" + }, + "type": "array" + }, + "entityOverrideMode": { + "description": "Required. Indicates whether the additional data should override or\nsupplement the custom entity type definition.", + "enum": [ + "ENTITY_OVERRIDE_MODE_UNSPECIFIED", + "ENTITY_OVERRIDE_MODE_OVERRIDE", + "ENTITY_OVERRIDE_MODE_SUPPLEMENT" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "The collection of session entities overrides the collection of entities\nin the corresponding custom entity type.", + "The collection of session entities extends the collection of entities in\nthe corresponding custom entity type.\n\nNote: Even in this override mode calls to `ListSessionEntityTypes`,\n`GetSessionEntityType`, `CreateSessionEntityType` and\n`UpdateSessionEntityType` only return the additional entities added in\nthis session entity type. If you want to get the supplemented list,\nplease call EntityTypes.GetEntityType on the custom entity type\nand merge." + ], + "type": "string" + }, + "name": { + "description": "Required. The unique identifier of this session entity type. Format:\n`projects//agent/sessions//entityTypes/`, or\n`projects//agent/environments//users//sessions//entityTypes/`.\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment. If `User ID` is not specified, we assume default '-' user.\n\n`` must be the display name of an existing entity\ntype in the same agent that will be overridden or supplemented.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowV2beta1WebhookRequest", + "properties": { + "alternativeQueryResults": { + "description": "Alternative query results from KnowledgeService.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1QueryResult" + }, + "type": "array" + }, + "originalDetectIntentRequest": { + "$ref": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", + "description": "Optional. The contents of the original request that was passed to\n`[Streaming]DetectIntent` call." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowV2beta1QueryResult", + "description": "The result of the conversational query or event processing. Contains the\nsame value as `[Streaming]DetectIntentResponse.query_result`." + }, + "responseId": { + "description": "The unique identifier of the response. Contains the same value as\n`[Streaming]DetectIntentResponse.response_id`.", + "type": "string" + }, + "session": { + "description": "The unique identifier of detectIntent request session.\nCan be used to identify end-user inside webhook implementation.\nFormat: `projects//agent/sessions/`, or\n`projects//agent/environments//users//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1WebhookResponse": { + "description": "The response message for a webhook call.\n\nThis response is validated by the Dialogflow server. If validation fails,\nan error will be returned in the QueryResult.diagnostic_info field.\nSetting JSON fields to an empty value with the wrong type is a common error.\nTo avoid this error:\n\n- Use `\"\"` for empty strings\n- Use `{}` or `null` for empty objects\n- Use `[]` or `null` for empty arrays\n\nFor more information, see the\n[Protocol Buffers Language\nGuide](https://developers.google.com/protocol-buffers/docs/proto3#json).", + "id": "GoogleCloudDialogflowV2beta1WebhookResponse", + "properties": { + "endInteraction": { + "description": "Optional. Indicates that this intent ends an interaction. Some integrations\n(e.g., Actions on Google or Dialogflow phone gateway) use this information\nto close interaction with an end user. Default is false.", + "type": "boolean" + }, + "followupEventInput": { + "$ref": "GoogleCloudDialogflowV2beta1EventInput", + "description": "Optional. Makes the platform immediately invoke another `DetectIntent` call\ninternally with the specified event as input.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields." + }, + "fulfillmentMessages": { + "description": "Optional. The collection of rich messages to present to the user. This\nvalue is passed directly to `QueryResult.fulfillment_messages`.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1IntentMessage" + }, + "type": "array" + }, + "fulfillmentText": { + "description": "Optional. The text to be shown on the screen. This value is passed directly\nto `QueryResult.fulfillment_text`.", + "type": "string" + }, + "outputContexts": { + "description": "Optional. The collection of output contexts. This value is passed directly\nto `QueryResult.output_contexts`.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1Context" + }, + "type": "array" + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. This value is passed directly to `QueryResult.webhook_payload`.\nSee the related `fulfillment_messages[i].payload field`, which may be used\nas an alternative to this field.\n\nThis field can be used for Actions on Google responses.\nIt should have a structure similar to the JSON message shown here. For more\ninformation, see\n[Actions on Google Webhook\nFormat](https://developers.google.com/actions/dialogflow/webhook)\n
{\n  \"google\": {\n    \"expectUserResponse\": true,\n    \"richResponse\": {\n      \"items\": [\n        {\n          \"simpleResponse\": {\n            \"textToSpeech\": \"this is a simple response\"\n          }\n        }\n      ]\n    }\n  }\n}
", + "type": "object" + }, + "sessionEntityTypes": { + "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query. Setting the session entity types inside\nwebhook overwrites the session entity types that have been set through\n`DetectIntentRequest.query_params.session_entity_types`.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" + }, + "type": "array" + }, + "source": { + "description": "Optional. This value is passed directly to `QueryResult.webhook_source`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleLongrunningListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "GoogleLongrunningListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleLongrunningOperation" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleProtobufEmpty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "id": "GoogleProtobufEmpty", + "properties": {}, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleTypeLatLng": { + "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\nWGS84\nstandard. Values must be within normalized ranges.", + "id": "GoogleTypeLatLng", + "properties": { + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "type": "number" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Dialogflow API", + "version": "v2", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/discovery_v1.json b/DiscoveryJson/discovery_v1.json index 81413a0ad9f..06d535d2c5b 100644 --- a/DiscoveryJson/discovery_v1.json +++ b/DiscoveryJson/discovery_v1.json @@ -5,7 +5,7 @@ "description": "Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/discovery/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/6ih-IZVWmkhC-YvJiWV2AXO__QE\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/5BltXMyKhwGCJswwWPX6aofubSE\"", "icons": { "x16": "http://www.google.com/images/icons/feature/filing_cabinet_search-g16.png", "x32": "http://www.google.com/images/icons/feature/filing_cabinet_search-g32.png" @@ -116,7 +116,7 @@ } } }, - "revision": "20200213", + "revision": "20200220", "rootUrl": "https://www.googleapis.com/", "schemas": { "DirectoryList": { diff --git a/DiscoveryJson/displayvideo_v1.json b/DiscoveryJson/displayvideo_v1.json new file mode 100644 index 00000000000..f9a70bd0648 --- /dev/null +++ b/DiscoveryJson/displayvideo_v1.json @@ -0,0 +1,507 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/display-video": { + "description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" + }, + "https://www.googleapis.com/auth/doubleclickbidmanager": { + "description": "View and manage your reports in DoubleClick Bid Manager" + } + } + } + }, + "basePath": "", + "baseUrl": "https://displayvideo.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Display Video", + "description": "Display & Video 360 API allows users to manage and create campaigns and reports.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/display-video/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "displayvideo:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", + "name": "displayvideo", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "media": { + "methods": { + "download": { + "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.`\n\n**Note**: Download requests will not be successful without including `alt=media` query string.", + "flatPath": "download/{downloadId}", + "httpMethod": "GET", + "id": "displayvideo.media.download", + "parameterOrder": [ + "resourceName" + ], + "parameters": { + "resourceName": { + "description": "Name of the media that is being downloaded. See\nReadRequest.resource_name.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "download/{+resourceName}", + "response": { + "$ref": "GoogleBytestreamMedia" + }, + "scopes": [ + "https://www.googleapis.com/auth/display-video", + "https://www.googleapis.com/auth/doubleclickbidmanager" + ], + "supportsMediaDownload": true + } + } + }, + "sdfdownloadtasks": { + "methods": { + "create": { + "description": "Creates an SDF Download Task. Returns an\nOperation.\n\nAn SDF Download Task is a long-running, asynchronous operation. The\nmetadata type of this operation is\nSdfDownloadTaskMetadata. If the request is successful, the\nresponse type of the operation is\nSdfDownloadTask. The response will not include the download files,\nwhich must be retrieved with\nmedia.download. The state of\noperation can be retrieved with\nsdfdownloadtask.operations.get.\n\nAny errors can be found in the\nerror.message. Note\nthat error.details is expected to be\nempty.", + "flatPath": "v1/sdfdownloadtasks", + "httpMethod": "POST", + "id": "displayvideo.sdfdownloadtasks.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1/sdfdownloadtasks", + "request": { + "$ref": "CreateSdfDownloadTaskRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/display-video" + ] + } + }, + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", + "flatPath": "v1/sdfdownloadtasks/operations/{operationsId}", + "httpMethod": "GET", + "id": "displayvideo.sdfdownloadtasks.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^sdfdownloadtasks/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/display-video", + "https://www.googleapis.com/auth/doubleclickbidmanager" + ] + } + } + } + } + } + }, + "revision": "20200226", + "rootUrl": "https://displayvideo.googleapis.com/", + "schemas": { + "CreateSdfDownloadTaskRequest": { + "description": "Request message for [SdfDownloadTaskService.CreateSdfDownloadTask].", + "id": "CreateSdfDownloadTaskRequest", + "properties": { + "advertiserId": { + "description": "The ID of the advertiser to download SDF for.", + "format": "int64", + "type": "string" + }, + "idFilter": { + "$ref": "IdFilter", + "description": "Filters on entities by their entity IDs." + }, + "inventorySourceFilter": { + "$ref": "InventorySourceFilter", + "description": "Filters on Inventory Sources by their IDs." + }, + "parentEntityFilter": { + "$ref": "ParentEntityFilter", + "description": "Filters on selected file types. The entities in each file are filtered\n by a chosen set of filter entities. The filter entities must be the same\n type as, or a parent type of, the selected file types." + }, + "partnerId": { + "description": "The ID of the partner to download SDF for.", + "format": "int64", + "type": "string" + }, + "version": { + "description": "Required. The SDF version of the downloaded file. If set to\n`SDF_VERSION_UNSPECIFIED`, this will default to the version specified by\nthe advertiser or partner identified by `root_id`. An advertiser inherits\nits SDF version from its partner unless configured otherwise.", + "enum": [ + "SDF_VERSION_UNSPECIFIED", + "SDF_VERSION_3_1", + "SDF_VERSION_4", + "SDF_VERSION_4_1", + "SDF_VERSION_4_2", + "SDF_VERSION_5" + ], + "enumDescriptions": [ + "SDF version value is not specified or is unknown in this version.", + "SDF version 3.1", + "SDF version 4", + "SDF version 4.1", + "SDF version 4.2", + "SDF version 5." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleBytestreamMedia": { + "description": "Media resource.", + "id": "GoogleBytestreamMedia", + "properties": { + "resourceName": { + "description": "Name of the media resource.", + "type": "string" + } + }, + "type": "object" + }, + "IdFilter": { + "description": "A filtering option that filters entities by their entity IDs.", + "id": "IdFilter", + "properties": { + "adGroupAdIds": { + "description": "TrueView Ads to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "adGroupIds": { + "description": "TrueView Ad Groups to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "campaignIds": { + "description": "Campaigns to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "insertionOrderIds": { + "description": "Insertion Orders to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "lineItemIds": { + "description": "Line Items to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "mediaProductIds": { + "description": "Media Products to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "InventorySourceFilter": { + "description": "A filtering option for filtering on Inventory Source entities.", + "id": "InventorySourceFilter", + "properties": { + "inventorySourceIds": { + "description": "Inventory Sources to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest. Leave empty to download all Inventory\nSources for the selected Advertiser or Partner.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "ParentEntityFilter": { + "description": "A filtering option that filters on selected file types belonging to a chosen\nset of filter entities.", + "id": "ParentEntityFilter", + "properties": { + "fileType": { + "description": "Required. File types that will be returned.", + "enumDescriptions": [ + "Default value when type is unspecified or is unknown in this version.", + "Campaign.", + "Media Product.", + "Insertion Order.", + "Line Item.", + "TrueView Ad Group.", + "TrueView Ad." + ], + "items": { + "enum": [ + "FILE_TYPE_UNSPECIFIED", + "FILE_TYPE_CAMPAIGN", + "FILE_TYPE_MEDIA_PRODUCT", + "FILE_TYPE_INSERTION_ORDER", + "FILE_TYPE_LINE_ITEM", + "FILE_TYPE_AD_GROUP", + "FILE_TYPE_AD" + ], + "type": "string" + }, + "type": "array" + }, + "filterIds": { + "description": "The IDs of the specified filter type. This is used to filter entities to\nfetch. If filter type is not `FILTER_TYPE_NONE`, at least one ID must be\nspecified.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "filterType": { + "description": "Required. Filter type used to filter fetched entities.", + "enum": [ + "FILTER_TYPE_UNSPECIFIED", + "FILTER_TYPE_NONE", + "FILTER_TYPE_ADVERTISER_ID", + "FILTER_TYPE_CAMPAIGN_ID", + "FILTER_TYPE_MEDIA_PRODUCT_ID", + "FILTER_TYPE_INSERTION_ORDER_ID", + "FILTER_TYPE_LINE_ITEM_ID" + ], + "enumDescriptions": [ + "Default value when type is unspecified or is unknown in this version.", + "If selected, no filter will be applied to the download. Can only be used if\nan Advertiser is specified\nin CreateSdfDownloadTaskRequest.", + "Advertiser ID. If selected, all filter IDs must be Advertiser IDs that\nbelong to the Partner specified\nin CreateSdfDownloadTaskRequest.", + "Campaign ID. If selected, all filter IDs must be Campaign IDs that belong\nto the Advertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.", + "Media Product ID. If selected, all filter IDs must be Media Product IDs\nthat belong to the Advertiser\nor Partner specified in\nCreateSdfDownloadTaskRequest. Can only be used for downloading\n`FILE_TYPE_MEDIA_PRODUCT`.", + "Insertion Order ID. If selected, all filter IDs must be Insertion Order IDs\nthat belong to the Advertiser\nor Partner specified in\nCreateSdfDownloadTaskRequest. Can only be used for downloading\n`FILE_TYPE_INSERTION_ORDER`, `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`,\nand `FILE_TYPE_AD`.", + "Line Item ID. If selected, all filter IDs must be Line Item IDs that belong\nto the Advertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest. Can only be used for downloading\n`FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`, and `FILE_TYPE_AD`." + ], + "type": "string" + } + }, + "type": "object" + }, + "SdfDownloadTask": { + "description": "Type for the response returned\nby [SdfDownloadTaskService.CreateSdfDownloadTask].", + "id": "SdfDownloadTask", + "properties": { + "resourceName": { + "description": "A resource name to be used in\nmedia.download to Download the prepared\nfiles. Resource names have the format\n`download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made\navailable by the long running operation service once the task status is\ndone.", + "type": "string" + } + }, + "type": "object" + }, + "SdfDownloadTaskMetadata": { + "description": "Type for the metadata returned\nby [SdfDownloadTaskService.CreateSdfDownloadTask].", + "id": "SdfDownloadTaskMetadata", + "properties": { + "createTime": { + "description": "The time when the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time when execution was completed.", + "format": "google-datetime", + "type": "string" + }, + "version": { + "description": "The SDF version used to execute this download task.", + "enum": [ + "SDF_VERSION_UNSPECIFIED", + "SDF_VERSION_3_1", + "SDF_VERSION_4", + "SDF_VERSION_4_1", + "SDF_VERSION_4_2", + "SDF_VERSION_5" + ], + "enumDescriptions": [ + "SDF version value is not specified or is unknown in this version.", + "SDF version 3.1", + "SDF version 4", + "SDF version 4.1", + "SDF version 4.2", + "SDF version 5." + ], + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Display & Video 360 API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/drive_v2.json b/DiscoveryJson/drive_v2.json index ae368479e02..7de24aa3180 100644 --- a/DiscoveryJson/drive_v2.json +++ b/DiscoveryJson/drive_v2.json @@ -38,7 +38,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/c-5nAYumW0b-12W9rV0O3k-c4Mc\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/SdanDp-wybijf1GOmkpj0rtTRG8\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -3382,7 +3382,7 @@ } } }, - "revision": "20200207", + "revision": "20200218", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/DiscoveryJson/drive_v3.json b/DiscoveryJson/drive_v3.json index 7f88d6cf0a3..614dd57a0a5 100644 --- a/DiscoveryJson/drive_v3.json +++ b/DiscoveryJson/drive_v3.json @@ -35,7 +35,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/8ik5gkwSACUvHcl36lKZ5Axa5fA\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/PUuFvQHaw1974q9mkvD0zOeHvW0\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -2096,7 +2096,7 @@ } } }, - "revision": "20200207", + "revision": "20200218", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/DiscoveryJson/driveactivity_v2.json b/DiscoveryJson/driveactivity_v2.json index 246688b859f..ba3cbddca2c 100644 --- a/DiscoveryJson/driveactivity_v2.json +++ b/DiscoveryJson/driveactivity_v2.json @@ -132,7 +132,7 @@ } } }, - "revision": "20200224", + "revision": "20200226", "rootUrl": "https://driveactivity.googleapis.com/", "schemas": { "Action": { diff --git a/DiscoveryJson/factchecktools_v1alpha1.json b/DiscoveryJson/factchecktools_v1alpha1.json index de776ae231b..5cfa0372efc 100644 --- a/DiscoveryJson/factchecktools_v1alpha1.json +++ b/DiscoveryJson/factchecktools_v1alpha1.json @@ -304,7 +304,7 @@ } } }, - "revision": "20200225", + "revision": "20200228", "rootUrl": "https://factchecktools.googleapis.com/", "schemas": { "GoogleFactcheckingFactchecktoolsV1alpha1Claim": { diff --git a/DiscoveryJson/firebase_v1beta1.json b/DiscoveryJson/firebase_v1beta1.json index 3c1c904a5a3..367b9d2c0c8 100644 --- a/DiscoveryJson/firebase_v1beta1.json +++ b/DiscoveryJson/firebase_v1beta1.json @@ -1116,7 +1116,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { diff --git a/DiscoveryJson/firebasedynamiclinks_v1.json b/DiscoveryJson/firebasedynamiclinks_v1.json index d527f28f4e8..32e72b2f449 100644 --- a/DiscoveryJson/firebasedynamiclinks_v1.json +++ b/DiscoveryJson/firebasedynamiclinks_v1.json @@ -224,7 +224,7 @@ } } }, - "revision": "20200226", + "revision": "20200228", "rootUrl": "https://firebasedynamiclinks.googleapis.com/", "schemas": { "AnalyticsInfo": { diff --git a/DiscoveryJson/firebaserules_v1.json b/DiscoveryJson/firebaserules_v1.json index 17e84261b0a..5dd0eceaf4d 100644 --- a/DiscoveryJson/firebaserules_v1.json +++ b/DiscoveryJson/firebaserules_v1.json @@ -471,7 +471,7 @@ } } }, - "revision": "20200206", + "revision": "20200226", "rootUrl": "https://firebaserules.googleapis.com/", "schemas": { "Arg": { diff --git a/DiscoveryJson/fitness_v1.json b/DiscoveryJson/fitness_v1.json index 1427b771f35..1944a5a2c2e 100644 --- a/DiscoveryJson/fitness_v1.json +++ b/DiscoveryJson/fitness_v1.json @@ -65,7 +65,7 @@ "description": "Stores and accesses user data in the fitness store from apps on any platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/fit/rest/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/nhMvpYEQ_RBKT5m7vH5ZWvJRx2U\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/cv5IDg7J1xZEhu7AcMKOUYokJNk\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -768,7 +768,7 @@ } } }, - "revision": "20200220", + "revision": "20200223", "rootUrl": "https://www.googleapis.com/", "schemas": { "AggregateBucket": { diff --git a/DiscoveryJson/gamesManagement_v1management.json b/DiscoveryJson/gamesManagement_v1management.json index a6b30e9a268..8999eb79239 100644 --- a/DiscoveryJson/gamesManagement_v1management.json +++ b/DiscoveryJson/gamesManagement_v1management.json @@ -15,7 +15,7 @@ "description": "The Management API for Google Play Game Services.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/services", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/eY1qb_io9uL63DHc9FZj35zyuJA\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/aj3P03781eioc2kPZLcvkGwqAXM\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -449,7 +449,7 @@ } } }, - "revision": "20200213", + "revision": "20200224", "rootUrl": "https://www.googleapis.com/", "schemas": { "AchievementResetAllResponse": { diff --git a/DiscoveryJson/games_v1.json b/DiscoveryJson/games_v1.json index e00e7517080..f465847bbd1 100644 --- a/DiscoveryJson/games_v1.json +++ b/DiscoveryJson/games_v1.json @@ -18,7 +18,7 @@ "description": "The API for Google Play Game Services.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/services/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/yOJ5TRaTtI1RFI3QggoGB57A7dQ\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/H2O8uCErLgN0H9TT8YyY_71D3CM\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -1788,7 +1788,7 @@ } } }, - "revision": "20200213", + "revision": "20200224", "rootUrl": "https://www.googleapis.com/", "schemas": { "AchievementDefinition": { diff --git a/DiscoveryJson/games_v1.json.original b/DiscoveryJson/games_v1.json.original index 44478d7f961..3a2e4d55e98 100644 --- a/DiscoveryJson/games_v1.json.original +++ b/DiscoveryJson/games_v1.json.original @@ -18,7 +18,7 @@ "description": "The API for Google Play Game Services.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/services/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/yOJ5TRaTtI1RFI3QggoGB57A7dQ\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/H2O8uCErLgN0H9TT8YyY_71D3CM\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -1790,7 +1790,7 @@ } } }, - "revision": "20200213", + "revision": "20200224", "rootUrl": "https://www.googleapis.com/", "schemas": { "AchievementDefinition": { diff --git a/DiscoveryJson/genomics_v1.json b/DiscoveryJson/genomics_v1.json index 3a0a6c50152..d0c44a98f1b 100644 --- a/DiscoveryJson/genomics_v1.json +++ b/DiscoveryJson/genomics_v1.json @@ -121,7 +121,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -150,7 +150,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -209,7 +209,7 @@ } } }, - "revision": "20200210", + "revision": "20200226", "rootUrl": "https://genomics.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/DiscoveryJson/genomics_v1alpha2.json b/DiscoveryJson/genomics_v1alpha2.json index 86f751c722e..b2036c7b40b 100644 --- a/DiscoveryJson/genomics_v1alpha2.json +++ b/DiscoveryJson/genomics_v1alpha2.json @@ -124,7 +124,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -153,7 +153,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -389,7 +389,7 @@ } } }, - "revision": "20200210", + "revision": "20200226", "rootUrl": "https://genomics.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/DiscoveryJson/genomics_v2alpha1.json b/DiscoveryJson/genomics_v2alpha1.json index 4224c7e9f2c..9aaa5b1f57c 100644 --- a/DiscoveryJson/genomics_v2alpha1.json +++ b/DiscoveryJson/genomics_v2alpha1.json @@ -268,7 +268,7 @@ } } }, - "revision": "20200210", + "revision": "20200226", "rootUrl": "https://genomics.googleapis.com/", "schemas": { "Accelerator": { diff --git a/DiscoveryJson/healthcare_v1beta1.json b/DiscoveryJson/healthcare_v1beta1.json index 1c34e502acc..9659b62f458 100644 --- a/DiscoveryJson/healthcare_v1beta1.json +++ b/DiscoveryJson/healthcare_v1beta1.json @@ -2937,7 +2937,7 @@ } } }, - "revision": "20200212", + "revision": "20200229", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/DiscoveryJson/language_v1.json b/DiscoveryJson/language_v1.json index 70f7e2e773a..1aa5e7f3bbf 100644 --- a/DiscoveryJson/language_v1.json +++ b/DiscoveryJson/language_v1.json @@ -227,7 +227,7 @@ } } }, - "revision": "20200222", + "revision": "20200229", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/DiscoveryJson/language_v1beta1.json b/DiscoveryJson/language_v1beta1.json index 1d59c4a750b..1a87cb0e2ba 100644 --- a/DiscoveryJson/language_v1beta1.json +++ b/DiscoveryJson/language_v1beta1.json @@ -189,7 +189,7 @@ } } }, - "revision": "20200222", + "revision": "20200229", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/DiscoveryJson/language_v1beta2.json b/DiscoveryJson/language_v1beta2.json index b38c72ecc0c..b3b50f60497 100644 --- a/DiscoveryJson/language_v1beta2.json +++ b/DiscoveryJson/language_v1beta2.json @@ -227,7 +227,7 @@ } } }, - "revision": "20200222", + "revision": "20200229", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/DiscoveryJson/libraryagent_v1.json b/DiscoveryJson/libraryagent_v1.json index 8ad93e1a217..b26668b0db6 100644 --- a/DiscoveryJson/libraryagent_v1.json +++ b/DiscoveryJson/libraryagent_v1.json @@ -279,7 +279,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://libraryagent.googleapis.com/", "schemas": { "GoogleExampleLibraryagentV1Book": { diff --git a/DiscoveryJson/logging_v2.json b/DiscoveryJson/logging_v2.json index ebdb34b8ddc..2e40d254ec8 100644 --- a/DiscoveryJson/logging_v2.json +++ b/DiscoveryJson/logging_v2.json @@ -34,6 +34,7 @@ }, "id": "logging:v2", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://logging.mtls.googleapis.com/", "name": "logging", "ownerDomain": "google.com", "ownerName": "Google", @@ -336,7 +337,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return all buckets.", + "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+$", "required": true, @@ -1097,7 +1098,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return all buckets.", + "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, @@ -1489,7 +1490,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return all buckets.", + "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+$", "required": true, @@ -1930,7 +1931,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return all buckets.", + "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -2485,7 +2486,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return all buckets.", + "description": "Required. The parent resource whose buckets are to be listed:\n\"projects/[PROJECT_ID]/locations/[LOCATION_ID]\"\n\"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\"\n\"folders/[FOLDER_ID]/locations/[LOCATION_ID]\"\nNote: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2623,7 +2624,7 @@ ], "parameters": { "parent": { - "description": "The resource name of the project in which to create the metric:\n\"projects/[PROJECT_ID]\"\nThe new metric must be provided in the request.", + "description": "Required. The resource name of the project in which to create the metric:\n\"projects/[PROJECT_ID]\"\nThe new metric must be provided in the request.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -2653,7 +2654,7 @@ ], "parameters": { "metricName": { - "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", + "description": "Required. The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", "location": "path", "pattern": "^projects/[^/]+/metrics/[^/]+$", "required": true, @@ -2680,7 +2681,7 @@ ], "parameters": { "metricName": { - "description": "The resource name of the desired metric:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", + "description": "Required. The resource name of the desired metric:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", "location": "path", "pattern": "^projects/[^/]+/metrics/[^/]+$", "required": true, @@ -2747,7 +2748,7 @@ ], "parameters": { "metricName": { - "description": "The resource name of the metric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.", + "description": "Required. The resource name of the metric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.", "location": "path", "pattern": "^projects/[^/]+/metrics/[^/]+$", "required": true, @@ -3221,7 +3222,7 @@ } } }, - "revision": "20200221", + "revision": "20200222", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryOptions": { @@ -3267,11 +3268,11 @@ "type": "string" }, "name": { - "description": "Output Only. The resource name of the CMEK settings.", + "description": "Output only. The resource name of the CMEK settings.", "type": "string" }, "serviceAccountId": { - "description": "Output Only. The service account that will be used by the Logs Router to access your Cloud KMS key.Before enabling CMEK for Logs Router, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that the Logs Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Logs Router for more information.", + "description": "Output only. The service account that will be used by the Logs Router to access your Cloud KMS key.Before enabling CMEK for Logs Router, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that the Logs Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Logs Router for more information.", "type": "string" } }, @@ -3501,7 +3502,7 @@ "type": "string" }, "projectIds": { - "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\".", + "description": "Optional. Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\".", "items": { "type": "string" }, @@ -3621,7 +3622,7 @@ "type": "string" }, "lifecycleState": { - "description": "The bucket lifecycle state.Output only.", + "description": "Output only. The bucket lifecycle state.", "enum": [ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", @@ -3679,12 +3680,12 @@ "type": "object" }, "logName": { - "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\nA project number may optionally be used in place of PROJECT_ID. The project number is translated to its corresponding PROJECT_ID internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.", + "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\nA project number may be used in place of PROJECT_ID. The project number is translated to its corresponding PROJECT_ID internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.", "type": "string" }, "metadata": { "$ref": "MonitoredResourceMetadata", - "description": "Deprecated. Output only. Additional metadata about the monitored resource.Only k8s_container, k8s_pod, and k8s_node MonitoredResources have this field populated for GKE versions older than 1.12.6. For GKE versions 1.12.6 and above, the metadata field has been deprecated. The Kubernetes pod labels that used to be in metadata.userLabels will now be present in the labels field with a key prefix of k8s-pod/. The Stackdriver system labels that were present in the metadata.systemLabels field will no longer be available in the LogEntry." + "description": "Output only. Deprecated. Additional metadata about the monitored resource.Only k8s_container, k8s_pod, and k8s_node MonitoredResources have this field populated for GKE versions older than 1.12.6. For GKE versions 1.12.6 and above, the metadata field has been deprecated. The Kubernetes pod labels that used to be in metadata.userLabels will now be present in the labels field with a key prefix of k8s-pod/. The Stackdriver system labels that were present in the metadata.systemLabels field will no longer be available in the LogEntry." }, "operation": { "$ref": "LogEntryOperation", @@ -3738,7 +3739,7 @@ "description": "Optional. Source code location information associated with the log entry, if any." }, "spanId": { - "description": "Optional. The span ID within the trace associated with the log entry.For Trace spans, this is the same format that the Trace API v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such as \"000000000000004a\".", + "description": "Optional. The span ID within the trace associated with the log entry.For Trace spans, this is the same format that the Trace API v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such as 000000000000004a.", "type": "string" }, "textPayload": { @@ -3968,11 +3969,6 @@ "description": "Optional. If set to True, then this sink is disabled and it does not export any log entries.", "type": "boolean" }, - "endTime": { - "description": "Do not use. This field is ignored.", - "format": "google-datetime", - "type": "string" - }, "filter": { "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. For example:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n", "type": "string" @@ -3999,11 +3995,6 @@ ], "type": "string" }, - "startTime": { - "description": "Do not use. This field is ignored.", - "format": "google-datetime", - "type": "string" - }, "updateTime": { "description": "Output only. The last update timestamp of the sink.This field may not be present for older sinks.", "format": "google-datetime", @@ -4458,7 +4449,7 @@ "type": "object" }, "logName": { - "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example:\n\"projects/my-project-id/logs/syslog\"\n\"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\"\nThe permission logging.logEntries.create is needed on each project, organization, billing account, or folder that is receiving new log entries, whether the resource is specified in logName or in an individual log entry.", + "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example:\n\"projects/my-project-id/logs/syslog\"\n\"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\"\nThe permission logging.logEntries.create is needed on each project, organization, billing account, or folder that is receiving new log entries, whether the resource is specified in logName or in an individual log entry.", "type": "string" }, "partialSuccess": { @@ -4473,7 +4464,7 @@ "type": "object" }, "WriteLogEntriesResponse": { - "description": "Result returned from WriteLogEntries. empty", + "description": "Result returned from WriteLogEntries.", "id": "WriteLogEntriesResponse", "properties": {}, "type": "object" diff --git a/DiscoveryJson/managedidentities_v1.json b/DiscoveryJson/managedidentities_v1.json new file mode 100644 index 00000000000..34a2a40aae3 --- /dev/null +++ b/DiscoveryJson/managedidentities_v1.json @@ -0,0 +1,1634 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "basePath": "", + "baseUrl": "https://managedidentities.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Managed Service for Microsoft Active Directory Consumer API", + "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "managedidentities:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://managedidentities.mtls.googleapis.com/", + "name": "managedidentities", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "includeUnrevealedLocations": { + "description": "If true, the returned list will include locations which are not yet\nrevealed.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "global": { + "resources": { + "domains": { + "methods": { + "attachTrust": { + "description": "Adds an AD trust to a domain.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:attachTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.attachTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:attachTrust", + "request": { + "$ref": "AttachTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a Microsoft AD domain.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "domainName": { + "description": "Required. The fully qualified domain name.\ne.g. mydomain.myorganization.com, with the following restrictions:\n\n * Must contain only lowercase letters, numbers, periods and hyphens.\n * Must start with a letter.\n * Must contain between 2-64 characters.\n * Must end with a number or a letter.\n * Must not start with period.\n * First segement length (mydomain form example above) shouldn't exceed\n 15 chars.\n * The last segment cannot be fully numeric.\n * Must be unique within the customer project.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource project name and location using the form:\n`projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/domains", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a domain.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.domains.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "detachTrust": { + "description": "Removes an AD trust.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:detachTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.detachTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name, and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:detachTrust", + "request": { + "$ref": "DetachTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a domain.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Domain" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:getIamPolicy", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists domains in a project.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter specifying constraints of a list operation.\nFor example, `Domain.fqdn=\"mydomain.myorginization\"`.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Specifies the ordering of results. See\n[Sorting\norder](https://cloud.google.com/apis/design/design_patterns#sorting_order)\nfor more information.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return.\nIf not specified, a default value of 1000 will be used.\nRegardless of the page_size value, the response may include a partial list.\nCallers should rely on a response's\nnext_page_token\nto determine if there are additional results to list.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The `next_page_token` value returned from a previous ListDomainsRequest\nrequest, if any.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the domain location using the form:\n`projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/domains", + "response": { + "$ref": "ListDomainsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the metadata and configuration of a domain.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "PATCH", + "id": "managedidentities.projects.locations.global.domains.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The unique name of the domain using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask of fields to update. At least one path must be supplied in this\nfield. The elements of the repeated paths field may only include\nfields from Domain:\n * `labels`\n * `locations`\n * `authorized_networks`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reconfigureTrust": { + "description": "Updates the DNS conditional forwarder.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:reconfigureTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.reconfigureTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:reconfigureTrust", + "request": { + "$ref": "ReconfigureTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "resetAdminPassword": { + "description": "Resets a domain's administrator password.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:resetAdminPassword", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.resetAdminPassword", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:resetAdminPassword", + "request": { + "$ref": "ResetAdminPasswordRequest" + }, + "response": { + "$ref": "ResetAdminPasswordResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:setIamPolicy", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:testIamPermissions", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "validateTrust": { + "description": "Validates a trust state, that the target domain is reachable, and that the\ntarget domain is able to accept incoming trust requests.", + "flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:validateTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.validateTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name, and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:validateTrust", + "request": { + "$ref": "ValidateTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/global/operations", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + } + }, + "revision": "20200213", + "rootUrl": "https://managedidentities.googleapis.com/", + "schemas": { + "AttachTrustRequest": { + "description": "Request message for\nAttachTrust", + "id": "AttachTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "Required. The domain trust resource." + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members` with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "DetachTrustRequest": { + "description": "Request message for\nDetachTrust", + "id": "DetachTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "Required. The domain trust resource to removed." + } + }, + "type": "object" + }, + "Domain": { + "description": "Represents a managed Microsoft Active Directory domain.", + "id": "Domain", + "properties": { + "admin": { + "description": "Optional. The name of delegated administrator account used to perform\nActive Directory operations. If not specified, `setupadmin` will be used.", + "type": "string" + }, + "authorizedNetworks": { + "description": "Optional. The full names of the Google Compute Engine\n[networks](/compute/docs/networks-and-firewalls#networks) the domain\ninstance is connected to. Networks can be added using UpdateDomain.\nThe domain is only available on networks listed in `authorized_networks`.\nIf CIDR subnets overlap between networks, domain creation will fail.", + "items": { + "type": "string" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. The time the instance was created.", + "format": "google-datetime", + "type": "string" + }, + "fqdn": { + "description": "Output only. The fully-qualified domain name of the exposed domain used by\nclients to connect to the service. Similar to what would be chosen for an\nActive Directory set up on an internal network.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels that can contain user-provided metadata.", + "type": "object" + }, + "locations": { + "description": "Required. Locations where domain needs to be provisioned.\nregions\ne.g. us-west1 or us-east4\nService supports up to 4 locations at once. Each location will use a /26\nblock.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Required. The unique name of the domain using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`.", + "type": "string" + }, + "reservedIpRange": { + "description": "Required. The CIDR range of internal addresses that are reserved for this\ndomain. Reserved networks must be /24 or larger. Ranges must be\nunique and non-overlapping with existing subnets in\n[Domain].[authorized_networks].", + "type": "string" + }, + "state": { + "description": "Output only. The current state of this domain.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "DELETING", + "REPAIRING", + "PERFORMING_MAINTENANCE", + "UNAVAILABLE" + ], + "enumDescriptions": [ + "Not set.", + "The domain is being created.", + "The domain has been created and is fully usable.", + "The domain's configuration is being updated.", + "The domain is being deleted.", + "The domain is being repaired and may be unusable. Details\ncan be found in the `status_message` field.", + "The domain is undergoing maintenance.", + "The domain is not serving requests." + ], + "type": "string" + }, + "statusMessage": { + "description": "Output only. Additional information about the current status of this\ndomain, if available.", + "type": "string" + }, + "trusts": { + "description": "Output only. The current trusts associated with the domain.", + "items": { + "$ref": "Trust" + }, + "type": "array" + }, + "updateTime": { + "description": "Output only. The last update time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language\nsyntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudManagedidentitiesV1OpMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudManagedidentitiesV1OpMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudManagedidentitiesV1beta1OpMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudManagedidentitiesV1beta1OpMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1Instance": { + "description": "Instance represents the interface for SLM services to actuate the state\nof control plane resources.\n\nExample Instance in JSON, where\n consumer-project=snapchat,\n producer-project=cloud-sql:\n\n```json\nInstance:\n{\n \"name\":\n \"projects/snapchat/locations/us-east1/instances/prod-instance\",\n \"create_time\": {\n \"seconds\": 1526406431,\n },\n \"labels\": {\n \"env\": \"prod\",\n \"foo\": \"bar\"\n },\n \"state\": READY,\n \"software_versions\": {\n \"software_update\": \"cloud-sql-09-28-2018\",\n },\n \"maintenance_policy_names\": {\n \"UpdatePolicy\":\n \"projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy\",\n }\n \"tenant_project_id\": \"cloud-sql-test-tenant\",\n \"producer_metadata\": {\n \"cloud-sql-tier\": \"basic\",\n \"cloud-sql-instance-size\": \"1G\",\n },\n \"provisioned_resources\": [\n {\n \"resource-type\": \"compute-instance\",\n \"resource-url\":\n \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\",\n }\n ],\n \"maintenance_schedules\": {\n \"csa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n },\n \"ncsa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n }\n },\n \"consumer_defined_name\": \"my-sql-instance1\",\n}\n```", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", + "properties": { + "consumerDefinedName": { + "description": "consumer_defined_name is the name that is set by the consumer. On the other\nhand Name field represents system-assigned id of an instance so consumers\nare not necessarily aware of it.\nconsumer_defined_name is used for notification/UI purposes for consumer to\nrecognize their instances.", + "type": "string" + }, + "createTime": { + "description": "Output only. Timestamp when the resource was created.", + "format": "google-datetime", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata. Each label\nis a key-value pair, where both the key and the value are arbitrary strings\nprovided by the user.", + "type": "object" + }, + "maintenancePolicyNames": { + "additionalProperties": { + "type": "string" + }, + "description": "The MaintenancePolicies that have been attached to the instance.\nThe key must be of the type name of the oneof policy name defined in\nMaintenancePolicy, and the referenced policy must define the same policy\ntype. For complete details of MaintenancePolicy, please refer to\ngo/cloud-saas-mw-ug.", + "type": "object" + }, + "maintenanceSchedules": { + "additionalProperties": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" + }, + "description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.", + "type": "object" + }, + "name": { + "description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`", + "type": "string" + }, + "producerMetadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Custom string attributes used primarily to expose\nproducer-specific information in monitoring dashboards.\nSee go/get-instance-metadata.", + "type": "object" + }, + "provisionedResources": { + "description": "Output only. The list of data plane resources provisioned for this\ninstance, e.g. compute VMs. See go/get-instance-metadata.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" + }, + "type": "array" + }, + "rolloutMetadata": { + "additionalProperties": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata" + }, + "description": "The map between RolloutType and the corresponding RolloutMetadata.\nThis is only mutated by rollout service. For actuation implementation,\nthis information is pass-through for Rollout management. Producer shall\nnot modify by itself.\nFor update of a single entry in this map, the update field mask shall\nfollow this sementics: go/advanced-field-masks", + "type": "object" + }, + "slmInstanceTemplate": { + "description": "Link to the SLM instance template. Only populated when updating SLM\ninstances via SSA's Actuation service adaptor.\nService producers with custom control plane (e.g. Cloud SQL) doesn't\nneed to populate this field. Instead they should use software_versions.", + "type": "string" + }, + "sloMetadata": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", + "description": "Output only. SLO metadata for instance classification in the\nStandardized dataplane SLO platform.\nSee go/cloud-ssa-standard-slo for feature description." + }, + "softwareVersions": { + "additionalProperties": { + "type": "string" + }, + "description": "Software versions that are used to deploy this instance. This can be\nmutated by rollout services.", + "type": "object" + }, + "state": { + "description": "Output only. Current lifecycle state of the resource (e.g. if it's being\ncreated or ready to use).", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR" + ], + "enumDescriptions": [ + "Unspecified state.", + "Instance is being created.", + "Instance has been created and is ready to use.", + "Instance is being updated.", + "Instance is unheathy and under repair.", + "Instance is being deleted.", + "Instance encountered an error and is in indeterministic state." + ], + "type": "string" + }, + "tenantProjectId": { + "description": "Output only. ID of the associated GCP tenant project.\nSee go/get-instance-metadata.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when the resource was last modified.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { + "description": "Maintenance schedule which is exposed to customer and potentially end user,\nindicating published upcoming future maintenance schedule", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", + "properties": { + "canReschedule": { + "description": "Can this scheduled update be rescheduled?\nBy default, it's true and API needs to do explicitly check whether it's\nset, if it's set as false explicitly, it's false", + "type": "boolean" + }, + "endTime": { + "description": "The scheduled end time for the maintenance.", + "format": "google-datetime", + "type": "string" + }, + "rolloutManagementPolicy": { + "description": "The rollout management policy this maintenance schedule is associated\nwith. When doing reschedule update request, the reschedule should be\nagainst this given policy.", + "type": "string" + }, + "startTime": { + "description": "The scheduled start time for the maintenance.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { + "description": "Node information for custom per-node SLO implementations.\nSSA does not support per-node SLO, but producers can populate per-node\ninformation in SloMetadata for custom precomputations.\nSSA Eligibility Exporter will emit per-node metric based on this information.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", + "properties": { + "exclusions": { + "description": "By default node is eligible if instance is eligible.\nBut individual node might be excluded from SLO by adding entry here.\nFor semantic see SloMetadata.exclusions.\nIf both instance and node level exclusions are present for time period,\nthe node level's reason will be reported by Eligibility Exporter.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" + }, + "type": "array" + }, + "location": { + "description": "The location of the node, if different from instance location.", + "type": "string" + }, + "nodeId": { + "description": "The id of the node.\nThis should be equal to SaasInstanceNode.node_id.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": { + "description": "This message has been deprecated.\nNotificationMetadata is the notification state for an instance.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata", + "properties": { + "rescheduled": { + "description": "Whether the instance update has been rescheduled.", + "type": "boolean" + }, + "scheduledEndTime": { + "description": "The scheduled end time for the maintenance window during which update\ncan be performed on the instance.", + "format": "google-datetime", + "type": "string" + }, + "scheduledStartTime": { + "description": "The scheduled start time for the maintenance window during which\nupdate can be performed on the instance.", + "format": "google-datetime", + "type": "string" + }, + "targetRelease": { + "description": "The target release to be applied to the instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { + "description": "Describes provisioned dataplane resources.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", + "properties": { + "resourceType": { + "description": "Type of the resource. This can be either a GCP resource or a custom one\n(e.g. another cloud provider's VM). For GCP compute resources use singular\nform of the names listed in GCP compute API documentation\n(https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with\n'compute-', for example: 'compute-instance', 'compute-disk',\n'compute-autoscaler'.", + "type": "string" + }, + "resourceUrl": { + "description": "URL identifying the resource, e.g.\n\"https://www.googleapis.com/compute/v1/projects/...)\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata": { + "description": "This message has been deprecated.\nRolloutMetadata for an actuation instance. It maps to a single RolloutType.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata", + "properties": { + "notification": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata", + "description": "Instance level notification metadata." + }, + "releaseName": { + "description": "The last Release that has been applied to the instance.", + "type": "string" + }, + "rolloutName": { + "description": "The last rollout that has been applied to the instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { + "description": "SloEligibility is a tuple containing eligibility value: true if an instance\nis eligible for SLO calculation or false if it should be excluded from all\nSLO-related calculations along with a user-defined reason.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", + "properties": { + "eligible": { + "description": "Whether an instance is eligible or ineligible.", + "type": "boolean" + }, + "reason": { + "description": "User-defined reason for the current value of instance eligibility. Usually,\nthis can be directly mapped to the internal state. An empty reason is\nallowed.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": { + "description": "SloExclusion represents an exclusion in SLI calculation applies to all SLOs.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion", + "properties": { + "duration": { + "description": "Exclusion duration. No restrictions on the possible values.\n\nWhen an ongoing operation is taking longer than initially expected,\nan existing entry in the exclusion list can be updated by extending the\nduration. This is supported by the subsystem exporting eligibility data\nas long as such extension is committed at least 10 minutes before the\noriginal exclusion expiration - otherwise it is possible that there will\nbe \"gaps\" in the exclusion application in the exported timeseries.", + "format": "google-duration", + "type": "string" + }, + "reason": { + "description": "Human-readable reason for the exclusion.\nThis should be a static string (e.g. \"Disruptive update in progress\")\nand should not contain dynamically generated data (e.g. instance name).\nCan be left empty.", + "type": "string" + }, + "sliName": { + "description": "Name of an SLI that this exclusion applies to. Can be left empty,\nsignaling that the instance should be excluded from all SLIs defined\nin the service SLO configuration.", + "type": "string" + }, + "startTime": { + "description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { + "description": "SloMetadata contains resources required for proper SLO classification of the\ninstance.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", + "properties": { + "eligibility": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", + "description": "Optional. User-defined instance eligibility." + }, + "exclusions": { + "description": "List of SLO exclusion windows. When multiple entries in the list match\n(matching the exclusion time-window against current time point)\nthe exclusion reason used in the first matching entry will be published.\n\nIt is not needed to include expired exclusion in this list, as only the\ncurrently applicable exclusions are taken into account by the eligibility\nexporting subsystem (the historical state of exclusions will be reflected\nin the historically produced timeseries regardless of the current state).\n\nThis field can be used to mark the instance as temporary ineligible\nfor the purpose of SLO calculation. For permanent instance SLO exclusion,\nuse of custom instance eligibility is recommended. See 'eligibility' field\nbelow.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" + }, + "type": "array" + }, + "nodes": { + "description": "Optional. List of nodes.\nSome producers need to use per-node metadata to calculate SLO.\nThis field allows such producers to publish per-node SLO meta data,\nwhich will be consumed by SSA Eligibility Exporter and published in the\nform of per node metric to Monarch.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" + }, + "type": "array" + }, + "tier": { + "description": "Name of the SLO tier the Instance belongs to. This name will be expected to\nmatch the tiers specified in the service SLO configuration.\n\nField is mandatory and must not be empty.", + "type": "string" + } + }, + "type": "object" + }, + "ListDomainsResponse": { + "description": "Response message for\nListDomains", + "id": "ListDomainsResponse", + "properties": { + "domains": { + "description": "A list of Managed Identities Service domains in the project.", + "items": { + "$ref": "Domain" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results, or empty if there are no more\nresults in the list.", + "type": "string" + }, + "unreachable": { + "description": "A list of locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "[Output only] API version used to start the operation.", + "type": "string" + }, + "cancelRequested": { + "description": "[Output only] Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "createTime": { + "description": "[Output only] The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "[Output only] The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "statusDetail": { + "description": "[Output only] Human-readable status of the operation, if any.", + "type": "string" + }, + "target": { + "description": "[Output only] Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "[Output only] Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "bindings": { + "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ReconfigureTrustRequest": { + "description": "Request message for\nReconfigureTrust", + "id": "ReconfigureTrustRequest", + "properties": { + "targetDnsIpAddresses": { + "description": "Required. The target DNS server IP addresses to resolve the remote domain involved\nin the trust.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetDomainName": { + "description": "Required. The fully-qualified target domain name which will be in trust with current\ndomain.", + "type": "string" + } + }, + "type": "object" + }, + "ResetAdminPasswordRequest": { + "description": "Request message for\nResetAdminPassword", + "id": "ResetAdminPasswordRequest", + "properties": {}, + "type": "object" + }, + "ResetAdminPasswordResponse": { + "description": "Response message for\nResetAdminPassword", + "id": "ResetAdminPasswordResponse", + "properties": { + "password": { + "description": "A random password. See admin for more information.", + "type": "string" + } + }, + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Trust": { + "description": "Represents a relationship between two domains. This allows a controller in\none domain to authenticate a user in another domain.", + "id": "Trust", + "properties": { + "createTime": { + "description": "Output only. The time the instance was created.", + "format": "google-datetime", + "type": "string" + }, + "lastTrustHeartbeatTime": { + "description": "Output only. The last heartbeat time when the trust was known to be connected.", + "format": "google-datetime", + "type": "string" + }, + "selectiveAuthentication": { + "description": "Optional. The trust authentication type, which decides whether the trusted side has\nforest/domain wide access or selective access to an approved set of\nresources.", + "type": "boolean" + }, + "state": { + "description": "Output only. The current state of the trust.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "UPDATING", + "DELETING", + "CONNECTED", + "DISCONNECTED" + ], + "enumDescriptions": [ + "Not set.", + "The domain trust is being created.", + "The domain trust is being updated.", + "The domain trust is being deleted.", + "The domain trust is connected.", + "The domain trust is disconnected." + ], + "type": "string" + }, + "stateDescription": { + "description": "Output only. Additional information about the current state of the trust, if available.", + "type": "string" + }, + "targetDnsIpAddresses": { + "description": "Required. The target DNS server IP addresses which can resolve the remote domain\ninvolved in the trust.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetDomainName": { + "description": "Required. The fully qualified target domain name which will be in trust with the\ncurrent domain.", + "type": "string" + }, + "trustDirection": { + "description": "Required. The trust direction, which decides if the current domain is trusted,\ntrusting, or both.", + "enum": [ + "TRUST_DIRECTION_UNSPECIFIED", + "INBOUND", + "OUTBOUND", + "BIDIRECTIONAL" + ], + "enumDescriptions": [ + "Not set.", + "The inbound direction represents the trusting side.", + "The outboud direction represents the trusted side.", + "The bidirectional direction represents the trusted / trusting side." + ], + "type": "string" + }, + "trustHandshakeSecret": { + "description": "Required. The trust secret used for the handshake with the target domain. This will\nnot be stored.", + "type": "string" + }, + "trustType": { + "description": "Required. The type of trust represented by the trust resource.", + "enum": [ + "TRUST_TYPE_UNSPECIFIED", + "FOREST", + "EXTERNAL" + ], + "enumDescriptions": [ + "Not set.", + "The forest trust.", + "The external domain trust." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. The last update time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ValidateTrustRequest": { + "description": "Request message for\nValidateTrust", + "id": "ValidateTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "Required. The domain trust to validate trust state for." + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Managed Service for Microsoft Active Directory API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/managedidentities_v1alpha1.json b/DiscoveryJson/managedidentities_v1alpha1.json new file mode 100644 index 00000000000..cf99847077d --- /dev/null +++ b/DiscoveryJson/managedidentities_v1alpha1.json @@ -0,0 +1,1619 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "basePath": "", + "baseUrl": "https://managedidentities.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Managed Service for Microsoft Active Directory Consumer API", + "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "managedidentities:v1alpha1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://managedidentities.mtls.googleapis.com/", + "name": "managedidentities", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1alpha1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "includeUnrevealedLocations": { + "description": "If true, the returned list will include locations which are not yet\nrevealed.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "global": { + "resources": { + "domains": { + "methods": { + "attachTrust": { + "description": "Adds AD trust in a given domain.\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:attachTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.attachTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource domain name, project name and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:attachTrust", + "request": { + "$ref": "AttachTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a Microsoft AD Domain in a given project.\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "domainName": { + "description": "The fully qualified domain name.\ne.g. mydomain.myorganization.com, with the following restrictions:\n\n * Must contain only lowercase letters, numbers, periods and hyphens.\n * Must start with a letter.\n * Must contain between 2-64 characters.\n * Must end with a number or a letter.\n * Must not start with period.\n * Must be unique within the project.\n * First segement length (mydomain form example above) shouldn't exceed\n 15 chars.\n * The last segment cannot be fully numeric.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Resource project name and location using the form:\n`projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+parent}/domains", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes identified domain.\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.domains.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "detachTrust": { + "description": "Removes identified trust.\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:detachTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.detachTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource domain name, project name, and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:detachTrust", + "request": { + "$ref": "DetachTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Domain.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}", + "response": { + "$ref": "Domain" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:getIamPolicy", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Domains in a given project.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter specifying constraints of a list operation.\nFor example, `Domain.fqdn=\"mydomain.myorginization\"`.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Specifies the ordering of results following syntax at\nhttps://cloud.google.com/apis/design/design_patterns#sorting_order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "If not specified, a default value of 1000 will be used by the service.\nRegardless of the page_size value, the response may include a partial list\nand a caller should only rely on response's\nnext_page_token\nto determine if there are more instances left to be queried.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous List request, if any.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the domain location using the form:\n`projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+parent}/domains", + "response": { + "$ref": "ListDomainsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the metadata and configuration of a specified domain.\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "PATCH", + "id": "managedidentities.projects.locations.global.domains.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Unique name of the domain in this scope including projects and\nlocation using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Mask of fields to update. At least one path must be supplied in this\nfield. The elements of the repeated paths field may only include these\nfields from Domain:\n * `labels`\n * `locations`\n * `authorized_networks`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha1/{+name}", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reconfigureTrust": { + "description": "Updates the dns conditional forwarder.\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:reconfigureTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.reconfigureTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource domain name, project name and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:reconfigureTrust", + "request": { + "$ref": "ReconfigureTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "resetAdminPassword": { + "description": "Resets managed identities admin password identified by\nmanaged_identities_admin_name", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:resetAdminPassword", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.resetAdminPassword", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:resetAdminPassword", + "request": { + "$ref": "ResetAdminPasswordRequest" + }, + "response": { + "$ref": "ResetAdminPasswordResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:setIamPolicy", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:testIamPermissions", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "validateTrust": { + "description": "Validate the trust state\nOperation", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:validateTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.validateTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource domain name, project name, and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:validateTrust", + "request": { + "$ref": "ValidateTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations/{operationsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + } + }, + "revision": "20200213", + "rootUrl": "https://managedidentities.googleapis.com/", + "schemas": { + "AttachTrustRequest": { + "id": "AttachTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "The domain trust resource." + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members` with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "DetachTrustRequest": { + "id": "DetachTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "The domain trust resource to removed." + } + }, + "type": "object" + }, + "Domain": { + "id": "Domain", + "properties": { + "authorizedNetworks": { + "description": "Optional. The full names of the Google Compute Engine\n[networks](/compute/docs/networks-and-firewalls#networks) to which the\ninstance is connected. Network can be added using UpdateDomain later.\nDomain is only available on network part of authorized_networks.\nCaller needs to make sure that CIDR subnets do not overlap between\nnetworks, else domain creation will fail.", + "items": { + "type": "string" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. The time the instance was created. Synthetic field is\npopulated automatically by CCFE. go/ccfe-synthetic-field-user-guide", + "format": "google-datetime", + "type": "string" + }, + "fqdn": { + "description": "Output only. Fully-qualified domain name of the exposed domain used by\nclients to connect to the service. Similar to what would be chosen for an\nActive Directory that is set up on an internal network.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata", + "type": "object" + }, + "locations": { + "description": "Required. Locations where domain needs to be provisioned.\nregions\ne.g. us-west1 or us-east4\nService supports up to 4 locations at once. Each location will use a /26\nblock.", + "items": { + "type": "string" + }, + "type": "array" + }, + "managedIdentitiesAdminName": { + "description": "Optional. Name of customer-visible admin used to perform Active Directory\noperations. If not specified `setupadmin` would be used.", + "type": "string" + }, + "name": { + "description": "Output only. Unique name of the domain in this scope including projects and\nlocation using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`.", + "type": "string" + }, + "reservedIpRange": { + "description": "Required. The CIDR range of internal addresses that are reserved for this\ndomain. Reserved networks must be /24 or larger. Ranges must be\nunique and non-overlapping with existing subnets in\n[Domain].[authorized_networks].", + "type": "string" + }, + "state": { + "description": "Output only. The current state of this domain.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "DELETING", + "REPAIRING", + "PERFORMING_MAINTENANCE", + "DOWN" + ], + "enumDescriptions": [ + "Not set.", + "ManagedIdentities domain is being created.", + "ManagedIdentities domain has been created and is fully usable.", + "ManagedIdentities domain configuration is being updated.", + "ManagedIdentities domain is being deleted.", + "ManagedIdentities domain is being repaired and may be unusable. Details\ncan be found in the `status_message` field.", + "ManagedIdentities domain is undergoing maintenance.", + "ManagedIdentities domain is not serving customer requests." + ], + "type": "string" + }, + "statusMessage": { + "description": "Output only. Additional information about the current status of this\ndomain, if available.", + "type": "string" + }, + "trusts": { + "description": "Output only. The current trusts associated with the domain.", + "items": { + "$ref": "Trust" + }, + "type": "array" + }, + "updateTime": { + "description": "Output only. Last update time. Synthetic field is populated automatically\nby CCFE.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language\nsyntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudManagedidentitiesV1OpMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudManagedidentitiesV1OpMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudManagedidentitiesV1beta1OpMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudManagedidentitiesV1beta1OpMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1Instance": { + "description": "Instance represents the interface for SLM services to actuate the state\nof control plane resources.\n\nExample Instance in JSON, where\n consumer-project=snapchat,\n producer-project=cloud-sql:\n\n```json\nInstance:\n{\n \"name\":\n \"projects/snapchat/locations/us-east1/instances/prod-instance\",\n \"create_time\": {\n \"seconds\": 1526406431,\n },\n \"labels\": {\n \"env\": \"prod\",\n \"foo\": \"bar\"\n },\n \"state\": READY,\n \"software_versions\": {\n \"software_update\": \"cloud-sql-09-28-2018\",\n },\n \"maintenance_policy_names\": {\n \"UpdatePolicy\":\n \"projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy\",\n }\n \"tenant_project_id\": \"cloud-sql-test-tenant\",\n \"producer_metadata\": {\n \"cloud-sql-tier\": \"basic\",\n \"cloud-sql-instance-size\": \"1G\",\n },\n \"provisioned_resources\": [\n {\n \"resource-type\": \"compute-instance\",\n \"resource-url\":\n \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\",\n }\n ],\n \"maintenance_schedules\": {\n \"csa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n },\n \"ncsa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n }\n },\n \"consumer_defined_name\": \"my-sql-instance1\",\n}\n```", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", + "properties": { + "consumerDefinedName": { + "description": "consumer_defined_name is the name that is set by the consumer. On the other\nhand Name field represents system-assigned id of an instance so consumers\nare not necessarily aware of it.\nconsumer_defined_name is used for notification/UI purposes for consumer to\nrecognize their instances.", + "type": "string" + }, + "createTime": { + "description": "Output only. Timestamp when the resource was created.", + "format": "google-datetime", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata. Each label\nis a key-value pair, where both the key and the value are arbitrary strings\nprovided by the user.", + "type": "object" + }, + "maintenancePolicyNames": { + "additionalProperties": { + "type": "string" + }, + "description": "The MaintenancePolicies that have been attached to the instance.\nThe key must be of the type name of the oneof policy name defined in\nMaintenancePolicy, and the referenced policy must define the same policy\ntype. For complete details of MaintenancePolicy, please refer to\ngo/cloud-saas-mw-ug.", + "type": "object" + }, + "maintenanceSchedules": { + "additionalProperties": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" + }, + "description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.", + "type": "object" + }, + "name": { + "description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`", + "type": "string" + }, + "producerMetadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Custom string attributes used primarily to expose\nproducer-specific information in monitoring dashboards.\nSee go/get-instance-metadata.", + "type": "object" + }, + "provisionedResources": { + "description": "Output only. The list of data plane resources provisioned for this\ninstance, e.g. compute VMs. See go/get-instance-metadata.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" + }, + "type": "array" + }, + "rolloutMetadata": { + "additionalProperties": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata" + }, + "description": "The map between RolloutType and the corresponding RolloutMetadata.\nThis is only mutated by rollout service. For actuation implementation,\nthis information is pass-through for Rollout management. Producer shall\nnot modify by itself.\nFor update of a single entry in this map, the update field mask shall\nfollow this sementics: go/advanced-field-masks", + "type": "object" + }, + "slmInstanceTemplate": { + "description": "Link to the SLM instance template. Only populated when updating SLM\ninstances via SSA's Actuation service adaptor.\nService producers with custom control plane (e.g. Cloud SQL) doesn't\nneed to populate this field. Instead they should use software_versions.", + "type": "string" + }, + "sloMetadata": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", + "description": "Output only. SLO metadata for instance classification in the\nStandardized dataplane SLO platform.\nSee go/cloud-ssa-standard-slo for feature description." + }, + "softwareVersions": { + "additionalProperties": { + "type": "string" + }, + "description": "Software versions that are used to deploy this instance. This can be\nmutated by rollout services.", + "type": "object" + }, + "state": { + "description": "Output only. Current lifecycle state of the resource (e.g. if it's being\ncreated or ready to use).", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR" + ], + "enumDescriptions": [ + "Unspecified state.", + "Instance is being created.", + "Instance has been created and is ready to use.", + "Instance is being updated.", + "Instance is unheathy and under repair.", + "Instance is being deleted.", + "Instance encountered an error and is in indeterministic state." + ], + "type": "string" + }, + "tenantProjectId": { + "description": "Output only. ID of the associated GCP tenant project.\nSee go/get-instance-metadata.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when the resource was last modified.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { + "description": "Maintenance schedule which is exposed to customer and potentially end user,\nindicating published upcoming future maintenance schedule", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", + "properties": { + "canReschedule": { + "description": "Can this scheduled update be rescheduled?\nBy default, it's true and API needs to do explicitly check whether it's\nset, if it's set as false explicitly, it's false", + "type": "boolean" + }, + "endTime": { + "description": "The scheduled end time for the maintenance.", + "format": "google-datetime", + "type": "string" + }, + "rolloutManagementPolicy": { + "description": "The rollout management policy this maintenance schedule is associated\nwith. When doing reschedule update request, the reschedule should be\nagainst this given policy.", + "type": "string" + }, + "startTime": { + "description": "The scheduled start time for the maintenance.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { + "description": "Node information for custom per-node SLO implementations.\nSSA does not support per-node SLO, but producers can populate per-node\ninformation in SloMetadata for custom precomputations.\nSSA Eligibility Exporter will emit per-node metric based on this information.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", + "properties": { + "exclusions": { + "description": "By default node is eligible if instance is eligible.\nBut individual node might be excluded from SLO by adding entry here.\nFor semantic see SloMetadata.exclusions.\nIf both instance and node level exclusions are present for time period,\nthe node level's reason will be reported by Eligibility Exporter.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" + }, + "type": "array" + }, + "location": { + "description": "The location of the node, if different from instance location.", + "type": "string" + }, + "nodeId": { + "description": "The id of the node.\nThis should be equal to SaasInstanceNode.node_id.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": { + "description": "This message has been deprecated.\nNotificationMetadata is the notification state for an instance.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata", + "properties": { + "rescheduled": { + "description": "Whether the instance update has been rescheduled.", + "type": "boolean" + }, + "scheduledEndTime": { + "description": "The scheduled end time for the maintenance window during which update\ncan be performed on the instance.", + "format": "google-datetime", + "type": "string" + }, + "scheduledStartTime": { + "description": "The scheduled start time for the maintenance window during which\nupdate can be performed on the instance.", + "format": "google-datetime", + "type": "string" + }, + "targetRelease": { + "description": "The target release to be applied to the instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { + "description": "Describes provisioned dataplane resources.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", + "properties": { + "resourceType": { + "description": "Type of the resource. This can be either a GCP resource or a custom one\n(e.g. another cloud provider's VM). For GCP compute resources use singular\nform of the names listed in GCP compute API documentation\n(https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with\n'compute-', for example: 'compute-instance', 'compute-disk',\n'compute-autoscaler'.", + "type": "string" + }, + "resourceUrl": { + "description": "URL identifying the resource, e.g.\n\"https://www.googleapis.com/compute/v1/projects/...)\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata": { + "description": "This message has been deprecated.\nRolloutMetadata for an actuation instance. It maps to a single RolloutType.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata", + "properties": { + "notification": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata", + "description": "Instance level notification metadata." + }, + "releaseName": { + "description": "The last Release that has been applied to the instance.", + "type": "string" + }, + "rolloutName": { + "description": "The last rollout that has been applied to the instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { + "description": "SloEligibility is a tuple containing eligibility value: true if an instance\nis eligible for SLO calculation or false if it should be excluded from all\nSLO-related calculations along with a user-defined reason.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", + "properties": { + "eligible": { + "description": "Whether an instance is eligible or ineligible.", + "type": "boolean" + }, + "reason": { + "description": "User-defined reason for the current value of instance eligibility. Usually,\nthis can be directly mapped to the internal state. An empty reason is\nallowed.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": { + "description": "SloExclusion represents an exclusion in SLI calculation applies to all SLOs.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion", + "properties": { + "duration": { + "description": "Exclusion duration. No restrictions on the possible values.\n\nWhen an ongoing operation is taking longer than initially expected,\nan existing entry in the exclusion list can be updated by extending the\nduration. This is supported by the subsystem exporting eligibility data\nas long as such extension is committed at least 10 minutes before the\noriginal exclusion expiration - otherwise it is possible that there will\nbe \"gaps\" in the exclusion application in the exported timeseries.", + "format": "google-duration", + "type": "string" + }, + "reason": { + "description": "Human-readable reason for the exclusion.\nThis should be a static string (e.g. \"Disruptive update in progress\")\nand should not contain dynamically generated data (e.g. instance name).\nCan be left empty.", + "type": "string" + }, + "sliName": { + "description": "Name of an SLI that this exclusion applies to. Can be left empty,\nsignaling that the instance should be excluded from all SLIs defined\nin the service SLO configuration.", + "type": "string" + }, + "startTime": { + "description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { + "description": "SloMetadata contains resources required for proper SLO classification of the\ninstance.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", + "properties": { + "eligibility": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", + "description": "Optional. User-defined instance eligibility." + }, + "exclusions": { + "description": "List of SLO exclusion windows. When multiple entries in the list match\n(matching the exclusion time-window against current time point)\nthe exclusion reason used in the first matching entry will be published.\n\nIt is not needed to include expired exclusion in this list, as only the\ncurrently applicable exclusions are taken into account by the eligibility\nexporting subsystem (the historical state of exclusions will be reflected\nin the historically produced timeseries regardless of the current state).\n\nThis field can be used to mark the instance as temporary ineligible\nfor the purpose of SLO calculation. For permanent instance SLO exclusion,\nuse of custom instance eligibility is recommended. See 'eligibility' field\nbelow.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" + }, + "type": "array" + }, + "nodes": { + "description": "Optional. List of nodes.\nSome producers need to use per-node metadata to calculate SLO.\nThis field allows such producers to publish per-node SLO meta data,\nwhich will be consumed by SSA Eligibility Exporter and published in the\nform of per node metric to Monarch.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" + }, + "type": "array" + }, + "tier": { + "description": "Name of the SLO tier the Instance belongs to. This name will be expected to\nmatch the tiers specified in the service SLO configuration.\n\nField is mandatory and must not be empty.", + "type": "string" + } + }, + "type": "object" + }, + "ListDomainsResponse": { + "id": "ListDomainsResponse", + "properties": { + "domains": { + "description": "A list of Managed Identities Service domains in the project.", + "items": { + "$ref": "Domain" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "[Output only] API version used to start the operation.", + "type": "string" + }, + "cancelRequested": { + "description": "[Output only] Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "createTime": { + "description": "[Output only] The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "[Output only] The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "statusDetail": { + "description": "[Output only] Human-readable status of the operation, if any.", + "type": "string" + }, + "target": { + "description": "[Output only] Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "[Output only] Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "bindings": { + "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ReconfigureTrustRequest": { + "id": "ReconfigureTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "The domain trust resource with updated dns conditional forwarder." + } + }, + "type": "object" + }, + "ResetAdminPasswordRequest": { + "id": "ResetAdminPasswordRequest", + "properties": {}, + "type": "object" + }, + "ResetAdminPasswordResponse": { + "id": "ResetAdminPasswordResponse", + "properties": { + "password": { + "description": "A random password. See admin for more information.", + "type": "string" + } + }, + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Trust": { + "description": "Represents a relationship between two domains which makes it possible\nfor users in one domain to be authenticated by a dc in another domain.\nRefer\nhttps://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10)", + "id": "Trust", + "properties": { + "createTime": { + "description": "Output only. The time the instance was created.", + "format": "google-datetime", + "type": "string" + }, + "lastKnownTrustConnectedHeartbeatTime": { + "description": "Output only. The last heartbeat time when the trust was known to be\nconnected.", + "format": "google-datetime", + "type": "string" + }, + "selectiveAuthentication": { + "description": "The trust authentication type which decides whether the trusted side has\nforest/domain wide access or selective access to approved set of resources.", + "type": "boolean" + }, + "state": { + "description": "Output only. The current state of this trust.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "UPDATING", + "DELETING", + "CONNECTED", + "DISCONNECTED" + ], + "enumDescriptions": [ + "Not Set", + "Domain trust is being created.", + "Domain trust is being updated.", + "Domain trust is being deleted.", + "Domain trust is connected.", + "Domain trust is disconnected." + ], + "type": "string" + }, + "stateDescription": { + "description": "Output only. Additional information about the current state of this\ntrust, if available.", + "type": "string" + }, + "targetDnsIpAddresses": { + "description": "The target dns server ip addresses which can resolve the remote domain\ninvolved in trust.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetDomainName": { + "description": "The fully qualified target domain name which will be in trust with current\ndomain.", + "type": "string" + }, + "trustDirection": { + "description": "The trust direction decides the current domain is trusted, trusting or\nboth.", + "enum": [ + "TRUST_DIRECTION_UNSPECIFIED", + "INBOUND", + "OUTBOUND", + "BIDIRECTIONAL" + ], + "enumDescriptions": [ + "Not Set", + "The inbound direction represents the trusting side.", + "The outboud direction represents the trusted side.", + "The bidirectional direction represents the trusted / trusting side." + ], + "type": "string" + }, + "trustHandshakeSecret": { + "description": "Input only, and will not be stored. The trust secret used for handshake\nwith target domain.", + "type": "string" + }, + "trustType": { + "description": "The type of trust represented by the trust resource.", + "enum": [ + "TRUST_TYPE_UNSPECIFIED", + "FOREST", + "EXTERNAL" + ], + "enumDescriptions": [ + "Not Set", + "The forest trust.", + "The external domain trust." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. Last update time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ValidateTrustRequest": { + "id": "ValidateTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "The domain trust to validate trust state for." + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Managed Service for Microsoft Active Directory API", + "version": "v1alpha1", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/managedidentities_v1beta1.json b/DiscoveryJson/managedidentities_v1beta1.json new file mode 100644 index 00000000000..f5a62b7a445 --- /dev/null +++ b/DiscoveryJson/managedidentities_v1beta1.json @@ -0,0 +1,1634 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "basePath": "", + "baseUrl": "https://managedidentities.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Managed Service for Microsoft Active Directory Consumer API", + "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "managedidentities:v1beta1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://managedidentities.mtls.googleapis.com/", + "name": "managedidentities", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1beta1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "includeUnrevealedLocations": { + "description": "If true, the returned list will include locations which are not yet\nrevealed.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "global": { + "resources": { + "domains": { + "methods": { + "attachTrust": { + "description": "Adds an AD trust to a domain.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:attachTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.attachTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:attachTrust", + "request": { + "$ref": "AttachTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a Microsoft AD domain.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "domainName": { + "description": "Required. A domain name, e.g. mydomain.myorg.com, with the following restrictions:\n * Must contain only lowercase letters, numbers, periods and hyphens.\n * Must start with a letter.\n * Must contain between 2-64 characters.\n * Must end with a number or a letter.\n * Must not start with period.\n * First segement length (mydomain form example above) shouldn't exceed\n 15 chars.\n * The last segment cannot be fully numeric.\n * Must be unique within the customer project.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource project name and location using the form:\n`projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/domains", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a domain.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.domains.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "detachTrust": { + "description": "Removes an AD trust.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:detachTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.detachTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name, and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:detachTrust", + "request": { + "$ref": "DetachTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a domain.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Domain" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:getIamPolicy", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists domains in a project.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.domains.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter specifying constraints of a list operation.\nFor example, `Domain.fqdn=\"mydomain.myorginization\"`.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Specifies the ordering of results. See\n[Sorting\norder](https://cloud.google.com/apis/design/design_patterns#sorting_order)\nfor more information.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return.\nIf not specified, a default value of 1000 will be used.\nRegardless of the page_size value, the response may include a partial list.\nCallers should rely on a response's\nnext_page_token\nto determine if there are additional results to list.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The `next_page_token` value returned from a previous ListDomainsRequest\nrequest, if any.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the domain location using the form:\n`projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/domains", + "response": { + "$ref": "ListDomainsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the metadata and configuration of a domain.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}", + "httpMethod": "PATCH", + "id": "managedidentities.projects.locations.global.domains.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The unique name of the domain using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask of fields to update. At least one path must be supplied in this\nfield. The elements of the repeated paths field may only include\nfields from Domain:\n * `labels`\n * `locations`\n * `authorized_networks`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reconfigureTrust": { + "description": "Updates the DNS conditional forwarder.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:reconfigureTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.reconfigureTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:reconfigureTrust", + "request": { + "$ref": "ReconfigureTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "resetAdminPassword": { + "description": "Resets a domain's administrator password.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:resetAdminPassword", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.resetAdminPassword", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The domain resource name using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:resetAdminPassword", + "request": { + "$ref": "ResetAdminPasswordRequest" + }, + "response": { + "$ref": "ResetAdminPasswordResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:setIamPolicy", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:testIamPermissions", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "validateTrust": { + "description": "Validates a trust state, that the target domain is reachable, and that the\ntarget domain is able to accept incoming trust requests.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:validateTrust", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.validateTrust", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource domain name, project name, and location using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:validateTrust", + "request": { + "$ref": "ValidateTrustRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/operations/{operationsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/operations", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/operations$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + } + }, + "revision": "20200219", + "rootUrl": "https://managedidentities.googleapis.com/", + "schemas": { + "AttachTrustRequest": { + "description": "Request message for\nAttachTrust", + "id": "AttachTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "Required. The domain trust resource." + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members` with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "DetachTrustRequest": { + "description": "Request message for\nDetachTrust", + "id": "DetachTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "Required. The domain trust resource to removed." + } + }, + "type": "object" + }, + "Domain": { + "description": "Represents a managed Microsoft Active Directory domain.", + "id": "Domain", + "properties": { + "admin": { + "description": "Optional. The name of delegated administrator account used to perform\nActive Directory operations. If not specified, `setupadmin` will be used.", + "type": "string" + }, + "authorizedNetworks": { + "description": "Optional. The full names of the Google Compute Engine\n[networks](/compute/docs/networks-and-firewalls#networks) the domain\ninstance is connected to. Networks can be added using UpdateDomain.\nThe domain is only available on networks listed in `authorized_networks`.\nIf CIDR subnets overlap between networks, domain creation will fail.", + "items": { + "type": "string" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. The time the instance was created.", + "format": "google-datetime", + "type": "string" + }, + "fqdn": { + "description": "Output only. The fully-qualified domain name of the exposed domain used by\nclients to connect to the service. Similar to what would be chosen for an\nActive Directory set up on an internal network.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels that can contain user-provided metadata.", + "type": "object" + }, + "locations": { + "description": "Required. Locations where domain needs to be provisioned.\nregions\ne.g. us-west1 or us-east4\nService supports up to 4 locations at once. Each location will use a /26\nblock.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Output only. The unique name of the domain using the form:\n`projects/{project_id}/locations/global/domains/{domain_name}`.", + "type": "string" + }, + "reservedIpRange": { + "description": "Required. The CIDR range of internal addresses that are reserved for this\ndomain. Reserved networks must be /24 or larger. Ranges must be\nunique and non-overlapping with existing subnets in\n[Domain].[authorized_networks].", + "type": "string" + }, + "state": { + "description": "Output only. The current state of this domain.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "DELETING", + "REPAIRING", + "PERFORMING_MAINTENANCE", + "UNAVAILABLE" + ], + "enumDescriptions": [ + "Not set.", + "The domain is being created.", + "The domain has been created and is fully usable.", + "The domain's configuration is being updated.", + "The domain is being deleted.", + "The domain is being repaired and may be unusable. Details\ncan be found in the `status_message` field.", + "The domain is undergoing maintenance.", + "The domain is not serving requests." + ], + "type": "string" + }, + "statusMessage": { + "description": "Output only. Additional information about the current status of this\ndomain, if available.", + "type": "string" + }, + "trusts": { + "description": "Output only. The current trusts associated with the domain.", + "items": { + "$ref": "Trust" + }, + "type": "array" + }, + "updateTime": { + "description": "Output only. The last update time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language\nsyntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudManagedidentitiesV1OpMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudManagedidentitiesV1OpMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudManagedidentitiesV1beta1OpMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudManagedidentitiesV1beta1OpMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1Instance": { + "description": "Instance represents the interface for SLM services to actuate the state\nof control plane resources.\n\nExample Instance in JSON, where\n consumer-project=snapchat,\n producer-project=cloud-sql:\n\n```json\nInstance:\n{\n \"name\":\n \"projects/snapchat/locations/us-east1/instances/prod-instance\",\n \"create_time\": {\n \"seconds\": 1526406431,\n },\n \"labels\": {\n \"env\": \"prod\",\n \"foo\": \"bar\"\n },\n \"state\": READY,\n \"software_versions\": {\n \"software_update\": \"cloud-sql-09-28-2018\",\n },\n \"maintenance_policy_names\": {\n \"UpdatePolicy\":\n \"projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy\",\n }\n \"tenant_project_id\": \"cloud-sql-test-tenant\",\n \"producer_metadata\": {\n \"cloud-sql-tier\": \"basic\",\n \"cloud-sql-instance-size\": \"1G\",\n },\n \"provisioned_resources\": [\n {\n \"resource-type\": \"compute-instance\",\n \"resource-url\":\n \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\",\n }\n ],\n \"maintenance_schedules\": {\n \"csa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n },\n \"ncsa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n }\n },\n \"consumer_defined_name\": \"my-sql-instance1\",\n}\n```", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", + "properties": { + "consumerDefinedName": { + "description": "consumer_defined_name is the name that is set by the consumer. On the other\nhand Name field represents system-assigned id of an instance so consumers\nare not necessarily aware of it.\nconsumer_defined_name is used for notification/UI purposes for consumer to\nrecognize their instances.", + "type": "string" + }, + "createTime": { + "description": "Output only. Timestamp when the resource was created.", + "format": "google-datetime", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata. Each label\nis a key-value pair, where both the key and the value are arbitrary strings\nprovided by the user.", + "type": "object" + }, + "maintenancePolicyNames": { + "additionalProperties": { + "type": "string" + }, + "description": "The MaintenancePolicies that have been attached to the instance.\nThe key must be of the type name of the oneof policy name defined in\nMaintenancePolicy, and the referenced policy must define the same policy\ntype. For complete details of MaintenancePolicy, please refer to\ngo/cloud-saas-mw-ug.", + "type": "object" + }, + "maintenanceSchedules": { + "additionalProperties": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" + }, + "description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.", + "type": "object" + }, + "name": { + "description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`", + "type": "string" + }, + "producerMetadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Custom string attributes used primarily to expose\nproducer-specific information in monitoring dashboards.\nSee go/get-instance-metadata.", + "type": "object" + }, + "provisionedResources": { + "description": "Output only. The list of data plane resources provisioned for this\ninstance, e.g. compute VMs. See go/get-instance-metadata.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" + }, + "type": "array" + }, + "rolloutMetadata": { + "additionalProperties": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata" + }, + "description": "The map between RolloutType and the corresponding RolloutMetadata.\nThis is only mutated by rollout service. For actuation implementation,\nthis information is pass-through for Rollout management. Producer shall\nnot modify by itself.\nFor update of a single entry in this map, the update field mask shall\nfollow this sementics: go/advanced-field-masks", + "type": "object" + }, + "slmInstanceTemplate": { + "description": "Link to the SLM instance template. Only populated when updating SLM\ninstances via SSA's Actuation service adaptor.\nService producers with custom control plane (e.g. Cloud SQL) doesn't\nneed to populate this field. Instead they should use software_versions.", + "type": "string" + }, + "sloMetadata": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", + "description": "Output only. SLO metadata for instance classification in the\nStandardized dataplane SLO platform.\nSee go/cloud-ssa-standard-slo for feature description." + }, + "softwareVersions": { + "additionalProperties": { + "type": "string" + }, + "description": "Software versions that are used to deploy this instance. This can be\nmutated by rollout services.", + "type": "object" + }, + "state": { + "description": "Output only. Current lifecycle state of the resource (e.g. if it's being\ncreated or ready to use).", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR" + ], + "enumDescriptions": [ + "Unspecified state.", + "Instance is being created.", + "Instance has been created and is ready to use.", + "Instance is being updated.", + "Instance is unheathy and under repair.", + "Instance is being deleted.", + "Instance encountered an error and is in indeterministic state." + ], + "type": "string" + }, + "tenantProjectId": { + "description": "Output only. ID of the associated GCP tenant project.\nSee go/get-instance-metadata.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when the resource was last modified.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { + "description": "Maintenance schedule which is exposed to customer and potentially end user,\nindicating published upcoming future maintenance schedule", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", + "properties": { + "canReschedule": { + "description": "Can this scheduled update be rescheduled?\nBy default, it's true and API needs to do explicitly check whether it's\nset, if it's set as false explicitly, it's false", + "type": "boolean" + }, + "endTime": { + "description": "The scheduled end time for the maintenance.", + "format": "google-datetime", + "type": "string" + }, + "rolloutManagementPolicy": { + "description": "The rollout management policy this maintenance schedule is associated\nwith. When doing reschedule update request, the reschedule should be\nagainst this given policy.", + "type": "string" + }, + "startTime": { + "description": "The scheduled start time for the maintenance.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { + "description": "Node information for custom per-node SLO implementations.\nSSA does not support per-node SLO, but producers can populate per-node\ninformation in SloMetadata for custom precomputations.\nSSA Eligibility Exporter will emit per-node metric based on this information.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", + "properties": { + "exclusions": { + "description": "By default node is eligible if instance is eligible.\nBut individual node might be excluded from SLO by adding entry here.\nFor semantic see SloMetadata.exclusions.\nIf both instance and node level exclusions are present for time period,\nthe node level's reason will be reported by Eligibility Exporter.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" + }, + "type": "array" + }, + "location": { + "description": "The location of the node, if different from instance location.", + "type": "string" + }, + "nodeId": { + "description": "The id of the node.\nThis should be equal to SaasInstanceNode.node_id.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": { + "description": "This message has been deprecated.\nNotificationMetadata is the notification state for an instance.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata", + "properties": { + "rescheduled": { + "description": "Whether the instance update has been rescheduled.", + "type": "boolean" + }, + "scheduledEndTime": { + "description": "The scheduled end time for the maintenance window during which update\ncan be performed on the instance.", + "format": "google-datetime", + "type": "string" + }, + "scheduledStartTime": { + "description": "The scheduled start time for the maintenance window during which\nupdate can be performed on the instance.", + "format": "google-datetime", + "type": "string" + }, + "targetRelease": { + "description": "The target release to be applied to the instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { + "description": "Describes provisioned dataplane resources.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", + "properties": { + "resourceType": { + "description": "Type of the resource. This can be either a GCP resource or a custom one\n(e.g. another cloud provider's VM). For GCP compute resources use singular\nform of the names listed in GCP compute API documentation\n(https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with\n'compute-', for example: 'compute-instance', 'compute-disk',\n'compute-autoscaler'.", + "type": "string" + }, + "resourceUrl": { + "description": "URL identifying the resource, e.g.\n\"https://www.googleapis.com/compute/v1/projects/...)\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata": { + "description": "This message has been deprecated.\nRolloutMetadata for an actuation instance. It maps to a single RolloutType.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata", + "properties": { + "notification": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata", + "description": "Instance level notification metadata." + }, + "releaseName": { + "description": "The last Release that has been applied to the instance.", + "type": "string" + }, + "rolloutName": { + "description": "The last rollout that has been applied to the instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { + "description": "SloEligibility is a tuple containing eligibility value: true if an instance\nis eligible for SLO calculation or false if it should be excluded from all\nSLO-related calculations along with a user-defined reason.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", + "properties": { + "eligible": { + "description": "Whether an instance is eligible or ineligible.", + "type": "boolean" + }, + "reason": { + "description": "User-defined reason for the current value of instance eligibility. Usually,\nthis can be directly mapped to the internal state. An empty reason is\nallowed.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": { + "description": "SloExclusion represents an exclusion in SLI calculation applies to all SLOs.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion", + "properties": { + "duration": { + "description": "Exclusion duration. No restrictions on the possible values.\n\nWhen an ongoing operation is taking longer than initially expected,\nan existing entry in the exclusion list can be updated by extending the\nduration. This is supported by the subsystem exporting eligibility data\nas long as such extension is committed at least 10 minutes before the\noriginal exclusion expiration - otherwise it is possible that there will\nbe \"gaps\" in the exclusion application in the exported timeseries.", + "format": "google-duration", + "type": "string" + }, + "reason": { + "description": "Human-readable reason for the exclusion.\nThis should be a static string (e.g. \"Disruptive update in progress\")\nand should not contain dynamically generated data (e.g. instance name).\nCan be left empty.", + "type": "string" + }, + "sliName": { + "description": "Name of an SLI that this exclusion applies to. Can be left empty,\nsignaling that the instance should be excluded from all SLIs defined\nin the service SLO configuration.", + "type": "string" + }, + "startTime": { + "description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { + "description": "SloMetadata contains resources required for proper SLO classification of the\ninstance.", + "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", + "properties": { + "eligibility": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", + "description": "Optional. User-defined instance eligibility." + }, + "exclusions": { + "description": "List of SLO exclusion windows. When multiple entries in the list match\n(matching the exclusion time-window against current time point)\nthe exclusion reason used in the first matching entry will be published.\n\nIt is not needed to include expired exclusion in this list, as only the\ncurrently applicable exclusions are taken into account by the eligibility\nexporting subsystem (the historical state of exclusions will be reflected\nin the historically produced timeseries regardless of the current state).\n\nThis field can be used to mark the instance as temporary ineligible\nfor the purpose of SLO calculation. For permanent instance SLO exclusion,\nuse of custom instance eligibility is recommended. See 'eligibility' field\nbelow.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" + }, + "type": "array" + }, + "nodes": { + "description": "Optional. List of nodes.\nSome producers need to use per-node metadata to calculate SLO.\nThis field allows such producers to publish per-node SLO meta data,\nwhich will be consumed by SSA Eligibility Exporter and published in the\nform of per node metric to Monarch.", + "items": { + "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" + }, + "type": "array" + }, + "tier": { + "description": "Name of the SLO tier the Instance belongs to. This name will be expected to\nmatch the tiers specified in the service SLO configuration.\n\nField is mandatory and must not be empty.", + "type": "string" + } + }, + "type": "object" + }, + "ListDomainsResponse": { + "description": "Response message for\nListDomains", + "id": "ListDomainsResponse", + "properties": { + "domains": { + "description": "A list of Managed Identities Service domains in the project.", + "items": { + "$ref": "Domain" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results, or empty if there are no more\nresults in the list.", + "type": "string" + }, + "unreachable": { + "description": "A list of locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "[Output only] API version used to start the operation.", + "type": "string" + }, + "cancelRequested": { + "description": "[Output only] Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "createTime": { + "description": "[Output only] The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "[Output only] The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "statusDetail": { + "description": "[Output only] Human-readable status of the operation, if any.", + "type": "string" + }, + "target": { + "description": "[Output only] Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "[Output only] Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "bindings": { + "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ReconfigureTrustRequest": { + "description": "Request message for\nReconfigureTrust", + "id": "ReconfigureTrustRequest", + "properties": { + "targetDnsIpAddresses": { + "description": "Required. The target DNS server IP addresses to resolve the remote domain involved\nin the trust.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetDomainName": { + "description": "Required. The fully-qualified target domain name which will be in trust with current\ndomain.", + "type": "string" + } + }, + "type": "object" + }, + "ResetAdminPasswordRequest": { + "description": "Request message for\nResetAdminPassword", + "id": "ResetAdminPasswordRequest", + "properties": {}, + "type": "object" + }, + "ResetAdminPasswordResponse": { + "description": "Response message for\nResetAdminPassword", + "id": "ResetAdminPasswordResponse", + "properties": { + "password": { + "description": "A random password. See admin for more information.", + "type": "string" + } + }, + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Trust": { + "description": "Represents a relationship between two domains. This allows a controller in\none domain to authenticate a user in another domain.", + "id": "Trust", + "properties": { + "createTime": { + "description": "Output only. The time the instance was created.", + "format": "google-datetime", + "type": "string" + }, + "lastTrustHeartbeatTime": { + "description": "Output only. The last heartbeat time when the trust was known to be\nconnected.", + "format": "google-datetime", + "type": "string" + }, + "selectiveAuthentication": { + "description": "The trust authentication type, which decides whether the trusted side has\nforest/domain wide access or selective access to an approved set of\nresources.", + "type": "boolean" + }, + "state": { + "description": "Output only. The current state of the trust.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "UPDATING", + "DELETING", + "CONNECTED", + "DISCONNECTED" + ], + "enumDescriptions": [ + "Not set.", + "The domain trust is being created.", + "The domain trust is being updated.", + "The domain trust is being deleted.", + "The domain trust is connected.", + "The domain trust is disconnected." + ], + "type": "string" + }, + "stateDescription": { + "description": "Output only. Additional information about the current state of the\ntrust, if available.", + "type": "string" + }, + "targetDnsIpAddresses": { + "description": "The target DNS server IP addresses which can resolve the remote domain\ninvolved in the trust.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetDomainName": { + "description": "The fully qualified target domain name which will be in trust with the\ncurrent domain.", + "type": "string" + }, + "trustDirection": { + "description": "The trust direction, which decides if the current domain is trusted,\ntrusting, or both.", + "enum": [ + "TRUST_DIRECTION_UNSPECIFIED", + "INBOUND", + "OUTBOUND", + "BIDIRECTIONAL" + ], + "enumDescriptions": [ + "Not set.", + "The inbound direction represents the trusting side.", + "The outboud direction represents the trusted side.", + "The bidirectional direction represents the trusted / trusting side." + ], + "type": "string" + }, + "trustHandshakeSecret": { + "description": "Input only, and will not be stored. The trust secret used for the handshake\nwith the target domain.", + "type": "string" + }, + "trustType": { + "description": "The type of trust represented by the trust resource.", + "enum": [ + "TRUST_TYPE_UNSPECIFIED", + "FOREST", + "EXTERNAL" + ], + "enumDescriptions": [ + "Not set.", + "The forest trust.", + "The external domain trust." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. The last update time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ValidateTrustRequest": { + "description": "Request message for\nValidateTrust", + "id": "ValidateTrustRequest", + "properties": { + "trust": { + "$ref": "Trust", + "description": "Required. The domain trust to validate trust state for." + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Managed Service for Microsoft Active Directory API", + "version": "v1beta1", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/oauth2_v1.json b/DiscoveryJson/oauth2_v1.json index 755abe23935..ee84eb73687 100644 --- a/DiscoveryJson/oauth2_v1.json +++ b/DiscoveryJson/oauth2_v1.json @@ -20,7 +20,7 @@ "description": "Obtains end-user authorization grants for use with other Google APIs.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/CvzaehdGtGSdTIIn3Ply40zjB4o\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/nsxOqtpjQsFfH0jl1BUOtx-usQQ\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -143,7 +143,7 @@ } } }, - "revision": "20190522", + "revision": "20200213", "rootUrl": "https://www.googleapis.com/", "schemas": { "Tokeninfo": { diff --git a/DiscoveryJson/oauth2_v2.json b/DiscoveryJson/oauth2_v2.json index 54ba16e5c87..4861be42ca9 100644 --- a/DiscoveryJson/oauth2_v2.json +++ b/DiscoveryJson/oauth2_v2.json @@ -20,7 +20,7 @@ "description": "Obtains end-user authorization grants for use with other Google APIs.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/VCyF6WfWVwIuhIs_gw3LA4B3w1E\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/zG8qVEU9Oex8Y_g8HrcHwAALOOo\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -28,14 +28,6 @@ "id": "oauth2:v2", "kind": "discovery#restDescription", "methods": { - "getCertForOpenIdConnect": { - "httpMethod": "GET", - "id": "oauth2.getCertForOpenIdConnect", - "path": "oauth2/v2/certs", - "response": { - "$ref": "Jwk" - } - }, "tokeninfo": { "httpMethod": "POST", "id": "oauth2.tokeninfo", @@ -150,44 +142,9 @@ } } }, - "revision": "20190522", + "revision": "20200213", "rootUrl": "https://www.googleapis.com/", "schemas": { - "Jwk": { - "id": "Jwk", - "properties": { - "keys": { - "items": { - "properties": { - "alg": { - "default": "RS256", - "type": "string" - }, - "e": { - "type": "string" - }, - "kid": { - "type": "string" - }, - "kty": { - "default": "RSA", - "type": "string" - }, - "n": { - "type": "string" - }, - "use": { - "default": "sig", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, "Tokeninfo": { "id": "Tokeninfo", "properties": { diff --git a/DiscoveryJson/oslogin_v1alpha.json b/DiscoveryJson/oslogin_v1alpha.json index dc63ae645d4..adea9e78291 100644 --- a/DiscoveryJson/oslogin_v1alpha.json +++ b/DiscoveryJson/oslogin_v1alpha.json @@ -334,7 +334,7 @@ } } }, - "revision": "20200215", + "revision": "20200224", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { diff --git a/DiscoveryJson/oslogin_v1beta.json b/DiscoveryJson/oslogin_v1beta.json index 36a48a345d5..e98e3fef88a 100644 --- a/DiscoveryJson/oslogin_v1beta.json +++ b/DiscoveryJson/oslogin_v1beta.json @@ -314,7 +314,7 @@ } } }, - "revision": "20200224", + "revision": "20200215", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { diff --git a/DiscoveryJson/people_v1.json b/DiscoveryJson/people_v1.json index fef0b6e0e07..b7b0cb42d4f 100644 --- a/DiscoveryJson/people_v1.json +++ b/DiscoveryJson/people_v1.json @@ -640,7 +640,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://people.googleapis.com/", "schemas": { "Address": { diff --git a/DiscoveryJson/pubsub_v1.json b/DiscoveryJson/pubsub_v1.json index 0d9fe35c367..be052cab7b3 100644 --- a/DiscoveryJson/pubsub_v1.json +++ b/DiscoveryJson/pubsub_v1.json @@ -121,7 +121,7 @@ ], "parameters": { "name": { - "description": "User-provided name for this snapshot. If the name is not provided in the\nrequest, the server will assign a random name for this snapshot on the same\nproject as the subscription. Note that for REST API requests, you must\nspecify a name. See the resource\nname rules. Format is `projects/{project}/snapshots/{snap}`.", + "description": "Required. User-provided name for this snapshot. If the name is not provided in the\nrequest, the server will assign a random name for this snapshot on the same\nproject as the subscription. Note that for REST API requests, you must\nspecify a name. See the resource\nname rules. Format is `projects/{project}/snapshots/{snap}`.", "location": "path", "pattern": "^projects/[^/]+/snapshots/[^/]+$", "required": true, @@ -150,7 +150,7 @@ ], "parameters": { "snapshot": { - "description": "The name of the snapshot to delete.\nFormat is `projects/{project}/snapshots/{snap}`.", + "description": "Required. The name of the snapshot to delete.\nFormat is `projects/{project}/snapshots/{snap}`.", "location": "path", "pattern": "^projects/[^/]+/snapshots/[^/]+$", "required": true, @@ -176,7 +176,7 @@ ], "parameters": { "snapshot": { - "description": "The name of the snapshot to get.\nFormat is `projects/{project}/snapshots/{snap}`.", + "description": "Required. The name of the snapshot to get.\nFormat is `projects/{project}/snapshots/{snap}`.", "location": "path", "pattern": "^projects/[^/]+/snapshots/[^/]+$", "required": true, @@ -245,7 +245,7 @@ "type": "string" }, "project": { - "description": "The name of the project in which to list snapshots.\nFormat is `projects/{project-id}`.", + "description": "Required. The name of the project in which to list snapshots.\nFormat is `projects/{project-id}`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -362,7 +362,7 @@ ], "parameters": { "subscription": { - "description": "The subscription whose message is being acknowledged.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The subscription whose message is being acknowledged.\nFormat is `projects/{project}/subscriptions/{sub}`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -391,7 +391,7 @@ ], "parameters": { "name": { - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", + "description": "Required. The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -420,7 +420,7 @@ ], "parameters": { "subscription": { - "description": "The subscription to delete.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The subscription to delete.\nFormat is `projects/{project}/subscriptions/{sub}`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -446,7 +446,7 @@ ], "parameters": { "subscription": { - "description": "The name of the subscription to get.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The name of the subscription to get.\nFormat is `projects/{project}/subscriptions/{sub}`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -515,7 +515,7 @@ "type": "string" }, "project": { - "description": "The name of the project in which to list subscriptions.\nFormat is `projects/{project-id}`.", + "description": "Required. The name of the project in which to list subscriptions.\nFormat is `projects/{project-id}`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -541,7 +541,7 @@ ], "parameters": { "subscription": { - "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -570,7 +570,7 @@ ], "parameters": { "subscription": { - "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -599,7 +599,7 @@ ], "parameters": { "name": { - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", + "description": "Required. The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -628,7 +628,7 @@ ], "parameters": { "subscription": { - "description": "The subscription from which messages should be pulled.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The subscription from which messages should be pulled.\nFormat is `projects/{project}/subscriptions/{sub}`.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -657,7 +657,7 @@ ], "parameters": { "subscription": { - "description": "The subscription to affect.", + "description": "Required. The subscription to affect.", "location": "path", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "required": true, @@ -748,7 +748,7 @@ ], "parameters": { "name": { - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "description": "Required. The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", "location": "path", "pattern": "^projects/[^/]+/topics/[^/]+$", "required": true, @@ -777,7 +777,7 @@ ], "parameters": { "topic": { - "description": "Name of the topic to delete.\nFormat is `projects/{project}/topics/{topic}`.", + "description": "Required. Name of the topic to delete.\nFormat is `projects/{project}/topics/{topic}`.", "location": "path", "pattern": "^projects/[^/]+/topics/[^/]+$", "required": true, @@ -803,7 +803,7 @@ ], "parameters": { "topic": { - "description": "The name of the topic to get.\nFormat is `projects/{project}/topics/{topic}`.", + "description": "Required. The name of the topic to get.\nFormat is `projects/{project}/topics/{topic}`.", "location": "path", "pattern": "^projects/[^/]+/topics/[^/]+$", "required": true, @@ -872,7 +872,7 @@ "type": "string" }, "project": { - "description": "The name of the project in which to list topics.\nFormat is `projects/{project-id}`.", + "description": "Required. The name of the project in which to list topics.\nFormat is `projects/{project-id}`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -898,7 +898,7 @@ ], "parameters": { "name": { - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "description": "Required. The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", "location": "path", "pattern": "^projects/[^/]+/topics/[^/]+$", "required": true, @@ -927,7 +927,7 @@ ], "parameters": { "topic": { - "description": "The messages in the request will be published on this topic.\nFormat is `projects/{project}/topics/{topic}`.", + "description": "Required. The messages in the request will be published on this topic.\nFormat is `projects/{project}/topics/{topic}`.", "location": "path", "pattern": "^projects/[^/]+/topics/[^/]+$", "required": true, @@ -1070,7 +1070,7 @@ "type": "string" }, "topic": { - "description": "The name of the topic that subscriptions are attached to.\nFormat is `projects/{project}/topics/{topic}`.", + "description": "Required. The name of the topic that subscriptions are attached to.\nFormat is `projects/{project}/topics/{topic}`.", "location": "path", "pattern": "^projects/[^/]+/topics/[^/]+$", "required": true, @@ -1093,7 +1093,7 @@ } } }, - "revision": "20200211", + "revision": "20200218", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1101,7 +1101,7 @@ "id": "AcknowledgeRequest", "properties": { "ackIds": { - "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.", + "description": "Required. The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.", "items": { "type": "string" }, @@ -1144,7 +1144,7 @@ "type": "object" }, "subscription": { - "description": "The subscription whose backlog the snapshot retains.\nSpecifically, the created snapshot is guaranteed to retain:\n (a) The existing backlog on the subscription. More precisely, this is\n defined as the messages in the subscription's backlog that are\n unacknowledged upon the successful completion of the\n `CreateSnapshot` request; as well as:\n (b) Any messages published to the subscription's topic following the\n successful completion of the CreateSnapshot request.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. The subscription whose backlog the snapshot retains.\nSpecifically, the created snapshot is guaranteed to retain:\n (a) The existing backlog on the subscription. More precisely, this is\n defined as the messages in the subscription's backlog that are\n unacknowledged upon the successful completion of the\n `CreateSnapshot` request; as well as:\n (b) Any messages published to the subscription's topic following the\n successful completion of the CreateSnapshot request.\nFormat is `projects/{project}/subscriptions/{sub}`.", "type": "string" } }, @@ -1315,12 +1315,12 @@ "id": "ModifyAckDeadlineRequest", "properties": { "ackDeadlineSeconds": { - "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero might immediately make the message available for\ndelivery to another subscriber client. This typically results in an\nincrease in the rate of message redeliveries (that is, duplicates).\nThe minimum deadline you can specify is 0 seconds.\nThe maximum deadline you can specify is 600 seconds (10 minutes).", + "description": "Required. The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero might immediately make the message available for\ndelivery to another subscriber client. This typically results in an\nincrease in the rate of message redeliveries (that is, duplicates).\nThe minimum deadline you can specify is 0 seconds.\nThe maximum deadline you can specify is 600 seconds (10 minutes).", "format": "int32", "type": "integer" }, "ackIds": { - "description": "List of acknowledgment IDs.", + "description": "Required. List of acknowledgment IDs.", "items": { "type": "string" }, @@ -1335,7 +1335,7 @@ "properties": { "pushConfig": { "$ref": "PushConfig", - "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` or `StreamingPull` is not called." + "description": "Required. The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` or `StreamingPull` is not called." } }, "type": "object" @@ -1384,7 +1384,7 @@ "id": "PublishRequest", "properties": { "messages": { - "description": "The messages to publish.", + "description": "Required. The messages to publish.", "items": { "$ref": "PubsubMessage" }, @@ -1440,7 +1440,7 @@ "id": "PullRequest", "properties": { "maxMessages": { - "description": "The maximum number of messages to return for this request. Must be a\npositive integer. The Pub/Sub system may return fewer than the number\nspecified.", + "description": "Required. The maximum number of messages to return for this request. Must be a\npositive integer. The Pub/Sub system may return fewer than the number\nspecified.", "format": "int32", "type": "integer" }, @@ -1597,7 +1597,7 @@ "type": "string" }, "name": { - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", + "description": "Required. The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", "type": "string" }, "pushConfig": { @@ -1609,7 +1609,7 @@ "type": "boolean" }, "topic": { - "description": "The name of the topic from which this subscription is receiving messages.\nFormat is `projects/{project}/topics/{topic}`.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.", + "description": "Required. The name of the topic from which this subscription is receiving messages.\nFormat is `projects/{project}/topics/{topic}`.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.", "type": "string" } }, @@ -1663,7 +1663,7 @@ "description": "Policy constraining the set of Google Cloud Platform regions where messages\npublished to the topic may be stored. If not present, then no constraints\nare in effect." }, "name": { - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "description": "Required. The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", "type": "string" } }, @@ -1675,10 +1675,10 @@ "properties": { "snapshot": { "$ref": "Snapshot", - "description": "The updated snapshot object." + "description": "Required. The updated snapshot object." }, "updateMask": { - "description": "Indicates which fields in the provided snapshot to update.\nMust be specified and non-empty.", + "description": "Required. Indicates which fields in the provided snapshot to update.\nMust be specified and non-empty.", "format": "google-fieldmask", "type": "string" } @@ -1691,10 +1691,10 @@ "properties": { "subscription": { "$ref": "Subscription", - "description": "The updated subscription object." + "description": "Required. The updated subscription object." }, "updateMask": { - "description": "Indicates which fields in the provided subscription to update.\nMust be specified and non-empty.", + "description": "Required. Indicates which fields in the provided subscription to update.\nMust be specified and non-empty.", "format": "google-fieldmask", "type": "string" } @@ -1707,10 +1707,10 @@ "properties": { "topic": { "$ref": "Topic", - "description": "The updated topic object." + "description": "Required. The updated topic object." }, "updateMask": { - "description": "Indicates which fields in the provided topic to update. Must be specified\nand non-empty. Note that if `update_mask` contains\n\"message_storage_policy\" then the new value will be determined based on the\npolicy configured at the project or organization level. The\n`message_storage_policy` must not be set in the `topic` provided above.", + "description": "Required. Indicates which fields in the provided topic to update. Must be specified\nand non-empty. Note that if `update_mask` contains\n\"message_storage_policy\" then the new value will be determined based on the\npolicy configured at the project or organization level. The\n`message_storage_policy` must not be set in the `topic` provided above.", "format": "google-fieldmask", "type": "string" } diff --git a/DiscoveryJson/pubsub_v1beta1a.json b/DiscoveryJson/pubsub_v1beta1a.json index 6c10a23da16..ced6cf85986 100644 --- a/DiscoveryJson/pubsub_v1beta1a.json +++ b/DiscoveryJson/pubsub_v1beta1a.json @@ -159,7 +159,7 @@ "subscription": { "description": "The subscription to delete.", "location": "path", - "pattern": "^.+$", + "pattern": "^.*$", "required": true, "type": "string" } @@ -185,7 +185,7 @@ "subscription": { "description": "The name of the subscription to get.", "location": "path", - "pattern": "^.+$", + "pattern": "^.*$", "required": true, "type": "string" } @@ -343,7 +343,7 @@ "topic": { "description": "Name of the topic to delete.", "location": "path", - "pattern": "^.+$", + "pattern": "^.*$", "required": true, "type": "string" } @@ -369,7 +369,7 @@ "topic": { "description": "The name of the topic to get.", "location": "path", - "pattern": "^.+$", + "pattern": "^.*$", "required": true, "type": "string" } @@ -457,7 +457,7 @@ } } }, - "revision": "20200211", + "revision": "20200218", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/DiscoveryJson/pubsub_v1beta2.json b/DiscoveryJson/pubsub_v1beta2.json index 79d15390910..43fdd8aa0d0 100644 --- a/DiscoveryJson/pubsub_v1beta2.json +++ b/DiscoveryJson/pubsub_v1beta2.json @@ -724,7 +724,7 @@ } } }, - "revision": "20200211", + "revision": "20200218", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/DiscoveryJson/run_v1.json b/DiscoveryJson/run_v1.json index cb8680116a0..84f6c300e64 100644 --- a/DiscoveryJson/run_v1.json +++ b/DiscoveryJson/run_v1.json @@ -1818,7 +1818,7 @@ } } }, - "revision": "20200219", + "revision": "20200224", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { diff --git a/DiscoveryJson/run_v1alpha1.json b/DiscoveryJson/run_v1alpha1.json index 303bd8563e1..a7718229fd9 100644 --- a/DiscoveryJson/run_v1alpha1.json +++ b/DiscoveryJson/run_v1alpha1.json @@ -3358,7 +3358,7 @@ } } }, - "revision": "20200219", + "revision": "20200224", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { diff --git a/DiscoveryJson/run_v1beta1.json b/DiscoveryJson/run_v1beta1.json index 1caa0dc3c51..bd7969ad5d0 100644 --- a/DiscoveryJson/run_v1beta1.json +++ b/DiscoveryJson/run_v1beta1.json @@ -296,7 +296,7 @@ } } }, - "revision": "20200219", + "revision": "20200224", "rootUrl": "https://run.googleapis.com/", "schemas": { "CustomResourceColumnDefinition": { diff --git a/DiscoveryJson/runtimeconfig_v1.json b/DiscoveryJson/runtimeconfig_v1.json index 86b4d703619..af7ccef19ae 100644 --- a/DiscoveryJson/runtimeconfig_v1.json +++ b/DiscoveryJson/runtimeconfig_v1.json @@ -122,7 +122,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -151,7 +151,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -210,7 +210,7 @@ } } }, - "revision": "20200211", + "revision": "20200224", "rootUrl": "https://runtimeconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/DiscoveryJson/safebrowsing_v4.json b/DiscoveryJson/safebrowsing_v4.json index 23c9e862059..c97ba0fe670 100644 --- a/DiscoveryJson/safebrowsing_v4.json +++ b/DiscoveryJson/safebrowsing_v4.json @@ -259,7 +259,7 @@ } } }, - "revision": "20200225", + "revision": "20200228", "rootUrl": "https://safebrowsing.googleapis.com/", "schemas": { "Checksum": { diff --git a/DiscoveryJson/script_v1.json b/DiscoveryJson/script_v1.json index 5de2779a1b0..0f723e041fa 100644 --- a/DiscoveryJson/script_v1.json +++ b/DiscoveryJson/script_v1.json @@ -822,7 +822,7 @@ } } }, - "revision": "20200224", + "revision": "20200226", "rootUrl": "https://script.googleapis.com/", "schemas": { "Content": { diff --git a/DiscoveryJson/searchconsole_v1.json b/DiscoveryJson/searchconsole_v1.json index 09d3e27e4b5..f46deb05721 100644 --- a/DiscoveryJson/searchconsole_v1.json +++ b/DiscoveryJson/searchconsole_v1.json @@ -120,7 +120,7 @@ } } }, - "revision": "20200225", + "revision": "20200229", "rootUrl": "https://searchconsole.googleapis.com/", "schemas": { "BlockedResource": { diff --git a/DiscoveryJson/secretmanager_v1.json b/DiscoveryJson/secretmanager_v1.json index b4d7138d325..0fceff35700 100644 --- a/DiscoveryJson/secretmanager_v1.json +++ b/DiscoveryJson/secretmanager_v1.json @@ -12,7 +12,7 @@ "baseUrl": "https://secretmanager.googleapis.com/", "batchPath": "batch", "canonicalName": "Secret Manager", - "description": "Stores and manages access to application secrets. Provides convenience while improving security.\n", + "description": "Stores API keys, passwords, certificates, and other sensitive data. Provides convenience while improving security.\n", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/secret-manager/", "fullyEncodeReservedExpansion": true, @@ -22,6 +22,7 @@ }, "id": "secretmanager:v1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://secretmanager.mtls.googleapis.com/", "name": "secretmanager", "ownerDomain": "google.com", "ownerName": "Google", @@ -627,7 +628,7 @@ } } }, - "revision": "20200214", + "revision": "20200222", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { diff --git a/DiscoveryJson/secretmanager_v1beta1.json b/DiscoveryJson/secretmanager_v1beta1.json index 1c359bf19d0..cc9b83fa675 100644 --- a/DiscoveryJson/secretmanager_v1beta1.json +++ b/DiscoveryJson/secretmanager_v1beta1.json @@ -12,7 +12,7 @@ "baseUrl": "https://secretmanager.googleapis.com/", "batchPath": "batch", "canonicalName": "Secret Manager", - "description": "Stores and manages access to application secrets. Provides convenience while improving security.\n", + "description": "Stores API keys, passwords, certificates, and other sensitive data. Provides convenience while improving security.\n", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/secret-manager/", "fullyEncodeReservedExpansion": true, @@ -22,6 +22,7 @@ }, "id": "secretmanager:v1beta1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://secretmanager.mtls.googleapis.com/", "name": "secretmanager", "ownerDomain": "google.com", "ownerName": "Google", @@ -627,7 +628,7 @@ } } }, - "revision": "20200214", + "revision": "20200222", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { diff --git a/DiscoveryJson/serviceconsumermanagement_v1.json b/DiscoveryJson/serviceconsumermanagement_v1.json index 34479e249fb..d1fece5c767 100644 --- a/DiscoveryJson/serviceconsumermanagement_v1.json +++ b/DiscoveryJson/serviceconsumermanagement_v1.json @@ -542,7 +542,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -669,6 +669,13 @@ "jwksUri": { "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID\nDiscovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID\n Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of\n the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google\n service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", "type": "string" + }, + "jwtLocations": { + "description": "Defines the locations to extract the JWT.\n\nJWT locations can be either from HTTP headers or URL query parameters.\nThe rule is that the first match wins. The checking order is: checking\nall headers first, then URL query parameters.\n\nIf not specified, default to use following 3 locations:\n 1) Authorization: Bearer\n 2) x-goog-iap-jwt-assertion\n 3) access_token query parameter\n\nDefault locations can be specified as followings:\n jwt_locations:\n - header: Authorization\n value_prefix: \"Bearer \"\n - header: x-goog-iap-jwt-assertion\n - query: access_token", + "items": { + "$ref": "JwtLocation" + }, + "type": "array" } }, "type": "object" @@ -1327,6 +1334,25 @@ }, "type": "object" }, + "JwtLocation": { + "description": "Specifies a location to extract JWT from an API request.", + "id": "JwtLocation", + "properties": { + "header": { + "description": "Specifies HTTP header name to extract JWT token.", + "type": "string" + }, + "query": { + "description": "Specifies URL query parameter name to extract JWT token.", + "type": "string" + }, + "valuePrefix": { + "description": "The value prefix. The value format is \"value_prefix{token}\"\nOnly applies to \"in\" header type. Must be empty for \"in\" query type.\nIf not empty, the header value has to match (case sensitive) this prefix.\nIf not matched, JWT will not be extracted. If matched, JWT will be\nextracted after the prefix is removed.\n\nFor example, for \"Authorization: Bearer {JWT}\",\nvalue_prefix=\"Bearer \" with a space at the end.", + "type": "string" + } + }, + "type": "object" + }, "LabelDescriptor": { "description": "A description of a label.", "id": "LabelDescriptor", diff --git a/DiscoveryJson/servicecontrol_v1.json b/DiscoveryJson/servicecontrol_v1.json index c06dc761515..12bcddba5c1 100644 --- a/DiscoveryJson/servicecontrol_v1.json +++ b/DiscoveryJson/servicecontrol_v1.json @@ -197,7 +197,7 @@ } } }, - "revision": "20200215", + "revision": "20200224", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -1388,13 +1388,15 @@ "UNSPECIFIED", "NORMAL", "BEST_EFFORT", - "CHECK_ONLY" + "CHECK_ONLY", + "QUERY_ONLY" ], "enumDescriptions": [ "Guard against implicit default. Must not be used.", "For AllocateQuota request, allocates quota for the amount specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nreturned and no quota will be allocated.\nIf multiple quotas are part of the request, and one fails, none of the\nquotas are allocated or released.", "The operation allocates quota for the amount specified in the service\nconfiguration or specified using the quota metrics. If the amount is\nhigher than the available quota, request does not fail but all available\nquota will be allocated.\nFor rate quota, BEST_EFFORT will continue to deduct from other groups\neven if one does not have enough quota. For allocation, it will find the\nminimum available amount across all groups and deduct that amount from\nall the affected groups.", - "For AllocateQuota request, only checks if there is enough quota\navailable and does not change the available quota. No lock is placed on\nthe available quota either." + "For AllocateQuota request, only checks if there is enough quota\navailable and does not change the available quota. No lock is placed on\nthe available quota either.", + "Unimplemented. When used in AllocateQuotaRequest, this returns the\neffective quota limit(s) in the response, and no quota check will be\nperformed. Not supported for other requests, and even for\nAllocateQuotaRequest, this is currently supported only for whitelisted\nservices." ], "type": "string" } diff --git a/DiscoveryJson/servicemanagement_v1.json b/DiscoveryJson/servicemanagement_v1.json index 8fe78cb7b53..0fab54b7fe5 100644 --- a/DiscoveryJson/servicemanagement_v1.json +++ b/DiscoveryJson/servicemanagement_v1.json @@ -31,6 +31,7 @@ }, "id": "servicemanagement:v1", "kind": "discovery#restDescription", + "mtlsRootUrl": "https://servicemanagement.mtls.googleapis.com/", "name": "servicemanagement", "ownerDomain": "google.com", "ownerName": "Google", @@ -127,7 +128,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^operations/.+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -876,7 +877,7 @@ } } }, - "revision": "20200218", + "revision": "20200221", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { diff --git a/DiscoveryJson/servicenetworking_v1.json b/DiscoveryJson/servicenetworking_v1.json index 0538f4532ab..68caac0040c 100644 --- a/DiscoveryJson/servicenetworking_v1.json +++ b/DiscoveryJson/servicenetworking_v1.json @@ -491,7 +491,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddSubnetworkRequest": { @@ -616,6 +616,13 @@ "jwksUri": { "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID\nDiscovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID\n Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of\n the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google\n service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", "type": "string" + }, + "jwtLocations": { + "description": "Defines the locations to extract the JWT.\n\nJWT locations can be either from HTTP headers or URL query parameters.\nThe rule is that the first match wins. The checking order is: checking\nall headers first, then URL query parameters.\n\nIf not specified, default to use following 3 locations:\n 1) Authorization: Bearer\n 2) x-goog-iap-jwt-assertion\n 3) access_token query parameter\n\nDefault locations can be specified as followings:\n jwt_locations:\n - header: Authorization\n value_prefix: \"Bearer \"\n - header: x-goog-iap-jwt-assertion\n - query: access_token", + "items": { + "$ref": "JwtLocation" + }, + "type": "array" } }, "type": "object" @@ -1324,6 +1331,25 @@ }, "type": "object" }, + "JwtLocation": { + "description": "Specifies a location to extract JWT from an API request.", + "id": "JwtLocation", + "properties": { + "header": { + "description": "Specifies HTTP header name to extract JWT token.", + "type": "string" + }, + "query": { + "description": "Specifies URL query parameter name to extract JWT token.", + "type": "string" + }, + "valuePrefix": { + "description": "The value prefix. The value format is \"value_prefix{token}\"\nOnly applies to \"in\" header type. Must be empty for \"in\" query type.\nIf not empty, the header value has to match (case sensitive) this prefix.\nIf not matched, JWT will not be extracted. If matched, JWT will be\nextracted after the prefix is removed.\n\nFor example, for \"Authorization: Bearer {JWT}\",\nvalue_prefix=\"Bearer \" with a space at the end.", + "type": "string" + } + }, + "type": "object" + }, "LabelDescriptor": { "description": "A description of a label.", "id": "LabelDescriptor", diff --git a/DiscoveryJson/servicenetworking_v1beta.json b/DiscoveryJson/servicenetworking_v1beta.json index 2e98d3d5de8..ae8c1e1a1cf 100644 --- a/DiscoveryJson/servicenetworking_v1beta.json +++ b/DiscoveryJson/servicenetworking_v1beta.json @@ -307,7 +307,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddSubnetworkRequest": { @@ -428,6 +428,13 @@ "jwksUri": { "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID\nDiscovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID\n Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of\n the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google\n service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", "type": "string" + }, + "jwtLocations": { + "description": "Defines the locations to extract the JWT.\n\nJWT locations can be either from HTTP headers or URL query parameters.\nThe rule is that the first match wins. The checking order is: checking\nall headers first, then URL query parameters.\n\nIf not specified, default to use following 3 locations:\n 1) Authorization: Bearer\n 2) x-goog-iap-jwt-assertion\n 3) access_token query parameter\n\nDefault locations can be specified as followings:\n jwt_locations:\n - header: Authorization\n value_prefix: \"Bearer \"\n - header: x-goog-iap-jwt-assertion\n - query: access_token", + "items": { + "$ref": "JwtLocation" + }, + "type": "array" } }, "type": "object" @@ -1090,6 +1097,25 @@ }, "type": "object" }, + "JwtLocation": { + "description": "Specifies a location to extract JWT from an API request.", + "id": "JwtLocation", + "properties": { + "header": { + "description": "Specifies HTTP header name to extract JWT token.", + "type": "string" + }, + "query": { + "description": "Specifies URL query parameter name to extract JWT token.", + "type": "string" + }, + "valuePrefix": { + "description": "The value prefix. The value format is \"value_prefix{token}\"\nOnly applies to \"in\" header type. Must be empty for \"in\" query type.\nIf not empty, the header value has to match (case sensitive) this prefix.\nIf not matched, JWT will not be extracted. If matched, JWT will be\nextracted after the prefix is removed.\n\nFor example, for \"Authorization: Bearer {JWT}\",\nvalue_prefix=\"Bearer \" with a space at the end.", + "type": "string" + } + }, + "type": "object" + }, "LabelDescriptor": { "description": "A description of a label.", "id": "LabelDescriptor", diff --git a/DiscoveryJson/serviceusage_v1.json b/DiscoveryJson/serviceusage_v1.json index cafa8a81343..29cc5635c38 100644 --- a/DiscoveryJson/serviceusage_v1.json +++ b/DiscoveryJson/serviceusage_v1.json @@ -394,7 +394,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "Api": { @@ -472,6 +472,13 @@ "jwksUri": { "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID\nDiscovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID\n Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of\n the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google\n service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", "type": "string" + }, + "jwtLocations": { + "description": "Defines the locations to extract the JWT.\n\nJWT locations can be either from HTTP headers or URL query parameters.\nThe rule is that the first match wins. The checking order is: checking\nall headers first, then URL query parameters.\n\nIf not specified, default to use following 3 locations:\n 1) Authorization: Bearer\n 2) x-goog-iap-jwt-assertion\n 3) access_token query parameter\n\nDefault locations can be specified as followings:\n jwt_locations:\n - header: Authorization\n value_prefix: \"Bearer \"\n - header: x-goog-iap-jwt-assertion\n - query: access_token", + "items": { + "$ref": "JwtLocation" + }, + "type": "array" } }, "type": "object" @@ -1526,6 +1533,25 @@ }, "type": "object" }, + "JwtLocation": { + "description": "Specifies a location to extract JWT from an API request.", + "id": "JwtLocation", + "properties": { + "header": { + "description": "Specifies HTTP header name to extract JWT token.", + "type": "string" + }, + "query": { + "description": "Specifies URL query parameter name to extract JWT token.", + "type": "string" + }, + "valuePrefix": { + "description": "The value prefix. The value format is \"value_prefix{token}\"\nOnly applies to \"in\" header type. Must be empty for \"in\" query type.\nIf not empty, the header value has to match (case sensitive) this prefix.\nIf not matched, JWT will not be extracted. If matched, JWT will be\nextracted after the prefix is removed.\n\nFor example, for \"Authorization: Bearer {JWT}\",\nvalue_prefix=\"Bearer \" with a space at the end.", + "type": "string" + } + }, + "type": "object" + }, "LabelDescriptor": { "description": "A description of a label.", "id": "LabelDescriptor", diff --git a/DiscoveryJson/serviceusage_v1beta1.json b/DiscoveryJson/serviceusage_v1beta1.json index 084a24911e6..5d50b3033d2 100644 --- a/DiscoveryJson/serviceusage_v1beta1.json +++ b/DiscoveryJson/serviceusage_v1beta1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "Api": { @@ -417,6 +417,13 @@ "jwksUri": { "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID\nDiscovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID\n Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of\n the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google\n service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", "type": "string" + }, + "jwtLocations": { + "description": "Defines the locations to extract the JWT.\n\nJWT locations can be either from HTTP headers or URL query parameters.\nThe rule is that the first match wins. The checking order is: checking\nall headers first, then URL query parameters.\n\nIf not specified, default to use following 3 locations:\n 1) Authorization: Bearer\n 2) x-goog-iap-jwt-assertion\n 3) access_token query parameter\n\nDefault locations can be specified as followings:\n jwt_locations:\n - header: Authorization\n value_prefix: \"Bearer \"\n - header: x-goog-iap-jwt-assertion\n - query: access_token", + "items": { + "$ref": "JwtLocation" + }, + "type": "array" } }, "type": "object" @@ -1460,6 +1467,25 @@ }, "type": "object" }, + "JwtLocation": { + "description": "Specifies a location to extract JWT from an API request.", + "id": "JwtLocation", + "properties": { + "header": { + "description": "Specifies HTTP header name to extract JWT token.", + "type": "string" + }, + "query": { + "description": "Specifies URL query parameter name to extract JWT token.", + "type": "string" + }, + "valuePrefix": { + "description": "The value prefix. The value format is \"value_prefix{token}\"\nOnly applies to \"in\" header type. Must be empty for \"in\" query type.\nIf not empty, the header value has to match (case sensitive) this prefix.\nIf not matched, JWT will not be extracted. If matched, JWT will be\nextracted after the prefix is removed.\n\nFor example, for \"Authorization: Bearer {JWT}\",\nvalue_prefix=\"Bearer \" with a space at the end.", + "type": "string" + } + }, + "type": "object" + }, "LabelDescriptor": { "description": "A description of a label.", "id": "LabelDescriptor", diff --git a/DiscoveryJson/spanner_v1.json b/DiscoveryJson/spanner_v1.json index 0031fa1e8e6..356ae100950 100644 --- a/DiscoveryJson/spanner_v1.json +++ b/DiscoveryJson/spanner_v1.json @@ -1611,7 +1611,7 @@ } } }, - "revision": "20200208", + "revision": "20200224", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "BatchCreateSessionsRequest": { @@ -1938,6 +1938,10 @@ ], "type": "string" }, + "queryOptions": { + "$ref": "QueryOptions", + "description": "Query optimizer configuration to use for the given query." + }, "resumeToken": { "description": "If this request is resuming a previously interrupted SQL statement\nexecution, `resume_token` should be copied from the last\nPartialResultSet yielded before the interruption. Doing this\nenables the new SQL statement execution to resume where the last one left\noff. The rest of the request parameters must exactly match the\nrequest that yielded this token.", "format": "byte", @@ -2047,7 +2051,7 @@ "type": "string" }, "endpointUris": { - "description": "Output only. A set of endpoint URIs based on your instance config\nthat you can use instead of the global endpoint `spanner.googleapis.com`.\n\nFor example, if your instance config is `us-central1` (a regional config\nin Iowa), then your instance specific endpoints may include\n`us-central1-spanner.googleapis.com`. By calling these endpoints instead of\nthe global endpoint, you optimize network routing which could reduce\nnetwork latency.\n\nThe client libraries, JDBC drivers, and other SDK clients automatically\ncall these instance specific endpoints.\n\nIf you are using DNS whitelists, firewalls, or filtering to control access\nto endpoints, make sure you grant access to `*spanner.googleapis.com`.", + "description": "Deprecated. This field is not populated.", "items": { "type": "string" }, @@ -2556,6 +2560,17 @@ }, "type": "object" }, + "QueryOptions": { + "description": "Query optimizer configuration.", + "id": "QueryOptions", + "properties": { + "optimizerVersion": { + "description": "An option to control the selection of optimizer version.\n\nThis parameter allows individual queries to pick different query\noptimizer versions.\n\nSpecifying \"latest\" as a value instructs Cloud Spanner to use the\nlatest supported query optimizer version. If not specified, Cloud Spanner\nuses optimizer version set at the database level options. Any other\npositive integer (from the list of supported optimizer versions)\noverrides the default optimizer version for query execution.\nThe list of supported optimizer versions can be queried from\nSPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS. Executing a SQL statement\nwith an invalid optimizer version will fail with a syntax error\n(`INVALID_ARGUMENT`) status.\n\nThe `optimizer_version` statement hint has precedence over this setting.", + "type": "string" + } + }, + "type": "object" + }, "QueryPlan": { "description": "Contains an ordered list of nodes appearing in the query plan.", "id": "QueryPlan", diff --git a/DiscoveryJson/storagetransfer_v1.json b/DiscoveryJson/storagetransfer_v1.json index e2b452085b3..758103c77cb 100644 --- a/DiscoveryJson/storagetransfer_v1.json +++ b/DiscoveryJson/storagetransfer_v1.json @@ -396,7 +396,7 @@ } } }, - "revision": "20200215", + "revision": "20200226", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AwsAccessKey": { diff --git a/DiscoveryJson/streetviewpublish_v1.json b/DiscoveryJson/streetviewpublish_v1.json index af878ea2c89..2200135cd95 100644 --- a/DiscoveryJson/streetviewpublish_v1.json +++ b/DiscoveryJson/streetviewpublish_v1.json @@ -363,7 +363,7 @@ } } }, - "revision": "20200225", + "revision": "20200227", "rootUrl": "https://streetviewpublish.googleapis.com/", "schemas": { "BatchDeletePhotosRequest": { diff --git a/DiscoveryJson/tagmanager_v1.json b/DiscoveryJson/tagmanager_v1.json index a0b8053021c..b40de0dd94c 100644 --- a/DiscoveryJson/tagmanager_v1.json +++ b/DiscoveryJson/tagmanager_v1.json @@ -1932,7 +1932,7 @@ } } }, - "revision": "20200220", + "revision": "20200226", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { diff --git a/DiscoveryJson/tagmanager_v2.json b/DiscoveryJson/tagmanager_v2.json index 9e40397cae8..b42667c77d5 100644 --- a/DiscoveryJson/tagmanager_v2.json +++ b/DiscoveryJson/tagmanager_v2.json @@ -2789,7 +2789,7 @@ } } }, - "revision": "20200220", + "revision": "20200226", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { diff --git a/DiscoveryJson/toolresults_v1.json b/DiscoveryJson/toolresults_v1.json index 34746f01f6e..f037531cd9a 100644 --- a/DiscoveryJson/toolresults_v1.json +++ b/DiscoveryJson/toolresults_v1.json @@ -95,7 +95,7 @@ }, "protocol": "rest", "resources": {}, - "revision": "20200226", + "revision": "20200227", "rootUrl": "https://www.googleapis.com/", "schemas": { "ANR": { diff --git a/DiscoveryJson/toolresults_v1beta3.json b/DiscoveryJson/toolresults_v1beta3.json index 56eac8f2847..54f715000b7 100644 --- a/DiscoveryJson/toolresults_v1beta3.json +++ b/DiscoveryJson/toolresults_v1beta3.json @@ -15,7 +15,7 @@ "description": "Reads and publishes results from Firebase Test Lab.", "discoveryVersion": "v1", "documentationLink": "https://firebase.google.com/docs/test-lab/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/b334g4yROVl0Uahwlkrxkkp9SA4\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/SUQC7BzfKgVKT4oTqxnXd68ggww\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" @@ -1367,7 +1367,7 @@ } } }, - "revision": "20200220", + "revision": "20200226", "rootUrl": "https://www.googleapis.com/", "schemas": { "AndroidAppInfo": { diff --git a/DiscoveryJson/youtubeAnalytics_v1.json b/DiscoveryJson/youtubeAnalytics_v1.json index f92fc78889f..ad5f5cdb255 100644 --- a/DiscoveryJson/youtubeAnalytics_v1.json +++ b/DiscoveryJson/youtubeAnalytics_v1.json @@ -96,7 +96,7 @@ }, "protocol": "rest", "resources": {}, - "revision": "20200225", + "revision": "20200226", "rootUrl": "https://youtubeanalytics.googleapis.com/", "schemas": {}, "servicePath": "", diff --git a/DiscoveryJson/youtubeAnalytics_v2.json b/DiscoveryJson/youtubeAnalytics_v2.json index 6f6e86db0fb..23465a87d56 100644 --- a/DiscoveryJson/youtubeAnalytics_v2.json +++ b/DiscoveryJson/youtubeAnalytics_v2.json @@ -421,7 +421,7 @@ } } }, - "revision": "20200225", + "revision": "20200226", "rootUrl": "https://youtubeanalytics.googleapis.com/", "schemas": { "EmptyResponse": { diff --git a/DiscoveryJson/youtubereporting_v1.json b/DiscoveryJson/youtubereporting_v1.json index 06b6c08006d..56248c7de47 100644 --- a/DiscoveryJson/youtubereporting_v1.json +++ b/DiscoveryJson/youtubereporting_v1.json @@ -411,7 +411,7 @@ } } }, - "revision": "20200225", + "revision": "20200226", "rootUrl": "https://youtubereporting.googleapis.com/", "schemas": { "Empty": { diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs index 5721113fd14..5269fcc40f6 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs @@ -26,7 +26,7 @@ * API * Accelerated Mobile Pages (AMP) URL API * API Versionv1 - * API Rev20200226 (1882) + * API Rev20200228 (1884) * API Docs * * https://developers.google.com/amp/cache/ diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj index 4eceb7dea06..10daa8a9c6b 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Acceleratedmobilepageurl.v1 Client Library - 1.44.0.1882 + 1.44.0.1884 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs index aa9d7d12cb6..08c563dabf5 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs @@ -26,7 +26,7 @@ * API * Access Context Manager API * API Versionv1 - * API Rev20200215 (1871) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/access-context-manager/docs/reference/rest/ @@ -821,11 +821,11 @@ protected override void InitParameters() } /// Replace all existing Access Levels in an Access Policy with the Access Levels provided. This is - /// done within one transaction. The longrunning operation from this RPC will have a successful status once - /// all replacements have propagated to long-lasting storage. Replacements containing errors will result in - /// an error response for the first error encountered and the transaction will be cancelled. - /// Operation.response field will contain ReplaceAccessLevelsResponse. Removing Access Levels contained in - /// existing Service Perimeters will result in error. + /// done atomically. The longrunning operation from this RPC will have a successful status once all + /// replacements have propagated to long-lasting storage. Replacements containing errors will result in an + /// error response for the first error encountered. Replacement will be cancelled on error, existing Access + /// Levels will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing + /// Access Levels contained in existing Service Perimeters will result in error. /// The body of the request. /// Required. Resource name for the access policy which owns these Access Levels. /// @@ -836,11 +836,11 @@ public virtual ReplaceAllRequest ReplaceAll(Google.Apis.AccessContextManager.v1. } /// Replace all existing Access Levels in an Access Policy with the Access Levels provided. This is - /// done within one transaction. The longrunning operation from this RPC will have a successful status once - /// all replacements have propagated to long-lasting storage. Replacements containing errors will result in - /// an error response for the first error encountered and the transaction will be cancelled. - /// Operation.response field will contain ReplaceAccessLevelsResponse. Removing Access Levels contained in - /// existing Service Perimeters will result in error. + /// done atomically. The longrunning operation from this RPC will have a successful status once all + /// replacements have propagated to long-lasting storage. Replacements containing errors will result in an + /// error response for the first error encountered. Replacement will be cancelled on error, existing Access + /// Levels will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing + /// Access Levels contained in existing Service Perimeters will result in error. public class ReplaceAllRequest : AccessContextManagerBaseServiceRequest { /// Constructs a new ReplaceAll request. @@ -1401,10 +1401,11 @@ protected override void InitParameters() } /// Replace all existing Service Perimeters in an Access Policy with the Service Perimeters - /// provided. This is done within one transaction. The longrunning operation from this RPC will have a - /// successful status once all replacements have propagated to long-lasting storage. Replacements containing - /// errors will result in an error response for the first error encountered and the transaction will be - /// cancelled. Operation.response field will contain ReplaceServicePerimetersResponse. + /// provided. This is done atomically. The longrunning operation from this RPC will have a successful status + /// once all replacements have propagated to long-lasting storage. Replacements containing errors will + /// result in an error response for the first error encountered. Replacement will be cancelled on error, + /// existing Service Perimeters will not be affected. Operation.response field will contain + /// ReplaceServicePerimetersResponse. /// The body of the request. /// Required. Resource name for the access policy which owns these Service Perimeters. /// @@ -1415,10 +1416,11 @@ public virtual ReplaceAllRequest ReplaceAll(Google.Apis.AccessContextManager.v1. } /// Replace all existing Service Perimeters in an Access Policy with the Service Perimeters - /// provided. This is done within one transaction. The longrunning operation from this RPC will have a - /// successful status once all replacements have propagated to long-lasting storage. Replacements containing - /// errors will result in an error response for the first error encountered and the transaction will be - /// cancelled. Operation.response field will contain ReplaceServicePerimetersResponse. + /// provided. This is done atomically. The longrunning operation from this RPC will have a successful status + /// once all replacements have propagated to long-lasting storage. Replacements containing errors will + /// result in an error response for the first error encountered. Replacement will be cancelled on error, + /// existing Service Perimeters will not be affected. Operation.response field will contain + /// ReplaceServicePerimetersResponse. public class ReplaceAllRequest : AccessContextManagerBaseServiceRequest { /// Constructs a new ReplaceAll request. @@ -2579,7 +2581,7 @@ public class OsConstraint : Google.Apis.Requests.IDirectResponseSchema } /// A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. - /// This is done within one transaction. + /// This is done atomically. public class ReplaceAccessLevelsRequest : Google.Apis.Requests.IDirectResponseSchema { /// Required. The desired Access Levels that should replace all existing Access Levels in the Access @@ -2610,7 +2612,7 @@ public class ReplaceAccessLevelsResponse : Google.Apis.Requests.IDirectResponseS } /// A request to replace all existing Service Perimeters in an Access Policy with the Service Perimeters - /// provided. This is done within one transaction. + /// provided. This is done atomically. public class ReplaceServicePerimetersRequest : Google.Apis.Requests.IDirectResponseSchema { /// Optional. The etag for the version of the Access Policy that this replace operation is to be @@ -2727,7 +2729,7 @@ public class ServicePerimeterConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("restrictedServices")] public virtual System.Collections.Generic.IList RestrictedServices { get; set; } - /// Configuration for within Perimeter allowed APIs. + /// Configuration for APIs allowed within Perimeter. [Newtonsoft.Json.JsonPropertyAttribute("vpcAccessibleServices")] public virtual VpcAccessibleServices VpcAccessibleServices { get; set; } diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj index 1e40ebb3d1d..1440f7da841 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AccessContextManager.v1 Client Library - 1.44.0.1871 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.cs b/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.cs index 60890404d6c..915e057eba1 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.cs +++ b/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.cs @@ -26,7 +26,7 @@ * API * Access Context Manager API * API Versionv1beta - * API Rev20200215 (1871) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/access-context-manager/docs/reference/rest/ @@ -2093,15 +2093,10 @@ public class ServicePerimeterConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("unrestrictedServices")] public virtual System.Collections.Generic.IList UnrestrictedServices { get; set; } - /// Beta. Configuration for within Perimeter allowed APIs. + /// Beta. Configuration for APIs allowed within Perimeter. [Newtonsoft.Json.JsonPropertyAttribute("vpcAccessibleServices")] public virtual VpcAccessibleServices VpcAccessibleServices { get; set; } - /// Alpha. Configuration for within Perimeter allowed APIs. Deprecated. The field had been renamed to - /// vpc_accessible_services - [Newtonsoft.Json.JsonPropertyAttribute("vpcServiceRestriction")] - public virtual VpcServiceRestriction VpcServiceRestriction { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } @@ -2145,24 +2140,6 @@ public class VpcAccessibleServices : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("enableRestriction")] public virtual System.Nullable EnableRestriction { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Alpha. Specifies how APIs are allowed to communicate within the Service Perimeter. This message is - /// DEPRECATED and had been renamed to VpcAccessibleServices - public class VpcServiceRestriction : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is - /// True. - [Newtonsoft.Json.JsonPropertyAttribute("allowedServices")] - public virtual System.Collections.Generic.IList AllowedServices { get; set; } - - /// Whether to restrict API calls within the Service Perimeter to the list of APIs specified in - /// 'allowed_services'. - [Newtonsoft.Json.JsonPropertyAttribute("enableRestriction")] - public virtual System.Nullable EnableRestriction { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.csproj b/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.csproj index ef74bf0ae94..5798ac28944 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.csproj +++ b/Src/Generated/Google.Apis.AccessContextManager.v1beta/Google.Apis.AccessContextManager.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.AccessContextManager.v1beta Client Library - 1.44.0.1871 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs index e090c35a3e1..a8a55e551b0 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs @@ -26,7 +26,7 @@ * API * Ad Exchange Buyer API II * API Versionv2beta1 - * API Rev20200226 (1882) + * API Rev20200227 (1883) * API Docs * * https://developers.google.com/authorized-buyers/apis/reference/rest/ diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj index 4cee4d02850..e960f400890 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdExchangeBuyerII.v2beta1 Client Library - 1.44.0.1882 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs index b540e85c595..8503bec92e6 100644 --- a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs +++ b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs @@ -26,7 +26,7 @@ * API * AdMob API * API Versionv1 - * API Rev20200226 (1882) + * API Rev20200227 (1883) * API Docs * * https://developers.google.com/admob/api/ diff --git a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj index 36f4baff4f7..751045c36c0 100644 --- a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj +++ b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdMob.v1 Client Library - 1.44.0.1882 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs index 2dc30e0bb36..6123a5c201f 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs @@ -26,7 +26,7 @@ * API * AdSense Management API * API Versionv1.4 - * API Rev20200220 (1876) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/adsense/management/ diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.csproj b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.csproj index c354a41a193..e84a8ec59f2 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.csproj +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.csproj @@ -3,7 +3,7 @@ Google.Apis.AdSense.v1_4 Client Library - 1.44.0.1876 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs index 53473e45adb..178b5bfb9f3 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs @@ -26,7 +26,7 @@ * API * AdSense Host API * API Versionv4.1 - * API Rev20200220 (1876) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/adsense/host/ diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj index ea187ff7713..1cbaa869bab 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdSenseHost.v4_1 Client Library - 1.44.0.1876 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs index 4fc65aa8b96..9d5809df4ed 100644 --- a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs +++ b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs @@ -26,7 +26,7 @@ * API * Android Device Provisioning Partner API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/zero-touch/ diff --git a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj index df2d3d7ed6f..cc21b4d2ab2 100644 --- a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidProvisioningPartner.v1 Client Library - 1.44.0.1881 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs index b54e321a24c..3f753985871 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs @@ -26,7 +26,7 @@ * API * Google Play Developer API * API Versionv1 - * API Rev20200223 (1879) + * API Rev20200225 (1881) * API Docs * * https://developers.google.com/android-publisher diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.csproj index f1b5f8cc242..37374c26dcf 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v1 Client Library - 1.44.0.1879 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs index e32a19fa0c4..417c3dbdc98 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs @@ -26,7 +26,7 @@ * API * Google Play Developer API * API Versionv1.1 - * API Rev20200223 (1879) + * API Rev20200225 (1881) * API Docs * * https://developers.google.com/android-publisher diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.csproj index cd68f1bf5cd..ed3d89308cc 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v1_1 Client Library - 1.44.0.1879 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs index eb8b61f3a70..5563c056710 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs @@ -26,7 +26,7 @@ * API * Google Play Developer API * API Versionv2 - * API Rev20200223 (1879) + * API Rev20200225 (1881) * API Docs * * https://developers.google.com/android-publisher diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.csproj index 3f72512b238..54beb779de2 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v2 Client Library - 1.44.0.1879 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs index 0a7c50c8cc2..44d2593497d 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs @@ -26,7 +26,7 @@ * API * Google Play Developer API * API Versionv3 - * API Rev20200223 (1879) + * API Rev20200225 (1881) * API Docs * * https://developers.google.com/android-publisher diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj index 1fe59e20a79..67e359b0345 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v3 Client Library - 1.44.0.1879 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs index 40de257ff30..87bdbd4426f 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs @@ -26,7 +26,7 @@ * API * Drive Activity API * API Versionv1 - * API Rev20200218 (1874) + * API Rev20200223 (1879) * API Docs * * https://developers.google.com/google-apps/activity/ diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.csproj b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.csproj index 5694128623c..299147aeeb8 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.csproj +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Appsactivity.v1 Client Library - 1.44.0.1874 + 1.44.0.1879 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs index 94b329cdf5b..cdb58a4db07 100644 --- a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs +++ b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs @@ -26,7 +26,7 @@ * API * BigQuery Connection API * API Versionv1beta1 - * API Rev20200206 (1862) + * API Rev20200220 (1876) * API Docs * * https://cloud.google.com/bigquery/ diff --git a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj index dee7c52cfd5..8701f9c0303 100644 --- a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj +++ b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryConnectionService.v1beta1 Client Library - 1.44.0.1862 + 1.44.0.1876 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs index e836070c019..56795885c52 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs @@ -26,7 +26,7 @@ * API * BigQuery API * API Versionv2 - * API Rev20200206 (1862) + * API Rev20200219 (1875) * API Docs * * https://cloud.google.com/bigquery/ diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj index 73956746759..bd05007d984 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Bigquery.v2 Client Library - 1.44.0.1862 + 1.44.0.1875 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs index 38a20bcc088..07d7690b780 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs @@ -26,7 +26,7 @@ * API * Binary Authorization API * API Versionv1 - * API Rev20200214 (1870) + * API Rev20200221 (1877) * API Docs * * https://cloud.google.com/binary-authorization/ diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj index 86f154d2d28..c09f6279503 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BinaryAuthorization.v1 Client Library - 1.44.0.1870 + 1.44.0.1877 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs index 3d01b632163..3e2672f6e99 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs @@ -26,7 +26,7 @@ * API * Binary Authorization API * API Versionv1beta1 - * API Rev20200214 (1870) + * API Rev20200221 (1877) * API Docs * * https://cloud.google.com/binary-authorization/ diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj index 0f3922fd6bd..b314b70d79b 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.BinaryAuthorization.v1beta1 Client Library - 1.44.0.1870 + 1.44.0.1877 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs deleted file mode 100644 index cb7bb0dffe0..00000000000 --- a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs +++ /dev/null @@ -1,1807 +0,0 @@ -// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on -// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the -// specific language governing permissions and limitations under the License. - -//------------------------------------------------------------------------------ -// -// This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.44.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -/** - * \brief - * Blogger API Version v2 - * - * \section ApiInfo API Version Information - * - *
API - * Blogger API - *
API Versionv2 - *
API Rev20200204 (1860) - *
API Docs - * - * https://developers.google.com/blogger/docs/2.0/json/getting_started - *
Discovery Nameblogger - *
- * - * \section ForMoreInfo For More Information - * - * The complete API documentation for using Blogger API can be found at - * https://developers.google.com/blogger/docs/2.0/json/getting_started. - * - * For more information about the Google APIs Client Library for .NET, see - * - * https://developers.google.com/api-client-library/dotnet/get_started - */ - -namespace Google.Apis.Blogger.v2 -{ - /// The Blogger Service. - public class BloggerService : Google.Apis.Services.BaseClientService - { - /// The API version. - public const string Version = "v2"; - - /// The discovery version used to generate this service. - public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = - Google.Apis.Discovery.DiscoveryVersion.Version_1_0; - - /// Constructs a new service. - public BloggerService() : - this(new Google.Apis.Services.BaseClientService.Initializer()) {} - - /// Constructs a new service. - /// The service initializer. - public BloggerService(Google.Apis.Services.BaseClientService.Initializer initializer) - : base(initializer) - { - blogs = new BlogsResource(this); - comments = new CommentsResource(this); - pages = new PagesResource(this); - posts = new PostsResource(this); - users = new UsersResource(this); - } - - /// Gets the service supported features. - public override System.Collections.Generic.IList Features - { - get { return new string[0]; } - } - - /// Gets the service name. - public override string Name - { - get { return "blogger"; } - } - - /// Gets the service base URI. - public override string BaseUri - { - #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45 - get { return BaseUriOverride ?? "https://www.googleapis.com/blogger/v2/"; } - #else - get { return "https://www.googleapis.com/blogger/v2/"; } - #endif - } - - /// Gets the service base path. - public override string BasePath - { - get { return "blogger/v2/"; } - } - - #if !NET40 - /// Gets the batch base URI; null if unspecified. - public override string BatchUri - { - get { return "https://www.googleapis.com/batch/blogger/v2"; } - } - - /// Gets the batch base path; null if unspecified. - public override string BatchPath - { - get { return "batch/blogger/v2"; } - } - #endif - - /// Available OAuth 2.0 scopes for use with the Blogger API. - public class Scope - { - /// Manage your Blogger account - public static string Blogger = "https://www.googleapis.com/auth/blogger"; - - } - - /// Available OAuth 2.0 scope constants for use with the Blogger API. - public static class ScopeConstants - { - /// Manage your Blogger account - public const string Blogger = "https://www.googleapis.com/auth/blogger"; - - } - - - - private readonly BlogsResource blogs; - - /// Gets the Blogs resource. - public virtual BlogsResource Blogs - { - get { return blogs; } - } - - private readonly CommentsResource comments; - - /// Gets the Comments resource. - public virtual CommentsResource Comments - { - get { return comments; } - } - - private readonly PagesResource pages; - - /// Gets the Pages resource. - public virtual PagesResource Pages - { - get { return pages; } - } - - private readonly PostsResource posts; - - /// Gets the Posts resource. - public virtual PostsResource Posts - { - get { return posts; } - } - - private readonly UsersResource users; - - /// Gets the Users resource. - public virtual UsersResource Users - { - get { return users; } - } - } - - ///A base abstract class for Blogger requests. - public abstract class BloggerBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest - { - ///Constructs a new BloggerBaseServiceRequest instance. - protected BloggerBaseServiceRequest(Google.Apis.Services.IClientService service) - : base(service) - { - } - - /// Data format for the response. - /// [default: json] - [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Alt { get; set; } - - /// Data format for the response. - public enum AltEnum - { - /// Responses with Content-Type of application/json - [Google.Apis.Util.StringValueAttribute("json")] - Json, - } - - /// Selector specifying which fields to include in a partial response. - [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Fields { get; set; } - - /// API key. Your API key identifies your project and provides you with API access, quota, and reports. - /// Required unless you provide an OAuth 2.0 token. - [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Key { get; set; } - - /// OAuth 2.0 token for the current user. - [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OauthToken { get; set; } - - /// Returns response with indentations and line breaks. - /// [default: true] - [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PrettyPrint { get; set; } - - /// An opaque string that represents a user for quota purposes. Must not exceed 40 - /// characters. - [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] - public virtual string QuotaUser { get; set; } - - /// Deprecated. Please use quotaUser instead. - [Google.Apis.Util.RequestParameterAttribute("userIp", Google.Apis.Util.RequestParameterType.Query)] - public virtual string UserIp { get; set; } - - /// Initializes Blogger parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "alt", new Google.Apis.Discovery.Parameter - { - Name = "alt", - IsRequired = false, - ParameterType = "query", - DefaultValue = "json", - Pattern = null, - }); - RequestParameters.Add( - "fields", new Google.Apis.Discovery.Parameter - { - Name = "fields", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "key", new Google.Apis.Discovery.Parameter - { - Name = "key", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "oauth_token", new Google.Apis.Discovery.Parameter - { - Name = "oauth_token", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "prettyPrint", new Google.Apis.Discovery.Parameter - { - Name = "prettyPrint", - IsRequired = false, - ParameterType = "query", - DefaultValue = "true", - Pattern = null, - }); - RequestParameters.Add( - "quotaUser", new Google.Apis.Discovery.Parameter - { - Name = "quotaUser", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "userIp", new Google.Apis.Discovery.Parameter - { - Name = "userIp", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// The "blogs" collection of methods. - public class BlogsResource - { - private const string Resource = "blogs"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public BlogsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - - } - - - /// Gets one blog by id. - /// The ID of the blog to get. - public virtual GetRequest Get(string blogId) - { - return new GetRequest(service, blogId); - } - - /// Gets one blog by id. - public class GetRequest : BloggerBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string blogId) - : base(service) - { - BlogId = blogId; - InitParameters(); - } - - - /// The ID of the blog to get. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "get"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}"; } - } - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - - } - } - - /// The "comments" collection of methods. - public class CommentsResource - { - private const string Resource = "comments"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public CommentsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - - } - - - /// Gets one comment by id. - /// ID of the blog to containing the comment. - /// ID of the post - /// to fetch posts from. - /// The ID of the comment to get. - public virtual GetRequest Get(string blogId, string postId, string commentId) - { - return new GetRequest(service, blogId, postId, commentId); - } - - /// Gets one comment by id. - public class GetRequest : BloggerBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string blogId, string postId, string commentId) - : base(service) - { - BlogId = blogId; - PostId = postId; - CommentId = commentId; - InitParameters(); - } - - - /// ID of the blog to containing the comment. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - /// ID of the post to fetch posts from. - [Google.Apis.Util.RequestParameterAttribute("postId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string PostId { get; private set; } - - /// The ID of the comment to get. - [Google.Apis.Util.RequestParameterAttribute("commentId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string CommentId { get; private set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "get"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}/posts/{postId}/comments/{commentId}"; } - } - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "postId", new Google.Apis.Discovery.Parameter - { - Name = "postId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "commentId", new Google.Apis.Discovery.Parameter - { - Name = "commentId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - - } - - /// Retrieves the comments for a blog, possibly filtered. - /// ID of the blog to fetch comments from. - /// ID of the post to - /// fetch posts from. - public virtual ListRequest List(string blogId, string postId) - { - return new ListRequest(service, blogId, postId); - } - - /// Retrieves the comments for a blog, possibly filtered. - public class ListRequest : BloggerBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string blogId, string postId) - : base(service) - { - BlogId = blogId; - PostId = postId; - InitParameters(); - } - - - /// ID of the blog to fetch comments from. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - /// ID of the post to fetch posts from. - [Google.Apis.Util.RequestParameterAttribute("postId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string PostId { get; private set; } - - /// Whether the body content of the comments is included. - [Google.Apis.Util.RequestParameterAttribute("fetchBodies", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable FetchBodies { get; set; } - - /// Maximum number of comments to include in the result. - [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxResults { get; set; } - - /// Continuation token if request is paged. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Earliest date of comment to fetch, a date-time with RFC 3339 formatting. - [Google.Apis.Util.RequestParameterAttribute("startDate", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable StartDate { get; set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "list"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}/posts/{postId}/comments"; } - } - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "postId", new Google.Apis.Discovery.Parameter - { - Name = "postId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "fetchBodies", new Google.Apis.Discovery.Parameter - { - Name = "fetchBodies", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "maxResults", new Google.Apis.Discovery.Parameter - { - Name = "maxResults", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "startDate", new Google.Apis.Discovery.Parameter - { - Name = "startDate", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - - } - } - - /// The "pages" collection of methods. - public class PagesResource - { - private const string Resource = "pages"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public PagesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - - } - - - /// Gets one blog page by id. - /// ID of the blog containing the page. - /// The ID of the page to - /// get. - public virtual GetRequest Get(string blogId, string pageId) - { - return new GetRequest(service, blogId, pageId); - } - - /// Gets one blog page by id. - public class GetRequest : BloggerBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string blogId, string pageId) - : base(service) - { - BlogId = blogId; - PageId = pageId; - InitParameters(); - } - - - /// ID of the blog containing the page. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - /// The ID of the page to get. - [Google.Apis.Util.RequestParameterAttribute("pageId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string PageId { get; private set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "get"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}/pages/{pageId}"; } - } - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "pageId", new Google.Apis.Discovery.Parameter - { - Name = "pageId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - - } - - /// Retrieves pages for a blog, possibly filtered. - /// ID of the blog to fetch pages from. - public virtual ListRequest List(string blogId) - { - return new ListRequest(service, blogId); - } - - /// Retrieves pages for a blog, possibly filtered. - public class ListRequest : BloggerBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string blogId) - : base(service) - { - BlogId = blogId; - InitParameters(); - } - - - /// ID of the blog to fetch pages from. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - /// Whether to retrieve the Page bodies. - [Google.Apis.Util.RequestParameterAttribute("fetchBodies", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable FetchBodies { get; set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "list"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}/pages"; } - } - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "fetchBodies", new Google.Apis.Discovery.Parameter - { - Name = "fetchBodies", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - - } - } - - /// The "posts" collection of methods. - public class PostsResource - { - private const string Resource = "posts"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public PostsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - - } - - - /// Get a post by id. - /// ID of the blog to fetch the post from. - /// The ID of the - /// post - public virtual GetRequest Get(string blogId, string postId) - { - return new GetRequest(service, blogId, postId); - } - - /// Get a post by id. - public class GetRequest : BloggerBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string blogId, string postId) - : base(service) - { - BlogId = blogId; - PostId = postId; - InitParameters(); - } - - - /// ID of the blog to fetch the post from. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - /// The ID of the post - [Google.Apis.Util.RequestParameterAttribute("postId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string PostId { get; private set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "get"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}/posts/{postId}"; } - } - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "postId", new Google.Apis.Discovery.Parameter - { - Name = "postId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - - } - - /// Retrieves a list of posts, possibly filtered. - /// ID of the blog to fetch posts from. - public virtual ListRequest List(string blogId) - { - return new ListRequest(service, blogId); - } - - /// Retrieves a list of posts, possibly filtered. - public class ListRequest : BloggerBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string blogId) - : base(service) - { - BlogId = blogId; - InitParameters(); - } - - - /// ID of the blog to fetch posts from. - [Google.Apis.Util.RequestParameterAttribute("blogId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string BlogId { get; private set; } - - /// Whether the body content of posts is included. - [Google.Apis.Util.RequestParameterAttribute("fetchBodies", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable FetchBodies { get; set; } - - /// Maximum number of posts to fetch. - [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxResults { get; set; } - - /// Continuation token if the request is paged. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Earliest post date to fetch, a date-time with RFC 3339 formatting. - [Google.Apis.Util.RequestParameterAttribute("startDate", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable StartDate { get; set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "list"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "blogs/{blogId}/posts"; } - } - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "blogId", new Google.Apis.Discovery.Parameter - { - Name = "blogId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "fetchBodies", new Google.Apis.Discovery.Parameter - { - Name = "fetchBodies", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "maxResults", new Google.Apis.Discovery.Parameter - { - Name = "maxResults", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "startDate", new Google.Apis.Discovery.Parameter - { - Name = "startDate", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - - } - } - - /// The "users" collection of methods. - public class UsersResource - { - private const string Resource = "users"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public UsersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - blogs = new BlogsResource(service); - - } - - private readonly BlogsResource blogs; - - /// Gets the Blogs resource. - public virtual BlogsResource Blogs - { - get { return blogs; } - } - - /// The "blogs" collection of methods. - public class BlogsResource - { - private const string Resource = "blogs"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public BlogsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - - } - - - /// Retrieves a list of blogs, possibly filtered. - /// ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the - /// user's profile identifier. - public virtual ListRequest List(string userId) - { - return new ListRequest(service, userId); - } - - /// Retrieves a list of blogs, possibly filtered. - public class ListRequest : BloggerBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string userId) - : base(service) - { - UserId = userId; - InitParameters(); - } - - - /// ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or - /// the user's profile identifier. - [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string UserId { get; private set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "list"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "users/{userId}/blogs"; } - } - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "userId", new Google.Apis.Discovery.Parameter - { - Name = "userId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - - } - } - - /// Gets one user by id. - /// The ID of the user to get. - public virtual GetRequest Get(string userId) - { - return new GetRequest(service, userId); - } - - /// Gets one user by id. - public class GetRequest : BloggerBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string userId) - : base(service) - { - UserId = userId; - InitParameters(); - } - - - /// The ID of the user to get. - [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string UserId { get; private set; } - - - ///Gets the method name. - public override string MethodName - { - get { return "get"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "users/{userId}"; } - } - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - RequestParameters.Add( - "userId", new Google.Apis.Discovery.Parameter - { - Name = "userId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - - } - } -} - -namespace Google.Apis.Blogger.v2.Data -{ - - public class Blog : Google.Apis.Requests.IDirectResponseSchema - { - /// The description of this blog. This is displayed underneath the title. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// The identifier for this resource. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - /// The kind of this entry. Always blogger#blog - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The locale this Blog is set to. - [Newtonsoft.Json.JsonPropertyAttribute("locale")] - public virtual Blog.LocaleData Locale { get; set; } - - /// The name of this blog. This is displayed as the title. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The container of pages in this blog. - [Newtonsoft.Json.JsonPropertyAttribute("pages")] - public virtual Blog.PagesData Pages { get; set; } - - /// The container of posts in this blog. - [Newtonsoft.Json.JsonPropertyAttribute("posts")] - public virtual Blog.PostsData Posts { get; set; } - - /// RFC 3339 date-time when this blog was published. - [Newtonsoft.Json.JsonPropertyAttribute("published")] - public virtual string PublishedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Published - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(PublishedRaw); - } - set - { - PublishedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The API REST URL to fetch this resource from. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// RFC 3339 date-time when this blog was last updated. - [Newtonsoft.Json.JsonPropertyAttribute("updated")] - public virtual string UpdatedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Updated - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(UpdatedRaw); - } - set - { - UpdatedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The URL where this blog is published. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - - - /// The locale this Blog is set to. - public class LocaleData - { - /// The country this blog's locale is set to. - [Newtonsoft.Json.JsonPropertyAttribute("country")] - public virtual string Country { get; set; } - - /// The language this blog is authored in. - [Newtonsoft.Json.JsonPropertyAttribute("language")] - public virtual string Language { get; set; } - - /// The language variant this blog is authored in. - [Newtonsoft.Json.JsonPropertyAttribute("variant")] - public virtual string Variant { get; set; } - - } - - /// The container of pages in this blog. - public class PagesData - { - /// The URL of the container for pages in this blog. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// The count of pages in this blog. - [Newtonsoft.Json.JsonPropertyAttribute("totalItems")] - public virtual System.Nullable TotalItems { get; set; } - - } - - /// The container of posts in this blog. - public class PostsData - { - /// The URL of the container for posts in this blog. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// The count of posts in this blog. - [Newtonsoft.Json.JsonPropertyAttribute("totalItems")] - public virtual System.Nullable TotalItems { get; set; } - - } - } - - public class BlogList : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of Blogs this user has Authorship or Admin rights over. - [Newtonsoft.Json.JsonPropertyAttribute("items")] - public virtual System.Collections.Generic.IList Items { get; set; } - - /// The kind of this entity. Always blogger#blogList - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class Comment : Google.Apis.Requests.IDirectResponseSchema - { - /// The author of this Comment. - [Newtonsoft.Json.JsonPropertyAttribute("author")] - public virtual Comment.AuthorData Author { get; set; } - - /// Data about the blog containing this comment. - [Newtonsoft.Json.JsonPropertyAttribute("blog")] - public virtual Comment.BlogData Blog { get; set; } - - /// The actual content of the comment. May include HTML markup. - [Newtonsoft.Json.JsonPropertyAttribute("content")] - public virtual string Content { get; set; } - - /// The identifier for this resource. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - /// Data about the comment this is in reply to. - [Newtonsoft.Json.JsonPropertyAttribute("inReplyTo")] - public virtual Comment.InReplyToData InReplyTo { get; set; } - - /// The kind of this entry. Always blogger#comment - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// Data about the post containing this comment. - [Newtonsoft.Json.JsonPropertyAttribute("post")] - public virtual Comment.PostData Post { get; set; } - - /// RFC 3339 date-time when this comment was published. - [Newtonsoft.Json.JsonPropertyAttribute("published")] - public virtual string PublishedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Published - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(PublishedRaw); - } - set - { - PublishedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The API REST URL to fetch this resource from. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// RFC 3339 date-time when this comment was last updated. - [Newtonsoft.Json.JsonPropertyAttribute("updated")] - public virtual string UpdatedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Updated - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(UpdatedRaw); - } - set - { - UpdatedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - - - /// The author of this Comment. - public class AuthorData - { - /// The display name. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The identifier of the Comment creator. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual string Id { get; set; } - - /// The comment creator's avatar. - [Newtonsoft.Json.JsonPropertyAttribute("image")] - public virtual AuthorData.ImageData Image { get; set; } - - /// The URL of the Comment creator's Profile page. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - - - /// The comment creator's avatar. - public class ImageData - { - /// The comment creator's avatar URL. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - } - } - - /// Data about the blog containing this comment. - public class BlogData - { - /// The identifier of the blog containing this comment. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - } - - /// Data about the comment this is in reply to. - public class InReplyToData - { - /// The identified of the parent of this comment. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - } - - /// Data about the post containing this comment. - public class PostData - { - /// The identifier of the post containing this comment. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - } - } - - public class CommentList : Google.Apis.Requests.IDirectResponseSchema - { - /// The List of Comments for a Post. - [Newtonsoft.Json.JsonPropertyAttribute("items")] - public virtual System.Collections.Generic.IList Items { get; set; } - - /// The kind of this entry. Always blogger#commentList - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// Pagination token to fetch the next page, if one exists. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// Pagination token to fetch the previous page, if one exists. - [Newtonsoft.Json.JsonPropertyAttribute("prevPageToken")] - public virtual string PrevPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class Page : Google.Apis.Requests.IDirectResponseSchema - { - /// The author of this Page. - [Newtonsoft.Json.JsonPropertyAttribute("author")] - public virtual Page.AuthorData Author { get; set; } - - /// Data about the blog containing this Page. - [Newtonsoft.Json.JsonPropertyAttribute("blog")] - public virtual Page.BlogData Blog { get; set; } - - /// The body content of this Page, in HTML. - [Newtonsoft.Json.JsonPropertyAttribute("content")] - public virtual string Content { get; set; } - - /// The identifier for this resource. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - /// The kind of this entity. Always blogger#page - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// RFC 3339 date-time when this Page was published. - [Newtonsoft.Json.JsonPropertyAttribute("published")] - public virtual string PublishedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Published - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(PublishedRaw); - } - set - { - PublishedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The API REST URL to fetch this resource from. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// The title of this entity. This is the name displayed in the Admin user interface. - [Newtonsoft.Json.JsonPropertyAttribute("title")] - public virtual string Title { get; set; } - - /// RFC 3339 date-time when this Page was last updated. - [Newtonsoft.Json.JsonPropertyAttribute("updated")] - public virtual string UpdatedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Updated - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(UpdatedRaw); - } - set - { - UpdatedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The URL that this Page is displayed at. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - - - /// The author of this Page. - public class AuthorData - { - /// The display name. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The identifier of the Page creator. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual string Id { get; set; } - - /// The page author's avatar. - [Newtonsoft.Json.JsonPropertyAttribute("image")] - public virtual AuthorData.ImageData Image { get; set; } - - /// The URL of the Page creator's Profile page. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - - - /// The page author's avatar. - public class ImageData - { - /// The page author's avatar URL. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - } - } - - /// Data about the blog containing this Page. - public class BlogData - { - /// The identifier of the blog containing this page. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - } - } - - public class PageList : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of Pages for a Blog. - [Newtonsoft.Json.JsonPropertyAttribute("items")] - public virtual System.Collections.Generic.IList Items { get; set; } - - /// The kind of this entity. Always blogger#pageList - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class Post : Google.Apis.Requests.IDirectResponseSchema - { - /// The author of this Post. - [Newtonsoft.Json.JsonPropertyAttribute("author")] - public virtual Post.AuthorData Author { get; set; } - - /// Data about the blog containing this Post. - [Newtonsoft.Json.JsonPropertyAttribute("blog")] - public virtual Post.BlogData Blog { get; set; } - - /// The content of the Post. May contain HTML markup. - [Newtonsoft.Json.JsonPropertyAttribute("content")] - public virtual string Content { get; set; } - - /// The identifier of this Post. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - /// The kind of this entity. Always blogger#post - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The list of labels this Post was tagged with. - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IList Labels { get; set; } - - /// RFC 3339 date-time when this Post was published. - [Newtonsoft.Json.JsonPropertyAttribute("published")] - public virtual string PublishedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Published - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(PublishedRaw); - } - set - { - PublishedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The container of comments on this Post. - [Newtonsoft.Json.JsonPropertyAttribute("replies")] - public virtual Post.RepliesData Replies { get; set; } - - /// The API REST URL to fetch this resource from. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// The title of the Post. - [Newtonsoft.Json.JsonPropertyAttribute("title")] - public virtual string Title { get; set; } - - /// RFC 3339 date-time when this Post was last updated. - [Newtonsoft.Json.JsonPropertyAttribute("updated")] - public virtual string UpdatedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Updated - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(UpdatedRaw); - } - set - { - UpdatedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The URL where this Post is displayed. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - - - /// The author of this Post. - public class AuthorData - { - /// The display name. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The identifier of the Post creator. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual string Id { get; set; } - - /// The Post author's avatar. - [Newtonsoft.Json.JsonPropertyAttribute("image")] - public virtual AuthorData.ImageData Image { get; set; } - - /// The URL of the Post creator's Profile page. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - - - /// The Post author's avatar. - public class ImageData - { - /// The Post author's avatar URL. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - } - } - - /// Data about the blog containing this Post. - public class BlogData - { - /// The identifier of the Blog that contains this Post. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual System.Nullable Id { get; set; } - - } - - /// The container of comments on this Post. - public class RepliesData - { - /// The URL of the comments on this post. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// The count of comments on this post. - [Newtonsoft.Json.JsonPropertyAttribute("totalItems")] - public virtual System.Nullable TotalItems { get; set; } - - } - } - - public class PostList : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of Posts for this Blog. - [Newtonsoft.Json.JsonPropertyAttribute("items")] - public virtual System.Collections.Generic.IList Items { get; set; } - - /// The kind of this entity. Always blogger#postList - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// Pagination token to fetch the next page, if one exists. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// Pagination token to fetch the previous page, if one exists. - [Newtonsoft.Json.JsonPropertyAttribute("prevPageToken")] - public virtual string PrevPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class User : Google.Apis.Requests.IDirectResponseSchema - { - /// Profile summary information. - [Newtonsoft.Json.JsonPropertyAttribute("about")] - public virtual string About { get; set; } - - /// The container of blogs for this user. - [Newtonsoft.Json.JsonPropertyAttribute("blogs")] - public virtual User.BlogsData Blogs { get; set; } - - /// The timestamp of when this profile was created, in seconds since epoch. - [Newtonsoft.Json.JsonPropertyAttribute("created")] - public virtual string CreatedRaw { get; set; } - - /// representation of . - [Newtonsoft.Json.JsonIgnore] - public virtual System.Nullable Created - { - get - { - return Google.Apis.Util.Utilities.GetDateTimeFromString(CreatedRaw); - } - set - { - CreatedRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); - } - } - - /// The display name. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The identifier for this User. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual string Id { get; set; } - - /// The kind of this entity. Always blogger#user - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// This user's locale - [Newtonsoft.Json.JsonPropertyAttribute("locale")] - public virtual User.LocaleData Locale { get; set; } - - /// The API REST URL to fetch this resource from. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - /// The user's profile page. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - - - /// The container of blogs for this user. - public class BlogsData - { - /// The URL of the Blogs for this user. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } - - } - - /// This user's locale - public class LocaleData - { - /// The user's country setting. - [Newtonsoft.Json.JsonPropertyAttribute("country")] - public virtual string Country { get; set; } - - /// The user's language setting. - [Newtonsoft.Json.JsonPropertyAttribute("language")] - public virtual string Language { get; set; } - - /// The user's language variant setting. - [Newtonsoft.Json.JsonPropertyAttribute("variant")] - public virtual string Variant { get; set; } - - } - } -} diff --git a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs index e8fb5997879..0710176f3bb 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs +++ b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs @@ -26,7 +26,7 @@ * API * Google Classroom API * API Versionv1 - * API Rev20200224 (1880) + * API Rev20200225 (1881) * API Docs * * https://developers.google.com/classroom/ diff --git a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj index f7dcb393839..bde0f60f8df 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj +++ b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Classroom.v1 Client Library - 1.44.0.1880 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs index a5fc50c8e51..32e04040326 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Asset API * API Versionv1 - * API Rev20200219 (1875) + * API Rev20200221 (1877) * API Docs * * https://cloud.google.com/asset-inventory/docs/quickstart @@ -774,7 +774,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^[^/]+/[^/]+/operations/[^/]+/.+$", + Pattern = @"^[^/]+/[^/]+/operations/[^/]+/.*$", }); } diff --git a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj index a5eff7e8017..f72ab76b6e0 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1 Client Library - 1.44.0.1875 + 1.44.0.1877 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs index 73d9fb49a3f..211f2d135c2 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs @@ -26,7 +26,7 @@ * API * Cloud Asset API * API Versionv1beta1 - * API Rev20200219 (1875) + * API Rev20200221 (1877) * API Docs * * https://cloud.google.com/asset-inventory/docs/quickstart @@ -439,7 +439,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^folders/[^/]+/operations/[^/]+/.+$", + Pattern = @"^folders/[^/]+/operations/[^/]+/.*$", }); } @@ -619,7 +619,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^organizations/[^/]+/operations/[^/]+/.+$", + Pattern = @"^organizations/[^/]+/operations/[^/]+/.*$", }); } @@ -937,7 +937,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/operations/[^/]+/.+$", + Pattern = @"^projects/[^/]+/operations/[^/]+/.*$", }); } diff --git a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj index 967ebc162ee..63cab6be547 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1beta1 Client Library - 1.44.0.1875 + 1.44.0.1877 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs index 496368e6d8a..18da33bc16a 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs +++ b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Composer API * API Versionv1 - * API Rev20200219 (1875) + * API Rev20200226 (1882) * API Docs * * https://cloud.google.com/composer/ diff --git a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj index 480c20effff..6baff81a23a 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj +++ b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudComposer.v1 Client Library - 1.44.0.1875 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs index fa01cae0fbb..ae4aa25d5c5 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs @@ -26,7 +26,7 @@ * API * Cloud Composer API * API Versionv1beta1 - * API Rev20200219 (1875) + * API Rev20200226 (1882) * API Docs * * https://cloud.google.com/composer/ diff --git a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj index 6d9b0b3c2de..0280612a95a 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudComposer.v1beta1 Client Library - 1.44.0.1875 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.cs b/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.cs index e1313cc2cab..9835a26cb5b 100644 --- a/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.cs +++ b/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.cs @@ -26,7 +26,7 @@ * API * Stackdriver Debugger API * API Versionv2 - * API Rev20200214 (1870) + * API Rev20200221 (1877) * API Docs * * https://cloud.google.com/debugger diff --git a/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.csproj b/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.csproj index 04c6326f131..26ad4081853 100644 --- a/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.csproj +++ b/Src/Generated/Google.Apis.CloudDebugger.v2/Google.Apis.CloudDebugger.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDebugger.v2 Client Library - 1.44.0.1870 + 1.44.0.1877 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs index 024e348f2d9..1e738644a96 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Functions API * API Versionv1 - * API Rev20200213 (1869) + * API Rev20200219 (1875) * API Docs * * https://cloud.google.com/functions diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj index 0f758735826..74b445e2c37 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFunctions.v1 Client Library - 1.44.0.1869 + 1.44.0.1875 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs index 6f6834fbb60..3193bae9fea 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs @@ -26,7 +26,7 @@ * API * Cloud Functions API * API Versionv1beta2 - * API Rev20200213 (1869) + * API Rev20200219 (1875) * API Docs * * https://cloud.google.com/functions diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.csproj index 776274d143a..5eb829bf670 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFunctions.v1beta2 Client Library - 1.44.0.1869 + 1.44.0.1875 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs index d0681a84b4d..512d9881a25 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs @@ -26,7 +26,7 @@ * API * Cloud Healthcare API * API Versionv1beta1 - * API Rev20200212 (1868) + * API Rev20200229 (1885) * API Docs * * https://cloud.google.com/healthcare diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj index 64e239722fe..2b2f8b5eb97 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudHealthcare.v1beta1 Client Library - 1.44.0.1868 + 1.44.0.1885 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs index b345ecb9de2..4b08fc8b721 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs +++ b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Identity API * API Versionv1 - * API Rev20200224 (1880) + * API Rev20200225 (1881) * API Docs * * https://cloud.google.com/identity/ diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj index cecfaf47bfb..dad0690264d 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj +++ b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIdentity.v1 Client Library - 1.44.0.1880 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs index 82d13ce9dda..00b69a42241 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs @@ -26,7 +26,7 @@ * API * Cloud Identity API * API Versionv1beta1 - * API Rev20200224 (1880) + * API Rev20200225 (1881) * API Docs * * https://cloud.google.com/identity/ diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj index 14677870de7..b3d49582a47 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIdentity.v1beta1 Client Library - 1.44.0.1880 + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.cs b/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.cs index c3d275792dd..7f56380c651 100644 --- a/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.cs +++ b/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.cs @@ -26,7 +26,7 @@ * API * Cloud IoT API * API Versionv1 - * API Rev20200212 (1868) + * API Rev20200220 (1876) * API Docs * * https://cloud.google.com/iot diff --git a/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.csproj b/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.csproj index 3ed34b4886f..dbeb265c317 100644 --- a/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.csproj +++ b/Src/Generated/Google.Apis.CloudIot.v1/Google.Apis.CloudIot.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIot.v1 Client Library - 1.44.0.1868 + 1.44.0.1876 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs index 6b713a29c32..303c45225d4 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Natural Language API * API Versionv1 - * API Rev20200222 (1878) + * API Rev20200229 (1885) * API Docs * * https://cloud.google.com/natural-language/ diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj index fec64508c74..2decde261fe 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudNaturalLanguage.v1 Client Library - 1.44.0.1878 + 1.44.0.1885 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs index 5c3687fb991..f30b2ce783b 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs @@ -26,7 +26,7 @@ * API * Cloud Natural Language API * API Versionv1beta1 - * API Rev20200222 (1878) + * API Rev20200229 (1885) * API Docs * * https://cloud.google.com/natural-language/ diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.csproj index efa05d0c7cd..5c976675535 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudNaturalLanguage.v1beta1 Client Library - 1.44.0.1878 + 1.44.0.1885 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs index 8d09e6613cb..e073108c021 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs @@ -26,7 +26,7 @@ * API * Cloud Natural Language API * API Versionv1beta2 - * API Rev20200222 (1878) + * API Rev20200229 (1885) * API Docs * * https://cloud.google.com/natural-language/ diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj index 683e3fa306d..ad57a548f26 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudNaturalLanguage.v1beta2 Client Library - 1.44.0.1878 + 1.44.0.1885 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs index 6ea494080fa..127e5849bb3 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs @@ -26,7 +26,7 @@ * API * Cloud OS Login API * API Versionv1alpha - * API Rev20200215 (1871) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/compute/docs/oslogin/ diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj index 0f3f3071d36..25c676fbd20 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1alpha Client Library - 1.44.0.1871 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs index 9cd0681489a..d15948af157 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs @@ -26,7 +26,7 @@ * API * Cloud OS Login API * API Versionv1beta - * API Rev20200224 (1880) + * API Rev20200215 (1871) * API Docs * * https://cloud.google.com/compute/docs/oslogin/ diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj index f9e7adc1785..e041bca6f86 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1beta Client Library - 1.44.0.1880 + 1.44.0.1871 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs index 0bb78a7e91e..0bf69f9add3 100644 --- a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs +++ b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs @@ -26,7 +26,7 @@ * API * Stackdriver Profiler API * API Versionv2 - * API Rev20200210 (1866) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/profiler/ diff --git a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj index 2df0230c00f..1d31defaff4 100644 --- a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj +++ b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudProfiler.v2 Client Library - 1.44.0.1866 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs index 53cc4512509..3aa87a8c5dc 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs +++ b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Run API * API Versionv1 - * API Rev20200219 (1875) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/run/ diff --git a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj index 158b56a7ecd..73b1443e811 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v1 Client Library - 1.44.0.1875 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.cs b/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.cs index 2df88480ef2..83c614a3097 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.cs +++ b/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.cs @@ -26,7 +26,7 @@ * API * Cloud Run API * API Versionv1alpha1 - * API Rev20200219 (1875) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/run/ diff --git a/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.csproj b/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.csproj index 5f1063c3657..e4d7f24701a 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v1alpha1/Google.Apis.CloudRun.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v1alpha1 Client Library - 1.44.0.1875 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.cs b/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.cs index 7cddc259231..4fa736d717c 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.cs @@ -26,7 +26,7 @@ * API * Cloud Run API * API Versionv1beta1 - * API Rev20200219 (1875) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/run/ diff --git a/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.csproj index 04cfaeb1681..754ecca7042 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v1beta1/Google.Apis.CloudRun.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v1beta1 Client Library - 1.44.0.1875 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs index 313ad714171..005df7df297 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Runtime Configuration API * API Versionv1 - * API Rev20200211 (1867) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/deployment-manager/runtime-configurator/ @@ -419,7 +419,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } @@ -483,7 +483,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj index 400e16cfdf7..8cb52b22049 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRuntimeConfig.v1 Client Library - 1.44.0.1867 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs index bfa13ea4443..c83f7e0ee4a 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs +++ b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs @@ -26,7 +26,7 @@ * API * Cloud Tasks API * API Versionv2 - * API Rev20200201 (1857) + * API Rev20200210 (1866) * API Docs * * https://cloud.google.com/tasks/ diff --git a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj index 91679b67797..12497e4c2f9 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj +++ b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTasks.v2 Client Library - 1.44.0.1857 + 1.44.0.1866 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs index 7cc6ecee29b..d0ea34dd24b 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Dataproc API * API Versionv1 - * API Rev20200213 (1869) + * API Rev20200220 (1876) * API Docs * * https://cloud.google.com/dataproc/ @@ -6601,6 +6601,10 @@ public class InstanceGroupConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("numInstances")] public virtual System.Nullable NumInstances { get; set; } + /// Optional. Specifies the preemptibility of the instance group. + [Newtonsoft.Json.JsonPropertyAttribute("preemptibility")] + public virtual string Preemptibility { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -6634,6 +6638,12 @@ public class InstantiateWorkflowTemplateRequest : Google.Apis.Requests.IDirectRe /// A Dataproc job resource. public class Job : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Indicates whether the job is completed. If the value is false, the job is still in + /// progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, + /// or cancelled. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + /// Output only. If present, the location of miscellaneous control files which may be used as part of /// job setup and handling. If not present, control files may be placed in the same location as /// driver_output_uri. diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj index 8a6f376c196..8da42701f76 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataproc.v1 Client Library - 1.44.0.1869 + 1.44.0.1876 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.cs b/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.cs index c78e220318a..db4692ba144 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.cs @@ -26,7 +26,7 @@ * API * Cloud Dataproc API * API Versionv1beta2 - * API Rev20200213 (1869) + * API Rev20200220 (1876) * API Docs * * https://cloud.google.com/dataproc/ @@ -6716,6 +6716,10 @@ public class InstanceGroupConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("numInstances")] public virtual System.Nullable NumInstances { get; set; } + /// Optional. Specifies the preemptibility of the instance group. + [Newtonsoft.Json.JsonPropertyAttribute("preemptibility")] + public virtual string Preemptibility { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -6753,6 +6757,12 @@ public class InstantiateWorkflowTemplateRequest : Google.Apis.Requests.IDirectRe /// A Dataproc job resource. public class Job : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Indicates whether the job is completed. If the value is false, the job is still in + /// progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, + /// or cancelled. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + /// Output only. If present, the location of miscellaneous control files which may be used as part of /// job setup and handling. If not present, control files may be placed in the same location as /// driver_output_uri. diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.csproj b/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.csproj index 4ed1fbf289e..88dd949e5b3 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1beta2/Google.Apis.Dataproc.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataproc.v1beta2 Client Library - 1.44.0.1869 + 1.44.0.1876 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs new file mode 100644 index 00000000000..e1c5bfcee31 --- /dev/null +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs @@ -0,0 +1,8178 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +// specific language governing permissions and limitations under the License. + +//------------------------------------------------------------------------------ +// +// This code was generated by google-apis-code-generator 1.5.1 +// C# generator version: 1.44.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +/** + * \brief + * Dialogflow API Version v2 + * + * \section ApiInfo API Version Information + * + *
API + * Dialogflow API + *
API Versionv2 + *
API Rev20200225 (1881) + *
API Docs + * + * https://cloud.google.com/dialogflow/ + *
Discovery Namedialogflow + *
+ * + * \section ForMoreInfo For More Information + * + * The complete API documentation for using Dialogflow API can be found at + * https://cloud.google.com/dialogflow/. + * + * For more information about the Google APIs Client Library for .NET, see + * + * https://developers.google.com/api-client-library/dotnet/get_started + */ + +namespace Google.Apis.Dialogflow.v2 +{ + /// The Dialogflow Service. + public class DialogflowService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v2"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = + Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public DialogflowService() : + this(new Google.Apis.Services.BaseClientService.Initializer()) {} + + /// Constructs a new service. + /// The service initializer. + public DialogflowService(Google.Apis.Services.BaseClientService.Initializer initializer) + : base(initializer) + { + projects = new ProjectsResource(this); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features + { + get { return new string[0]; } + } + + /// Gets the service name. + public override string Name + { + get { return "dialogflow"; } + } + + /// Gets the service base URI. + public override string BaseUri + { + #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45 + get { return BaseUriOverride ?? "https://dialogflow.googleapis.com/"; } + #else + get { return "https://dialogflow.googleapis.com/"; } + #endif + } + + /// Gets the service base path. + public override string BasePath + { + get { return ""; } + } + + #if !NET40 + /// Gets the batch base URI; null if unspecified. + public override string BatchUri + { + get { return "https://dialogflow.googleapis.com/batch"; } + } + + /// Gets the batch base path; null if unspecified. + public override string BatchPath + { + get { return "batch"; } + } + #endif + + /// Available OAuth 2.0 scopes for use with the Dialogflow API. + public class Scope + { + /// View and manage your data across Google Cloud Platform services + public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + /// View, manage and query your Dialogflow agents + public static string Dialogflow = "https://www.googleapis.com/auth/dialogflow"; + + } + + /// Available OAuth 2.0 scope constants for use with the Dialogflow API. + public static class ScopeConstants + { + /// View and manage your data across Google Cloud Platform services + public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + /// View, manage and query your Dialogflow agents + public const string Dialogflow = "https://www.googleapis.com/auth/dialogflow"; + + } + + + + private readonly ProjectsResource projects; + + /// Gets the Projects resource. + public virtual ProjectsResource Projects + { + get { return projects; } + } + } + + ///A base abstract class for Dialogflow requests. + public abstract class DialogflowBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + ///Constructs a new DialogflowBaseServiceRequest instance. + protected DialogflowBaseServiceRequest(Google.Apis.Services.IClientService service) + : base(service) + { + } + + /// V1 error format. + [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Xgafv { get; set; } + + /// V1 error format. + public enum XgafvEnum + { + /// v1 error format + [Google.Apis.Util.StringValueAttribute("1")] + Value1, + /// v2 error format + [Google.Apis.Util.StringValueAttribute("2")] + Value2, + } + + /// OAuth access token. + [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AccessToken { get; set; } + + /// Data format for response. + /// [default: json] + [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Alt { get; set; } + + /// Data format for response. + public enum AltEnum + { + /// Responses with Content-Type of application/json + [Google.Apis.Util.StringValueAttribute("json")] + Json, + /// Media download with context-dependent Content-Type + [Google.Apis.Util.StringValueAttribute("media")] + Media, + /// Responses with Content-Type of application/x-protobuf + [Google.Apis.Util.StringValueAttribute("proto")] + Proto, + } + + /// JSONP + [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Callback { get; set; } + + /// Selector specifying which fields to include in a partial response. + [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Fields { get; set; } + + /// API key. Your API key identifies your project and provides you with API access, quota, and reports. + /// Required unless you provide an OAuth 2.0 token. + [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Key { get; set; } + + /// OAuth 2.0 token for the current user. + [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OauthToken { get; set; } + + /// Returns response with indentations and line breaks. + /// [default: true] + [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PrettyPrint { get; set; } + + /// Available to use for quota purposes for server-side applications. Can be any arbitrary string + /// assigned to a user, but should not exceed 40 characters. + [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] + public virtual string QuotaUser { get; set; } + + /// Legacy upload protocol for media (e.g. "media", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadType { get; set; } + + /// Upload protocol for media (e.g. "raw", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadProtocol { get; set; } + + /// Initializes Dialogflow parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add( + "callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add( + "quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "projects" collection of methods. + public class ProjectsResource + { + private const string Resource = "projects"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProjectsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + agent = new AgentResource(service); + locations = new LocationsResource(service); + operations = new OperationsResource(service); + + } + + private readonly AgentResource agent; + + /// Gets the Agent resource. + public virtual AgentResource Agent + { + get { return agent; } + } + + /// The "agent" collection of methods. + public class AgentResource + { + private const string Resource = "agent"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public AgentResource(Google.Apis.Services.IClientService service) + { + this.service = service; + entityTypes = new EntityTypesResource(service); + intents = new IntentsResource(service); + sessions = new SessionsResource(service); + + } + + private readonly EntityTypesResource entityTypes; + + /// Gets the EntityTypes resource. + public virtual EntityTypesResource EntityTypes + { + get { return entityTypes; } + } + + /// The "entityTypes" collection of methods. + public class EntityTypesResource + { + private const string Resource = "entityTypes"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public EntityTypesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + entities = new EntitiesResource(service); + + } + + private readonly EntitiesResource entities; + + /// Gets the Entities resource. + public virtual EntitiesResource Entities + { + get { return entities; } + } + + /// The "entities" collection of methods. + public class EntitiesResource + { + private const string Resource = "entities"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public EntitiesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Creates multiple new entities in the specified entity type. + /// + /// Operation + /// The body of the request. + /// Required. The name of the entity type to create entities in. Format: + /// `projects//agent/entityTypes/`. + public virtual BatchCreateRequest BatchCreate(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchCreateEntitiesRequest body, string parent) + { + return new BatchCreateRequest(service, body, parent); + } + + /// Creates multiple new entities in the specified entity type. + /// + /// Operation + public class BatchCreateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchCreate request. + public BatchCreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchCreateEntitiesRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the entity type to create entities in. Format: + /// `projects//agent/entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchCreateEntitiesRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchCreate"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entities:batchCreate"; } + } + + /// Initializes BatchCreate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/entityTypes/[^/]+$", + }); + } + + } + + /// Deletes entities in the specified entity type. + /// + /// Operation + /// The body of the request. + /// Required. The name of the entity type to delete entries for. Format: + /// `projects//agent/entityTypes/`. + public virtual BatchDeleteRequest BatchDelete(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest body, string parent) + { + return new BatchDeleteRequest(service, body, parent); + } + + /// Deletes entities in the specified entity type. + /// + /// Operation + public class BatchDeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchDelete request. + public BatchDeleteRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the entity type to delete entries for. Format: + /// `projects//agent/entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchDelete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entities:batchDelete"; } + } + + /// Initializes BatchDelete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/entityTypes/[^/]+$", + }); + } + + } + + /// Updates or creates multiple entities in the specified entity type. This method does not + /// affect entities in the entity type that aren't explicitly specified in the request. + /// + /// Operation + /// The body of the request. + /// Required. The name of the entity type to update or create entities in. Format: + /// `projects//agent/entityTypes/`. + public virtual BatchUpdateRequest BatchUpdate(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest body, string parent) + { + return new BatchUpdateRequest(service, body, parent); + } + + /// Updates or creates multiple entities in the specified entity type. This method does not + /// affect entities in the entity type that aren't explicitly specified in the request. + /// + /// Operation + public class BatchUpdateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchUpdate request. + public BatchUpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the entity type to update or create entities in. Format: + /// `projects//agent/entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchUpdate"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entities:batchUpdate"; } + } + + /// Initializes BatchUpdate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/entityTypes/[^/]+$", + }); + } + + } + } + + /// Deletes entity types in the specified agent. + /// + /// Operation + /// The body of the request. + /// Required. The name of the agent to delete all entities types for. Format: + /// `projects//agent`. + public virtual BatchDeleteRequest BatchDelete(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest body, string parent) + { + return new BatchDeleteRequest(service, body, parent); + } + + /// Deletes entity types in the specified agent. + /// + /// Operation + public class BatchDeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchDelete request. + public BatchDeleteRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the agent to delete all entities types for. Format: + /// `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchDelete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entityTypes:batchDelete"; } + } + + /// Initializes BatchDelete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + } + + } + + /// Updates/Creates multiple entity types in the specified agent. + /// + /// Operation + /// The body of the request. + /// Required. The name of the agent to update or create entity types in. Format: + /// `projects//agent`. + public virtual BatchUpdateRequest BatchUpdate(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest body, string parent) + { + return new BatchUpdateRequest(service, body, parent); + } + + /// Updates/Creates multiple entity types in the specified agent. + /// + /// Operation + public class BatchUpdateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchUpdate request. + public BatchUpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the agent to update or create entity types in. Format: + /// `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchUpdate"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entityTypes:batchUpdate"; } + } + + /// Initializes BatchUpdate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + } + + } + + /// Creates an entity type in the specified agent. + /// The body of the request. + /// Required. The agent to create a entity type for. Format: `projects//agent`. + public virtual CreateRequest Create(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2EntityType body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates an entity type in the specified agent. + public class CreateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2EntityType body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The agent to create a entity type for. Format: `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The language of entity synonyms defined in `entity_type`. If not specified, + /// the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2EntityType Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entityTypes"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Deletes the specified entity type. + /// Required. The name of the entity type to delete. Format: + /// `projects//agent/entityTypes/`. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes the specified entity type. + public class DeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the entity type to delete. Format: + /// `projects//agent/entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/entityTypes/[^/]+$", + }); + } + + } + + /// Retrieves the specified entity type. + /// Required. The name of the entity type. Format: `projects//agent/entityTypes/`. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Retrieves the specified entity type. + public class GetRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the entity type. Format: + /// `projects//agent/entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The language to retrieve entity synonyms for. If not specified, the agent's + /// default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/entityTypes/[^/]+$", + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Returns the list of all entity types in the specified agent. + /// Required. The agent to list all entity types from. Format: `projects//agent`. + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Returns the list of all entity types in the specified agent. + public class ListRequest : DialogflowBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The agent to list all entity types from. Format: `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The language to list entity synonyms for. If not specified, the agent's + /// default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// Optional. The maximum number of items to return in a single page. By default 100 and at + /// most 1000. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Optional. The next_page_token value returned from a previous list request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entityTypes"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the specified entity type. + /// The body of the request. + /// The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and + /// EntityTypes.BatchUpdateEntityTypes methods. Format: `projects//agent/entityTypes/`. + public virtual PatchRequest Patch(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2EntityType body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the specified entity type. + public class PatchRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2EntityType body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and + /// EntityTypes.BatchUpdateEntityTypes methods. Format: `projects//agent/entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The language of entity synonyms defined in `entity_type`. If not specified, + /// the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// Optional. The mask to control which fields get updated. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2EntityType Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/entityTypes/[^/]+$", + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + private readonly IntentsResource intents; + + /// Gets the Intents resource. + public virtual IntentsResource Intents + { + get { return intents; } + } + + /// The "intents" collection of methods. + public class IntentsResource + { + private const string Resource = "intents"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public IntentsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Deletes intents in the specified agent. + /// + /// Operation + /// The body of the request. + /// Required. The name of the agent to delete all entities types for. Format: + /// `projects//agent`. + public virtual BatchDeleteRequest BatchDelete(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteIntentsRequest body, string parent) + { + return new BatchDeleteRequest(service, body, parent); + } + + /// Deletes intents in the specified agent. + /// + /// Operation + public class BatchDeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchDelete request. + public BatchDeleteRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteIntentsRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the agent to delete all entities types for. Format: + /// `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchDeleteIntentsRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchDelete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/intents:batchDelete"; } + } + + /// Initializes BatchDelete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + } + + } + + /// Updates/Creates multiple intents in the specified agent. + /// + /// Operation + /// The body of the request. + /// Required. The name of the agent to update or create intents in. Format: + /// `projects//agent`. + public virtual BatchUpdateRequest BatchUpdate(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateIntentsRequest body, string parent) + { + return new BatchUpdateRequest(service, body, parent); + } + + /// Updates/Creates multiple intents in the specified agent. + /// + /// Operation + public class BatchUpdateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new BatchUpdate request. + public BatchUpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateIntentsRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The name of the agent to update or create intents in. Format: + /// `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2BatchUpdateIntentsRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "batchUpdate"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/intents:batchUpdate"; } + } + + /// Initializes BatchUpdate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + } + + } + + /// Creates an intent in the specified agent. + /// The body of the request. + /// Required. The agent to create a intent for. Format: `projects//agent`. + public virtual CreateRequest Create(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates an intent in the specified agent. + public class CreateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The agent to create a intent for. Format: `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The resource view to apply to the returned intent. + [Google.Apis.Util.RequestParameterAttribute("intentView", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IntentView { get; set; } + + /// Optional. The resource view to apply to the returned intent. + public enum IntentViewEnum + { + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_UNSPECIFIED")] + INTENTVIEWUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_FULL")] + INTENTVIEWFULL, + } + + /// Optional. The language of training phrases, parameters and rich messages defined in + /// `intent`. If not specified, the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/intents"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + RequestParameters.Add( + "intentView", new Google.Apis.Discovery.Parameter + { + Name = "intentView", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Deletes the specified intent and its direct or indirect followup intents. + /// Required. The name of the intent to delete. If this intent has direct or indirect followup + /// intents, we also delete them. Format: `projects//agent/intents/`. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes the specified intent and its direct or indirect followup intents. + public class DeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the intent to delete. If this intent has direct or indirect + /// followup intents, we also delete them. Format: `projects//agent/intents/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/intents/[^/]+$", + }); + } + + } + + /// Retrieves the specified intent. + /// Required. The name of the intent. Format: `projects//agent/intents/`. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Retrieves the specified intent. + public class GetRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the intent. Format: `projects//agent/intents/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The resource view to apply to the returned intent. + [Google.Apis.Util.RequestParameterAttribute("intentView", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IntentView { get; set; } + + /// Optional. The resource view to apply to the returned intent. + public enum IntentViewEnum + { + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_UNSPECIFIED")] + INTENTVIEWUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_FULL")] + INTENTVIEWFULL, + } + + /// Optional. The language to retrieve training phrases, parameters and rich messages for. + /// If not specified, the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/intents/[^/]+$", + }); + RequestParameters.Add( + "intentView", new Google.Apis.Discovery.Parameter + { + Name = "intentView", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Returns the list of all intents in the specified agent. + /// Required. The agent to list all intents from. Format: `projects//agent`. + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Returns the list of all intents in the specified agent. + public class ListRequest : DialogflowBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The agent to list all intents from. Format: `projects//agent`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The resource view to apply to the returned intent. + [Google.Apis.Util.RequestParameterAttribute("intentView", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IntentView { get; set; } + + /// Optional. The resource view to apply to the returned intent. + public enum IntentViewEnum + { + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_UNSPECIFIED")] + INTENTVIEWUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_FULL")] + INTENTVIEWFULL, + } + + /// Optional. The language to list training phrases, parameters and rich messages for. If + /// not specified, the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// Optional. The maximum number of items to return in a single page. By default 100 and at + /// most 1000. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Optional. The next_page_token value returned from a previous list request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/intents"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent$", + }); + RequestParameters.Add( + "intentView", new Google.Apis.Discovery.Parameter + { + Name = "intentView", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the specified intent. + /// The body of the request. + /// The unique identifier of this intent. Required for Intents.UpdateIntent and + /// Intents.BatchUpdateIntents methods. Format: `projects//agent/intents/`. + public virtual PatchRequest Patch(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the specified intent. + public class PatchRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The unique identifier of this intent. Required for Intents.UpdateIntent and + /// Intents.BatchUpdateIntents methods. Format: `projects//agent/intents/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The resource view to apply to the returned intent. + [Google.Apis.Util.RequestParameterAttribute("intentView", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IntentView { get; set; } + + /// Optional. The resource view to apply to the returned intent. + public enum IntentViewEnum + { + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_UNSPECIFIED")] + INTENTVIEWUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("INTENT_VIEW_FULL")] + INTENTVIEWFULL, + } + + /// Optional. The language of training phrases, parameters and rich messages defined in + /// `intent`. If not specified, the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// Optional. The mask to control which fields get updated. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/intents/[^/]+$", + }); + RequestParameters.Add( + "intentView", new Google.Apis.Discovery.Parameter + { + Name = "intentView", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + private readonly SessionsResource sessions; + + /// Gets the Sessions resource. + public virtual SessionsResource Sessions + { + get { return sessions; } + } + + /// The "sessions" collection of methods. + public class SessionsResource + { + private const string Resource = "sessions"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public SessionsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + contexts = new ContextsResource(service); + entityTypes = new EntityTypesResource(service); + + } + + private readonly ContextsResource contexts; + + /// Gets the Contexts resource. + public virtual ContextsResource Contexts + { + get { return contexts; } + } + + /// The "contexts" collection of methods. + public class ContextsResource + { + private const string Resource = "contexts"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ContextsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Creates a context. + /// + /// If the specified context already exists, overrides the context. + /// The body of the request. + /// Required. The session to create a context for. Format: + /// `projects//agent/sessions/`. + public virtual CreateRequest Create(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Context body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a context. + /// + /// If the specified context already exists, overrides the context. + public class CreateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Context body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The session to create a context for. Format: + /// `projects//agent/sessions/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Context Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/contexts"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+$", + }); + } + + } + + /// Deletes the specified context. + /// Required. The name of the context to delete. Format: + /// `projects//agent/sessions//contexts/`. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes the specified context. + public class DeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the context to delete. Format: + /// `projects//agent/sessions//contexts/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", + }); + } + + } + + /// Retrieves the specified context. + /// Required. The name of the context. Format: `projects//agent/sessions//contexts/`. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Retrieves the specified context. + public class GetRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the context. Format: + /// `projects//agent/sessions//contexts/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", + }); + } + + } + + /// Returns the list of all contexts in the specified session. + /// Required. The session to list all contexts from. Format: + /// `projects//agent/sessions/`. + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Returns the list of all contexts in the specified session. + public class ListRequest : DialogflowBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The session to list all contexts from. Format: + /// `projects//agent/sessions/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The maximum number of items to return in a single page. By default 100 + /// and at most 1000. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Optional. The next_page_token value returned from a previous list + /// request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/contexts"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+$", + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the specified context. + /// The body of the request. + /// Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`. + /// + /// The `Context ID` is always converted to lowercase, may only contain characters in [a-zA-Z0-9_-%] and may be at most + /// 250 bytes long. + /// + /// The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create + /// contexts with these names: + /// + /// * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size` + public virtual PatchRequest Patch(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Context body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the specified context. + public class PatchRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Context body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The unique identifier of the context. Format: + /// `projects//agent/sessions//contexts/`. + /// + /// The `Context ID` is always converted to lowercase, may only contain characters in + /// [a-zA-Z0-9_-%] and may be at most 250 bytes long. + /// + /// The following context names are reserved for internal use by Dialogflow. You should not use + /// these contexts or create contexts with these names: + /// + /// * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The mask to control which fields get updated. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Context Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + private readonly EntityTypesResource entityTypes; + + /// Gets the EntityTypes resource. + public virtual EntityTypesResource EntityTypes + { + get { return entityTypes; } + } + + /// The "entityTypes" collection of methods. + public class EntityTypesResource + { + private const string Resource = "entityTypes"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public EntityTypesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Creates a session entity type. + /// + /// If the specified session entity type already exists, overrides the session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + /// The body of the request. + /// Required. The session to create a session entity type for. Format: + /// `projects//agent/sessions/`. + public virtual CreateRequest Create(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SessionEntityType body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a session entity type. + /// + /// If the specified session entity type already exists, overrides the session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + public class CreateRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SessionEntityType body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The session to create a session entity type for. Format: + /// `projects//agent/sessions/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SessionEntityType Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entityTypes"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+$", + }); + } + + } + + /// Deletes the specified session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + /// Required. The name of the entity type to delete. Format: + /// `projects//agent/sessions//entityTypes/`. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes the specified session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + public class DeleteRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the entity type to delete. Format: + /// `projects//agent/sessions//entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", + }); + } + + } + + /// Retrieves the specified session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + /// Required. The name of the session entity type. Format: + /// `projects//agent/sessions//entityTypes/`. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Retrieves the specified session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + public class GetRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the session entity type. Format: + /// `projects//agent/sessions//entityTypes/`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", + }); + } + + } + + /// Returns the list of all session entity types in the specified session. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + /// Required. The session to list all session entity types from. Format: + /// `projects//agent/sessions/`. + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Returns the list of all session entity types in the specified session. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + public class ListRequest : DialogflowBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The session to list all session entity types from. Format: + /// `projects//agent/sessions/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The maximum number of items to return in a single page. By default 100 + /// and at most 1000. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Optional. The next_page_token value returned from a previous list + /// request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/entityTypes"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+$", + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the specified session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + /// The body of the request. + /// Required. The unique identifier of this session entity type. Format: + /// `projects//agent/sessions//entityTypes/`. + /// + /// `` must be the display name of an existing entity type in the same agent that will be overridden or + /// supplemented. + public virtual PatchRequest Patch(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SessionEntityType body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the specified session entity type. + /// + /// This method doesn't work with Google Assistant integration. Contact Dialogflow support if you + /// need to use session entities with Google Assistant integration. + public class PatchRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SessionEntityType body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The unique identifier of this session entity type. Format: + /// `projects//agent/sessions//entityTypes/`. + /// + /// `` must be the display name of an existing entity type in the same agent that will be + /// overridden or supplemented. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The mask to control which fields get updated. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SessionEntityType Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + + /// Deletes all active contexts in the specified session. + /// Required. The name of the session to delete all contexts from. Format: + /// `projects//agent/sessions/`. + public virtual DeleteContextsRequest DeleteContexts(string parent) + { + return new DeleteContextsRequest(service, parent); + } + + /// Deletes all active contexts in the specified session. + public class DeleteContextsRequest : DialogflowBaseServiceRequest + { + /// Constructs a new DeleteContexts request. + public DeleteContextsRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The name of the session to delete all contexts from. Format: + /// `projects//agent/sessions/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "deleteContexts"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/contexts"; } + } + + /// Initializes DeleteContexts parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+$", + }); + } + + } + + /// Processes a natural language query and returns structured, actionable data as a result. + /// This method is not idempotent, because it may cause contexts and session entity types to be updated, + /// which in turn might affect results of future queries. + /// The body of the request. + /// Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`. + /// It's up to the API caller to choose an appropriate session ID. It can be a random number or some type of user + /// identifier (preferably hashed). The length of the session ID must not exceed 36 bytes. + public virtual DetectIntentRequest DetectIntent(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2DetectIntentRequest body, string session) + { + return new DetectIntentRequest(service, body, session); + } + + /// Processes a natural language query and returns structured, actionable data as a result. + /// This method is not idempotent, because it may cause contexts and session entity types to be updated, + /// which in turn might affect results of future queries. + public class DetectIntentRequest : DialogflowBaseServiceRequest + { + /// Constructs a new DetectIntent request. + public DetectIntentRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2DetectIntentRequest body, string session) + : base(service) + { + Session = session; + Body = body; + InitParameters(); + } + + + /// Required. The name of the session this query is sent to. Format: + /// `projects//agent/sessions/`. It's up to the API caller to choose an appropriate session ID. It + /// can be a random number or some type of user identifier (preferably hashed). The length of the + /// session ID must not exceed 36 bytes. + [Google.Apis.Util.RequestParameterAttribute("session", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Session { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2DetectIntentRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "detectIntent"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+session}:detectIntent"; } + } + + /// Initializes DetectIntent parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "session", new Google.Apis.Discovery.Parameter + { + Name = "session", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/sessions/[^/]+$", + }); + } + + } + } + + /// Exports the specified agent to a ZIP file. + /// + /// Operation + /// The body of the request. + /// Required. The project that the agent to export is associated with. Format: + /// `projects/`. + public virtual ExportRequest Export(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2ExportAgentRequest body, string parent) + { + return new ExportRequest(service, body, parent); + } + + /// Exports the specified agent to a ZIP file. + /// + /// Operation + public class ExportRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Export request. + public ExportRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2ExportAgentRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The project that the agent to export is associated with. Format: + /// `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2ExportAgentRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "export"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent:export"; } + } + + /// Initializes Export parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + } + + } + + /// Retrieves the fulfillment. + /// Required. The name of the fulfillment. Format: `projects//agent/fulfillment`. + public virtual GetFulfillmentRequest GetFulfillment(string name) + { + return new GetFulfillmentRequest(service, name); + } + + /// Retrieves the fulfillment. + public class GetFulfillmentRequest : DialogflowBaseServiceRequest + { + /// Constructs a new GetFulfillment request. + public GetFulfillmentRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The name of the fulfillment. Format: `projects//agent/fulfillment`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "getFulfillment"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes GetFulfillment parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/fulfillment$", + }); + } + + } + + /// Gets agent validation result. Agent validation is performed during training time and is updated + /// automatically when training is completed. + /// Required. The project that the agent is associated with. Format: `projects/`. + public virtual GetValidationResultRequest GetValidationResult(string parent) + { + return new GetValidationResultRequest(service, parent); + } + + /// Gets agent validation result. Agent validation is performed during training time and is updated + /// automatically when training is completed. + public class GetValidationResultRequest : DialogflowBaseServiceRequest + { + /// Constructs a new GetValidationResult request. + public GetValidationResultRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The project that the agent is associated with. Format: `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The language for which you want a validation result. If not specified, the + /// agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + /// languages must be enabled in the agent before they can be used. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "getValidationResult"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent/validationResult"; } + } + + /// Initializes GetValidationResult parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Imports the specified agent from a ZIP file. + /// + /// Uploads new intents and entity types without deleting the existing ones. Intents and entity types with + /// the same name are replaced with the new versions from ImportAgentRequest. + /// + /// Operation + /// The body of the request. + /// Required. The project that the agent to import is associated with. Format: + /// `projects/`. + public virtual ImportRequest Import(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2ImportAgentRequest body, string parent) + { + return new ImportRequest(service, body, parent); + } + + /// Imports the specified agent from a ZIP file. + /// + /// Uploads new intents and entity types without deleting the existing ones. Intents and entity types with + /// the same name are replaced with the new versions from ImportAgentRequest. + /// + /// Operation + public class ImportRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Import request. + public ImportRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2ImportAgentRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The project that the agent to import is associated with. Format: + /// `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2ImportAgentRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "import"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent:import"; } + } + + /// Initializes Import parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + } + + } + + /// Restores the specified agent from a ZIP file. + /// + /// Replaces the current agent version with a new one. All the intents and entity types in the older version + /// are deleted. + /// + /// Operation + /// The body of the request. + /// Required. The project that the agent to restore is associated with. Format: + /// `projects/`. + public virtual RestoreRequest Restore(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2RestoreAgentRequest body, string parent) + { + return new RestoreRequest(service, body, parent); + } + + /// Restores the specified agent from a ZIP file. + /// + /// Replaces the current agent version with a new one. All the intents and entity types in the older version + /// are deleted. + /// + /// Operation + public class RestoreRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Restore request. + public RestoreRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2RestoreAgentRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The project that the agent to restore is associated with. Format: + /// `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2RestoreAgentRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "restore"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent:restore"; } + } + + /// Initializes Restore parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + } + + } + + /// Returns the list of agents. + /// + /// Since there is at most one conversational agent per project, this method is useful primarily for listing + /// all agents across projects the caller has access to. One can achieve that with a wildcard project + /// collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns + /// #list_sub-collections). + /// Required. The project to list agents from. Format: `projects/`. + public virtual SearchRequest Search(string parent) + { + return new SearchRequest(service, parent); + } + + /// Returns the list of agents. + /// + /// Since there is at most one conversational agent per project, this method is useful primarily for listing + /// all agents across projects the caller has access to. One can achieve that with a wildcard project + /// collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns + /// #list_sub-collections). + public class SearchRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Search request. + public SearchRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The project to list agents from. Format: `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The maximum number of items to return in a single page. By default 100 and at + /// most 1000. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The next_page_token value returned from a previous list request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "search"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent:search"; } + } + + /// Initializes Search parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Trains the specified agent. + /// + /// Operation + /// The body of the request. + /// Required. The project that the agent to train is associated with. Format: + /// `projects/`. + public virtual TrainRequest Train(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2TrainAgentRequest body, string parent) + { + return new TrainRequest(service, body, parent); + } + + /// Trains the specified agent. + /// + /// Operation + public class TrainRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Train request. + public TrainRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2TrainAgentRequest body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The project that the agent to train is associated with. Format: + /// `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2TrainAgentRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "train"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent:train"; } + } + + /// Initializes Train parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + } + + } + + /// Updates the fulfillment. + /// The body of the request. + /// Required. The unique identifier of the fulfillment. Format: + /// `projects//agent/fulfillment`. + public virtual UpdateFulfillmentRequest UpdateFulfillment(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Fulfillment body, string name) + { + return new UpdateFulfillmentRequest(service, body, name); + } + + /// Updates the fulfillment. + public class UpdateFulfillmentRequest : DialogflowBaseServiceRequest + { + /// Constructs a new UpdateFulfillment request. + public UpdateFulfillmentRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Fulfillment body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The unique identifier of the fulfillment. Format: + /// `projects//agent/fulfillment`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Required. The mask to control which fields get updated. If the mask is not present, all + /// fields will be updated. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Fulfillment Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "updateFulfillment"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes UpdateFulfillment parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/agent/fulfillment$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + private readonly LocationsResource locations; + + /// Gets the Locations resource. + public virtual LocationsResource Locations + { + get { return locations; } + } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + operations = new OperationsResource(service); + + } + + private readonly OperationsResource operations; + + /// Gets the Operations resource. + public virtual OperationsResource Operations + { + get { return operations; } + } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support this + /// method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + /// other methods to check whether the cancellation succeeded or whether the operation completed despite + /// cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an + /// operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(string name) + { + return new CancelRequest(service, name); + } + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support this + /// method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + /// other methods to check whether the cancellation succeeded or whether the operation completed despite + /// cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an + /// operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + public class CancelRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "cancel"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}:cancel"; } + } + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll the + /// operation result at intervals as recommended by the API service. + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll the + /// operation result at intervals as recommended by the API service. + public class GetRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource name + /// schemes, such as `users/operations`. To override the binding, API services can add a binding such as + /// `"/v1/{name=users}/operations"` to their service configuration. For backwards compatibility, the + /// default name includes the operations collection id, however overriding users must ensure the name + /// binding is the parent resource, without the operations collection id. + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource name + /// schemes, such as `users/operations`. To override the binding, API services can add a binding such as + /// `"/v1/{name=users}/operations"` to their service configuration. For backwards compatibility, the + /// default name includes the operations collection id, however overriding users must ensure the name + /// binding is the parent resource, without the operations collection id. + public class ListRequest : DialogflowBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}/operations"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } + private readonly OperationsResource operations; + + /// Gets the Operations resource. + public virtual OperationsResource Operations + { + get { return operations; } + } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort + /// to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it + /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to + /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On + /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(string name) + { + return new CancelRequest(service, name); + } + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort + /// to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it + /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to + /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On + /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + public class CancelRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "cancel"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}:cancel"; } + } + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/operations/[^/]+$", + }); + } + + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll the + /// operation result at intervals as recommended by the API service. + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll the + /// operation result at intervals as recommended by the API service. + public class GetRequest : DialogflowBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/operations/[^/]+$", + }); + } + + } + + /// Lists operations that match the specified filter in the request. If the server doesn't support + /// this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource name + /// schemes, such as `users/operations`. To override the binding, API services can add a binding such as + /// `"/v1/{name=users}/operations"` to their service configuration. For backwards compatibility, the default + /// name includes the operations collection id, however overriding users must ensure the name binding is the + /// parent resource, without the operations collection id. + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists operations that match the specified filter in the request. If the server doesn't support + /// this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource name + /// schemes, such as `users/operations`. To override the binding, API services can add a binding such as + /// `"/v1/{name=users}/operations"` to their service configuration. For backwards compatibility, the default + /// name includes the operations collection id, however overriding users must ensure the name binding is the + /// parent resource, without the operations collection id. + public class ListRequest : DialogflowBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+name}/operations"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + + /// Deletes the specified agent. + /// Required. The project that the agent to delete is associated with. Format: + /// `projects/`. + public virtual DeleteAgentRequest DeleteAgent(string parent) + { + return new DeleteAgentRequest(service, parent); + } + + /// Deletes the specified agent. + public class DeleteAgentRequest : DialogflowBaseServiceRequest + { + /// Constructs a new DeleteAgent request. + public DeleteAgentRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The project that the agent to delete is associated with. Format: + /// `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "deleteAgent"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent"; } + } + + /// Initializes DeleteAgent parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + } + + } + + /// Retrieves the specified agent. + /// Required. The project that the agent to fetch is associated with. Format: + /// `projects/`. + public virtual GetAgentRequest GetAgent(string parent) + { + return new GetAgentRequest(service, parent); + } + + /// Retrieves the specified agent. + public class GetAgentRequest : DialogflowBaseServiceRequest + { + /// Constructs a new GetAgent request. + public GetAgentRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The project that the agent to fetch is associated with. Format: + /// `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "getAgent"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent"; } + } + + /// Initializes GetAgent parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + } + + } + + /// Creates/updates the specified agent. + /// The body of the request. + /// Required. The project of this agent. Format: `projects/`. + public virtual SetAgentRequest SetAgent(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent body, string parent) + { + return new SetAgentRequest(service, body, parent); + } + + /// Creates/updates the specified agent. + public class SetAgentRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SetAgent request. + public SetAgentRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The project of this agent. Format: `projects/`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. The mask to control which fields get updated. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "setAgent"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v2/{+parent}/agent"; } + } + + /// Initializes SetAgent parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } +} + +namespace Google.Apis.Dialogflow.v2.Data +{ + + /// Represents a conversational agent. + public class GoogleCloudDialogflowV2Agent : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients + /// are free to query different service endpoints for different API versions. However, bots connectors and + /// webhook calls will follow the specified API version. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in + /// the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) + /// integration. + [Newtonsoft.Json.JsonPropertyAttribute("avatarUri")] + public virtual string AvatarUri { get; set; } + + /// Optional. To filter out false positive results and still get variety in matched natural language + /// inputs for your agent, you can tune the machine learning classification threshold. If the returned score + /// value is less than the threshold value, then a fallback intent will be triggered or, if there are no + /// fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely + /// uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. + [Newtonsoft.Json.JsonPropertyAttribute("classificationThreshold")] + public virtual System.Nullable ClassificationThreshold { get; set; } + + /// Required. The default language of the agent as a language tag. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. This field cannot be set by the `Update` method. + [Newtonsoft.Json.JsonPropertyAttribute("defaultLanguageCode")] + public virtual string DefaultLanguageCode { get; set; } + + /// Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the + /// request is rejected. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Required. The name of this agent. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. Determines whether this agent should log conversation queries. + [Newtonsoft.Json.JsonPropertyAttribute("enableLogging")] + public virtual System.Nullable EnableLogging { get; set; } + + /// Optional. Determines how intents are detected from user queries. + [Newtonsoft.Json.JsonPropertyAttribute("matchMode")] + public virtual string MatchMode { get; set; } + + /// Required. The project of this agent. Format: `projects/`. + [Newtonsoft.Json.JsonPropertyAttribute("parent")] + public virtual string Parent { get; set; } + + /// Optional. The list of all languages supported by this agent (except for the + /// `default_language_code`). + [Newtonsoft.Json.JsonPropertyAttribute("supportedLanguageCodes")] + public virtual System.Collections.Generic.IList SupportedLanguageCodes { get; set; } + + /// Optional. The agent tier. If not specified, TIER_STANDARD is assumed. + [Newtonsoft.Json.JsonPropertyAttribute("tier")] + public virtual string Tier { get; set; } + + /// Required. The time zone of this agent from the [time zone database](https://www.iana.org/time- + /// zones), e.g., America/New_York, Europe/Paris. + [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] + public virtual string TimeZone { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a + /// part of the message between two entities or message start/end. + public class GoogleCloudDialogflowV2AnnotatedMessagePart : Google.Apis.Requests.IDirectResponseSchema + { + /// The [Dialogflow system entity type](https://cloud.google.com/dialogflow/docs/reference/system- + /// entities) of this message part. If this is empty, Dialogflow could not annotate the phrase part with a + /// system entity. + [Newtonsoft.Json.JsonPropertyAttribute("entityType")] + public virtual string EntityType { get; set; } + + /// The [Dialogflow system entity formatted value ](https://cloud.google.com/dialogflow/docs/reference + /// /system-entities) of this message part. For example for a system entity of type `@sys.unit-currency`, this + /// may contain: + /// + /// { "amount": 5, "currency": "USD" } + [Newtonsoft.Json.JsonPropertyAttribute("formattedValue")] + public virtual object FormattedValue { get; set; } + + /// A part of a message possibly annotated with an entity. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for EntityTypes.BatchCreateEntities. + public class GoogleCloudDialogflowV2BatchCreateEntitiesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The entities to create. + [Newtonsoft.Json.JsonPropertyAttribute("entities")] + public virtual System.Collections.Generic.IList Entities { get; set; } + + /// Optional. The language of entity synonyms defined in `entities`. If not specified, the agent's + /// default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are + /// supported. Note: languages must be enabled in the agent before they can be used. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for EntityTypes.BatchDeleteEntities. + public class GoogleCloudDialogflowV2BatchDeleteEntitiesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The reference `values` of the entities to delete. Note that these are not fully-qualified + /// names, i.e. they don't start with `projects/`. + [Newtonsoft.Json.JsonPropertyAttribute("entityValues")] + public virtual System.Collections.Generic.IList EntityValues { get; set; } + + /// Optional. The language of entity synonyms defined in `entities`. If not specified, the agent's + /// default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are + /// supported. Note: languages must be enabled in the agent before they can be used. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for EntityTypes.BatchDeleteEntityTypes. + public class GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The names entity types to delete. All names must point to the same agent as + /// `parent`. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypeNames")] + public virtual System.Collections.Generic.IList EntityTypeNames { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Intents.BatchDeleteIntents. + public class GoogleCloudDialogflowV2BatchDeleteIntentsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The collection of intents to delete. Only intent `name` must be filled in. + [Newtonsoft.Json.JsonPropertyAttribute("intents")] + public virtual System.Collections.Generic.IList Intents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for EntityTypes.BatchUpdateEntities. + public class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The entities to update or create. + [Newtonsoft.Json.JsonPropertyAttribute("entities")] + public virtual System.Collections.Generic.IList Entities { get; set; } + + /// Optional. The language of entity synonyms defined in `entities`. If not specified, the agent's + /// default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are + /// supported. Note: languages must be enabled in the agent before they can be used. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Optional. The mask to control which fields get updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for EntityTypes.BatchUpdateEntityTypes. + public class GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of entity types to update or create. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypeBatchInline")] + public virtual GoogleCloudDialogflowV2EntityTypeBatch EntityTypeBatchInline { get; set; } + + /// The URI to a Google Cloud Storage file containing entity types to update or create. The file format + /// can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with + /// "gs://". + [Newtonsoft.Json.JsonPropertyAttribute("entityTypeBatchUri")] + public virtual string EntityTypeBatchUri { get; set; } + + /// Optional. The language of entity synonyms defined in `entity_types`. If not specified, the agent's + /// default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are + /// supported. Note: languages must be enabled in the agent before they can be used. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Optional. The mask to control which fields get updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for EntityTypes.BatchUpdateEntityTypes. + public class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of updated or created entity types. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypes")] + public virtual System.Collections.Generic.IList EntityTypes { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Intents.BatchUpdateIntents. + public class GoogleCloudDialogflowV2BatchUpdateIntentsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of intents to update or create. + [Newtonsoft.Json.JsonPropertyAttribute("intentBatchInline")] + public virtual GoogleCloudDialogflowV2IntentBatch IntentBatchInline { get; set; } + + /// The URI to a Google Cloud Storage file containing intents to update or create. The file format can + /// either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with + /// "gs://". + [Newtonsoft.Json.JsonPropertyAttribute("intentBatchUri")] + public virtual string IntentBatchUri { get; set; } + + /// Optional. The resource view to apply to the returned intent. + [Newtonsoft.Json.JsonPropertyAttribute("intentView")] + public virtual string IntentView { get; set; } + + /// Optional. The language of training phrases, parameters and rich messages defined in `intents`. If + /// not specified, the agent's default language is used. [Many + /// languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must + /// be enabled in the agent before they can be used. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Optional. The mask to control which fields get updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Intents.BatchUpdateIntents. + public class GoogleCloudDialogflowV2BatchUpdateIntentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of updated or created intents. + [Newtonsoft.Json.JsonPropertyAttribute("intents")] + public virtual System.Collections.Generic.IList Intents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a context. + public class GoogleCloudDialogflowV2Context : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The number of conversational query requests after which the context expires. If set to + /// `0` (the default) the context expires immediately. Contexts expire automatically after 20 minutes if there + /// are no matching queries. + [Newtonsoft.Json.JsonPropertyAttribute("lifespanCount")] + public virtual System.Nullable LifespanCount { get; set; } + + /// Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`. + /// + /// The `Context ID` is always converted to lowercase, may only contain characters in [a-zA-Z0-9_-%] and may be + /// at most 250 bytes long. + /// + /// The following context names are reserved for internal use by Dialogflow. You should not use these contexts + /// or create contexts with these names: + /// + /// * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The collection of parameters associated with this context. Refer to [this + /// doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) for syntax. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a notification sent to Cloud Pub/Sub subscribers for conversation lifecycle + /// events. + public class GoogleCloudDialogflowV2ConversationEvent : Google.Apis.Requests.IDirectResponseSchema + { + /// The unique identifier of the conversation this notification refers to. Format: + /// `projects//conversations/`. + [Newtonsoft.Json.JsonPropertyAttribute("conversation")] + public virtual string Conversation { get; set; } + + /// More detailed information about an error. Only set for type + /// UNRECOVERABLE_ERROR_IN_PHONE_CALL. + [Newtonsoft.Json.JsonPropertyAttribute("errorStatus")] + public virtual GoogleRpcStatus ErrorStatus { get; set; } + + /// Payload of NEW_MESSAGE event. + [Newtonsoft.Json.JsonPropertyAttribute("newMessagePayload")] + public virtual GoogleCloudDialogflowV2Message NewMessagePayload { get; set; } + + /// The type of the event that this notification refers to. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// ============================================================================ Requests and responses for + /// custom methods. The request to detect user's intent. + public class GoogleCloudDialogflowV2DetectIntentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The natural language speech audio to be processed. This field should be populated iff `query_input` + /// is set to an input audio config. A single request can contain up to 1 minute of speech audio data. + [Newtonsoft.Json.JsonPropertyAttribute("inputAudio")] + public virtual string InputAudio { get; set; } + + /// Instructs the speech synthesizer how to generate the output audio. If this field is not set and + /// agent-level speech synthesizer is not configured, no output audio is generated. + [Newtonsoft.Json.JsonPropertyAttribute("outputAudioConfig")] + public virtual GoogleCloudDialogflowV2OutputAudioConfig OutputAudioConfig { get; set; } + + /// Mask for output_audio_config indicating which settings in this request-level config should override + /// speech synthesizer settings defined at agent-level. + /// + /// If unspecified or empty, output_audio_config replaces the agent-level config in its entirety. + [Newtonsoft.Json.JsonPropertyAttribute("outputAudioConfigMask")] + public virtual object OutputAudioConfigMask { get; set; } + + /// Required. The input specification. It can be set to: + /// + /// 1. an audio config which instructs the speech recognizer how to process the speech audio, + /// + /// 2. a conversational query in the form of text, or + /// + /// 3. an event that specifies which intent to trigger. + [Newtonsoft.Json.JsonPropertyAttribute("queryInput")] + public virtual GoogleCloudDialogflowV2QueryInput QueryInput { get; set; } + + /// The parameters of this query. + [Newtonsoft.Json.JsonPropertyAttribute("queryParams")] + public virtual GoogleCloudDialogflowV2QueryParameters QueryParams { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The message returned from the DetectIntent method. + public class GoogleCloudDialogflowV2DetectIntentResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The audio data bytes encoded as specified in the request. Note: The output audio is generated based + /// on the values of default platform text responses found in the `query_result.fulfillment_messages` field. If + /// multiple default text responses exist, they will be concatenated when generating audio. If no default + /// platform text responses exist, the generated audio content will be empty. + [Newtonsoft.Json.JsonPropertyAttribute("outputAudio")] + public virtual string OutputAudio { get; set; } + + /// The config used by the speech synthesizer to generate the output audio. + [Newtonsoft.Json.JsonPropertyAttribute("outputAudioConfig")] + public virtual GoogleCloudDialogflowV2OutputAudioConfig OutputAudioConfig { get; set; } + + /// The selected results of the conversational query or event processing. See + /// `alternative_query_results` for additional potential results. + [Newtonsoft.Json.JsonPropertyAttribute("queryResult")] + public virtual GoogleCloudDialogflowV2QueryResult QueryResult { get; set; } + + /// The unique identifier of the response. It can be used to locate a response in the training example + /// set or for reporting issues. + [Newtonsoft.Json.JsonPropertyAttribute("responseId")] + public virtual string ResponseId { get; set; } + + /// Specifies the status of the webhook request. + [Newtonsoft.Json.JsonPropertyAttribute("webhookStatus")] + public virtual GoogleRpcStatus WebhookStatus { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an entity type. Entity types serve as a tool for extracting parameter values from natural + /// language queries. + public class GoogleCloudDialogflowV2EntityType : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Indicates whether the entity type can be automatically expanded. + [Newtonsoft.Json.JsonPropertyAttribute("autoExpansionMode")] + public virtual string AutoExpansionMode { get; set; } + + /// Required. The name of the entity type. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. Enables fuzzy entity extraction during classification. + [Newtonsoft.Json.JsonPropertyAttribute("enableFuzzyExtraction")] + public virtual System.Nullable EnableFuzzyExtraction { get; set; } + + /// Optional. The collection of entity entries associated with the entity type. + [Newtonsoft.Json.JsonPropertyAttribute("entities")] + public virtual System.Collections.Generic.IList Entities { get; set; } + + /// Required. Indicates the kind of entity type. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and + /// EntityTypes.BatchUpdateEntityTypes methods. Format: `projects//agent/entityTypes/`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message is a wrapper around a collection of entity types. + public class GoogleCloudDialogflowV2EntityTypeBatch : Google.Apis.Requests.IDirectResponseSchema + { + /// A collection of entity types. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypes")] + public virtual System.Collections.Generic.IList EntityTypes { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An **entity entry** for an associated entity type. + public class GoogleCloudDialogflowV2EntityTypeEntity : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. A collection of value synonyms. For example, if the entity type is *vegetable*, and + /// `value` is *scallions*, a synonym could be *green onions*. + /// + /// For `KIND_LIST` entity types: + /// + /// * This collection must contain exactly one synonym equal to `value`. + [Newtonsoft.Json.JsonPropertyAttribute("synonyms")] + public virtual System.Collections.Generic.IList Synonyms { get; set; } + + /// Required. The primary value associated with this entity entry. For example, if the entity type is + /// *vegetable*, the value could be *scallions*. + /// + /// For `KIND_MAP` entity types: + /// + /// * A reference value to be used in place of synonyms. + /// + /// For `KIND_LIST` entity types: + /// + /// * A string that can contain references to other entity types (with or without aliases). + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Events allow for matching intents by event name instead of the natural language input. For instance, + /// input `` can trigger a personalized welcome response. The parameter `name` may be used by the agent in the + /// response: `"Hello #welcome_event.name! What can I do for you today?"`. + public class GoogleCloudDialogflowV2EventInput : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The language of this query. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. Note that queries in the same session do not necessarily need to specify the same + /// language. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Required. The unique identifier of the event. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The collection of parameters associated with the event. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Agents.ExportAgent. + public class GoogleCloudDialogflowV2ExportAgentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the + /// agent to. The format of this URI must be `gs:`. If left unspecified, the serialized agent is returned + /// inline. + [Newtonsoft.Json.JsonPropertyAttribute("agentUri")] + public virtual string AgentUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Agents.ExportAgent. + public class GoogleCloudDialogflowV2ExportAgentResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Zip compressed raw byte content for agent. + [Newtonsoft.Json.JsonPropertyAttribute("agentContent")] + public virtual string AgentContent { get; set; } + + /// The URI to a file containing the exported agent. This field is populated only if `agent_uri` is + /// specified in `ExportAgentRequest`. + [Newtonsoft.Json.JsonPropertyAttribute("agentUri")] + public virtual string AgentUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a fulfillment. + public class GoogleCloudDialogflowV2Fulfillment : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The human-readable name of the fulfillment, unique within the agent. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. Whether fulfillment is enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// Optional. The field defines whether the fulfillment is enabled for certain features. + [Newtonsoft.Json.JsonPropertyAttribute("features")] + public virtual System.Collections.Generic.IList Features { get; set; } + + /// Configuration for a generic web service. + [Newtonsoft.Json.JsonPropertyAttribute("genericWebService")] + public virtual GoogleCloudDialogflowV2FulfillmentGenericWebService GenericWebService { get; set; } + + /// Required. The unique identifier of the fulfillment. Format: + /// `projects//agent/fulfillment`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Whether fulfillment is enabled for the specific feature. + public class GoogleCloudDialogflowV2FulfillmentFeature : Google.Apis.Requests.IDirectResponseSchema + { + /// The type of the feature that enabled for fulfillment. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents configuration for a generic web service. Dialogflow supports two mechanisms for + /// authentications: - Basic authentication with username and password. - Authentication with additional + /// authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs + /// /fulfillment-configure. + public class GoogleCloudDialogflowV2FulfillmentGenericWebService : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults + /// to false. + [Newtonsoft.Json.JsonPropertyAttribute("isCloudFunction")] + public virtual System.Nullable IsCloudFunction { get; set; } + + /// Optional. The password for HTTP Basic authentication. + [Newtonsoft.Json.JsonPropertyAttribute("password")] + public virtual string Password { get; set; } + + /// Optional. The HTTP request headers to send together with fulfillment requests. + [Newtonsoft.Json.JsonPropertyAttribute("requestHeaders")] + public virtual System.Collections.Generic.IDictionary RequestHeaders { get; set; } + + /// Required. The fulfillment URI for receiving POST requests. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// Optional. The user name for HTTP Basic authentication. + [Newtonsoft.Json.JsonPropertyAttribute("username")] + public virtual string Username { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Agents.ImportAgent. + public class GoogleCloudDialogflowV2ImportAgentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Zip compressed raw byte content for agent. + [Newtonsoft.Json.JsonPropertyAttribute("agentContent")] + public virtual string AgentContent { get; set; } + + /// The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start + /// with "gs://". + [Newtonsoft.Json.JsonPropertyAttribute("agentUri")] + public virtual string AgentUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Instructs the speech recognizer how to process the audio content. + public class GoogleCloudDialogflowV2InputAudioConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Audio encoding of the audio content to process. + [Newtonsoft.Json.JsonPropertyAttribute("audioEncoding")] + public virtual string AudioEncoding { get; set; } + + /// Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with + /// information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, + /// Speech doesn't return any word-level information. + [Newtonsoft.Json.JsonPropertyAttribute("enableWordInfo")] + public virtual System.Nullable EnableWordInfo { get; set; } + + /// Required. The language of the supplied audio. Dialogflow does not do translations. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. Note that queries in the same session do not necessarily need to specify the same + /// language. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Optional. Which Speech model to select for the given request. Select the model best suited to your + /// domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the + /// parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced + /// version of the specified model for the language does not exist, then the speech is recognized using the + /// standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com + /// /speech-to-text/docs/basics#select-model) for more details. + [Newtonsoft.Json.JsonPropertyAttribute("model")] + public virtual string Model { get; set; } + + /// Optional. Which variant of the Speech model to use. + [Newtonsoft.Json.JsonPropertyAttribute("modelVariant")] + public virtual string ModelVariant { get; set; } + + /// Optional. A list of strings containing words and phrases that the speech recognizer should + /// recognize with higher likelihood. + /// + /// See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for + /// more details. + /// + /// This field is deprecated. Please use [speech_contexts]() instead. If you specify both [phrase_hints]() and + /// [speech_contexts](), Dialogflow will treat the [phrase_hints]() as a single additional + /// [SpeechContext](). + [Newtonsoft.Json.JsonPropertyAttribute("phraseHints")] + public virtual System.Collections.Generic.IList PhraseHints { get; set; } + + /// Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API + /// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. + [Newtonsoft.Json.JsonPropertyAttribute("sampleRateHertz")] + public virtual System.Nullable SampleRateHertz { get; set; } + + /// Optional. If `false` (default), recognition does not cease until the client closes the stream. If + /// `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it + /// detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the + /// client should close the stream and start a new request with a new stream as needed. Note: This setting is + /// relevant only for streaming methods. Note: When specified, InputAudioConfig.single_utterance takes + /// precedence over StreamingDetectIntentRequest.single_utterance. + [Newtonsoft.Json.JsonPropertyAttribute("singleUtterance")] + public virtual System.Nullable SingleUtterance { get; set; } + + /// Optional. Context information to assist speech recognition. + /// + /// See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for + /// more details. + [Newtonsoft.Json.JsonPropertyAttribute("speechContexts")] + public virtual System.Collections.Generic.IList SpeechContexts { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an intent. Intents convert a number of user expressions or patterns into an action. An + /// action is an extraction of a user command or sentence semantics. + public class GoogleCloudDialogflowV2Intent : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The name of the action associated with the intent. Note: The action name must not contain + /// whitespaces. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual string Action { get; set; } + + /// Optional. The list of platforms for which the first responses will be copied from the messages in + /// PLATFORM_UNSPECIFIED (i.e. default platform). + [Newtonsoft.Json.JsonPropertyAttribute("defaultResponsePlatforms")] + public virtual System.Collections.Generic.IList DefaultResponsePlatforms { get; set; } + + /// Required. The name of this intent. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. The collection of event names that trigger the intent. If the collection of input + /// contexts is not empty, all of the contexts must be present in the active user session for an event to + /// trigger this intent. + [Newtonsoft.Json.JsonPropertyAttribute("events")] + public virtual System.Collections.Generic.IList Events { get; set; } + + /// Read-only. Information about all followup intents that have this intent as a direct or indirect + /// parent. We populate this field only in the output. + [Newtonsoft.Json.JsonPropertyAttribute("followupIntentInfo")] + public virtual System.Collections.Generic.IList FollowupIntentInfo { get; set; } + + /// Optional. The list of context names required for this intent to be triggered. Format: + /// `projects//agent/sessions/-/contexts/`. + [Newtonsoft.Json.JsonPropertyAttribute("inputContextNames")] + public virtual System.Collections.Generic.IList InputContextNames { get; set; } + + /// Optional. Indicates whether this is a fallback intent. + [Newtonsoft.Json.JsonPropertyAttribute("isFallback")] + public virtual System.Nullable IsFallback { get; set; } + + /// Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow + /// console. + [Newtonsoft.Json.JsonPropertyAttribute("messages")] + public virtual System.Collections.Generic.IList Messages { get; set; } + + /// Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` + /// setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. + /// Also, auto-markup in the UI is turned off. + [Newtonsoft.Json.JsonPropertyAttribute("mlDisabled")] + public virtual System.Nullable MlDisabled { get; set; } + + /// The unique identifier of this intent. Required for Intents.UpdateIntent and + /// Intents.BatchUpdateIntents methods. Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The collection of contexts that are activated when the intent is matched. Context + /// messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will + /// reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`. + [Newtonsoft.Json.JsonPropertyAttribute("outputContexts")] + public virtual System.Collections.Generic.IList OutputContexts { get; set; } + + /// Optional. The collection of parameters associated with the intent. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IList Parameters { get; set; } + + /// Read-only after creation. The unique identifier of the parent intent in the chain of followup + /// intents. You can set this field when creating an intent, for example with CreateIntent or + /// BatchUpdateIntents, in order to make this intent a followup intent. + /// + /// It identifies the parent followup intent. Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("parentFollowupIntentName")] + public virtual string ParentFollowupIntentName { get; set; } + + /// Optional. The priority of this intent. Higher numbers represent higher priorities. + /// + /// - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds + /// to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in + /// runtime detect intent requests. + [Newtonsoft.Json.JsonPropertyAttribute("priority")] + public virtual System.Nullable Priority { get; set; } + + /// Optional. Indicates whether to delete all contexts in the current session when this intent is + /// matched. + [Newtonsoft.Json.JsonPropertyAttribute("resetContexts")] + public virtual System.Nullable ResetContexts { get; set; } + + /// Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies + /// the correct followup intents chain for this intent. We populate this field only in the output. + /// + /// Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("rootFollowupIntentName")] + public virtual string RootFollowupIntentName { get; set; } + + /// Optional. The collection of examples that the agent is trained on. + [Newtonsoft.Json.JsonPropertyAttribute("trainingPhrases")] + public virtual System.Collections.Generic.IList TrainingPhrases { get; set; } + + /// Optional. Indicates whether webhooks are enabled for the intent. + [Newtonsoft.Json.JsonPropertyAttribute("webhookState")] + public virtual string WebhookState { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message is a wrapper around a collection of intents. + public class GoogleCloudDialogflowV2IntentBatch : Google.Apis.Requests.IDirectResponseSchema + { + /// A collection of intents. + [Newtonsoft.Json.JsonPropertyAttribute("intents")] + public virtual System.Collections.Generic.IList Intents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single followup intent in the chain. + public class GoogleCloudDialogflowV2IntentFollowupIntentInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// The unique identifier of the followup intent. Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("followupIntentName")] + public virtual string FollowupIntentName { get; set; } + + /// The unique identifier of the followup intent's parent. Format: + /// `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("parentFollowupIntentName")] + public virtual string ParentFollowupIntentName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Corresponds to the `Response` field in the Dialogflow console. + public class GoogleCloudDialogflowV2IntentMessage : Google.Apis.Requests.IDirectResponseSchema + { + /// The basic card response for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("basicCard")] + public virtual GoogleCloudDialogflowV2IntentMessageBasicCard BasicCard { get; set; } + + /// Browse carousel card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("browseCarouselCard")] + public virtual GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard BrowseCarouselCard { get; set; } + + /// The card response. + [Newtonsoft.Json.JsonPropertyAttribute("card")] + public virtual GoogleCloudDialogflowV2IntentMessageCard Card { get; set; } + + /// The carousel card response for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("carouselSelect")] + public virtual GoogleCloudDialogflowV2IntentMessageCarouselSelect CarouselSelect { get; set; } + + /// The image response. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Image { get; set; } + + /// The link out suggestion chip for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("linkOutSuggestion")] + public virtual GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion LinkOutSuggestion { get; set; } + + /// The list card response for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("listSelect")] + public virtual GoogleCloudDialogflowV2IntentMessageListSelect ListSelect { get; set; } + + /// The media content card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("mediaContent")] + public virtual GoogleCloudDialogflowV2IntentMessageMediaContent MediaContent { get; set; } + + /// Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform + /// type for a description of the structure that may be required for your platform. + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// Optional. The platform that this message is intended for. + [Newtonsoft.Json.JsonPropertyAttribute("platform")] + public virtual string Platform { get; set; } + + /// The quick replies response. + [Newtonsoft.Json.JsonPropertyAttribute("quickReplies")] + public virtual GoogleCloudDialogflowV2IntentMessageQuickReplies QuickReplies { get; set; } + + /// The voice and text-only responses for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("simpleResponses")] + public virtual GoogleCloudDialogflowV2IntentMessageSimpleResponses SimpleResponses { get; set; } + + /// The suggestion chips for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("suggestions")] + public virtual GoogleCloudDialogflowV2IntentMessageSuggestions Suggestions { get; set; } + + /// Table card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("tableCard")] + public virtual GoogleCloudDialogflowV2IntentMessageTableCard TableCard { get; set; } + + /// The text response. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual GoogleCloudDialogflowV2IntentMessageText Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The basic card message. Useful for displaying information. + public class GoogleCloudDialogflowV2IntentMessageBasicCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of card buttons. + [Newtonsoft.Json.JsonPropertyAttribute("buttons")] + public virtual System.Collections.Generic.IList Buttons { get; set; } + + /// Required, unless image is present. The body text of the card. + [Newtonsoft.Json.JsonPropertyAttribute("formattedText")] + public virtual string FormattedText { get; set; } + + /// Optional. The image for the card. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Image { get; set; } + + /// Optional. The subtitle of the card. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Optional. The title of the card. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The button object that appears at the bottom of a card. + public class GoogleCloudDialogflowV2IntentMessageBasicCardButton : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Action to take when a user taps on the button. + [Newtonsoft.Json.JsonPropertyAttribute("openUriAction")] + public virtual GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction OpenUriAction { get; set; } + + /// Required. The title of the button. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Opens the given URI. + public class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The HTTP or HTTPS scheme URI. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Browse Carousel Card for Actions on Google. + /// https://developers.google.com/actions/assistant/responses#browsing_carousel + public class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Settings for displaying the image. Applies to every image in items. + [Newtonsoft.Json.JsonPropertyAttribute("imageDisplayOptions")] + public virtual string ImageDisplayOptions { get; set; } + + /// Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of + /// ten. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Browsing carousel tile + public class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Description of the carousel item. Maximum of four lines of text. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of + /// text. + [Newtonsoft.Json.JsonPropertyAttribute("footer")] + public virtual string Footer { get; set; } + + /// Optional. Hero image for the carousel item. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Image { get; set; } + + /// Required. Action to present to the user. + [Newtonsoft.Json.JsonPropertyAttribute("openUriAction")] + public virtual GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction OpenUriAction { get; set; } + + /// Required. Title of the carousel item. Maximum of two lines of text. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Actions on Google action to open a given url. + public class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. URL + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via + /// web browser. + [Newtonsoft.Json.JsonPropertyAttribute("urlTypeHint")] + public virtual string UrlTypeHint { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The card response message. + public class GoogleCloudDialogflowV2IntentMessageCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of card buttons. + [Newtonsoft.Json.JsonPropertyAttribute("buttons")] + public virtual System.Collections.Generic.IList Buttons { get; set; } + + /// Optional. The public URI to an image file for the card. + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// Optional. The subtitle of the card. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Optional. The title of the card. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Contains information about a button. + public class GoogleCloudDialogflowV2IntentMessageCardButton : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The text to send back to the Dialogflow API or a URI to open. + [Newtonsoft.Json.JsonPropertyAttribute("postback")] + public virtual string Postback { get; set; } + + /// Optional. The text to show on the button. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The card for presenting a carousel of options to select from. + public class GoogleCloudDialogflowV2IntentMessageCarouselSelect : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Carousel items. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An item in the carousel. + public class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The body text of the card. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. The image to display. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Image { get; set; } + + /// Required. Additional info about the option item. + [Newtonsoft.Json.JsonPropertyAttribute("info")] + public virtual GoogleCloudDialogflowV2IntentMessageSelectItemInfo Info { get; set; } + + /// Required. Title of the carousel item. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Column properties for TableCard. + public class GoogleCloudDialogflowV2IntentMessageColumnProperties : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Column heading. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Optional. Defines text alignment for all cells in this column. + [Newtonsoft.Json.JsonPropertyAttribute("horizontalAlignment")] + public virtual string HorizontalAlignment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The image response message. + public class GoogleCloudDialogflowV2IntentMessageImage : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. A text description of the image to be used for accessibility, e.g., screen + /// readers. + [Newtonsoft.Json.JsonPropertyAttribute("accessibilityText")] + public virtual string AccessibilityText { get; set; } + + /// Optional. The public URI to an image file. + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The suggestion chip message that allows the user to jump out to the app or website associated with this + /// agent. + public class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The name of the app or site this chip is linking to. + [Newtonsoft.Json.JsonPropertyAttribute("destinationName")] + public virtual string DestinationName { get; set; } + + /// Required. The URI of the app or site to open when the user taps the suggestion chip. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The card for presenting a list of options to select from. + public class GoogleCloudDialogflowV2IntentMessageListSelect : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. List items. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// Optional. Subtitle of the list. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Optional. The overall title of the list. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An item in the list. + public class GoogleCloudDialogflowV2IntentMessageListSelectItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The main text describing the item. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. The image to display. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Image { get; set; } + + /// Required. Additional information about this option. + [Newtonsoft.Json.JsonPropertyAttribute("info")] + public virtual GoogleCloudDialogflowV2IntentMessageSelectItemInfo Info { get; set; } + + /// Required. The title of the list item. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The media content card for Actions on Google. + public class GoogleCloudDialogflowV2IntentMessageMediaContent : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. List of media objects. + [Newtonsoft.Json.JsonPropertyAttribute("mediaObjects")] + public virtual System.Collections.Generic.IList MediaObjects { get; set; } + + /// Optional. What type of media is the content (ie "audio"). + [Newtonsoft.Json.JsonPropertyAttribute("mediaType")] + public virtual string MediaType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response media object for media content card. + public class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Url where the media is stored. + [Newtonsoft.Json.JsonPropertyAttribute("contentUrl")] + public virtual string ContentUrl { get; set; } + + /// Optional. Description of media card. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. Icon to display above media content. + [Newtonsoft.Json.JsonPropertyAttribute("icon")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Icon { get; set; } + + /// Optional. Image to display above media content. + [Newtonsoft.Json.JsonPropertyAttribute("largeImage")] + public virtual GoogleCloudDialogflowV2IntentMessageImage LargeImage { get; set; } + + /// Required. Name of media card. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The quick replies response message. + public class GoogleCloudDialogflowV2IntentMessageQuickReplies : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of quick replies. + [Newtonsoft.Json.JsonPropertyAttribute("quickReplies")] + public virtual System.Collections.Generic.IList QuickReplies { get; set; } + + /// Optional. The title of the collection of quick replies. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Additional info about the select item for when it is triggered in a dialog. + public class GoogleCloudDialogflowV2IntentMessageSelectItemInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. A unique key that will be sent back to the agent if this response is given. + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } + + /// Optional. A list of synonyms that can also be used to trigger this item in dialog. + [Newtonsoft.Json.JsonPropertyAttribute("synonyms")] + public virtual System.Collections.Generic.IList Synonyms { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The simple response message containing speech or text. + public class GoogleCloudDialogflowV2IntentMessageSimpleResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The text to display. + [Newtonsoft.Json.JsonPropertyAttribute("displayText")] + public virtual string DisplayText { get; set; } + + /// One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML + /// format. Mutually exclusive with text_to_speech. + [Newtonsoft.Json.JsonPropertyAttribute("ssml")] + public virtual string Ssml { get; set; } + + /// One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually + /// exclusive with ssml. + [Newtonsoft.Json.JsonPropertyAttribute("textToSpeech")] + public virtual string TextToSpeech { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and + /// `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. + public class GoogleCloudDialogflowV2IntentMessageSimpleResponses : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The list of simple responses. + [Newtonsoft.Json.JsonPropertyAttribute("simpleResponses")] + public virtual System.Collections.Generic.IList SimpleResponses { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The suggestion chip message that the user can tap to quickly post a reply to the + /// conversation. + public class GoogleCloudDialogflowV2IntentMessageSuggestion : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The text shown the in the suggestion chip. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The collection of suggestions. + public class GoogleCloudDialogflowV2IntentMessageSuggestions : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The list of suggested replies. + [Newtonsoft.Json.JsonPropertyAttribute("suggestions")] + public virtual System.Collections.Generic.IList Suggestions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Table card for Actions on Google. + public class GoogleCloudDialogflowV2IntentMessageTableCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. List of buttons for the card. + [Newtonsoft.Json.JsonPropertyAttribute("buttons")] + public virtual System.Collections.Generic.IList Buttons { get; set; } + + /// Optional. Display properties for the columns in this table. + [Newtonsoft.Json.JsonPropertyAttribute("columnProperties")] + public virtual System.Collections.Generic.IList ColumnProperties { get; set; } + + /// Optional. Image which should be displayed on the card. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2IntentMessageImage Image { get; set; } + + /// Optional. Rows in this table of data. + [Newtonsoft.Json.JsonPropertyAttribute("rows")] + public virtual System.Collections.Generic.IList Rows { get; set; } + + /// Optional. Subtitle to the title. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Required. Title of the card. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Cell of TableCardRow. + public class GoogleCloudDialogflowV2IntentMessageTableCardCell : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Text in this cell. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Row of TableCard. + public class GoogleCloudDialogflowV2IntentMessageTableCardRow : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. List of cells that make up this row. + [Newtonsoft.Json.JsonPropertyAttribute("cells")] + public virtual System.Collections.Generic.IList Cells { get; set; } + + /// Optional. Whether to add a visual divider after this row. + [Newtonsoft.Json.JsonPropertyAttribute("dividerAfter")] + public virtual System.Nullable DividerAfter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The text response message. + public class GoogleCloudDialogflowV2IntentMessageText : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of the agent's responses. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual System.Collections.Generic.IList Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents intent parameters. + public class GoogleCloudDialogflowV2IntentParameter : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The default value to use when the `value` yields an empty result. Default values can be + /// extracted from contexts by using the following syntax: `#context_name.parameter_name`. + [Newtonsoft.Json.JsonPropertyAttribute("defaultValue")] + public virtual string DefaultValue { get; set; } + + /// Required. The name of the parameter. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. + /// If the parameter is required, this must be provided. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypeDisplayName")] + public virtual string EntityTypeDisplayName { get; set; } + + /// Optional. Indicates whether the parameter represents a list of values. + [Newtonsoft.Json.JsonPropertyAttribute("isList")] + public virtual System.Nullable IsList { get; set; } + + /// Optional. Indicates whether the parameter is required. That is, whether the intent cannot be + /// completed without collecting the parameter value. + [Newtonsoft.Json.JsonPropertyAttribute("mandatory")] + public virtual System.Nullable Mandatory { get; set; } + + /// The unique identifier of this parameter. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The collection of prompts that the agent can present to the user in order to collect a + /// value for the parameter. + [Newtonsoft.Json.JsonPropertyAttribute("prompts")] + public virtual System.Collections.Generic.IList Prompts { get; set; } + + /// Optional. The definition of the parameter value. It can be: - a constant string, - a parameter + /// value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a + /// parameter value from some context defined as `#context_name.parameter_name`. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an example that the agent is trained on. + public class GoogleCloudDialogflowV2IntentTrainingPhrase : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The unique identifier of this training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Required. The ordered list of training phrase parts. The parts are concatenated in order to form + /// the training phrase. + /// + /// Note: The API does not automatically annotate training phrases like the Dialogflow Console does. + /// + /// Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when + /// the parts are concatenated. + /// + /// If the training phrase does not need to be annotated with parameters, you just need a single part with only + /// the Part.text field set. + /// + /// If you want to annotate the training phrase, you must create multiple parts, where the fields of each part + /// are populated in one of two ways: + /// + /// - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of + /// the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all + /// set. + [Newtonsoft.Json.JsonPropertyAttribute("parts")] + public virtual System.Collections.Generic.IList Parts { get; set; } + + /// Optional. Indicates how many times this example was added to the intent. Each time a developer adds + /// an existing sample by editing an intent or training, this counter is increased. + [Newtonsoft.Json.JsonPropertyAttribute("timesAddedCount")] + public virtual System.Nullable TimesAddedCount { get; set; } + + /// Required. The type of the training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a part of a training phrase. + public class GoogleCloudDialogflowV2IntentTrainingPhrasePart : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The parameter name for the value extracted from the annotated part of the example. This + /// field is required for annotated parts of the training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("alias")] + public virtual string Alias { get; set; } + + /// Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the + /// training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("entityType")] + public virtual string EntityType { get; set; } + + /// Required. The text for this part. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// Optional. Indicates whether the text was manually annotated. This field is set to true when the + /// Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you + /// must set this to true. + [Newtonsoft.Json.JsonPropertyAttribute("userDefined")] + public virtual System.Nullable UserDefined { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Contexts.ListContexts. + public class GoogleCloudDialogflowV2ListContextsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of contexts. There will be a maximum number of items returned based on the page_size field + /// in the request. + [Newtonsoft.Json.JsonPropertyAttribute("contexts")] + public virtual System.Collections.Generic.IList Contexts { get; set; } + + /// Token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for EntityTypes.ListEntityTypes. + public class GoogleCloudDialogflowV2ListEntityTypesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of agent entity types. There will be a maximum number of items returned based on the + /// page_size field in the request. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypes")] + public virtual System.Collections.Generic.IList EntityTypes { get; set; } + + /// Token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Intents.ListIntents. + public class GoogleCloudDialogflowV2ListIntentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of agent intents. There will be a maximum number of items returned based on the page_size + /// field in the request. + [Newtonsoft.Json.JsonPropertyAttribute("intents")] + public virtual System.Collections.Generic.IList Intents { get; set; } + + /// Token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for SessionEntityTypes.ListSessionEntityTypes. + public class GoogleCloudDialogflowV2ListSessionEntityTypesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The list of session entity types. There will be a maximum number of items returned based on the + /// page_size field in the request. + [Newtonsoft.Json.JsonPropertyAttribute("sessionEntityTypes")] + public virtual System.Collections.Generic.IList SessionEntityTypes { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a message posted into a conversation. + public class GoogleCloudDialogflowV2Message : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The message content. + [Newtonsoft.Json.JsonPropertyAttribute("content")] + public virtual string Content { get; set; } + + /// Output only. The time when the message was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Optional. The message language. This should be a [BCP-47](https://www.rfc- + /// editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Output only. The annotation for the message. + [Newtonsoft.Json.JsonPropertyAttribute("messageAnnotation")] + public virtual GoogleCloudDialogflowV2MessageAnnotation MessageAnnotation { get; set; } + + /// The unique identifier of the message. Format: `projects//conversations//messages/`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. The participant that sends this message. + [Newtonsoft.Json.JsonPropertyAttribute("participant")] + public virtual string Participant { get; set; } + + /// Output only. The role of the participant. + [Newtonsoft.Json.JsonPropertyAttribute("participantRole")] + public virtual string ParticipantRole { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the result of annotation for the message. + public class GoogleCloudDialogflowV2MessageAnnotation : Google.Apis.Requests.IDirectResponseSchema + { + /// Indicates whether the text message contains entities. + [Newtonsoft.Json.JsonPropertyAttribute("containEntities")] + public virtual System.Nullable ContainEntities { get; set; } + + /// The collection of annotated message parts ordered by their position in the message. You can recover + /// the annotated message by concatenating [AnnotatedMessagePart.text]. + [Newtonsoft.Json.JsonPropertyAttribute("parts")] + public virtual System.Collections.Generic.IList Parts { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the contents of the original request that was passed to the `[Streaming]DetectIntent` + /// call. + public class GoogleCloudDialogflowV2OriginalDetectIntentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. This field is set to the value of the `QueryParameters.payload` field passed in the + /// request. Some integrations that query a Dialogflow agent may provide additional information in the payload. + /// + /// In particular for the Telephony Gateway this field has the form: { "telephony": { "caller_id": + /// "+18558363987" } } Note: The caller ID field (`caller_id`) will be redacted for Standard Edition agents and + /// populated with the caller ID in [E.164 format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition + /// agents. + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned + /// servers. + [Newtonsoft.Json.JsonPropertyAttribute("source")] + public virtual string Source { get; set; } + + /// Optional. The version of the protocol used for this request. This field is AoG-specific. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual string Version { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Instructs the speech synthesizer on how to generate the output audio content. If this audio config is + /// supplied in a request, it overrides all existing text-to-speech settings applied to the agent. + public class GoogleCloudDialogflowV2OutputAudioConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Audio encoding of the synthesized audio content. + [Newtonsoft.Json.JsonPropertyAttribute("audioEncoding")] + public virtual string AudioEncoding { get; set; } + + /// The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use + /// the default sample rate based on the audio encoding. If this is different from the voice's natural sample + /// rate, then the synthesizer will honor this request by converting to the desired sample rate (which might + /// result in worse audio quality). + [Newtonsoft.Json.JsonPropertyAttribute("sampleRateHertz")] + public virtual System.Nullable SampleRateHertz { get; set; } + + /// Configuration of how speech should be synthesized. + [Newtonsoft.Json.JsonPropertyAttribute("synthesizeSpeechConfig")] + public virtual GoogleCloudDialogflowV2SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the query input. It can contain either: + /// + /// 1. An audio config which instructs the speech recognizer how to process the speech audio. + /// + /// 2. A conversational query in the form of text,. + /// + /// 3. An event that specifies which intent to trigger. + public class GoogleCloudDialogflowV2QueryInput : Google.Apis.Requests.IDirectResponseSchema + { + /// Instructs the speech recognizer how to process the speech audio. + [Newtonsoft.Json.JsonPropertyAttribute("audioConfig")] + public virtual GoogleCloudDialogflowV2InputAudioConfig AudioConfig { get; set; } + + /// The event to be processed. + [Newtonsoft.Json.JsonPropertyAttribute("event")] + public virtual GoogleCloudDialogflowV2EventInput Event__ { get; set; } + + /// The natural language text to be processed. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual GoogleCloudDialogflowV2TextInput Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the parameters of the conversational query. + public class GoogleCloudDialogflowV2QueryParameters : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of contexts to be activated before this query is executed. + [Newtonsoft.Json.JsonPropertyAttribute("contexts")] + public virtual System.Collections.Generic.IList Contexts { get; set; } + + /// The geo location of this conversational query. + [Newtonsoft.Json.JsonPropertyAttribute("geoLocation")] + public virtual GoogleTypeLatLng GeoLocation { get; set; } + + /// This field can be used to pass custom data into the webhook associated with the agent. Arbitrary + /// JSON objects are supported. + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// Specifies whether to delete all contexts in the current session before the new ones are + /// activated. + [Newtonsoft.Json.JsonPropertyAttribute("resetContexts")] + public virtual System.Nullable ResetContexts { get; set; } + + /// Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not + /// performed. + [Newtonsoft.Json.JsonPropertyAttribute("sentimentAnalysisRequestConfig")] + public virtual GoogleCloudDialogflowV2SentimentAnalysisRequestConfig SentimentAnalysisRequestConfig { get; set; } + + /// Additional session entity types to replace or extend developer entity types with. The entity + /// synonyms apply to all languages and persist for the session of this query. + [Newtonsoft.Json.JsonPropertyAttribute("sessionEntityTypes")] + public virtual System.Collections.Generic.IList SessionEntityTypes { get; set; } + + /// The time zone of this conversational query from the [time zone database](https://www.iana.org/time- + /// zones), e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is + /// used. + [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] + public virtual string TimeZone { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the result of conversational query or event processing. + public class GoogleCloudDialogflowV2QueryResult : Google.Apis.Requests.IDirectResponseSchema + { + /// The action name from the matched intent. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual string Action { get; set; } + + /// This field is set to: + /// + /// - `false` if the matched intent has required parameters and not all of the required parameter values have + /// been collected. - `true` if all required parameter values have been collected, or if the matched intent + /// doesn't contain any required parameters. + [Newtonsoft.Json.JsonPropertyAttribute("allRequiredParamsPresent")] + public virtual System.Nullable AllRequiredParamsPresent { get; set; } + + /// Free-form diagnostic information for the associated detect intent request. The fields of this data + /// can change without notice, so you should not write code that depends on its structure. The data may contain: + /// + /// - webhook call latency - webhook errors + [Newtonsoft.Json.JsonPropertyAttribute("diagnosticInfo")] + public virtual System.Collections.Generic.IDictionary DiagnosticInfo { get; set; } + + /// The collection of rich messages to present to the user. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentMessages")] + public virtual System.Collections.Generic.IList FulfillmentMessages { get; set; } + + /// The text to be pronounced to the user or shown on the screen. Note: This is a legacy field, + /// `fulfillment_messages` should be preferred. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentText")] + public virtual string FulfillmentText { get; set; } + + /// The intent that matched the conversational query. Some, not all fields are filled in this message, + /// including but not limited to: `name`, `display_name`, `end_interaction` and `is_fallback`. + [Newtonsoft.Json.JsonPropertyAttribute("intent")] + public virtual GoogleCloudDialogflowV2Intent Intent { get; set; } + + /// The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely + /// certain). This value is for informational purpose only and is only used to help match the best intent within + /// the classification threshold. This value may change for the same end-user expression at any time due to a + /// model retraining or change in implementation. If there are `multiple knowledge_answers` messages, this value + /// is set to the greatest `knowledgeAnswers.match_confidence` value in the list. + [Newtonsoft.Json.JsonPropertyAttribute("intentDetectionConfidence")] + public virtual System.Nullable IntentDetectionConfidence { get; set; } + + /// The language that was triggered during intent detection. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// The collection of output contexts. If applicable, `output_contexts.parameters` contains entries + /// with name `.original` containing the original parameter values before the query. + [Newtonsoft.Json.JsonPropertyAttribute("outputContexts")] + public virtual System.Collections.Generic.IList OutputContexts { get; set; } + + /// The collection of extracted parameters. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The original conversational query text: + /// + /// - If natural language text was provided as input, `query_text` contains a copy of the input. - If natural + /// language speech audio was provided as input, `query_text` contains the speech recognition result. If speech + /// recognizer produced multiple alternatives, a particular one is picked. - If automatic spell correction is + /// enabled, `query_text` will contain the corrected user input. + [Newtonsoft.Json.JsonPropertyAttribute("queryText")] + public virtual string QueryText { get; set; } + + /// The sentiment analysis result, which depends on the `sentiment_analysis_request_config` specified + /// in the request. + [Newtonsoft.Json.JsonPropertyAttribute("sentimentAnalysisResult")] + public virtual GoogleCloudDialogflowV2SentimentAnalysisResult SentimentAnalysisResult { get; set; } + + /// The Speech recognition confidence between 0.0 and 1.0. A higher number indicates an estimated + /// greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating + /// that confidence was not set. + /// + /// This field is not guaranteed to be accurate or set. In particular this field isn't set for + /// StreamingDetectIntent since the streaming endpoint has separate confidence estimates per portion of the + /// audio in StreamingRecognitionResult. + [Newtonsoft.Json.JsonPropertyAttribute("speechRecognitionConfidence")] + public virtual System.Nullable SpeechRecognitionConfidence { get; set; } + + /// If the query was fulfilled by a webhook call, this field is set to the value of the `payload` field + /// returned in the webhook response. + [Newtonsoft.Json.JsonPropertyAttribute("webhookPayload")] + public virtual System.Collections.Generic.IDictionary WebhookPayload { get; set; } + + /// If the query was fulfilled by a webhook call, this field is set to the value of the `source` field + /// returned in the webhook response. + [Newtonsoft.Json.JsonPropertyAttribute("webhookSource")] + public virtual string WebhookSource { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Agents.RestoreAgent. + public class GoogleCloudDialogflowV2RestoreAgentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Zip compressed raw byte content for agent. + [Newtonsoft.Json.JsonPropertyAttribute("agentContent")] + public virtual string AgentContent { get; set; } + + /// The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start + /// with "gs://". + [Newtonsoft.Json.JsonPropertyAttribute("agentUri")] + public virtual string AgentUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Agents.SearchAgents. + public class GoogleCloudDialogflowV2SearchAgentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of agents. There will be a maximum number of items returned based on the page_size field + /// in the request. + [Newtonsoft.Json.JsonPropertyAttribute("agents")] + public virtual System.Collections.Generic.IList Agents { get; set; } + + /// Token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the + /// query text. + public class GoogleCloudDialogflowV2Sentiment : Google.Apis.Requests.IDirectResponseSchema + { + /// A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, + /// regardless of score (positive or negative). + [Newtonsoft.Json.JsonPropertyAttribute("magnitude")] + public virtual System.Nullable Magnitude { get; set; } + + /// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment). + [Newtonsoft.Json.JsonPropertyAttribute("score")] + public virtual System.Nullable Score { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configures the types of sentiment analysis to perform. + public class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Instructs the service to perform sentiment analysis on `query_text`. If not provided, sentiment + /// analysis is not performed on `query_text`. + [Newtonsoft.Json.JsonPropertyAttribute("analyzeQueryTextSentiment")] + public virtual System.Nullable AnalyzeQueryTextSentiment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The result of sentiment analysis as configured by `sentiment_analysis_request_config`. + public class GoogleCloudDialogflowV2SentimentAnalysisResult : Google.Apis.Requests.IDirectResponseSchema + { + /// The sentiment analysis result for `query_text`. + [Newtonsoft.Json.JsonPropertyAttribute("queryTextSentiment")] + public virtual GoogleCloudDialogflowV2Sentiment QueryTextSentiment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a session entity type. + /// + /// Extends or replaces a custom entity type at the user session level (we refer to the entity types defined at the + /// agent level as "custom entity types"). + /// + /// Note: session entity types apply to all queries, regardless of the language. + public class GoogleCloudDialogflowV2SessionEntityType : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The collection of entities associated with this session entity type. + [Newtonsoft.Json.JsonPropertyAttribute("entities")] + public virtual System.Collections.Generic.IList Entities { get; set; } + + /// Required. Indicates whether the additional data should override or supplement the custom entity + /// type definition. + [Newtonsoft.Json.JsonPropertyAttribute("entityOverrideMode")] + public virtual string EntityOverrideMode { get; set; } + + /// Required. The unique identifier of this session entity type. Format: + /// `projects//agent/sessions//entityTypes/`. + /// + /// `` must be the display name of an existing entity type in the same agent that will be overridden or + /// supplemented. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Hints for the speech recognizer to help with recognition in a specific conversation state. + public class GoogleCloudDialogflowV2SpeechContext : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Boost for this context compared to other contexts: * If the boost is positive, Dialogflow + /// will increase the probability that the phrases in this context are recognized over similar sounding phrases. + /// * If the boost is unspecified or non-positive, Dialogflow will not apply any boost. + /// + /// Dialogflow recommends that you use boosts in the range (0, 20] and that you find a value that fits your use + /// case with binary search. + [Newtonsoft.Json.JsonPropertyAttribute("boost")] + public virtual System.Nullable Boost { get; set; } + + /// Optional. A list of strings containing words and phrases that the speech recognizer should + /// recognize with higher likelihood. + /// + /// This list can be used to: * improve accuracy for words and phrases you expect the user to say, e.g. typical + /// commands for your Dialogflow agent * add additional words to the speech recognizer vocabulary * ... + /// + /// See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/quotas) for usage + /// limits. + [Newtonsoft.Json.JsonPropertyAttribute("phrases")] + public virtual System.Collections.Generic.IList Phrases { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configuration of how speech should be synthesized. + public class GoogleCloudDialogflowV2SynthesizeSpeechConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. An identifier which selects 'audio effects' profiles that are applied on (post + /// synthesized) text to speech. Effects are applied on top of each other in the order they are given. + [Newtonsoft.Json.JsonPropertyAttribute("effectsProfileId")] + public virtual System.Collections.Generic.IList EffectsProfileId { get; set; } + + /// Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the + /// original pitch. -20 means decrease 20 semitones from the original pitch. + [Newtonsoft.Json.JsonPropertyAttribute("pitch")] + public virtual System.Nullable Pitch { get; set; } + + /// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported + /// by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native + /// 1.0 speed. Any other values < 0.25 or > 4.0 will return an error. + [Newtonsoft.Json.JsonPropertyAttribute("speakingRate")] + public virtual System.Nullable SpeakingRate { get; set; } + + /// Optional. The desired voice of the synthesized audio. + [Newtonsoft.Json.JsonPropertyAttribute("voice")] + public virtual GoogleCloudDialogflowV2VoiceSelectionParams Voice { get; set; } + + /// Optional. Volume gain (in dB) of the normal native volume supported by the specific voice, in the + /// range [-96.0, 16.0]. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A + /// value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A + /// value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. We + /// strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value + /// greater than that. + [Newtonsoft.Json.JsonPropertyAttribute("volumeGainDb")] + public virtual System.Nullable VolumeGainDb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the natural language text to be processed. + public class GoogleCloudDialogflowV2TextInput : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The language of this conversational query. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. Note that queries in the same session do not necessarily need to specify the same + /// language. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 + /// characters. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Agents.TrainAgent. + public class GoogleCloudDialogflowV2TrainAgentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single validation error. + public class GoogleCloudDialogflowV2ValidationError : Google.Apis.Requests.IDirectResponseSchema + { + /// The names of the entries that the error is associated with. Format: + /// + /// - "projects//agent", if the error is associated with the entire agent. - "projects//agent/intents/", if the + /// error is associated with certain intents. - "projects//agent/intents//trainingPhrases/", if the error is + /// associated with certain intent training phrases. - "projects//agent/intents//parameters/", if the error is + /// associated with certain intent parameters. - "projects//agent/entities/", if the error is associated with + /// certain entities. + [Newtonsoft.Json.JsonPropertyAttribute("entries")] + public virtual System.Collections.Generic.IList Entries { get; set; } + + /// The detailed error messsage. + [Newtonsoft.Json.JsonPropertyAttribute("errorMessage")] + public virtual string ErrorMessage { get; set; } + + /// The severity of the error. + [Newtonsoft.Json.JsonPropertyAttribute("severity")] + public virtual string Severity { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the output of agent validation. + public class GoogleCloudDialogflowV2ValidationResult : Google.Apis.Requests.IDirectResponseSchema + { + /// Contains all validation errors. + [Newtonsoft.Json.JsonPropertyAttribute("validationErrors")] + public virtual System.Collections.Generic.IList ValidationErrors { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Description of which voice to use for speech synthesis. + public class GoogleCloudDialogflowV2VoiceSelectionParams : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The name of the voice. If not set, the service will choose a voice based on the other + /// parameters such as language_code and ssml_gender. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The preferred gender of the voice. If not set, the service will choose a voice based on + /// the other parameters such as language_code and name. Note that this is only a preference, not requirement. + /// If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a + /// different gender rather than failing the request. + [Newtonsoft.Json.JsonPropertyAttribute("ssmlGender")] + public virtual string SsmlGender { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for a webhook call. + public class GoogleCloudDialogflowV2WebhookRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` + /// call. + [Newtonsoft.Json.JsonPropertyAttribute("originalDetectIntentRequest")] + public virtual GoogleCloudDialogflowV2OriginalDetectIntentRequest OriginalDetectIntentRequest { get; set; } + + /// The result of the conversational query or event processing. Contains the same value as + /// `[Streaming]DetectIntentResponse.query_result`. + [Newtonsoft.Json.JsonPropertyAttribute("queryResult")] + public virtual GoogleCloudDialogflowV2QueryResult QueryResult { get; set; } + + /// The unique identifier of the response. Contains the same value as + /// `[Streaming]DetectIntentResponse.response_id`. + [Newtonsoft.Json.JsonPropertyAttribute("responseId")] + public virtual string ResponseId { get; set; } + + /// The unique identifier of detectIntent request session. Can be used to identify end-user inside + /// webhook implementation. Format: `projects//agent/sessions/`, or + /// `projects//agent/environments//users//sessions/`. + [Newtonsoft.Json.JsonPropertyAttribute("session")] + public virtual string Session { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for a webhook call. + /// + /// This response is validated by the Dialogflow server. If validation fails, an error will be returned in the + /// QueryResult.diagnostic_info field. Setting JSON fields to an empty value with the wrong type is a common error. + /// To avoid this error: + /// + /// - Use `""` for empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null` for empty arrays + /// + /// For more information, see the [Protocol Buffers Language Guide](https://developers.google.com/protocol- + /// buffers/docs/proto3#json). + public class GoogleCloudDialogflowV2WebhookResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Makes the platform immediately invoke another `DetectIntent` call internally with the + /// specified event as input. When this field is set, Dialogflow ignores the `fulfillment_text`, + /// `fulfillment_messages`, and `payload` fields. + [Newtonsoft.Json.JsonPropertyAttribute("followupEventInput")] + public virtual GoogleCloudDialogflowV2EventInput FollowupEventInput { get; set; } + + /// Optional. The collection of rich messages to present to the user. This value is passed directly to + /// `QueryResult.fulfillment_messages`. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentMessages")] + public virtual System.Collections.Generic.IList FulfillmentMessages { get; set; } + + /// Optional. The text to be shown on the screen. This value is passed directly to + /// `QueryResult.fulfillment_text`. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentText")] + public virtual string FulfillmentText { get; set; } + + /// Optional. The collection of output contexts. This value is passed directly to + /// `QueryResult.output_contexts`. + [Newtonsoft.Json.JsonPropertyAttribute("outputContexts")] + public virtual System.Collections.Generic.IList OutputContexts { get; set; } + + /// Optional. This value is passed directly to `QueryResult.webhook_payload`. See the related + /// `fulfillment_messages[i].payload field`, which may be used as an alternative to this field. + /// + /// This field can be used for Actions on Google responses. It should have a structure similar to the JSON + /// message shown here. For more information, see [Actions on Google Webhook + /// Format](https://developers.google.com/actions/dialogflow/webhook) { "google": { "expectUserResponse": true, + /// "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": "this is a simple response" } } ] } } + /// } + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// Optional. Additional session entity types to replace or extend developer entity types with. The + /// entity synonyms apply to all languages and persist for the session of this query. Setting the session entity + /// types inside webhook overwrites the session entity types that have been set through + /// `DetectIntentRequest.query_params.session_entity_types`. + [Newtonsoft.Json.JsonPropertyAttribute("sessionEntityTypes")] + public virtual System.Collections.Generic.IList SessionEntityTypes { get; set; } + + /// Optional. This value is passed directly to `QueryResult.webhook_source`. + [Newtonsoft.Json.JsonPropertyAttribute("source")] + public virtual string Source { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an annotated conversation dataset. ConversationDataset can have multiple + /// AnnotatedConversationDataset, each of them represents one result from one annotation task. + /// AnnotatedConversationDataset can only be generated from annotation task, which will be triggered by + /// LabelConversation. + public class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. Number of examples that have annotations in the annotated conversation + /// dataset. + [Newtonsoft.Json.JsonPropertyAttribute("completedExampleCount")] + public virtual System.Nullable CompletedExampleCount { get; set; } + + /// Output only. Creation time of this annotated conversation dataset. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Optional. The description of the annotated conversation dataset. Maximum of 10000 bytes. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Required. The display name of the annotated conversation dataset. It's specified when user starts + /// an annotation task. Maximum of 64 bytes. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Output only. Number of examples in the annotated conversation dataset. + [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] + public virtual System.Nullable ExampleCount { get; set; } + + /// Output only. AnnotatedConversationDataset resource name. Format: + /// `projects//conversationDatasets//annotatedConversationDatasets/` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Question type name that identifies a labeling task. A question is a single task that a + /// worker answers. A question type is set of related questions. Each question belongs to a particular question + /// type. It can be used in CrowdCompute UI to filter and manage labeling tasks. + [Newtonsoft.Json.JsonPropertyAttribute("questionTypeName")] + public virtual string QuestionTypeName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for EntityTypes.BatchUpdateEntityTypes. + public class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of updated or created entity types. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypes")] + public virtual System.Collections.Generic.IList EntityTypes { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Intents.BatchUpdateIntents. + public class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The collection of updated or created intents. + [Newtonsoft.Json.JsonPropertyAttribute("intents")] + public virtual System.Collections.Generic.IList Intents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a context. + public class GoogleCloudDialogflowV2beta1Context : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The number of conversational query requests after which the context expires. If set to + /// `0` (the default) the context expires immediately. Contexts expire automatically after 20 minutes if there + /// are no matching queries. + [Newtonsoft.Json.JsonPropertyAttribute("lifespanCount")] + public virtual System.Nullable LifespanCount { get; set; } + + /// Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or + /// `projects//agent/environments//users//sessions//contexts/`. + /// + /// The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at + /// most 250 bytes long. + /// + /// If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, + /// we assume default '-' user. + /// + /// The following context names are reserved for internal use by Dialogflow. You should not use these contexts + /// or create contexts with these names: + /// + /// * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The collection of parameters associated with this context. Refer to [this + /// doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) for syntax. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an entity type. Entity types serve as a tool for extracting parameter values from natural + /// language queries. + public class GoogleCloudDialogflowV2beta1EntityType : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Indicates whether the entity type can be automatically expanded. + [Newtonsoft.Json.JsonPropertyAttribute("autoExpansionMode")] + public virtual string AutoExpansionMode { get; set; } + + /// Required. The name of the entity type. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. Enables fuzzy entity extraction during classification. + [Newtonsoft.Json.JsonPropertyAttribute("enableFuzzyExtraction")] + public virtual System.Nullable EnableFuzzyExtraction { get; set; } + + /// Optional. The collection of entity entries associated with the entity type. + [Newtonsoft.Json.JsonPropertyAttribute("entities")] + public virtual System.Collections.Generic.IList Entities { get; set; } + + /// Required. Indicates the kind of entity type. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and + /// EntityTypes.BatchUpdateEntityTypes methods. Format: `projects//agent/entityTypes/`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An **entity entry** for an associated entity type. + public class GoogleCloudDialogflowV2beta1EntityTypeEntity : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. A collection of value synonyms. For example, if the entity type is *vegetable*, and + /// `value` is *scallions*, a synonym could be *green onions*. + /// + /// For `KIND_LIST` entity types: + /// + /// * This collection must contain exactly one synonym equal to `value`. + [Newtonsoft.Json.JsonPropertyAttribute("synonyms")] + public virtual System.Collections.Generic.IList Synonyms { get; set; } + + /// Required. The primary value associated with this entity entry. For example, if the entity type is + /// *vegetable*, the value could be *scallions*. + /// + /// For `KIND_MAP` entity types: + /// + /// * A reference value to be used in place of synonyms. + /// + /// For `KIND_LIST` entity types: + /// + /// * A string that can contain references to other entity types (with or without aliases). + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Events allow for matching intents by event name instead of the natural language input. For instance, + /// input `` can trigger a personalized welcome response. The parameter `name` may be used by the agent in the + /// response: `"Hello #welcome_event.name! What can I do for you today?"`. + public class GoogleCloudDialogflowV2beta1EventInput : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The language of this query. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. Note that queries in the same session do not necessarily need to specify the same + /// language. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Required. The unique identifier of the event. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The collection of parameters associated with the event. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Agents.ExportAgent. + public class GoogleCloudDialogflowV2beta1ExportAgentResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Zip compressed raw byte content for agent. + [Newtonsoft.Json.JsonPropertyAttribute("agentContent")] + public virtual string AgentContent { get; set; } + + /// The URI to a file containing the exported agent. This field is populated only if `agent_uri` is + /// specified in `ExportAgentRequest`. + [Newtonsoft.Json.JsonPropertyAttribute("agentUri")] + public virtual string AgentUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an intent. Intents convert a number of user expressions or patterns into an action. An + /// action is an extraction of a user command or sentence semantics. + public class GoogleCloudDialogflowV2beta1Intent : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The name of the action associated with the intent. Note: The action name must not contain + /// whitespaces. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual string Action { get; set; } + + /// Optional. The list of platforms for which the first responses will be copied from the messages in + /// PLATFORM_UNSPECIFIED (i.e. default platform). + [Newtonsoft.Json.JsonPropertyAttribute("defaultResponsePlatforms")] + public virtual System.Collections.Generic.IList DefaultResponsePlatforms { get; set; } + + /// Required. The name of this intent. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on + /// Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is + /// false. + [Newtonsoft.Json.JsonPropertyAttribute("endInteraction")] + public virtual System.Nullable EndInteraction { get; set; } + + /// Optional. The collection of event names that trigger the intent. If the collection of input + /// contexts is not empty, all of the contexts must be present in the active user session for an event to + /// trigger this intent. + [Newtonsoft.Json.JsonPropertyAttribute("events")] + public virtual System.Collections.Generic.IList Events { get; set; } + + /// Read-only. Information about all followup intents that have this intent as a direct or indirect + /// parent. We populate this field only in the output. + [Newtonsoft.Json.JsonPropertyAttribute("followupIntentInfo")] + public virtual System.Collections.Generic.IList FollowupIntentInfo { get; set; } + + /// Optional. The list of context names required for this intent to be triggered. Format: + /// `projects//agent/sessions/-/contexts/`. + [Newtonsoft.Json.JsonPropertyAttribute("inputContextNames")] + public virtual System.Collections.Generic.IList InputContextNames { get; set; } + + /// Optional. Indicates whether this is a fallback intent. + [Newtonsoft.Json.JsonPropertyAttribute("isFallback")] + public virtual System.Nullable IsFallback { get; set; } + + /// Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow + /// console. + [Newtonsoft.Json.JsonPropertyAttribute("messages")] + public virtual System.Collections.Generic.IList Messages { get; set; } + + /// Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` + /// setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. + /// Also, auto-markup in the UI is turned off. + [Newtonsoft.Json.JsonPropertyAttribute("mlDisabled")] + public virtual System.Nullable MlDisabled { get; set; } + + /// Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` + /// setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match + /// mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: + /// If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as + /// follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April + /// 15th, 2018 the default is: ml_enabled = true / ml_disabled = false. + [Newtonsoft.Json.JsonPropertyAttribute("mlEnabled")] + public virtual System.Nullable MlEnabled { get; set; } + + /// The unique identifier of this intent. Required for Intents.UpdateIntent and + /// Intents.BatchUpdateIntents methods. Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The collection of contexts that are activated when the intent is matched. Context + /// messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will + /// reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`. + [Newtonsoft.Json.JsonPropertyAttribute("outputContexts")] + public virtual System.Collections.Generic.IList OutputContexts { get; set; } + + /// Optional. The collection of parameters associated with the intent. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IList Parameters { get; set; } + + /// Read-only after creation. The unique identifier of the parent intent in the chain of followup + /// intents. You can set this field when creating an intent, for example with CreateIntent or + /// BatchUpdateIntents, in order to make this intent a followup intent. + /// + /// It identifies the parent followup intent. Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("parentFollowupIntentName")] + public virtual string ParentFollowupIntentName { get; set; } + + /// The priority of this intent. Higher numbers represent higher priorities. + /// + /// - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds + /// to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in + /// runtime detect intent requests. + [Newtonsoft.Json.JsonPropertyAttribute("priority")] + public virtual System.Nullable Priority { get; set; } + + /// Optional. Indicates whether to delete all contexts in the current session when this intent is + /// matched. + [Newtonsoft.Json.JsonPropertyAttribute("resetContexts")] + public virtual System.Nullable ResetContexts { get; set; } + + /// Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies + /// the correct followup intents chain for this intent. We populate this field only in the output. + /// + /// Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("rootFollowupIntentName")] + public virtual string RootFollowupIntentName { get; set; } + + /// Optional. The collection of examples that the agent is trained on. + [Newtonsoft.Json.JsonPropertyAttribute("trainingPhrases")] + public virtual System.Collections.Generic.IList TrainingPhrases { get; set; } + + /// Optional. Indicates whether webhooks are enabled for the intent. + [Newtonsoft.Json.JsonPropertyAttribute("webhookState")] + public virtual string WebhookState { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single followup intent in the chain. + public class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// The unique identifier of the followup intent. Format: `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("followupIntentName")] + public virtual string FollowupIntentName { get; set; } + + /// The unique identifier of the followup intent's parent. Format: + /// `projects//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("parentFollowupIntentName")] + public virtual string ParentFollowupIntentName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Corresponds to the `Response` field in the Dialogflow console. + public class GoogleCloudDialogflowV2beta1IntentMessage : Google.Apis.Requests.IDirectResponseSchema + { + /// Displays a basic card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("basicCard")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageBasicCard BasicCard { get; set; } + + /// Browse carousel card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("browseCarouselCard")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard BrowseCarouselCard { get; set; } + + /// Displays a card. + [Newtonsoft.Json.JsonPropertyAttribute("card")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageCard Card { get; set; } + + /// Displays a carousel card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("carouselSelect")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect CarouselSelect { get; set; } + + /// Displays an image. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Image { get; set; } + + /// Displays a link out suggestion chip for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("linkOutSuggestion")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion LinkOutSuggestion { get; set; } + + /// Displays a list card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("listSelect")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageListSelect ListSelect { get; set; } + + /// The media content card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("mediaContent")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageMediaContent MediaContent { get; set; } + + /// Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform + /// type for a description of the structure that may be required for your platform. + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// Optional. The platform that this message is intended for. + [Newtonsoft.Json.JsonPropertyAttribute("platform")] + public virtual string Platform { get; set; } + + /// Displays quick replies. + [Newtonsoft.Json.JsonPropertyAttribute("quickReplies")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageQuickReplies QuickReplies { get; set; } + + /// Rich Business Messaging (RBM) carousel rich card response. + [Newtonsoft.Json.JsonPropertyAttribute("rbmCarouselRichCard")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard RbmCarouselRichCard { get; set; } + + /// Standalone Rich Business Messaging (RBM) rich card response. + [Newtonsoft.Json.JsonPropertyAttribute("rbmStandaloneRichCard")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard RbmStandaloneRichCard { get; set; } + + /// Rich Business Messaging (RBM) text response. + /// + /// RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business- + /// messaging. + [Newtonsoft.Json.JsonPropertyAttribute("rbmText")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmText RbmText { get; set; } + + /// Returns a voice or text-only response for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("simpleResponses")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses SimpleResponses { get; set; } + + /// Displays suggestion chips for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("suggestions")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageSuggestions Suggestions { get; set; } + + /// Table card for Actions on Google. + [Newtonsoft.Json.JsonPropertyAttribute("tableCard")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageTableCard TableCard { get; set; } + + /// Plays audio from a file in Telephony Gateway. + [Newtonsoft.Json.JsonPropertyAttribute("telephonyPlayAudio")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio TelephonyPlayAudio { get; set; } + + /// Synthesizes speech in Telephony Gateway. + [Newtonsoft.Json.JsonPropertyAttribute("telephonySynthesizeSpeech")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech TelephonySynthesizeSpeech { get; set; } + + /// Transfers the call in Telephony Gateway. + [Newtonsoft.Json.JsonPropertyAttribute("telephonyTransferCall")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall TelephonyTransferCall { get; set; } + + /// Returns a text response. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageText Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The basic card message. Useful for displaying information. + public class GoogleCloudDialogflowV2beta1IntentMessageBasicCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of card buttons. + [Newtonsoft.Json.JsonPropertyAttribute("buttons")] + public virtual System.Collections.Generic.IList Buttons { get; set; } + + /// Required, unless image is present. The body text of the card. + [Newtonsoft.Json.JsonPropertyAttribute("formattedText")] + public virtual string FormattedText { get; set; } + + /// Optional. The image for the card. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Image { get; set; } + + /// Optional. The subtitle of the card. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Optional. The title of the card. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The button object that appears at the bottom of a card. + public class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Action to take when a user taps on the button. + [Newtonsoft.Json.JsonPropertyAttribute("openUriAction")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction OpenUriAction { get; set; } + + /// Required. The title of the button. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Opens the given URI. + public class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The HTTP or HTTPS scheme URI. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Browse Carousel Card for Actions on Google. + /// https://developers.google.com/actions/assistant/responses#browsing_carousel + public class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Settings for displaying the image. Applies to every image in items. + [Newtonsoft.Json.JsonPropertyAttribute("imageDisplayOptions")] + public virtual string ImageDisplayOptions { get; set; } + + /// Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of + /// ten. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Browsing carousel tile + public class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Description of the carousel item. Maximum of four lines of text. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of + /// text. + [Newtonsoft.Json.JsonPropertyAttribute("footer")] + public virtual string Footer { get; set; } + + /// Optional. Hero image for the carousel item. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Image { get; set; } + + /// Required. Action to present to the user. + [Newtonsoft.Json.JsonPropertyAttribute("openUriAction")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction OpenUriAction { get; set; } + + /// Required. Title of the carousel item. Maximum of two lines of text. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Actions on Google action to open a given url. + public class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. URL + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via + /// web browser. + [Newtonsoft.Json.JsonPropertyAttribute("urlTypeHint")] + public virtual string UrlTypeHint { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The card response message. + public class GoogleCloudDialogflowV2beta1IntentMessageCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of card buttons. + [Newtonsoft.Json.JsonPropertyAttribute("buttons")] + public virtual System.Collections.Generic.IList Buttons { get; set; } + + /// Optional. The public URI to an image file for the card. + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// Optional. The subtitle of the card. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Optional. The title of the card. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Optional. Contains information about a button. + public class GoogleCloudDialogflowV2beta1IntentMessageCardButton : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The text to send back to the Dialogflow API or a URI to open. + [Newtonsoft.Json.JsonPropertyAttribute("postback")] + public virtual string Postback { get; set; } + + /// Optional. The text to show on the button. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The card for presenting a carousel of options to select from. + public class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Carousel items. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An item in the carousel. + public class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The body text of the card. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. The image to display. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Image { get; set; } + + /// Required. Additional info about the option item. + [Newtonsoft.Json.JsonPropertyAttribute("info")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo Info { get; set; } + + /// Required. Title of the carousel item. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Column properties for TableCard. + public class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Column heading. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Optional. Defines text alignment for all cells in this column. + [Newtonsoft.Json.JsonPropertyAttribute("horizontalAlignment")] + public virtual string HorizontalAlignment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The image response message. + public class GoogleCloudDialogflowV2beta1IntentMessageImage : Google.Apis.Requests.IDirectResponseSchema + { + /// A text description of the image to be used for accessibility, e.g., screen readers. Required if + /// image_uri is set for CarouselSelect. + [Newtonsoft.Json.JsonPropertyAttribute("accessibilityText")] + public virtual string AccessibilityText { get; set; } + + /// Optional. The public URI to an image file. + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The suggestion chip message that allows the user to jump out to the app or website associated with this + /// agent. + public class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The name of the app or site this chip is linking to. + [Newtonsoft.Json.JsonPropertyAttribute("destinationName")] + public virtual string DestinationName { get; set; } + + /// Required. The URI of the app or site to open when the user taps the suggestion chip. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The card for presenting a list of options to select from. + public class GoogleCloudDialogflowV2beta1IntentMessageListSelect : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. List items. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// Optional. Subtitle of the list. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Optional. The overall title of the list. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An item in the list. + public class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The main text describing the item. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. The image to display. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Image { get; set; } + + /// Required. Additional information about this option. + [Newtonsoft.Json.JsonPropertyAttribute("info")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo Info { get; set; } + + /// Required. The title of the list item. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The media content card for Actions on Google. + public class GoogleCloudDialogflowV2beta1IntentMessageMediaContent : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. List of media objects. + [Newtonsoft.Json.JsonPropertyAttribute("mediaObjects")] + public virtual System.Collections.Generic.IList MediaObjects { get; set; } + + /// Optional. What type of media is the content (ie "audio"). + [Newtonsoft.Json.JsonPropertyAttribute("mediaType")] + public virtual string MediaType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response media object for media content card. + public class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Url where the media is stored. + [Newtonsoft.Json.JsonPropertyAttribute("contentUrl")] + public virtual string ContentUrl { get; set; } + + /// Optional. Description of media card. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. Icon to display above media content. + [Newtonsoft.Json.JsonPropertyAttribute("icon")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Icon { get; set; } + + /// Optional. Image to display above media content. + [Newtonsoft.Json.JsonPropertyAttribute("largeImage")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage LargeImage { get; set; } + + /// Required. Name of media card. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The quick replies response message. + public class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of quick replies. + [Newtonsoft.Json.JsonPropertyAttribute("quickReplies")] + public virtual System.Collections.Generic.IList QuickReplies { get; set; } + + /// Optional. The title of the collection of quick replies. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Rich Business Messaging (RBM) Card content + public class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Description of the card (at most 2000 bytes). + /// + /// At least one of the title, description or media must be set. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Optional. However at least one of the title, description or media must be set. Media (image, GIF or + /// a video) to include in the card. + [Newtonsoft.Json.JsonPropertyAttribute("media")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia Media { get; set; } + + /// Optional. List of suggestions to include in the card. + [Newtonsoft.Json.JsonPropertyAttribute("suggestions")] + public virtual System.Collections.Generic.IList Suggestions { get; set; } + + /// Optional. Title of the card (at most 200 bytes). + /// + /// At least one of the title, description or media must be set. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently + /// supported: + /// + /// ## Image Types + /// + /// image/jpeg image/jpg' image/gif image/png + /// + /// ## Video Types + /// + /// video/h263 video/m4v video/mp4 video/mpeg video/mpeg4 video/webm + public class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file + /// from the content-type field in the HTTP headers when the platform fetches the file. The content-type field + /// must be present and accurate in the HTTP response from the URL. + [Newtonsoft.Json.JsonPropertyAttribute("fileUri")] + public virtual string FileUri { get; set; } + + /// Required for cards with vertical orientation. The height of the media within a rich card with a + /// vertical layout. (https://goo.gl/NeFCjz). For a standalone card with horizontal layout, height is not + /// customizable, and this field is ignored. + [Newtonsoft.Json.JsonPropertyAttribute("height")] + public virtual string Height { get; set; } + + /// Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM + /// platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the + /// user's setting, the file may not download automatically and may require the user to tap a download + /// button. + [Newtonsoft.Json.JsonPropertyAttribute("thumbnailUri")] + public virtual string ThumbnailUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Carousel Rich Business Messaging (RBM) rich card. + /// + /// Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. + /// + /// For more details about RBM rich cards, please see: https://developers.google.com/rcs-business- + /// messaging/rbm/guides/build/send-messages#rich-cards. If you want to show a single card with more control over + /// the layout, please use RbmStandaloneCard instead. + public class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The cards in the carousel. A carousel must have at least 2 cards and at most + /// 10. + [Newtonsoft.Json.JsonPropertyAttribute("cardContents")] + public virtual System.Collections.Generic.IList CardContents { get; set; } + + /// Required. The width of the cards in the carousel. + [Newtonsoft.Json.JsonPropertyAttribute("cardWidth")] + public virtual string CardWidth { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Standalone Rich Business Messaging (RBM) rich card. + /// + /// Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. + /// + /// For more details about RBM rich cards, please see: https://developers.google.com/rcs-business- + /// messaging/rbm/guides/build/send-messages#rich-cards. You can group multiple rich cards into one using + /// RbmCarouselCard but carousel cards will give you less control over the card layout. + public class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Card content. + [Newtonsoft.Json.JsonPropertyAttribute("cardContent")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent CardContent { get; set; } + + /// Required. Orientation of the card. + [Newtonsoft.Json.JsonPropertyAttribute("cardOrientation")] + public virtual string CardOrientation { get; set; } + + /// Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal + /// layout. + [Newtonsoft.Json.JsonPropertyAttribute("thumbnailImageAlignment")] + public virtual string ThumbnailImageAlignment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Rich Business Messaging (RBM) suggested client-side action that the user can choose from the + /// card. + public class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Suggested client side action: Dial a phone number + [Newtonsoft.Json.JsonPropertyAttribute("dial")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial Dial { get; set; } + + /// Suggested client side action: Open a URI on device + [Newtonsoft.Json.JsonPropertyAttribute("openUrl")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri OpenUrl { get; set; } + + /// Opaque payload that the Dialogflow receives in a user event when the user taps the suggested + /// action. This data will be also forwarded to webhook to allow performing custom business logic. + [Newtonsoft.Json.JsonPropertyAttribute("postbackData")] + public virtual string PostbackData { get; set; } + + /// Suggested client side action: Share user location + [Newtonsoft.Json.JsonPropertyAttribute("shareLocation")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation ShareLocation { get; set; } + + /// Text to display alongside the action. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Opens the user's default dialer app with the specified phone number but does not dial automatically + /// (https://goo.gl/ergbB2). + public class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The phone number to fill in the default dialer app. This field should be in + /// [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: + /// +15556767888. + [Newtonsoft.Json.JsonPropertyAttribute("phoneNumber")] + public virtual string PhoneNumber { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Opens the user's default web browser app to the specified uri (https://goo.gl/6GLJD2). If the user has + /// an app installed that is registered as the default handler for the URL, then this app will be opened instead, + /// and its icon will be used in the suggested action UI. + public class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The uri to open on the user device + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Opens the device's location chooser so the user can pick a location to send back to the agent + /// (https://goo.gl/GXotJW). + public class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own + /// response. + public class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply : Google.Apis.Requests.IDirectResponseSchema + { + /// Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. + /// This data will be also forwarded to webhook to allow performing custom business logic. + [Newtonsoft.Json.JsonPropertyAttribute("postbackData")] + public virtual string PostbackData { get; set; } + + /// Suggested reply text. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined + /// response or perform an action (like opening a web uri). + public class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion : Google.Apis.Requests.IDirectResponseSchema + { + /// Predefined client side actions that user can choose + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction Action { get; set; } + + /// Predefined replies for user to select instead of typing + [Newtonsoft.Json.JsonPropertyAttribute("reply")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply Reply { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Rich Business Messaging (RBM) text response with suggestions. + public class GoogleCloudDialogflowV2beta1IntentMessageRbmText : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. One or more suggestions to show to the user. + [Newtonsoft.Json.JsonPropertyAttribute("rbmSuggestion")] + public virtual System.Collections.Generic.IList RbmSuggestion { get; set; } + + /// Required. Text sent and displayed to the user. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Additional info about the select item for when it is triggered in a dialog. + public class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. A unique key that will be sent back to the agent if this response is given. + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } + + /// Optional. A list of synonyms that can also be used to trigger this item in dialog. + [Newtonsoft.Json.JsonPropertyAttribute("synonyms")] + public virtual System.Collections.Generic.IList Synonyms { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The simple response message containing speech or text. + public class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The text to display. + [Newtonsoft.Json.JsonPropertyAttribute("displayText")] + public virtual string DisplayText { get; set; } + + /// One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML + /// format. Mutually exclusive with text_to_speech. + [Newtonsoft.Json.JsonPropertyAttribute("ssml")] + public virtual string Ssml { get; set; } + + /// One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually + /// exclusive with ssml. + [Newtonsoft.Json.JsonPropertyAttribute("textToSpeech")] + public virtual string TextToSpeech { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and + /// `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. + public class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The list of simple responses. + [Newtonsoft.Json.JsonPropertyAttribute("simpleResponses")] + public virtual System.Collections.Generic.IList SimpleResponses { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The suggestion chip message that the user can tap to quickly post a reply to the + /// conversation. + public class GoogleCloudDialogflowV2beta1IntentMessageSuggestion : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The text shown the in the suggestion chip. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The collection of suggestions. + public class GoogleCloudDialogflowV2beta1IntentMessageSuggestions : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The list of suggested replies. + [Newtonsoft.Json.JsonPropertyAttribute("suggestions")] + public virtual System.Collections.Generic.IList Suggestions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Table card for Actions on Google. + public class GoogleCloudDialogflowV2beta1IntentMessageTableCard : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. List of buttons for the card. + [Newtonsoft.Json.JsonPropertyAttribute("buttons")] + public virtual System.Collections.Generic.IList Buttons { get; set; } + + /// Optional. Display properties for the columns in this table. + [Newtonsoft.Json.JsonPropertyAttribute("columnProperties")] + public virtual System.Collections.Generic.IList ColumnProperties { get; set; } + + /// Optional. Image which should be displayed on the card. + [Newtonsoft.Json.JsonPropertyAttribute("image")] + public virtual GoogleCloudDialogflowV2beta1IntentMessageImage Image { get; set; } + + /// Optional. Rows in this table of data. + [Newtonsoft.Json.JsonPropertyAttribute("rows")] + public virtual System.Collections.Generic.IList Rows { get; set; } + + /// Optional. Subtitle to the title. + [Newtonsoft.Json.JsonPropertyAttribute("subtitle")] + public virtual string Subtitle { get; set; } + + /// Required. Title of the card. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Cell of TableCardRow. + public class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Text in this cell. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Row of TableCard. + public class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. List of cells that make up this row. + [Newtonsoft.Json.JsonPropertyAttribute("cells")] + public virtual System.Collections.Generic.IList Cells { get; set; } + + /// Optional. Whether to add a visual divider after this row. + [Newtonsoft.Json.JsonPropertyAttribute("dividerAfter")] + public virtual System.Nullable DividerAfter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Plays audio from a file in Telephony Gateway. + public class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. URI to a Google Cloud Storage object containing the audio to play, e.g., + /// "gs://bucket/object". The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) + /// at 8kHz. + /// + /// This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account + /// where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If + /// the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default + /// when enabling the Dialogflow V2 API. + /// + /// For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML. + [Newtonsoft.Json.JsonPropertyAttribute("audioUri")] + public virtual string AudioUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. + /// + /// Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can + /// either be set at request-level or can come from the agent-level synthesizer config. + public class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech : Google.Apis.Requests.IDirectResponseSchema + { + /// The SSML to be synthesized. For more information, see + /// [SSML](https://developers.google.com/actions/reference/ssml). + [Newtonsoft.Json.JsonPropertyAttribute("ssml")] + public virtual string Ssml { get; set; } + + /// The raw text to be synthesized. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Transfers the call in Telephony Gateway. + public class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The phone number to transfer the call to in [E.164 + /// format](https://en.wikipedia.org/wiki/E.164). + /// + /// We currently only allow transferring to US numbers (+1xxxyyyzzzz). + [Newtonsoft.Json.JsonPropertyAttribute("phoneNumber")] + public virtual string PhoneNumber { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The text response message. + public class GoogleCloudDialogflowV2beta1IntentMessageText : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The collection of the agent's responses. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual System.Collections.Generic.IList Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents intent parameters. + public class GoogleCloudDialogflowV2beta1IntentParameter : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The default value to use when the `value` yields an empty result. Default values can be + /// extracted from contexts by using the following syntax: `#context_name.parameter_name`. + [Newtonsoft.Json.JsonPropertyAttribute("defaultValue")] + public virtual string DefaultValue { get; set; } + + /// Required. The name of the parameter. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. + /// If the parameter is required, this must be provided. + [Newtonsoft.Json.JsonPropertyAttribute("entityTypeDisplayName")] + public virtual string EntityTypeDisplayName { get; set; } + + /// Optional. Indicates whether the parameter represents a list of values. + [Newtonsoft.Json.JsonPropertyAttribute("isList")] + public virtual System.Nullable IsList { get; set; } + + /// Optional. Indicates whether the parameter is required. That is, whether the intent cannot be + /// completed without collecting the parameter value. + [Newtonsoft.Json.JsonPropertyAttribute("mandatory")] + public virtual System.Nullable Mandatory { get; set; } + + /// The unique identifier of this parameter. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The collection of prompts that the agent can present to the user in order to collect a + /// value for the parameter. + [Newtonsoft.Json.JsonPropertyAttribute("prompts")] + public virtual System.Collections.Generic.IList Prompts { get; set; } + + /// Optional. The definition of the parameter value. It can be: - a constant string, - a parameter + /// value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a + /// parameter value from some context defined as `#context_name.parameter_name`. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an example that the agent is trained on. + public class GoogleCloudDialogflowV2beta1IntentTrainingPhrase : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The unique identifier of this training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Required. The ordered list of training phrase parts. The parts are concatenated in order to form + /// the training phrase. + /// + /// Note: The API does not automatically annotate training phrases like the Dialogflow Console does. + /// + /// Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when + /// the parts are concatenated. + /// + /// If the training phrase does not need to be annotated with parameters, you just need a single part with only + /// the Part.text field set. + /// + /// If you want to annotate the training phrase, you must create multiple parts, where the fields of each part + /// are populated in one of two ways: + /// + /// - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of + /// the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all + /// set. + [Newtonsoft.Json.JsonPropertyAttribute("parts")] + public virtual System.Collections.Generic.IList Parts { get; set; } + + /// Optional. Indicates how many times this example was added to the intent. Each time a developer adds + /// an existing sample by editing an intent or training, this counter is increased. + [Newtonsoft.Json.JsonPropertyAttribute("timesAddedCount")] + public virtual System.Nullable TimesAddedCount { get; set; } + + /// Required. The type of the training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a part of a training phrase. + public class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The parameter name for the value extracted from the annotated part of the example. This + /// field is required for annotated parts of the training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("alias")] + public virtual string Alias { get; set; } + + /// Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the + /// training phrase. + [Newtonsoft.Json.JsonPropertyAttribute("entityType")] + public virtual string EntityType { get; set; } + + /// Required. The text for this part. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// Optional. Indicates whether the text was manually annotated. This field is set to true when the + /// Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you + /// must set this to true. + [Newtonsoft.Json.JsonPropertyAttribute("userDefined")] + public virtual System.Nullable UserDefined { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the result of querying a Knowledge base. + public class GoogleCloudDialogflowV2beta1KnowledgeAnswers : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of answers from Knowledge Connector. + [Newtonsoft.Json.JsonPropertyAttribute("answers")] + public virtual System.Collections.Generic.IList Answers { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An answer from Knowledge Connector. + public class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer : Google.Apis.Requests.IDirectResponseSchema + { + /// The piece of text from the `source` knowledge base document that answers this conversational + /// query. + [Newtonsoft.Json.JsonPropertyAttribute("answer")] + public virtual string Answer { get; set; } + + /// The corresponding FAQ question if the answer was extracted from a FAQ Document, empty + /// otherwise. + [Newtonsoft.Json.JsonPropertyAttribute("faqQuestion")] + public virtual string FaqQuestion { get; set; } + + /// The system's confidence score that this Knowledge answer is a good match for this conversational + /// query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain). Note: The confidence score + /// is likely to vary somewhat (possibly even for identical requests), as the underlying model is under constant + /// improvement. It may be deprecated in the future. We recommend using `match_confidence_level` which should be + /// generally more stable. + [Newtonsoft.Json.JsonPropertyAttribute("matchConfidence")] + public virtual System.Nullable MatchConfidence { get; set; } + + /// The system's confidence level that this knowledge answer is a good match for this conversational + /// query. NOTE: The confidence level for a given `` pair may change without notice, as it depends on models + /// that are constantly being improved. However, it will change less frequently than the confidence score below, + /// and should be preferred for referencing the quality of an answer. + [Newtonsoft.Json.JsonPropertyAttribute("matchConfidenceLevel")] + public virtual string MatchConfidenceLevel { get; set; } + + /// Indicates which Knowledge Document this answer was extracted from. Format: + /// `projects//knowledgeBases//documents/`. + [Newtonsoft.Json.JsonPropertyAttribute("source")] + public virtual string Source { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Metadata in google::longrunning::Operation for Knowledge operations. + public class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The current state of this operation. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response for ConversationDatasets.LabelConversation. + public class GoogleCloudDialogflowV2beta1LabelConversationResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// New annotated conversation dataset created by the labeling task. + [Newtonsoft.Json.JsonPropertyAttribute("annotatedConversationDataset")] + public virtual GoogleCloudDialogflowV2beta1AnnotatedConversationDataset AnnotatedConversationDataset { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the contents of the original request that was passed to the `[Streaming]DetectIntent` + /// call. + public class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. This field is set to the value of the `QueryParameters.payload` field passed in the + /// request. Some integrations that query a Dialogflow agent may provide additional information in the payload. + /// + /// In particular for the Telephony Gateway this field has the form: { "telephony": { "caller_id": + /// "+18558363987" } } Note: The caller ID field (`caller_id`) will be redacted for Standard Edition agents and + /// populated with the caller ID in [E.164 format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition + /// agents. + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned + /// servers. + [Newtonsoft.Json.JsonPropertyAttribute("source")] + public virtual string Source { get; set; } + + /// Optional. The version of the protocol used for this request. This field is AoG-specific. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual string Version { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the result of conversational query or event processing. + public class GoogleCloudDialogflowV2beta1QueryResult : Google.Apis.Requests.IDirectResponseSchema + { + /// The action name from the matched intent. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual string Action { get; set; } + + /// This field is set to: + /// + /// - `false` if the matched intent has required parameters and not all of the required parameter values have + /// been collected. - `true` if all required parameter values have been collected, or if the matched intent + /// doesn't contain any required parameters. + [Newtonsoft.Json.JsonPropertyAttribute("allRequiredParamsPresent")] + public virtual System.Nullable AllRequiredParamsPresent { get; set; } + + /// Free-form diagnostic information for the associated detect intent request. The fields of this data + /// can change without notice, so you should not write code that depends on its structure. The data may contain: + /// + /// - webhook call latency - webhook errors + [Newtonsoft.Json.JsonPropertyAttribute("diagnosticInfo")] + public virtual System.Collections.Generic.IDictionary DiagnosticInfo { get; set; } + + /// The collection of rich messages to present to the user. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentMessages")] + public virtual System.Collections.Generic.IList FulfillmentMessages { get; set; } + + /// The text to be pronounced to the user or shown on the screen. Note: This is a legacy field, + /// `fulfillment_messages` should be preferred. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentText")] + public virtual string FulfillmentText { get; set; } + + /// The intent that matched the conversational query. Some, not all fields are filled in this message, + /// including but not limited to: `name`, `display_name`, `end_interaction` and `is_fallback`. + [Newtonsoft.Json.JsonPropertyAttribute("intent")] + public virtual GoogleCloudDialogflowV2beta1Intent Intent { get; set; } + + /// The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely + /// certain). This value is for informational purpose only and is only used to help match the best intent within + /// the classification threshold. This value may change for the same end-user expression at any time due to a + /// model retraining or change in implementation. If there are `multiple knowledge_answers` messages, this value + /// is set to the greatest `knowledgeAnswers.match_confidence` value in the list. + [Newtonsoft.Json.JsonPropertyAttribute("intentDetectionConfidence")] + public virtual System.Nullable IntentDetectionConfidence { get; set; } + + /// The result from Knowledge Connector (if any), ordered by decreasing + /// `KnowledgeAnswers.match_confidence`. + [Newtonsoft.Json.JsonPropertyAttribute("knowledgeAnswers")] + public virtual GoogleCloudDialogflowV2beta1KnowledgeAnswers KnowledgeAnswers { get; set; } + + /// The language that was triggered during intent detection. See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported + /// language codes. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// The collection of output contexts. If applicable, `output_contexts.parameters` contains entries + /// with name `.original` containing the original parameter values before the query. + [Newtonsoft.Json.JsonPropertyAttribute("outputContexts")] + public virtual System.Collections.Generic.IList OutputContexts { get; set; } + + /// The collection of extracted parameters. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The original conversational query text: + /// + /// - If natural language text was provided as input, `query_text` contains a copy of the input. - If natural + /// language speech audio was provided as input, `query_text` contains the speech recognition result. If speech + /// recognizer produced multiple alternatives, a particular one is picked. - If automatic spell correction is + /// enabled, `query_text` will contain the corrected user input. + [Newtonsoft.Json.JsonPropertyAttribute("queryText")] + public virtual string QueryText { get; set; } + + /// The sentiment analysis result, which depends on the `sentiment_analysis_request_config` specified + /// in the request. + [Newtonsoft.Json.JsonPropertyAttribute("sentimentAnalysisResult")] + public virtual GoogleCloudDialogflowV2beta1SentimentAnalysisResult SentimentAnalysisResult { get; set; } + + /// The Speech recognition confidence between 0.0 and 1.0. A higher number indicates an estimated + /// greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating + /// that confidence was not set. + /// + /// This field is not guaranteed to be accurate or set. In particular this field isn't set for + /// StreamingDetectIntent since the streaming endpoint has separate confidence estimates per portion of the + /// audio in StreamingRecognitionResult. + [Newtonsoft.Json.JsonPropertyAttribute("speechRecognitionConfidence")] + public virtual System.Nullable SpeechRecognitionConfidence { get; set; } + + /// If the query was fulfilled by a webhook call, this field is set to the value of the `payload` field + /// returned in the webhook response. + [Newtonsoft.Json.JsonPropertyAttribute("webhookPayload")] + public virtual System.Collections.Generic.IDictionary WebhookPayload { get; set; } + + /// If the query was fulfilled by a webhook call, this field is set to the value of the `source` field + /// returned in the webhook response. + [Newtonsoft.Json.JsonPropertyAttribute("webhookSource")] + public virtual string WebhookSource { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the + /// query text. + public class GoogleCloudDialogflowV2beta1Sentiment : Google.Apis.Requests.IDirectResponseSchema + { + /// A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, + /// regardless of score (positive or negative). + [Newtonsoft.Json.JsonPropertyAttribute("magnitude")] + public virtual System.Nullable Magnitude { get; set; } + + /// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment). + [Newtonsoft.Json.JsonPropertyAttribute("score")] + public virtual System.Nullable Score { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The result of sentiment analysis as configured by `sentiment_analysis_request_config`. + public class GoogleCloudDialogflowV2beta1SentimentAnalysisResult : Google.Apis.Requests.IDirectResponseSchema + { + /// The sentiment analysis result for `query_text`. + [Newtonsoft.Json.JsonPropertyAttribute("queryTextSentiment")] + public virtual GoogleCloudDialogflowV2beta1Sentiment QueryTextSentiment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a session entity type. + /// + /// Extends or replaces a custom entity type at the user session level (we refer to the entity types defined at the + /// agent level as "custom entity types"). + /// + /// Note: session entity types apply to all queries, regardless of the language. + public class GoogleCloudDialogflowV2beta1SessionEntityType : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The collection of entities associated with this session entity type. + [Newtonsoft.Json.JsonPropertyAttribute("entities")] + public virtual System.Collections.Generic.IList Entities { get; set; } + + /// Required. Indicates whether the additional data should override or supplement the custom entity + /// type definition. + [Newtonsoft.Json.JsonPropertyAttribute("entityOverrideMode")] + public virtual string EntityOverrideMode { get; set; } + + /// Required. The unique identifier of this session entity type. Format: + /// `projects//agent/sessions//entityTypes/`, or `projects//agent/environments//users//sessions//entityTypes/`. + /// If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, + /// we assume default '-' user. + /// + /// `` must be the display name of an existing entity type in the same agent that will be overridden or + /// supplemented. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for a webhook call. + public class GoogleCloudDialogflowV2beta1WebhookRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Alternative query results from KnowledgeService. + [Newtonsoft.Json.JsonPropertyAttribute("alternativeQueryResults")] + public virtual System.Collections.Generic.IList AlternativeQueryResults { get; set; } + + /// Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` + /// call. + [Newtonsoft.Json.JsonPropertyAttribute("originalDetectIntentRequest")] + public virtual GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest OriginalDetectIntentRequest { get; set; } + + /// The result of the conversational query or event processing. Contains the same value as + /// `[Streaming]DetectIntentResponse.query_result`. + [Newtonsoft.Json.JsonPropertyAttribute("queryResult")] + public virtual GoogleCloudDialogflowV2beta1QueryResult QueryResult { get; set; } + + /// The unique identifier of the response. Contains the same value as + /// `[Streaming]DetectIntentResponse.response_id`. + [Newtonsoft.Json.JsonPropertyAttribute("responseId")] + public virtual string ResponseId { get; set; } + + /// The unique identifier of detectIntent request session. Can be used to identify end-user inside + /// webhook implementation. Format: `projects//agent/sessions/`, or + /// `projects//agent/environments//users//sessions/`. + [Newtonsoft.Json.JsonPropertyAttribute("session")] + public virtual string Session { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for a webhook call. + /// + /// This response is validated by the Dialogflow server. If validation fails, an error will be returned in the + /// QueryResult.diagnostic_info field. Setting JSON fields to an empty value with the wrong type is a common error. + /// To avoid this error: + /// + /// - Use `""` for empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null` for empty arrays + /// + /// For more information, see the [Protocol Buffers Language Guide](https://developers.google.com/protocol- + /// buffers/docs/proto3#json). + public class GoogleCloudDialogflowV2beta1WebhookResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on + /// Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is + /// false. + [Newtonsoft.Json.JsonPropertyAttribute("endInteraction")] + public virtual System.Nullable EndInteraction { get; set; } + + /// Optional. Makes the platform immediately invoke another `DetectIntent` call internally with the + /// specified event as input. When this field is set, Dialogflow ignores the `fulfillment_text`, + /// `fulfillment_messages`, and `payload` fields. + [Newtonsoft.Json.JsonPropertyAttribute("followupEventInput")] + public virtual GoogleCloudDialogflowV2beta1EventInput FollowupEventInput { get; set; } + + /// Optional. The collection of rich messages to present to the user. This value is passed directly to + /// `QueryResult.fulfillment_messages`. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentMessages")] + public virtual System.Collections.Generic.IList FulfillmentMessages { get; set; } + + /// Optional. The text to be shown on the screen. This value is passed directly to + /// `QueryResult.fulfillment_text`. + [Newtonsoft.Json.JsonPropertyAttribute("fulfillmentText")] + public virtual string FulfillmentText { get; set; } + + /// Optional. The collection of output contexts. This value is passed directly to + /// `QueryResult.output_contexts`. + [Newtonsoft.Json.JsonPropertyAttribute("outputContexts")] + public virtual System.Collections.Generic.IList OutputContexts { get; set; } + + /// Optional. This value is passed directly to `QueryResult.webhook_payload`. See the related + /// `fulfillment_messages[i].payload field`, which may be used as an alternative to this field. + /// + /// This field can be used for Actions on Google responses. It should have a structure similar to the JSON + /// message shown here. For more information, see [Actions on Google Webhook + /// Format](https://developers.google.com/actions/dialogflow/webhook) { "google": { "expectUserResponse": true, + /// "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": "this is a simple response" } } ] } } + /// } + [Newtonsoft.Json.JsonPropertyAttribute("payload")] + public virtual System.Collections.Generic.IDictionary Payload { get; set; } + + /// Optional. Additional session entity types to replace or extend developer entity types with. The + /// entity synonyms apply to all languages and persist for the session of this query. Setting the session entity + /// types inside webhook overwrites the session entity types that have been set through + /// `DetectIntentRequest.query_params.session_entity_types`. + [Newtonsoft.Json.JsonPropertyAttribute("sessionEntityTypes")] + public virtual System.Collections.Generic.IList SessionEntityTypes { get; set; } + + /// Optional. This value is passed directly to `QueryResult.webhook_source`. + [Newtonsoft.Json.JsonPropertyAttribute("source")] + public virtual string Source { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Operations.ListOperations. + public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class GoogleLongrunningOperation : Google.Apis.Requests.IDirectResponseSchema + { + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is + /// completed, and either `error` or `response` is available. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual GoogleRpcStatus Error { get; set; } + + /// Service-specific metadata associated with the operation. It typically contains progress + /// information and common metadata such as create time. Some services might not provide such metadata. Any + /// method that returns a long-running operation should document the metadata type, if any. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// The server-assigned name, which is only unique within the same service that originally returns it. + /// If you use the default HTTP mapping, the `name` should be a resource name ending with + /// `operations/{unique_id}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The normal response of the operation in case of success. If the original method returns no data on + /// success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name + /// is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A + /// typical example is to use it as the request or the response type of an API method. For instance: + /// + /// service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + /// The JSON representation for `Empty` is empty JSON object `{}`. + public class GoogleProtobufEmpty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The `Status` type defines a logical error model that is suitable for different programming + /// environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` + /// message contains three pieces of data: error code, error message, and error details. + /// + /// You can find out more about this error model and how to work with it in the [API Design + /// Guide](https://cloud.google.com/apis/design/errors). + public class GoogleRpcStatus : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// A list of messages that carry the error details. There is a common set of message types for APIs + /// to use. + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// A developer-facing error message, which should be in English. Any user-facing error message should + /// be localized and sent in the google.rpc.Status.details field, or localized by the client. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing + /// degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. + /// Values must be within normalized ranges. + public class GoogleTypeLatLng : Google.Apis.Requests.IDirectResponseSchema + { + /// The latitude in degrees. It must be in the range [-90.0, +90.0]. + [Newtonsoft.Json.JsonPropertyAttribute("latitude")] + public virtual System.Nullable Latitude { get; set; } + + /// The longitude in degrees. It must be in the range [-180.0, +180.0]. + [Newtonsoft.Json.JsonPropertyAttribute("longitude")] + public virtual System.Nullable Longitude { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } +} diff --git a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj similarity index 95% rename from Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj rename to Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj index 6e27d19a520..417eed32351 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj @@ -2,8 +2,8 @@ - Google.Apis.Blogger.v2 Client Library - 1.44.0.1860 + Google.Apis.Dialogflow.v2 Client Library + 1.44.0.1881 Google Inc. Copyright 2017 Google Inc. Google @@ -13,7 +13,7 @@ https://github.com/google/google-api-dotnet-client https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png - Google APIs Client Library for working with Blogger v2. + Google APIs Client Library for working with Dialogflow v2. Supported Platforms: - .NET Framework 4.5+ @@ -32,7 +32,7 @@ - Xamarin More documentation on the API is available at: - https://developers.google.com/api-client-library/dotnet/apis/blogger/v2 + https://developers.google.com/api-client-library/dotnet/apis/dialogflow/v2 The package source code is available at: https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated diff --git a/Src/Generated/Google.Apis.Blogger.v2/app.net40.config b/Src/Generated/Google.Apis.Dialogflow.v2/app.net40.config similarity index 100% rename from Src/Generated/Google.Apis.Blogger.v2/app.net40.config rename to Src/Generated/Google.Apis.Dialogflow.v2/app.net40.config diff --git a/Src/Generated/Google.Apis.Blogger.v2/app.netstandard10.config b/Src/Generated/Google.Apis.Dialogflow.v2/app.netstandard10.config similarity index 100% rename from Src/Generated/Google.Apis.Blogger.v2/app.netstandard10.config rename to Src/Generated/Google.Apis.Dialogflow.v2/app.netstandard10.config diff --git a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs index 03382101433..29f284c00e9 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs +++ b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs @@ -26,7 +26,7 @@ * API * API Discovery Service * API Versionv1 - * API Rev20200213 (0) + * API Rev20200220 (0) * API Docs * * https://developers.google.com/discovery/ diff --git a/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs b/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs new file mode 100644 index 00000000000..c70cb087f12 --- /dev/null +++ b/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs @@ -0,0 +1,864 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +// specific language governing permissions and limitations under the License. + +//------------------------------------------------------------------------------ +// +// This code was generated by google-apis-code-generator 1.5.1 +// C# generator version: 1.44.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +/** + * \brief + * Display & Video 360 API Version v1 + * + * \section ApiInfo API Version Information + * + *
API + * Display & Video 360 API + *
API Versionv1 + *
API Rev20200226 (1882) + *
API Docs + * + * https://developers.google.com/display-video/ + *
Discovery Namedisplayvideo + *
+ * + * \section ForMoreInfo For More Information + * + * The complete API documentation for using Display & Video 360 API can be found at + * https://developers.google.com/display-video/. + * + * For more information about the Google APIs Client Library for .NET, see + * + * https://developers.google.com/api-client-library/dotnet/get_started + */ + +namespace Google.Apis.DisplayVideo.v1 +{ + /// The DisplayVideo Service. + public class DisplayVideoService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v1"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = + Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public DisplayVideoService() : + this(new Google.Apis.Services.BaseClientService.Initializer()) {} + + /// Constructs a new service. + /// The service initializer. + public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer initializer) + : base(initializer) + { + media = new MediaResource(this); + sdfdownloadtasks = new SdfdownloadtasksResource(this); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features + { + get { return new string[0]; } + } + + /// Gets the service name. + public override string Name + { + get { return "displayvideo"; } + } + + /// Gets the service base URI. + public override string BaseUri + { + #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45 + get { return BaseUriOverride ?? "https://displayvideo.googleapis.com/"; } + #else + get { return "https://displayvideo.googleapis.com/"; } + #endif + } + + /// Gets the service base path. + public override string BasePath + { + get { return ""; } + } + + #if !NET40 + /// Gets the batch base URI; null if unspecified. + public override string BatchUri + { + get { return "https://displayvideo.googleapis.com/batch"; } + } + + /// Gets the batch base path; null if unspecified. + public override string BatchPath + { + get { return "batch"; } + } + #endif + + /// Available OAuth 2.0 scopes for use with the Display & Video 360 API. + public class Scope + { + /// Create, see, edit, and permanently delete your Display & Video 360 entities and + /// reports + public static string DisplayVideo = "https://www.googleapis.com/auth/display-video"; + + /// View and manage your reports in DoubleClick Bid Manager + public static string Doubleclickbidmanager = "https://www.googleapis.com/auth/doubleclickbidmanager"; + + } + + /// Available OAuth 2.0 scope constants for use with the Display & Video 360 API. + public static class ScopeConstants + { + /// Create, see, edit, and permanently delete your Display & Video 360 entities and + /// reports + public const string DisplayVideo = "https://www.googleapis.com/auth/display-video"; + + /// View and manage your reports in DoubleClick Bid Manager + public const string Doubleclickbidmanager = "https://www.googleapis.com/auth/doubleclickbidmanager"; + + } + + + + private readonly MediaResource media; + + /// Gets the Media resource. + public virtual MediaResource Media + { + get { return media; } + } + + private readonly SdfdownloadtasksResource sdfdownloadtasks; + + /// Gets the Sdfdownloadtasks resource. + public virtual SdfdownloadtasksResource Sdfdownloadtasks + { + get { return sdfdownloadtasks; } + } + } + + ///A base abstract class for DisplayVideo requests. + public abstract class DisplayVideoBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + ///Constructs a new DisplayVideoBaseServiceRequest instance. + protected DisplayVideoBaseServiceRequest(Google.Apis.Services.IClientService service) + : base(service) + { + } + + /// V1 error format. + [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Xgafv { get; set; } + + /// V1 error format. + public enum XgafvEnum + { + /// v1 error format + [Google.Apis.Util.StringValueAttribute("1")] + Value1, + /// v2 error format + [Google.Apis.Util.StringValueAttribute("2")] + Value2, + } + + /// OAuth access token. + [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AccessToken { get; set; } + + /// Data format for response. + /// [default: json] + [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Alt { get; set; } + + /// Data format for response. + public enum AltEnum + { + /// Responses with Content-Type of application/json + [Google.Apis.Util.StringValueAttribute("json")] + Json, + /// Media download with context-dependent Content-Type + [Google.Apis.Util.StringValueAttribute("media")] + Media, + /// Responses with Content-Type of application/x-protobuf + [Google.Apis.Util.StringValueAttribute("proto")] + Proto, + } + + /// JSONP + [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Callback { get; set; } + + /// Selector specifying which fields to include in a partial response. + [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Fields { get; set; } + + /// API key. Your API key identifies your project and provides you with API access, quota, and reports. + /// Required unless you provide an OAuth 2.0 token. + [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Key { get; set; } + + /// OAuth 2.0 token for the current user. + [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OauthToken { get; set; } + + /// Returns response with indentations and line breaks. + /// [default: true] + [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PrettyPrint { get; set; } + + /// Available to use for quota purposes for server-side applications. Can be any arbitrary string + /// assigned to a user, but should not exceed 40 characters. + [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] + public virtual string QuotaUser { get; set; } + + /// Legacy upload protocol for media (e.g. "media", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadType { get; set; } + + /// Upload protocol for media (e.g. "raw", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadProtocol { get; set; } + + /// Initializes DisplayVideo parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add( + "callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add( + "quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "media" collection of methods. + public class MediaResource + { + private const string Resource = "media"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MediaResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` + /// + /// **Note**: Download requests will not be successful without including `alt=media` query string. + /// Name of the media that is being downloaded. See ReadRequest.resource_name. + public virtual DownloadRequest Download(string resourceName) + { + return new DownloadRequest(service, resourceName); + } + + /// Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` + /// + /// **Note**: Download requests will not be successful without including `alt=media` query string. + public class DownloadRequest : DisplayVideoBaseServiceRequest + { + /// Constructs a new Download request. + public DownloadRequest(Google.Apis.Services.IClientService service, string resourceName) + : base(service) + { + ResourceName = resourceName; + MediaDownloader = new Google.Apis.Download.MediaDownloader(service); + InitParameters(); + } + + + /// Name of the media that is being downloaded. See ReadRequest.resource_name. + [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ResourceName { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "download"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "download/{+resourceName}"; } + } + + /// Initializes Download parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resourceName", new Google.Apis.Discovery.Parameter + { + Name = "resourceName", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^.*$", + }); + } + + /// Gets the media downloader. + public Google.Apis.Download.IMediaDownloader MediaDownloader { get; private set; } + + /// + /// Synchronously download the media into the given stream. + /// Warning: This method hides download errors; use instead. + /// + public virtual void Download(System.IO.Stream stream) + { + MediaDownloader.Download(this.GenerateRequestUri(), stream); + } + + /// Synchronously download the media into the given stream. + /// The final status of the download; including whether the download succeeded or failed. + public virtual Google.Apis.Download.IDownloadProgress DownloadWithStatus(System.IO.Stream stream) + { + return MediaDownloader.Download(this.GenerateRequestUri(), stream); + } + + /// Asynchronously download the media into the given stream. + public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream) + { + return MediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream); + } + + /// Asynchronously download the media into the given stream. + public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream, + System.Threading.CancellationToken cancellationToken) + { + return MediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); + } + + #if !NET40 + /// Synchronously download a range of the media into the given stream. + public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.Stream stream, System.Net.Http.Headers.RangeHeaderValue range) + { + var mediaDownloader = new Google.Apis.Download.MediaDownloader(Service); + mediaDownloader.Range = range; + return mediaDownloader.Download(this.GenerateRequestUri(), stream); + } + + /// Asynchronously download a range of the media into the given stream. + public virtual System.Threading.Tasks.Task DownloadRangeAsync(System.IO.Stream stream, + System.Net.Http.Headers.RangeHeaderValue range, + System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var mediaDownloader = new Google.Apis.Download.MediaDownloader(Service); + mediaDownloader.Range = range; + return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); + } + #endif + + } + } + + /// The "sdfdownloadtasks" collection of methods. + public class SdfdownloadtasksResource + { + private const string Resource = "sdfdownloadtasks"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public SdfdownloadtasksResource(Google.Apis.Services.IClientService service) + { + this.service = service; + operations = new OperationsResource(service); + + } + + private readonly OperationsResource operations; + + /// Gets the Operations resource. + public virtual OperationsResource Operations + { + get { return operations; } + } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Gets the latest state of an asynchronous SDF download task operation. Clients should poll this + /// method at intervals of 30 seconds. + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the latest state of an asynchronous SDF download task operation. Clients should poll this + /// method at intervals of 30 seconds. + public class GetRequest : DisplayVideoBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^sdfdownloadtasks/operations/[^/]+$", + }); + } + + } + } + + /// Creates an SDF Download Task. Returns an Operation. + /// + /// An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is + /// SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is + /// SdfDownloadTask. The response will not include the download files, which must be retrieved with + /// media.download. The state of operation can be retrieved with sdfdownloadtask.operations.get. + /// + /// Any errors can be found in the error.message. Note that error.details is expected to be empty. + /// The body of the request. + public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.CreateSdfDownloadTaskRequest body) + { + return new CreateRequest(service, body); + } + + /// Creates an SDF Download Task. Returns an Operation. + /// + /// An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is + /// SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is + /// SdfDownloadTask. The response will not include the download files, which must be retrieved with + /// media.download. The state of operation can be retrieved with sdfdownloadtask.operations.get. + /// + /// Any errors can be found in the error.message. Note that error.details is expected to be empty. + public class CreateRequest : DisplayVideoBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CreateSdfDownloadTaskRequest body) + : base(service) + { + Body = body; + InitParameters(); + } + + + + /// Gets or sets the body of this request. + Google.Apis.DisplayVideo.v1.Data.CreateSdfDownloadTaskRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/sdfdownloadtasks"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + } + + } + } +} + +namespace Google.Apis.DisplayVideo.v1.Data +{ + + /// Request message for [SdfDownloadTaskService.CreateSdfDownloadTask]. + public class CreateSdfDownloadTaskRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ID of the advertiser to download SDF for. + [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] + public virtual System.Nullable AdvertiserId { get; set; } + + /// Filters on entities by their entity IDs. + [Newtonsoft.Json.JsonPropertyAttribute("idFilter")] + public virtual IdFilter IdFilter { get; set; } + + /// Filters on Inventory Sources by their IDs. + [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceFilter")] + public virtual InventorySourceFilter InventorySourceFilter { get; set; } + + /// Filters on selected file types. The entities in each file are filtered by a chosen set of filter + /// entities. The filter entities must be the same type as, or a parent type of, the selected file + /// types. + [Newtonsoft.Json.JsonPropertyAttribute("parentEntityFilter")] + public virtual ParentEntityFilter ParentEntityFilter { get; set; } + + /// The ID of the partner to download SDF for. + [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] + public virtual System.Nullable PartnerId { get; set; } + + /// Required. The SDF version of the downloaded file. If set to `SDF_VERSION_UNSPECIFIED`, this will + /// default to the version specified by the advertiser or partner identified by `root_id`. An advertiser + /// inherits its SDF version from its partner unless configured otherwise. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual string Version { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Media resource. + public class GoogleBytestreamMedia : Google.Apis.Requests.IDirectResponseSchema + { + /// Name of the media resource. + [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] + public virtual string ResourceName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A filtering option that filters entities by their entity IDs. + public class IdFilter : Google.Apis.Requests.IDirectResponseSchema + { + /// TrueView Ads to download by ID. All IDs must belong to the same Advertiser or Partner specified in + /// CreateSdfDownloadTaskRequest. + [Newtonsoft.Json.JsonPropertyAttribute("adGroupAdIds")] + public virtual System.Collections.Generic.IList> AdGroupAdIds { get; set; } + + /// TrueView Ad Groups to download by ID. All IDs must belong to the same Advertiser or Partner + /// specified in CreateSdfDownloadTaskRequest. + [Newtonsoft.Json.JsonPropertyAttribute("adGroupIds")] + public virtual System.Collections.Generic.IList> AdGroupIds { get; set; } + + /// Campaigns to download by ID. All IDs must belong to the same Advertiser or Partner specified in + /// CreateSdfDownloadTaskRequest. + [Newtonsoft.Json.JsonPropertyAttribute("campaignIds")] + public virtual System.Collections.Generic.IList> CampaignIds { get; set; } + + /// Insertion Orders to download by ID. All IDs must belong to the same Advertiser or Partner specified + /// in CreateSdfDownloadTaskRequest. + [Newtonsoft.Json.JsonPropertyAttribute("insertionOrderIds")] + public virtual System.Collections.Generic.IList> InsertionOrderIds { get; set; } + + /// Line Items to download by ID. All IDs must belong to the same Advertiser or Partner specified in + /// CreateSdfDownloadTaskRequest. + [Newtonsoft.Json.JsonPropertyAttribute("lineItemIds")] + public virtual System.Collections.Generic.IList> LineItemIds { get; set; } + + /// Media Products to download by ID. All IDs must belong to the same Advertiser or Partner specified + /// in CreateSdfDownloadTaskRequest. + [Newtonsoft.Json.JsonPropertyAttribute("mediaProductIds")] + public virtual System.Collections.Generic.IList> MediaProductIds { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A filtering option for filtering on Inventory Source entities. + public class InventorySourceFilter : Google.Apis.Requests.IDirectResponseSchema + { + /// Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner + /// specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected + /// Advertiser or Partner. + [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceIds")] + public virtual System.Collections.Generic.IList> InventorySourceIds { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema + { + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is + /// completed, and either `error` or `response` is available. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// Service-specific metadata associated with the operation. It typically contains progress + /// information and common metadata such as create time. Some services might not provide such metadata. Any + /// method that returns a long-running operation should document the metadata type, if any. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// The server-assigned name, which is only unique within the same service that originally returns it. + /// If you use the default HTTP mapping, the `name` should be a resource name ending with + /// `operations/{unique_id}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The normal response of the operation in case of success. If the original method returns no data on + /// success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name + /// is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A filtering option that filters on selected file types belonging to a chosen set of filter + /// entities. + public class ParentEntityFilter : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. File types that will be returned. + [Newtonsoft.Json.JsonPropertyAttribute("fileType")] + public virtual System.Collections.Generic.IList FileType { get; set; } + + /// The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is + /// not `FILTER_TYPE_NONE`, at least one ID must be specified. + [Newtonsoft.Json.JsonPropertyAttribute("filterIds")] + public virtual System.Collections.Generic.IList> FilterIds { get; set; } + + /// Required. Filter type used to filter fetched entities. + [Newtonsoft.Json.JsonPropertyAttribute("filterType")] + public virtual string FilterType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Type for the response returned by [SdfDownloadTaskService.CreateSdfDownloadTask]. + public class SdfDownloadTask : Google.Apis.Requests.IDirectResponseSchema + { + /// A resource name to be used in media.download to Download the prepared files. Resource names have + /// the format `download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made available by the long + /// running operation service once the task status is done. + [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] + public virtual string ResourceName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Type for the metadata returned by [SdfDownloadTaskService.CreateSdfDownloadTask]. + public class SdfDownloadTaskMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// The time when the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// The time when execution was completed. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// The SDF version used to execute this download task. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual string Version { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The `Status` type defines a logical error model that is suitable for different programming + /// environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` + /// message contains three pieces of data: error code, error message, and error details. + /// + /// You can find out more about this error model and how to work with it in the [API Design + /// Guide](https://cloud.google.com/apis/design/errors). + public class Status : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// A list of messages that carry the error details. There is a common set of message types for APIs + /// to use. + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// A developer-facing error message, which should be in English. Any user-facing error message should + /// be localized and sent in the google.rpc.Status.details field, or localized by the client. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } +} diff --git a/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj b/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj new file mode 100644 index 00000000000..41a79ffcc7e --- /dev/null +++ b/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj @@ -0,0 +1,97 @@ + + + + + Google.Apis.DisplayVideo.v1 Client Library + 1.44.0.1882 + Google Inc. + Copyright 2017 Google Inc. + Google + https://github.com/google/google-api-dotnet-client + LICENSE + git + https://github.com/google/google-api-dotnet-client + https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png + + Google APIs Client Library for working with Displayvideo v1. + + Supported Platforms: + - .NET Framework 4.5+ + - .NET Standard 1.3 and .NET Standard 2.0; providing .NET Core support. + + Legacy platforms: + - .NET Framework 4.0 + - Windows 8 Apps + - Windows Phone 8.1 + - Windows Phone Silverlight 8.0 + + Incompatible platforms: + - .NET Framework < 4.0 + - Silverlight + - UWP (will build, but is known not to work at runtime) + - Xamarin + + More documentation on the API is available at: + https://developers.google.com/api-client-library/dotnet/apis/displayvideo/v1 + + The package source code is available at: + https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated + + + + + + + + + + netstandard2.0;netstandard1.3;netstandard1.0;net45;net40 + true + ..\..\..\google.apis.snk + portable + true + 1570,1587,1591 + + + + + + + + + + + + + + + + + + + + + portable-net45+win8+wpa81+wp8 + app.netstandard10.config + + + + + + + + + + + + + + false + app.net40.config + + + + + + + diff --git a/Src/Generated/Google.Apis.DisplayVideo.v1/app.net40.config b/Src/Generated/Google.Apis.DisplayVideo.v1/app.net40.config new file mode 100644 index 00000000000..bb30b7ab311 --- /dev/null +++ b/Src/Generated/Google.Apis.DisplayVideo.v1/app.net40.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.DisplayVideo.v1/app.netstandard10.config b/Src/Generated/Google.Apis.DisplayVideo.v1/app.netstandard10.config new file mode 100644 index 00000000000..62588d67ee6 --- /dev/null +++ b/Src/Generated/Google.Apis.DisplayVideo.v1/app.netstandard10.config @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs index 15a4ea86405..aec8e1de40f 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs @@ -26,7 +26,7 @@ * API * Drive API * API Versionv2 - * API Rev20200207 (1863) + * API Rev20200218 (1874) * API Docs * * https://developers.google.com/drive/ diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj index 72cec880bb4..ddead4d109d 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Drive.v2 Client Library - 1.44.0.1863 + 1.44.0.1874 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs index 5d77f8a83c4..621c111a483 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs @@ -26,7 +26,7 @@ * API * Drive API * API Versionv3 - * API Rev20200207 (1863) + * API Rev20200218 (1874) * API Docs * * https://developers.google.com/drive/ diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj index 68e556960ce..9695b71aa54 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Drive.v3 Client Library - 1.44.0.1863 + 1.44.0.1874 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs index ce8cefa435b..6bfba7fd007 100644 --- a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs +++ b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs @@ -26,7 +26,7 @@ * API * Drive Activity API * API Versionv2 - * API Rev20200224 (1880) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/drive/activity/ diff --git a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj index 977b498da4e..3b3846d1a62 100644 --- a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj +++ b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DriveActivity.v2 Client Library - 1.44.0.1880 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs index defd5f1cb0c..d841bea3571 100644 --- a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs +++ b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs @@ -26,7 +26,7 @@ * API * Fact Check Tools API * API Versionv1alpha1 - * API Rev20200225 (1881) + * API Rev20200228 (1884) * API Docs * * https://developers.google.com/fact-check/tools/api/ diff --git a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj index 90fa1675f48..6eb871a3369 100644 --- a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.FactCheckTools.v1alpha1 Client Library - 1.44.0.1881 + 1.44.0.1884 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs index bc7c3c2c7a5..f39a08c831a 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs @@ -26,7 +26,7 @@ * API * Firebase Dynamic Links API * API Versionv1 - * API Rev20200226 (1882) + * API Rev20200228 (1884) * API Docs * * https://firebase.google.com/docs/dynamic-links/ diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj index 4c201c3ac16..04686bf35d5 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseDynamicLinks.v1 Client Library - 1.44.0.1882 + 1.44.0.1884 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs index 66aab756c73..7187d35fae5 100644 --- a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs @@ -26,7 +26,7 @@ * API * Firebase Management API * API Versionv1beta1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://firebase.google.com diff --git a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj index b7dcf6e5bb1..b6ce94d2b8b 100644 --- a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseManagement.v1beta1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs index a389fa06a27..f2c8b5d57c1 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs @@ -26,7 +26,7 @@ * API * Firebase Rules API * API Versionv1 - * API Rev20200206 (1862) + * API Rev20200226 (1882) * API Docs * * https://firebase.google.com/docs/storage/security diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj index 41d40e5047f..d095baa0d33 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseRules.v1 Client Library - 1.44.0.1862 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs index 6927af12c89..b5ed1dd9002 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs +++ b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs @@ -26,7 +26,7 @@ * API * Fitness * API Versionv1 - * API Rev20200220 (1876) + * API Rev20200223 (1879) * API Docs * * https://developers.google.com/fit/rest/ diff --git a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj index 857fd088f25..b0fae1cbd81 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj +++ b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Fitness.v1 Client Library - 1.44.0.1876 + 1.44.0.1879 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs index 61445ea5bf9..5b2214c124e 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs @@ -26,7 +26,7 @@ * API * Google Play Game Services API * API Versionv1 - * API Rev20200213 (1869) + * API Rev20200224 (1880) * API Docs * * https://developers.google.com/games/services/ diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj index 073c4f0c19b..d99e5e139a7 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Games.v1 Client Library - 1.44.0.1869 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs index 56c0f0f01c3..f7728f992bf 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs @@ -26,7 +26,7 @@ * API * Google Play Game Services Management API * API Versionv1management - * API Rev20200213 (1869) + * API Rev20200224 (1880) * API Docs * * https://developers.google.com/games/services diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj index f6530553e09..9fc58aeb441 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj @@ -3,7 +3,7 @@ Google.Apis.GamesManagement.v1management Client Library - 1.44.0.1869 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs index 3db24bd3fa6..a806667337b 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs +++ b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs @@ -26,7 +26,7 @@ * API * Genomics API * API Versionv1 - * API Rev20200210 (1866) + * API Rev20200226 (1882) * API Docs * * https://cloud.google.com/genomics @@ -419,7 +419,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } @@ -487,7 +487,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } diff --git a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.csproj b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.csproj index 6a6468ca1b0..8e534483281 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.csproj +++ b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Genomics.v1 Client Library - 1.44.0.1866 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs index d5b5d0f1c6a..5202fd3a724 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs @@ -26,7 +26,7 @@ * API * Genomics API * API Versionv1alpha2 - * API Rev20200210 (1866) + * API Rev20200226 (1882) * API Docs * * https://cloud.google.com/genomics @@ -434,7 +434,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } @@ -502,7 +502,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.csproj b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.csproj index 7207bff7f8a..29493a27e8b 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.csproj @@ -3,7 +3,7 @@ Google.Apis.Genomics.v1alpha2 Client Library - 1.44.0.1866 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.cs b/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.cs index 0bce1c3eb4f..63200c2d29a 100644 --- a/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.cs +++ b/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.cs @@ -26,7 +26,7 @@ * API * Genomics API * API Versionv2alpha1 - * API Rev20200210 (1866) + * API Rev20200226 (1882) * API Docs * * https://cloud.google.com/genomics diff --git a/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.csproj b/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.csproj index 2075f9f3538..3df56d3bebc 100644 --- a/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.csproj +++ b/Src/Generated/Google.Apis.Genomics.v2alpha1/Google.Apis.Genomics.v2alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.Genomics.v2alpha1 Client Library - 1.44.0.1866 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs index 7edaa72d4f7..eb931b73046 100644 --- a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs +++ b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs @@ -26,7 +26,7 @@ * API * Library Agent API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://cloud.google.com/docs/quota diff --git a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj index 54944e72339..52c06e1b540 100644 --- a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj +++ b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Libraryagent.v1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs index b7506af5c2e..bd23d2955ab 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs @@ -26,7 +26,7 @@ * API * Stackdriver Logging API * API Versionv2 - * API Rev20200221 (1877) + * API Rev20200222 (1878) * API Docs * * https://cloud.google.com/logging/docs/ @@ -1025,8 +1025,8 @@ public BucketsResource(Google.Apis.Services.IClientService service) /// Required. The parent resource whose buckets are to be listed: /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: - /// The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return - /// all buckets. + /// The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will + /// return all buckets. public virtual ListRequest List(string parent) { return new ListRequest(service, parent); @@ -1048,8 +1048,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" /// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource is - /// required, but supplying the character - in place of LOCATION_ID will return all + /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must + /// be specified, but supplying the character - in place of LOCATION_ID will return all /// buckets.
[Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -3104,8 +3104,8 @@ protected override void InitParameters() /// Required. The parent resource whose buckets are to be listed: /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: - /// The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return - /// all buckets. + /// The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will + /// return all buckets. public virtual ListRequest List(string parent) { return new ListRequest(service, parent); @@ -3127,8 +3127,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" /// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource is - /// required, but supplying the character - in place of LOCATION_ID will return all + /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must + /// be specified, but supplying the character - in place of LOCATION_ID will return all /// buckets. [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -4193,8 +4193,8 @@ protected override void InitParameters() /// Required. The parent resource whose buckets are to be listed: /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: - /// The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return - /// all buckets. + /// The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will + /// return all buckets. public virtual ListRequest List(string parent) { return new ListRequest(service, parent); @@ -4216,8 +4216,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" /// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource is - /// required, but supplying the character - in place of LOCATION_ID will return all buckets. + /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be + /// specified, but supplying the character - in place of LOCATION_ID will return all buckets. [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -5232,8 +5232,8 @@ protected override void InitParameters() /// Required. The parent resource whose buckets are to be listed: /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: - /// The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return - /// all buckets. + /// The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will + /// return all buckets. public virtual ListRequest List(string parent) { return new ListRequest(service, parent); @@ -5255,8 +5255,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" /// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource is - /// required, but supplying the character - in place of LOCATION_ID will return all + /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must + /// be specified, but supplying the character - in place of LOCATION_ID will return all /// buckets. [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -6942,8 +6942,8 @@ protected override void InitParameters() /// Required. The parent resource whose buckets are to be listed: /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: - /// The locations portion of the resource is required, but supplying the character - in place of LOCATION_ID will return - /// all buckets. + /// The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will + /// return all buckets. public virtual ListRequest List(string parent) { return new ListRequest(service, parent); @@ -6965,8 +6965,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) /// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" /// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource is - /// required, but supplying the character - in place of LOCATION_ID will return all + /// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must + /// be specified, but supplying the character - in place of LOCATION_ID will return all /// buckets. [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -7361,8 +7361,8 @@ public MetricsResource(Google.Apis.Services.IClientService service) /// Creates a logs-based metric. /// The body of the request. - /// The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new - /// metric must be provided in the request. + /// Required. The resource name of the project in which to create the metric: + /// "projects/[PROJECT_ID]" The new metric must be provided in the request. public virtual CreateRequest Create(Google.Apis.Logging.v2.Data.LogMetric body, string parent) { return new CreateRequest(service, body, parent); @@ -7381,8 +7381,8 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Lo } - /// The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The - /// new metric must be provided in the request. + /// Required. The resource name of the project in which to create the metric: + /// "projects/[PROJECT_ID]" The new metric must be provided in the request. [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -7430,8 +7430,8 @@ protected override void InitParameters() } /// Deletes a logs-based metric. - /// The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - /// + /// Required. The resource name of the metric to delete: + /// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" public virtual DeleteRequest Delete(string metricName) { return new DeleteRequest(service, metricName); @@ -7449,8 +7449,8 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string metricN } - /// The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - /// + /// Required. The resource name of the metric to delete: + /// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" [Google.Apis.Util.RequestParameterAttribute("metricName", Google.Apis.Util.RequestParameterType.Path)] public virtual string MetricName { get; private set; } @@ -7492,8 +7492,8 @@ protected override void InitParameters() } /// Gets a logs-based metric. - /// The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - /// + /// Required. The resource name of the desired metric: + /// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" public virtual GetRequest Get(string metricName) { return new GetRequest(service, metricName); @@ -7511,8 +7511,8 @@ public GetRequest(Google.Apis.Services.IClientService service, string metricName } - /// The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - /// + /// Required. The resource name of the desired metric: + /// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" [Google.Apis.Util.RequestParameterAttribute("metricName", Google.Apis.Util.RequestParameterType.Path)] public virtual string MetricName { get; private set; } @@ -7646,9 +7646,10 @@ protected override void InitParameters() /// Creates or updates a logs-based metric. /// The body of the request. - /// The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The - /// updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric - /// does not exist in [PROJECT_ID], then a new metric is created. + /// Required. The resource name of the metric to update: + /// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and it's name field + /// must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is + /// created. public virtual UpdateRequest Update(Google.Apis.Logging.v2.Data.LogMetric body, string metricName) { return new UpdateRequest(service, body, metricName); @@ -7667,9 +7668,10 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Lo } - /// The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The - /// updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] - /// If the metric does not exist in [PROJECT_ID], then a new metric is created. + /// Required. The resource name of the metric to update: + /// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and + /// it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a + /// new metric is created. [Google.Apis.Util.RequestParameterAttribute("metricName", Google.Apis.Util.RequestParameterType.Path)] public virtual string MetricName { get; private set; } @@ -9012,11 +9014,11 @@ public class CmekSettings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyName")] public virtual string KmsKeyName { get; set; } - /// Output Only. The resource name of the CMEK settings. + /// Output only. The resource name of the CMEK settings. [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// Output Only. The service account that will be used by the Logs Router to access your Cloud KMS + /// Output only. The service account that will be used by the Logs Router to access your Cloud KMS /// key.Before enabling CMEK for Logs Router, you must first assign the role /// roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that the Logs Router will use to access /// your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Logs Router @@ -9253,8 +9255,8 @@ public class ListLogEntriesRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("pageToken")] public virtual string PageToken { get; set; } - /// Deprecated. Use resource_names instead. One or more project identifiers or project numbers from - /// which to retrieve log entries. Example: "my-project-1A". + /// Optional. Deprecated. Use resource_names instead. One or more project identifiers or project + /// numbers from which to retrieve log entries. Example: "my-project-1A". [Newtonsoft.Json.JsonPropertyAttribute("projectIds")] public virtual System.Collections.Generic.IList ProjectIds { get; set; } @@ -9369,7 +9371,7 @@ public class LogBucket : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// The bucket lifecycle state.Output only. + /// Output only. The bucket lifecycle state. [Newtonsoft.Json.JsonPropertyAttribute("lifecycleState")] public virtual string LifecycleState { get; set; } @@ -9423,9 +9425,9 @@ public class LogEntry : Google.Apis.Requests.IDirectResponseSchema /// Required. The resource name of the log to which this log entry belongs: /// "projects/[PROJECT_ID]/logs/[LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" /// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" A project number - /// may optionally be used in place of PROJECT_ID. The project number is translated to its corresponding - /// PROJECT_ID internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be - /// URL-encoded within log_name. Example: + /// may be used in place of PROJECT_ID. The project number is translated to its corresponding PROJECT_ID + /// internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL- + /// encoded within log_name. Example: /// "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than /// 512 characters long and can only include the following characters: upper and lower case alphanumeric /// characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins @@ -9435,7 +9437,7 @@ public class LogEntry : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("logName")] public virtual string LogName { get; set; } - /// Deprecated. Output only. Additional metadata about the monitored resource.Only k8s_container, + /// Output only. Deprecated. Additional metadata about the monitored resource.Only k8s_container, /// k8s_pod, and k8s_node MonitoredResources have this field populated for GKE versions older than 1.12.6. For /// GKE versions 1.12.6 and above, the metadata field has been deprecated. The Kubernetes pod labels that used /// to be in metadata.userLabels will now be present in the labels field with a key prefix of k8s-pod/. The @@ -9475,7 +9477,7 @@ public class LogEntry : Google.Apis.Requests.IDirectResponseSchema /// Optional. The span ID within the trace associated with the log entry.For Trace spans, this is the /// same format that the Trace API v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such as - /// "000000000000004a". + /// 000000000000004a. [Newtonsoft.Json.JsonPropertyAttribute("spanId")] public virtual string SpanId { get; set; } @@ -9745,10 +9747,6 @@ public class LogSink : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("disabled")] public virtual System.Nullable Disabled { get; set; } - /// Do not use. This field is ignored. - [Newtonsoft.Json.JsonPropertyAttribute("endTime")] - public virtual object EndTime { get; set; } - /// Optional. An advanced logs filter. The only exported log entries are those that are in the resource /// owning the sink and that match the filter. For example: logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND /// severity>=ERROR @@ -9779,10 +9777,6 @@ public class LogSink : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("outputVersionFormat")] public virtual string OutputVersionFormat { get; set; } - /// Do not use. This field is ignored. - [Newtonsoft.Json.JsonPropertyAttribute("startTime")] - public virtual object StartTime { get; set; } - /// Output only. The last update timestamp of the sink.This field may not be present for older /// sinks. [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] @@ -10256,7 +10250,7 @@ public class WriteLogEntriesRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Result returned from WriteLogEntries. empty + /// Result returned from WriteLogEntries. public class WriteLogEntriesResponse : Google.Apis.Requests.IDirectResponseSchema { /// The ETag of the item. diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj index e117e07e519..8414696f5c5 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Logging.v2 Client Library - 1.44.0.1877 + 1.44.0.1878 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs new file mode 100644 index 00000000000..693e07c4bf8 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs @@ -0,0 +1,2913 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +// specific language governing permissions and limitations under the License. + +//------------------------------------------------------------------------------ +// +// This code was generated by google-apis-code-generator 1.5.1 +// C# generator version: 1.44.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +/** + * \brief + * Managed Service for Microsoft Active Directory API Version v1 + * + * \section ApiInfo API Version Information + * + *
API + * Managed Service for Microsoft Active Directory API + *
API Versionv1 + *
API Rev20200213 (1869) + *
API Docs + * + * https://cloud.google.com/managed-microsoft-ad/ + *
Discovery Namemanagedidentities + *
+ * + * \section ForMoreInfo For More Information + * + * The complete API documentation for using Managed Service for Microsoft Active Directory API can be found at + * https://cloud.google.com/managed-microsoft-ad/. + * + * For more information about the Google APIs Client Library for .NET, see + * + * https://developers.google.com/api-client-library/dotnet/get_started + */ + +namespace Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1 +{ + /// The ManagedServiceforMicrosoftActiveDirectoryConsumerAPI Service. + public class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v1"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = + Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService() : + this(new Google.Apis.Services.BaseClientService.Initializer()) {} + + /// Constructs a new service. + /// The service initializer. + public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) + : base(initializer) + { + projects = new ProjectsResource(this); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features + { + get { return new string[0]; } + } + + /// Gets the service name. + public override string Name + { + get { return "managedidentities"; } + } + + /// Gets the service base URI. + public override string BaseUri + { + #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45 + get { return BaseUriOverride ?? "https://managedidentities.googleapis.com/"; } + #else + get { return "https://managedidentities.googleapis.com/"; } + #endif + } + + /// Gets the service base path. + public override string BasePath + { + get { return ""; } + } + + #if !NET40 + /// Gets the batch base URI; null if unspecified. + public override string BatchUri + { + get { return "https://managedidentities.googleapis.com/batch"; } + } + + /// Gets the batch base path; null if unspecified. + public override string BatchPath + { + get { return "batch"; } + } + #endif + + /// Available OAuth 2.0 scopes for use with the Managed Service for Microsoft Active Directory API. + public class Scope + { + /// View and manage your data across Google Cloud Platform services + public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + } + + /// Available OAuth 2.0 scope constants for use with the Managed Service for Microsoft Active Directory API. + public static class ScopeConstants + { + /// View and manage your data across Google Cloud Platform services + public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + } + + + + private readonly ProjectsResource projects; + + /// Gets the Projects resource. + public virtual ProjectsResource Projects + { + get { return projects; } + } + } + + ///A base abstract class for ManagedServiceforMicrosoftActiveDirectoryConsumerAPI requests. + public abstract class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + ///Constructs a new ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest instance. + protected ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest(Google.Apis.Services.IClientService service) + : base(service) + { + } + + /// V1 error format. + [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Xgafv { get; set; } + + /// V1 error format. + public enum XgafvEnum + { + /// v1 error format + [Google.Apis.Util.StringValueAttribute("1")] + Value1, + /// v2 error format + [Google.Apis.Util.StringValueAttribute("2")] + Value2, + } + + /// OAuth access token. + [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AccessToken { get; set; } + + /// Data format for response. + /// [default: json] + [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Alt { get; set; } + + /// Data format for response. + public enum AltEnum + { + /// Responses with Content-Type of application/json + [Google.Apis.Util.StringValueAttribute("json")] + Json, + /// Media download with context-dependent Content-Type + [Google.Apis.Util.StringValueAttribute("media")] + Media, + /// Responses with Content-Type of application/x-protobuf + [Google.Apis.Util.StringValueAttribute("proto")] + Proto, + } + + /// JSONP + [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Callback { get; set; } + + /// Selector specifying which fields to include in a partial response. + [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Fields { get; set; } + + /// API key. Your API key identifies your project and provides you with API access, quota, and reports. + /// Required unless you provide an OAuth 2.0 token. + [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Key { get; set; } + + /// OAuth 2.0 token for the current user. + [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OauthToken { get; set; } + + /// Returns response with indentations and line breaks. + /// [default: true] + [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PrettyPrint { get; set; } + + /// Available to use for quota purposes for server-side applications. Can be any arbitrary string + /// assigned to a user, but should not exceed 40 characters. + [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] + public virtual string QuotaUser { get; set; } + + /// Legacy upload protocol for media (e.g. "media", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadType { get; set; } + + /// Upload protocol for media (e.g. "raw", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadProtocol { get; set; } + + /// Initializes ManagedServiceforMicrosoftActiveDirectoryConsumerAPI parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add( + "callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add( + "quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "projects" collection of methods. + public class ProjectsResource + { + private const string Resource = "projects"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProjectsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + locations = new LocationsResource(service); + + } + + private readonly LocationsResource locations; + + /// Gets the Locations resource. + public virtual LocationsResource Locations + { + get { return locations; } + } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + global = new GlobalResource(service); + + } + + private readonly GlobalResource global; + + /// Gets the Global resource. + public virtual GlobalResource Global + { + get { return global; } + } + + /// The "global" collection of methods. + public class GlobalResource + { + private const string Resource = "global"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public GlobalResource(Google.Apis.Services.IClientService service) + { + this.service = service; + domains = new DomainsResource(service); + operations = new OperationsResource(service); + + } + + private readonly DomainsResource domains; + + /// Gets the Domains resource. + public virtual DomainsResource Domains + { + get { return domains; } + } + + /// The "domains" collection of methods. + public class DomainsResource + { + private const string Resource = "domains"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public DomainsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Adds an AD trust to a domain. + /// The body of the request. + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual AttachTrustRequest AttachTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.AttachTrustRequest body, string name) + { + return new AttachTrustRequest(service, body, name); + } + + /// Adds an AD trust to a domain. + public class AttachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new AttachTrust request. + public AttachTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.AttachTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.AttachTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "attachTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}:attachTrust"; } + } + + /// Initializes AttachTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Creates a Microsoft AD domain. + /// The body of the request. + /// Required. The resource project name and location using the form: + /// `projects/{project_id}/locations/global` + public virtual CreateRequest Create(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.Domain body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a Microsoft AD domain. + public class CreateRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.Domain body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The resource project name and location using the form: + /// `projects/{project_id}/locations/global` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with + /// the following restrictions: + /// + /// * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a + /// letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must + /// not start with period. * First segement length (mydomain form example above) shouldn't + /// exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the + /// customer project. + [Google.Apis.Util.RequestParameterAttribute("domainName", Google.Apis.Util.RequestParameterType.Query)] + public virtual string DomainName { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.Domain Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+parent}/domains"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "domainName", new Google.Apis.Discovery.Parameter + { + Name = "domainName", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Deletes a domain. + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes a domain. + public class DeleteRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Removes an AD trust. + /// The body of the request. + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual DetachTrustRequest DetachTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.DetachTrustRequest body, string name) + { + return new DetachTrustRequest(service, body, name); + } + + /// Removes an AD trust. + public class DetachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new DetachTrust request. + public DetachTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.DetachTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.DetachTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "detachTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}:detachTrust"; } + } + + /// Initializes DetachTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Gets information about a domain. + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets information about a domain. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + /// REQUIRED: The resource for which the policy is being requested. See the operation + /// documentation for the appropriate value for this field. + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(service, resource); + } + + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + public class GetIamPolicyRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) + : base(service) + { + Resource = resource; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy is being requested. See the operation + /// documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Optional. The policy format version to be returned. + /// + /// Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. + /// + /// Requests for policies with any conditional bindings must specify version 3. Policies without + /// any conditional bindings may specify any valid value or leave the field unset. + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "getIamPolicy"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+resource}:getIamPolicy"; } + } + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + RequestParameters.Add( + "options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Lists domains in a project. + /// Required. The resource name of the domain location using the form: + /// `projects/{project_id}/locations/global` + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Lists domains in a project. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The resource name of the domain location using the form: + /// `projects/{project_id}/locations/global` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. A filter specifying constraints of a list operation. For example, + /// `Domain.fqdn="mydomain.myorginization"`. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// Optional. Specifies the ordering of results. See [Sorting + /// order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more + /// information. + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// Optional. The maximum number of items to return. If not specified, a default value + /// of 1000 will be used. Regardless of the page_size value, the response may include a partial + /// list. Callers should rely on a response's next_page_token to determine if there are + /// additional results to list. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Optional. The `next_page_token` value returned from a previous ListDomainsRequest + /// request, if any. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+parent}/domains"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the metadata and configuration of a domain. + /// The body of the request. + /// Required. The unique name of the domain using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + public virtual PatchRequest Patch(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.Domain body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the metadata and configuration of a domain. + public class PatchRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.Domain body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The unique name of the domain using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Required. Mask of fields to update. At least one path must be supplied in this + /// field. The elements of the repeated paths field may only include fields from Domain: * + /// `labels` * `locations` * `authorized_networks` + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.Domain Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the DNS conditional forwarder. + /// The body of the request. + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ReconfigureTrustRequest ReconfigureTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ReconfigureTrustRequest body, string name) + { + return new ReconfigureTrustRequest(service, body, name); + } + + /// Updates the DNS conditional forwarder. + public class ReconfigureTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ReconfigureTrust request. + public ReconfigureTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ReconfigureTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ReconfigureTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "reconfigureTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}:reconfigureTrust"; } + } + + /// Initializes ReconfigureTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Resets a domain's administrator password. + /// The body of the request. + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ResetAdminPasswordRequest ResetAdminPassword(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ResetAdminPasswordRequest body, string name) + { + return new ResetAdminPasswordRequest(service, body, name); + } + + /// Resets a domain's administrator password. + public class ResetAdminPasswordRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ResetAdminPassword request. + public ResetAdminPasswordRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ResetAdminPasswordRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ResetAdminPasswordRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "resetAdminPassword"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}:resetAdminPassword"; } + } + + /// Initializes ResetAdminPassword parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// + /// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + /// The body of the request. + /// REQUIRED: The resource for which the policy is being specified. See the operation + /// documentation for the appropriate value for this field. + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(service, body, resource); + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// + /// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + public class SetIamPolicyRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.SetIamPolicyRequest body, string resource) + : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy is being specified. See the operation + /// documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.SetIamPolicyRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "setIamPolicy"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+resource}:setIamPolicy"; } + } + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Returns permissions that a caller has on the specified resource. If the resource does + /// not exist, this will return an empty set of permissions, not a NOT_FOUND error. + /// + /// Note: This operation is designed to be used for building permission-aware UIs and command-line + /// tools, not for authorization checking. This operation may "fail open" without warning. + /// The body of the request. + /// REQUIRED: The resource for which the policy detail is being requested. See the operation + /// documentation for the appropriate value for this field. + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(service, body, resource); + } + + /// Returns permissions that a caller has on the specified resource. If the resource does + /// not exist, this will return an empty set of permissions, not a NOT_FOUND error. + /// + /// Note: This operation is designed to be used for building permission-aware UIs and command-line + /// tools, not for authorization checking. This operation may "fail open" without warning. + public class TestIamPermissionsRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.TestIamPermissionsRequest body, string resource) + : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy detail is being requested. See the + /// operation documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.TestIamPermissionsRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "testIamPermissions"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+resource}:testIamPermissions"; } + } + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Validates a trust state, that the target domain is reachable, and that the target + /// domain is able to accept incoming trust requests. + /// The body of the request. + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ValidateTrustRequest ValidateTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ValidateTrustRequest body, string name) + { + return new ValidateTrustRequest(service, body, name); + } + + /// Validates a trust state, that the target domain is reachable, and that the target + /// domain is able to accept incoming trust requests. + public class ValidateTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ValidateTrust request. + public ValidateTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ValidateTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.ValidateTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "validateTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}:validateTrust"; } + } + + /// Initializes ValidateTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + } + private readonly OperationsResource operations; + + /// Gets the Operations resource. + public virtual OperationsResource Operations + { + get { return operations; } + } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support + /// this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// Operations.GetOperation or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, the operation is not + /// deleted; instead, it becomes an operation with an Operation.error value with a + /// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// The body of the request. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.CancelOperationRequest body, string name) + { + return new CancelRequest(service, body, name); + } + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support + /// this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// Operations.GetOperation or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, the operation is not + /// deleted; instead, it becomes an operation with an Operation.error value with a + /// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + public class CancelRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.CancelOperationRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data.CancelOperationRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "cancel"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}:cancel"; } + } + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Deletes a long-running operation. This method indicates that the client is no longer + /// interested in the operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// The name of the operation resource to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes a long-running operation. This method indicates that the client is no longer + /// interested in the operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + public class DeleteRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll + /// the operation result at intervals as recommended by the API service. + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll + /// the operation result at intervals as recommended by the API service. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource + /// name schemes, such as `users/operations`. To override the binding, API services can add a + /// binding such as `"/v1/{name=users}/operations"` to their service configuration. For backwards + /// compatibility, the default name includes the operations collection id, however overriding users + /// must ensure the name binding is the parent resource, without the operations collection + /// id. + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource + /// name schemes, such as `users/operations`. To override the binding, API services can add a + /// binding such as `"/v1/{name=users}/operations"` to their service configuration. For backwards + /// compatibility, the default name includes the operations collection id, however overriding users + /// must ensure the name binding is the parent resource, without the operations collection + /// id. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } + + /// Gets information about a location. + /// Resource name for the location. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets information about a location. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Resource name for the location. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + + } + + /// Lists information about the supported locations for this service. + /// The resource that owns the locations collection, if applicable. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists information about the supported locations for this service. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The resource that owns the locations collection, if applicable. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// If true, the returned list will include locations which are not yet revealed. + [Google.Apis.Util.RequestParameterAttribute("includeUnrevealedLocations", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IncludeUnrevealedLocations { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1/{+name}/locations"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "includeUnrevealedLocations", new Google.Apis.Discovery.Parameter + { + Name = "includeUnrevealedLocations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } +} + +namespace Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.Data +{ + + /// Request message for AttachTrust + public class AttachTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The domain trust resource. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Associates `members` with a `role`. + public class Binding : Google.Apis.Requests.IDirectResponseSchema + { + /// The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow + /// user access via current binding. Different bindings, including their conditions, are examined + /// independently. + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual Expr Condition { get; set; } + + /// Specifies the identities requesting access for a Cloud Platform resource. `members` can have the + /// following values: + /// + /// * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google + /// account. + /// + /// * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google + /// account or a service account. + /// + /// * `user:{emailid}`: An email address that represents a specific Google account. For example, + /// `alice@example.com` . + /// + /// * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other- + /// app@appspot.gserviceaccount.com`. + /// + /// * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. + /// + /// * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user + /// that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is + /// recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. + /// + /// * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing + /// a service account that has been recently deleted. For example, `my-other- + /// app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value + /// reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. + /// + /// * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google + /// group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the + /// group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the + /// binding. + /// + /// * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, + /// `google.com` or `example.com`. + /// + /// + [Newtonsoft.Json.JsonPropertyAttribute("members")] + public virtual System.Collections.Generic.IList Members { get; set; } + + /// Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + /// `roles/owner`. + [Newtonsoft.Json.JsonPropertyAttribute("role")] + public virtual string Role { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Operations.CancelOperation. + public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for DetachTrust + public class DetachTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The domain trust resource to removed. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a managed Microsoft Active Directory domain. + public class Domain : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The name of delegated administrator account used to perform Active Directory operations. + /// If not specified, `setupadmin` will be used. + [Newtonsoft.Json.JsonPropertyAttribute("admin")] + public virtual string Admin { get; set; } + + /// Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and- + /// firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The + /// domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between + /// networks, domain creation will fail. + [Newtonsoft.Json.JsonPropertyAttribute("authorizedNetworks")] + public virtual System.Collections.Generic.IList AuthorizedNetworks { get; set; } + + /// Output only. The time the instance was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The fully-qualified domain name of the exposed domain used by clients to connect to + /// the service. Similar to what would be chosen for an Active Directory set up on an internal + /// network. + [Newtonsoft.Json.JsonPropertyAttribute("fqdn")] + public virtual string Fqdn { get; set; } + + /// Optional. Resource labels that can contain user-provided metadata. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service + /// supports up to 4 locations at once. Each location will use a /26 block. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// Required. The unique name of the domain using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks + /// must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in + /// [Domain].[authorized_networks]. + [Newtonsoft.Json.JsonPropertyAttribute("reservedIpRange")] + public virtual string ReservedIpRange { get; set; } + + /// Output only. The current state of this domain. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. Additional information about the current status of this domain, if + /// available. + [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] + public virtual string StatusMessage { get; set; } + + /// Output only. The current trusts associated with the domain. + [Newtonsoft.Json.JsonPropertyAttribute("trusts")] + public virtual System.Collections.Generic.IList Trusts { get; set; } + + /// Output only. The last update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A + /// typical example is to use it as the request or the response type of an API method. For instance: + /// + /// service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + /// The JSON representation for `Empty` is empty JSON object `{}`. + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like + /// expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. + /// + /// Example (Comparison): + /// + /// title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: + /// "document.summary.size() < 100" + /// + /// Example (Equality): + /// + /// title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: + /// "document.owner == request.auth.claims.email" + /// + /// Example (Logic): + /// + /// title: "Public documents" description: "Determine whether the document should be publicly visible" expression: + /// "document.type != 'private' && document.type != 'internal'" + /// + /// Example (Data Manipulation): + /// + /// title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New + /// message received at ' + string(document.create_time)" + /// + /// The exact variables and functions that may be referenced within an expression are determined by the service that + /// evaluates it. See the service documentation for additional information. + public class Expr : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. + /// when hovered over it in a UI. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Textual representation of an expression in Common Expression Language syntax. + [Newtonsoft.Json.JsonPropertyAttribute("expression")] + public virtual string Expression { get; set; } + + /// Optional. String indicating the location of the expression for error reporting, e.g. a file name + /// and a position in the file. + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used + /// e.g. in UIs which allow to enter the expression. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class GoogleCloudManagedidentitiesV1OpMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class GoogleCloudManagedidentitiesV1beta1OpMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Instance represents the interface for SLM services to actuate the state of control plane resources. + /// + /// Example Instance in JSON, where consumer-project=snapchat, producer-project=cloud-sql: + /// + /// ```json Instance: { "name": "projects/snapchat/locations/us-east1/instances/prod-instance", "create_time": { + /// "seconds": 1526406431, }, "labels": { "env": "prod", "foo": "bar" }, "state": READY, "software_versions": { + /// "software_update": "cloud-sql-09-28-2018", }, "maintenance_policy_names": { "UpdatePolicy": + /// "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy", } "tenant_project_id": "cloud- + /// sql-test-tenant", "producer_metadata": { "cloud-sql-tier": "basic", "cloud-sql-instance-size": "1G", }, + /// "provisioned_resources": [ { "resource-type": "compute-instance", "resource-url": + /// "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1", } ], + /// "maintenance_schedules": { "csa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + /// 1535406431, }, }, "ncsa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + /// 1535406431, }, } }, "consumer_defined_name": "my-sql-instance1", } ``` + public class GoogleCloudSaasacceleratorManagementProvidersV1Instance : Google.Apis.Requests.IDirectResponseSchema + { + /// consumer_defined_name is the name that is set by the consumer. On the other hand Name field + /// represents system-assigned id of an instance so consumers are not necessarily aware of it. + /// consumer_defined_name is used for notification/UI purposes for consumer to recognize their + /// instances. + [Newtonsoft.Json.JsonPropertyAttribute("consumerDefinedName")] + public virtual string ConsumerDefinedName { get; set; } + + /// Output only. Timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, + /// where both the key and the value are arbitrary strings provided by the user. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The MaintenancePolicies that have been attached to the instance. The key must be of the type name + /// of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy + /// type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. + [Newtonsoft.Json.JsonPropertyAttribute("maintenancePolicyNames")] + public virtual System.Collections.Generic.IDictionary MaintenancePolicyNames { get; set; } + + /// The MaintenanceSchedule contains the scheduling information of published maintenance + /// schedule. + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceSchedules")] + public virtual System.Collections.Generic.IDictionary MaintenanceSchedules { get; set; } + + /// Unique name of the resource. It uses the form: + /// `projects/{project_id}/locations/{location_id}/instances/{instance_id}` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Custom string attributes used primarily to expose producer-specific information in + /// monitoring dashboards. See go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("producerMetadata")] + public virtual System.Collections.Generic.IDictionary ProducerMetadata { get; set; } + + /// Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See + /// go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("provisionedResources")] + public virtual System.Collections.Generic.IList ProvisionedResources { get; set; } + + /// The map between RolloutType and the corresponding RolloutMetadata. This is only mutated by rollout + /// service. For actuation implementation, this information is pass-through for Rollout management. Producer + /// shall not modify by itself. For update of a single entry in this map, the update field mask shall follow + /// this sementics: go/advanced-field-masks + [Newtonsoft.Json.JsonPropertyAttribute("rolloutMetadata")] + public virtual System.Collections.Generic.IDictionary RolloutMetadata { get; set; } + + /// Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation + /// service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this + /// field. Instead they should use software_versions. + [Newtonsoft.Json.JsonPropertyAttribute("slmInstanceTemplate")] + public virtual string SlmInstanceTemplate { get; set; } + + /// Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. + /// See go/cloud-ssa-standard-slo for feature description. + [Newtonsoft.Json.JsonPropertyAttribute("sloMetadata")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata SloMetadata { get; set; } + + /// Software versions that are used to deploy this instance. This can be mutated by rollout + /// services. + [Newtonsoft.Json.JsonPropertyAttribute("softwareVersions")] + public virtual System.Collections.Generic.IDictionary SoftwareVersions { get; set; } + + /// Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to + /// use). + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. ID of the associated GCP tenant project. See go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("tenantProjectId")] + public virtual string TenantProjectId { get; set; } + + /// Output only. Timestamp when the resource was last modified. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Maintenance schedule which is exposed to customer and potentially end user, indicating published + /// upcoming future maintenance schedule + public class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule : Google.Apis.Requests.IDirectResponseSchema + { + /// Can this scheduled update be rescheduled? By default, it's true and API needs to do explicitly + /// check whether it's set, if it's set as false explicitly, it's false + [Newtonsoft.Json.JsonPropertyAttribute("canReschedule")] + public virtual System.Nullable CanReschedule { get; set; } + + /// The scheduled end time for the maintenance. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// The rollout management policy this maintenance schedule is associated with. When doing reschedule + /// update request, the reschedule should be against this given policy. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutManagementPolicy")] + public virtual string RolloutManagementPolicy { get; set; } + + /// The scheduled start time for the maintenance. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual object StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but + /// producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter + /// will emit per-node metric based on this information. + public class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// By default node is eligible if instance is eligible. But individual node might be excluded from SLO + /// by adding entry here. For semantic see SloMetadata.exclusions. If both instance and node level exclusions + /// are present for time period, the node level's reason will be reported by Eligibility Exporter. + [Newtonsoft.Json.JsonPropertyAttribute("exclusions")] + public virtual System.Collections.Generic.IList Exclusions { get; set; } + + /// The location of the node, if different from instance location. + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// The id of the node. This should be equal to SaasInstanceNode.node_id. + [Newtonsoft.Json.JsonPropertyAttribute("nodeId")] + public virtual string NodeId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message has been deprecated. NotificationMetadata is the notification state for an + /// instance. + public class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether the instance update has been rescheduled. + [Newtonsoft.Json.JsonPropertyAttribute("rescheduled")] + public virtual System.Nullable Rescheduled { get; set; } + + /// The scheduled end time for the maintenance window during which update can be performed on the + /// instance. + [Newtonsoft.Json.JsonPropertyAttribute("scheduledEndTime")] + public virtual object ScheduledEndTime { get; set; } + + /// The scheduled start time for the maintenance window during which update can be performed on the + /// instance. + [Newtonsoft.Json.JsonPropertyAttribute("scheduledStartTime")] + public virtual object ScheduledStartTime { get; set; } + + /// The target release to be applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("targetRelease")] + public virtual string TargetRelease { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes provisioned dataplane resources. + public class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource : Google.Apis.Requests.IDirectResponseSchema + { + /// Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud + /// provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API + /// documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for + /// example: 'compute-instance', 'compute-disk', 'compute-autoscaler'. + [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] + public virtual string ResourceType { get; set; } + + /// URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/projects/...)". + [Newtonsoft.Json.JsonPropertyAttribute("resourceUrl")] + public virtual string ResourceUrl { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message has been deprecated. RolloutMetadata for an actuation instance. It maps to a single + /// RolloutType. + public class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Instance level notification metadata. + [Newtonsoft.Json.JsonPropertyAttribute("notification")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata Notification { get; set; } + + /// The last Release that has been applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("releaseName")] + public virtual string ReleaseName { get; set; } + + /// The last rollout that has been applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutName")] + public virtual string RolloutName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO + /// calculation or false if it should be excluded from all SLO-related calculations along with a user-defined + /// reason. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether an instance is eligible or ineligible. + [Newtonsoft.Json.JsonPropertyAttribute("eligible")] + public virtual System.Nullable Eligible { get; set; } + + /// User-defined reason for the current value of instance eligibility. Usually, this can be directly + /// mapped to the internal state. An empty reason is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloExclusion represents an exclusion in SLI calculation applies to all SLOs. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion : Google.Apis.Requests.IDirectResponseSchema + { + /// Exclusion duration. No restrictions on the possible values. + /// + /// When an ongoing operation is taking longer than initially expected, an existing entry in the exclusion list + /// can be updated by extending the duration. This is supported by the subsystem exporting eligibility data as + /// long as such extension is committed at least 10 minutes before the original exclusion expiration - otherwise + /// it is possible that there will be "gaps" in the exclusion application in the exported timeseries. + [Newtonsoft.Json.JsonPropertyAttribute("duration")] + public virtual object Duration { get; set; } + + /// Human-readable reason for the exclusion. This should be a static string (e.g. "Disruptive update in + /// progress") and should not contain dynamically generated data (e.g. instance name). Can be left + /// empty. + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// Name of an SLI that this exclusion applies to. Can be left empty, signaling that the instance + /// should be excluded from all SLIs defined in the service SLO configuration. + [Newtonsoft.Json.JsonPropertyAttribute("sliName")] + public virtual string SliName { get; set; } + + /// Start time of the exclusion. No alignment (e.g. to a full minute) needed. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual object StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloMetadata contains resources required for proper SLO classification of the instance. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. User-defined instance eligibility. + [Newtonsoft.Json.JsonPropertyAttribute("eligibility")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility Eligibility { get; set; } + + /// List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion + /// time-window against current time point) the exclusion reason used in the first matching entry will be + /// published. + /// + /// It is not needed to include expired exclusion in this list, as only the currently applicable exclusions are + /// taken into account by the eligibility exporting subsystem (the historical state of exclusions will be + /// reflected in the historically produced timeseries regardless of the current state). + /// + /// This field can be used to mark the instance as temporary ineligible for the purpose of SLO calculation. For + /// permanent instance SLO exclusion, use of custom instance eligibility is recommended. See 'eligibility' field + /// below. + [Newtonsoft.Json.JsonPropertyAttribute("exclusions")] + public virtual System.Collections.Generic.IList Exclusions { get; set; } + + /// Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field + /// allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter + /// and published in the form of per node metric to Monarch. + [Newtonsoft.Json.JsonPropertyAttribute("nodes")] + public virtual System.Collections.Generic.IList Nodes { get; set; } + + /// Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers + /// specified in the service SLO configuration. + /// + /// Field is mandatory and must not be empty. + [Newtonsoft.Json.JsonPropertyAttribute("tier")] + public virtual string Tier { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for ListDomains + public class ListDomainsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of Managed Identities Service domains in the project. + [Newtonsoft.Json.JsonPropertyAttribute("domains")] + public virtual System.Collections.Generic.IList Domains { get; set; } + + /// A token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Locations.ListLocations. + public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of locations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Operations.ListOperations. + public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A resource that represents Google Cloud Platform location. + public class Location : Google.Apis.Requests.IDirectResponseSchema + { + /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Cross-service attributes for the location. For example + /// + /// {"cloud.googleapis.com/region": "us-east1"} + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The canonical id for this location. For example: `"us-east1"`. + [Newtonsoft.Json.JsonPropertyAttribute("locationId")] + public virtual string LocationId { get; set; } + + /// Service-specific metadata. For example the available capacity at the given location. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// Resource name for the location, which may vary between implementations. For example: `"projects + /// /example-project/locations/us-east1"` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema + { + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is + /// completed, and either `error` or `response` is available. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// Service-specific metadata associated with the operation. It typically contains progress + /// information and common metadata such as create time. Some services might not provide such metadata. Any + /// method that returns a long-running operation should document the metadata type, if any. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// The server-assigned name, which is only unique within the same service that originally returns it. + /// If you use the default HTTP mapping, the `name` should be a resource name ending with + /// `operations/{unique_id}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The normal response of the operation in case of success. If the original method returns no data on + /// success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name + /// is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output only] API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// [Output only] Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("cancelRequested")] + public virtual System.Nullable CancelRequested { get; set; } + + /// [Output only] The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// [Output only] The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// [Output only] Human-readable status of the operation, if any. + [Newtonsoft.Json.JsonPropertyAttribute("statusDetail")] + public virtual string StatusDetail { get; set; } + + /// [Output only] Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// [Output only] Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud + /// resources. + /// + /// A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members + /// can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list + /// of permissions; each `role` can be an IAM predefined role or a user-created custom role. + /// + /// Optionally, a `binding` can specify a `condition`, which is a logical expression that allows access to a + /// resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the + /// request, the resource, or both. + /// + /// **JSON example:** + /// + /// { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, + /// { "role": "roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], "condition": { + /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time + /// < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// + /// **YAML example:** + /// + /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my- + /// project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - + /// user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access + /// description: Does not grant access after Sep 2020 expression: request.time < + /// timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 + /// + /// For a description of IAM and its features, see the [IAM + /// documentation](https://cloud.google.com/iam/docs/). + public class Policy : Google.Apis.Requests.IDirectResponseSchema + { + /// Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines + /// how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. + [Newtonsoft.Json.JsonPropertyAttribute("bindings")] + public virtual System.Collections.Generic.IList Bindings { get; set; } + + /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of + /// a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned + /// in the response to `getIamPolicy`, and systems are expected to put that etag in the request to + /// `setIamPolicy` to ensure that their change will be applied to the same version of the policy. + /// + /// **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version + /// `1` policy, and all of the conditions in the version `3` policy are lost. + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// Specifies the format of the policy. + /// + /// Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. + /// + /// Any operation that affects conditional role bindings must specify version `3`. This requirement applies to + /// the following operations: + /// + /// * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy + /// * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, + /// from a policy that includes conditions + /// + /// **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version + /// `1` policy, and all of the conditions in the version `3` policy are lost. + /// + /// If a policy does not include any conditions, operations on that policy may specify any valid version or + /// leave the field unset. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual System.Nullable Version { get; set; } + + } + + /// Request message for ReconfigureTrust + public class ReconfigureTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The target DNS server IP addresses to resolve the remote domain involved in the + /// trust. + [Newtonsoft.Json.JsonPropertyAttribute("targetDnsIpAddresses")] + public virtual System.Collections.Generic.IList TargetDnsIpAddresses { get; set; } + + /// Required. The fully-qualified target domain name which will be in trust with current + /// domain. + [Newtonsoft.Json.JsonPropertyAttribute("targetDomainName")] + public virtual string TargetDomainName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for ResetAdminPassword + public class ResetAdminPasswordRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for ResetAdminPassword + public class ResetAdminPasswordResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A random password. See admin for more information. + [Newtonsoft.Json.JsonPropertyAttribute("password")] + public virtual string Password { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `SetIamPolicy` method. + public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to + /// a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual Policy Policy { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The `Status` type defines a logical error model that is suitable for different programming + /// environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` + /// message contains three pieces of data: error code, error message, and error details. + /// + /// You can find out more about this error model and how to work with it in the [API Design + /// Guide](https://cloud.google.com/apis/design/errors). + public class Status : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// A list of messages that carry the error details. There is a common set of message types for APIs + /// to use. + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// A developer-facing error message, which should be in English. Any user-facing error message should + /// be localized and sent in the google.rpc.Status.details field, or localized by the client. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `TestIamPermissions` method. + public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or + /// 'storage.*') are not allowed. For more information see [IAM + /// Overview](https://cloud.google.com/iam/docs/overview#permissions). + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for `TestIamPermissions` method. + public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a relationship between two domains. This allows a controller in one domain to authenticate a + /// user in another domain. + public class Trust : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The time the instance was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The last heartbeat time when the trust was known to be connected. + [Newtonsoft.Json.JsonPropertyAttribute("lastTrustHeartbeatTime")] + public virtual object LastTrustHeartbeatTime { get; set; } + + /// Optional. The trust authentication type, which decides whether the trusted side has forest/domain + /// wide access or selective access to an approved set of resources. + [Newtonsoft.Json.JsonPropertyAttribute("selectiveAuthentication")] + public virtual System.Nullable SelectiveAuthentication { get; set; } + + /// Output only. The current state of the trust. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. Additional information about the current state of the trust, if available. + [Newtonsoft.Json.JsonPropertyAttribute("stateDescription")] + public virtual string StateDescription { get; set; } + + /// Required. The target DNS server IP addresses which can resolve the remote domain involved in the + /// trust. + [Newtonsoft.Json.JsonPropertyAttribute("targetDnsIpAddresses")] + public virtual System.Collections.Generic.IList TargetDnsIpAddresses { get; set; } + + /// Required. The fully qualified target domain name which will be in trust with the current + /// domain. + [Newtonsoft.Json.JsonPropertyAttribute("targetDomainName")] + public virtual string TargetDomainName { get; set; } + + /// Required. The trust direction, which decides if the current domain is trusted, trusting, or + /// both. + [Newtonsoft.Json.JsonPropertyAttribute("trustDirection")] + public virtual string TrustDirection { get; set; } + + /// Required. The trust secret used for the handshake with the target domain. This will not be + /// stored. + [Newtonsoft.Json.JsonPropertyAttribute("trustHandshakeSecret")] + public virtual string TrustHandshakeSecret { get; set; } + + /// Required. The type of trust represented by the trust resource. + [Newtonsoft.Json.JsonPropertyAttribute("trustType")] + public virtual string TrustType { get; set; } + + /// Output only. The last update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for ValidateTrust + public class ValidateTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The domain trust to validate trust state for. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } +} diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj new file mode 100644 index 00000000000..366ea4abd5b --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj @@ -0,0 +1,97 @@ + + + + + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1 Client Library + 1.44.0.1869 + Google Inc. + Copyright 2017 Google Inc. + Google + https://github.com/google/google-api-dotnet-client + LICENSE + git + https://github.com/google/google-api-dotnet-client + https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png + + Google APIs Client Library for working with Managedidentities v1. + + Supported Platforms: + - .NET Framework 4.5+ + - .NET Standard 1.3 and .NET Standard 2.0; providing .NET Core support. + + Legacy platforms: + - .NET Framework 4.0 + - Windows 8 Apps + - Windows Phone 8.1 + - Windows Phone Silverlight 8.0 + + Incompatible platforms: + - .NET Framework < 4.0 + - Silverlight + - UWP (will build, but is known not to work at runtime) + - Xamarin + + More documentation on the API is available at: + https://developers.google.com/api-client-library/dotnet/apis/managedidentities/v1 + + The package source code is available at: + https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated + + + + + + + + + + netstandard2.0;netstandard1.3;netstandard1.0;net45;net40 + true + ..\..\..\google.apis.snk + portable + true + 1570,1587,1591 + + + + + + + + + + + + + + + + + + + + + portable-net45+win8+wpa81+wp8 + app.netstandard10.config + + + + + + + + + + + + + + false + app.net40.config + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.net40.config b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.net40.config new file mode 100644 index 00000000000..bb30b7ab311 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.net40.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.netstandard10.config b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.netstandard10.config new file mode 100644 index 00000000000..62588d67ee6 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/app.netstandard10.config @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs new file mode 100644 index 00000000000..b6819b6404b --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs @@ -0,0 +1,2897 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +// specific language governing permissions and limitations under the License. + +//------------------------------------------------------------------------------ +// +// This code was generated by google-apis-code-generator 1.5.1 +// C# generator version: 1.44.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +/** + * \brief + * Managed Service for Microsoft Active Directory API Version v1alpha1 + * + * \section ApiInfo API Version Information + * + *
API + * Managed Service for Microsoft Active Directory API + *
API Versionv1alpha1 + *
API Rev20200213 (1869) + *
API Docs + * + * https://cloud.google.com/managed-microsoft-ad/ + *
Discovery Namemanagedidentities + *
+ * + * \section ForMoreInfo For More Information + * + * The complete API documentation for using Managed Service for Microsoft Active Directory API can be found at + * https://cloud.google.com/managed-microsoft-ad/. + * + * For more information about the Google APIs Client Library for .NET, see + * + * https://developers.google.com/api-client-library/dotnet/get_started + */ + +namespace Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1 +{ + /// The ManagedServiceforMicrosoftActiveDirectoryConsumerAPI Service. + public class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v1alpha1"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = + Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService() : + this(new Google.Apis.Services.BaseClientService.Initializer()) {} + + /// Constructs a new service. + /// The service initializer. + public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) + : base(initializer) + { + projects = new ProjectsResource(this); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features + { + get { return new string[0]; } + } + + /// Gets the service name. + public override string Name + { + get { return "managedidentities"; } + } + + /// Gets the service base URI. + public override string BaseUri + { + #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45 + get { return BaseUriOverride ?? "https://managedidentities.googleapis.com/"; } + #else + get { return "https://managedidentities.googleapis.com/"; } + #endif + } + + /// Gets the service base path. + public override string BasePath + { + get { return ""; } + } + + #if !NET40 + /// Gets the batch base URI; null if unspecified. + public override string BatchUri + { + get { return "https://managedidentities.googleapis.com/batch"; } + } + + /// Gets the batch base path; null if unspecified. + public override string BatchPath + { + get { return "batch"; } + } + #endif + + /// Available OAuth 2.0 scopes for use with the Managed Service for Microsoft Active Directory API. + public class Scope + { + /// View and manage your data across Google Cloud Platform services + public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + } + + /// Available OAuth 2.0 scope constants for use with the Managed Service for Microsoft Active Directory API. + public static class ScopeConstants + { + /// View and manage your data across Google Cloud Platform services + public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + } + + + + private readonly ProjectsResource projects; + + /// Gets the Projects resource. + public virtual ProjectsResource Projects + { + get { return projects; } + } + } + + ///A base abstract class for ManagedServiceforMicrosoftActiveDirectoryConsumerAPI requests. + public abstract class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + ///Constructs a new ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest instance. + protected ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest(Google.Apis.Services.IClientService service) + : base(service) + { + } + + /// V1 error format. + [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Xgafv { get; set; } + + /// V1 error format. + public enum XgafvEnum + { + /// v1 error format + [Google.Apis.Util.StringValueAttribute("1")] + Value1, + /// v2 error format + [Google.Apis.Util.StringValueAttribute("2")] + Value2, + } + + /// OAuth access token. + [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AccessToken { get; set; } + + /// Data format for response. + /// [default: json] + [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Alt { get; set; } + + /// Data format for response. + public enum AltEnum + { + /// Responses with Content-Type of application/json + [Google.Apis.Util.StringValueAttribute("json")] + Json, + /// Media download with context-dependent Content-Type + [Google.Apis.Util.StringValueAttribute("media")] + Media, + /// Responses with Content-Type of application/x-protobuf + [Google.Apis.Util.StringValueAttribute("proto")] + Proto, + } + + /// JSONP + [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Callback { get; set; } + + /// Selector specifying which fields to include in a partial response. + [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Fields { get; set; } + + /// API key. Your API key identifies your project and provides you with API access, quota, and reports. + /// Required unless you provide an OAuth 2.0 token. + [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Key { get; set; } + + /// OAuth 2.0 token for the current user. + [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OauthToken { get; set; } + + /// Returns response with indentations and line breaks. + /// [default: true] + [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PrettyPrint { get; set; } + + /// Available to use for quota purposes for server-side applications. Can be any arbitrary string + /// assigned to a user, but should not exceed 40 characters. + [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] + public virtual string QuotaUser { get; set; } + + /// Legacy upload protocol for media (e.g. "media", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadType { get; set; } + + /// Upload protocol for media (e.g. "raw", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadProtocol { get; set; } + + /// Initializes ManagedServiceforMicrosoftActiveDirectoryConsumerAPI parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add( + "callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add( + "quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "projects" collection of methods. + public class ProjectsResource + { + private const string Resource = "projects"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProjectsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + locations = new LocationsResource(service); + + } + + private readonly LocationsResource locations; + + /// Gets the Locations resource. + public virtual LocationsResource Locations + { + get { return locations; } + } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + global = new GlobalResource(service); + + } + + private readonly GlobalResource global; + + /// Gets the Global resource. + public virtual GlobalResource Global + { + get { return global; } + } + + /// The "global" collection of methods. + public class GlobalResource + { + private const string Resource = "global"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public GlobalResource(Google.Apis.Services.IClientService service) + { + this.service = service; + domains = new DomainsResource(service); + operations = new OperationsResource(service); + + } + + private readonly DomainsResource domains; + + /// Gets the Domains resource. + public virtual DomainsResource Domains + { + get { return domains; } + } + + /// The "domains" collection of methods. + public class DomainsResource + { + private const string Resource = "domains"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public DomainsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Adds AD trust in a given domain. Operation + /// The body of the request. + /// The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual AttachTrustRequest AttachTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.AttachTrustRequest body, string name) + { + return new AttachTrustRequest(service, body, name); + } + + /// Adds AD trust in a given domain. Operation + public class AttachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new AttachTrust request. + public AttachTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.AttachTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.AttachTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "attachTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}:attachTrust"; } + } + + /// Initializes AttachTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Creates a Microsoft AD Domain in a given project. Operation + /// The body of the request. + /// Resource project name and location using the form: + /// `projects/{project_id}/locations/global` + public virtual CreateRequest Create(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.Domain body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a Microsoft AD Domain in a given project. Operation + public class CreateRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.Domain body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Resource project name and location using the form: + /// `projects/{project_id}/locations/global` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// The fully qualified domain name. e.g. mydomain.myorganization.com, with the + /// following restrictions: + /// + /// * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a + /// letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must + /// not start with period. * Must be unique within the project. * First segement length + /// (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully + /// numeric. + [Google.Apis.Util.RequestParameterAttribute("domainName", Google.Apis.Util.RequestParameterType.Query)] + public virtual string DomainName { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.Domain Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+parent}/domains"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "domainName", new Google.Apis.Discovery.Parameter + { + Name = "domainName", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Deletes identified domain. Operation + /// Domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes identified domain. Operation + public class DeleteRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Removes identified trust. Operation + /// The body of the request. + /// The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual DetachTrustRequest DetachTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.DetachTrustRequest body, string name) + { + return new DetachTrustRequest(service, body, name); + } + + /// Removes identified trust. Operation + public class DetachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new DetachTrust request. + public DetachTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.DetachTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.DetachTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "detachTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}:detachTrust"; } + } + + /// Initializes DetachTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Gets details of a single Domain. + /// Domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets details of a single Domain. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + /// REQUIRED: The resource for which the policy is being requested. See the operation + /// documentation for the appropriate value for this field. + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(service, resource); + } + + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + public class GetIamPolicyRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) + : base(service) + { + Resource = resource; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy is being requested. See the operation + /// documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Optional. The policy format version to be returned. + /// + /// Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. + /// + /// Requests for policies with any conditional bindings must specify version 3. Policies without + /// any conditional bindings may specify any valid value or leave the field unset. + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "getIamPolicy"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+resource}:getIamPolicy"; } + } + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + RequestParameters.Add( + "options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Lists Domains in a given project. + /// Required. The resource name of the domain location using the form: + /// `projects/{project_id}/locations/global` + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Lists Domains in a given project. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The resource name of the domain location using the form: + /// `projects/{project_id}/locations/global` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. Filter specifying constraints of a list operation. For example, + /// `Domain.fqdn="mydomain.myorginization"`. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// Optional. Specifies the ordering of results following syntax at + /// https://cloud.google.com/apis/design/design_patterns#sorting_order. + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// If not specified, a default value of 1000 will be used by the service. Regardless + /// of the page_size value, the response may include a partial list and a caller should only + /// rely on response's next_page_token to determine if there are more instances left to be + /// queried. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The next_page_token value returned from a previous List request, if any. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+parent}/domains"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the metadata and configuration of a specified domain. Operation + /// The body of the request. + /// Output only. Unique name of the domain in this scope including projects and location using the + /// form: `projects/{project_id}/locations/global/domains/{domain_name}`. + public virtual PatchRequest Patch(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.Domain body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the metadata and configuration of a specified domain. Operation + public class PatchRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.Domain body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Output only. Unique name of the domain in this scope including projects and + /// location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Mask of fields to update. At least one path must be supplied in this field. The + /// elements of the repeated paths field may only include these fields from Domain: * `labels` * + /// `locations` * `authorized_networks` + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.Domain Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the dns conditional forwarder. Operation + /// The body of the request. + /// The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ReconfigureTrustRequest ReconfigureTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ReconfigureTrustRequest body, string name) + { + return new ReconfigureTrustRequest(service, body, name); + } + + /// Updates the dns conditional forwarder. Operation + public class ReconfigureTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ReconfigureTrust request. + public ReconfigureTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ReconfigureTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ReconfigureTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "reconfigureTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}:reconfigureTrust"; } + } + + /// Initializes ReconfigureTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Resets managed identities admin password identified by + /// managed_identities_admin_name + /// The body of the request. + /// The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ResetAdminPasswordRequest ResetAdminPassword(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ResetAdminPasswordRequest body, string name) + { + return new ResetAdminPasswordRequest(service, body, name); + } + + /// Resets managed identities admin password identified by + /// managed_identities_admin_name + public class ResetAdminPasswordRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ResetAdminPassword request. + public ResetAdminPasswordRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ResetAdminPasswordRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ResetAdminPasswordRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "resetAdminPassword"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}:resetAdminPassword"; } + } + + /// Initializes ResetAdminPassword parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// + /// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + /// The body of the request. + /// REQUIRED: The resource for which the policy is being specified. See the operation + /// documentation for the appropriate value for this field. + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(service, body, resource); + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// + /// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + public class SetIamPolicyRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.SetIamPolicyRequest body, string resource) + : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy is being specified. See the operation + /// documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.SetIamPolicyRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "setIamPolicy"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+resource}:setIamPolicy"; } + } + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Returns permissions that a caller has on the specified resource. If the resource does + /// not exist, this will return an empty set of permissions, not a NOT_FOUND error. + /// + /// Note: This operation is designed to be used for building permission-aware UIs and command-line + /// tools, not for authorization checking. This operation may "fail open" without warning. + /// The body of the request. + /// REQUIRED: The resource for which the policy detail is being requested. See the operation + /// documentation for the appropriate value for this field. + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(service, body, resource); + } + + /// Returns permissions that a caller has on the specified resource. If the resource does + /// not exist, this will return an empty set of permissions, not a NOT_FOUND error. + /// + /// Note: This operation is designed to be used for building permission-aware UIs and command-line + /// tools, not for authorization checking. This operation may "fail open" without warning. + public class TestIamPermissionsRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.TestIamPermissionsRequest body, string resource) + : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy detail is being requested. See the + /// operation documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.TestIamPermissionsRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "testIamPermissions"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+resource}:testIamPermissions"; } + } + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Validate the trust state Operation + /// The body of the request. + /// The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ValidateTrustRequest ValidateTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ValidateTrustRequest body, string name) + { + return new ValidateTrustRequest(service, body, name); + } + + /// Validate the trust state Operation + public class ValidateTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ValidateTrust request. + public ValidateTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ValidateTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.ValidateTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "validateTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}:validateTrust"; } + } + + /// Initializes ValidateTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + } + private readonly OperationsResource operations; + + /// Gets the Operations resource. + public virtual OperationsResource Operations + { + get { return operations; } + } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support + /// this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// Operations.GetOperation or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, the operation is not + /// deleted; instead, it becomes an operation with an Operation.error value with a + /// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// The body of the request. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.CancelOperationRequest body, string name) + { + return new CancelRequest(service, body, name); + } + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support + /// this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// Operations.GetOperation or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, the operation is not + /// deleted; instead, it becomes an operation with an Operation.error value with a + /// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + public class CancelRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.CancelOperationRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data.CancelOperationRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "cancel"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}:cancel"; } + } + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Deletes a long-running operation. This method indicates that the client is no longer + /// interested in the operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// The name of the operation resource to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes a long-running operation. This method indicates that the client is no longer + /// interested in the operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + public class DeleteRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll + /// the operation result at intervals as recommended by the API service. + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll + /// the operation result at intervals as recommended by the API service. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource + /// name schemes, such as `users/operations`. To override the binding, API services can add a + /// binding such as `"/v1/{name=users}/operations"` to their service configuration. For backwards + /// compatibility, the default name includes the operations collection id, however overriding users + /// must ensure the name binding is the parent resource, without the operations collection + /// id. + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource + /// name schemes, such as `users/operations`. To override the binding, API services can add a + /// binding such as `"/v1/{name=users}/operations"` to their service configuration. For backwards + /// compatibility, the default name includes the operations collection id, however overriding users + /// must ensure the name binding is the parent resource, without the operations collection + /// id. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}/operations"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } + + /// Gets information about a location. + /// Resource name for the location. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets information about a location. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Resource name for the location. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + + } + + /// Lists information about the supported locations for this service. + /// The resource that owns the locations collection, if applicable. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists information about the supported locations for this service. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The resource that owns the locations collection, if applicable. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// If true, the returned list will include locations which are not yet revealed. + [Google.Apis.Util.RequestParameterAttribute("includeUnrevealedLocations", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IncludeUnrevealedLocations { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1alpha1/{+name}/locations"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "includeUnrevealedLocations", new Google.Apis.Discovery.Parameter + { + Name = "includeUnrevealedLocations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } +} + +namespace Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.Data +{ + + public class AttachTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The domain trust resource. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Associates `members` with a `role`. + public class Binding : Google.Apis.Requests.IDirectResponseSchema + { + /// The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow + /// user access via current binding. Different bindings, including their conditions, are examined + /// independently. + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual Expr Condition { get; set; } + + /// Specifies the identities requesting access for a Cloud Platform resource. `members` can have the + /// following values: + /// + /// * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google + /// account. + /// + /// * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google + /// account or a service account. + /// + /// * `user:{emailid}`: An email address that represents a specific Google account. For example, + /// `alice@example.com` . + /// + /// * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other- + /// app@appspot.gserviceaccount.com`. + /// + /// * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. + /// + /// * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user + /// that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is + /// recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. + /// + /// * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing + /// a service account that has been recently deleted. For example, `my-other- + /// app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value + /// reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. + /// + /// * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google + /// group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the + /// group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the + /// binding. + /// + /// * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, + /// `google.com` or `example.com`. + /// + /// + [Newtonsoft.Json.JsonPropertyAttribute("members")] + public virtual System.Collections.Generic.IList Members { get; set; } + + /// Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + /// `roles/owner`. + [Newtonsoft.Json.JsonPropertyAttribute("role")] + public virtual string Role { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Operations.CancelOperation. + public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class DetachTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The domain trust resource to removed. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class Domain : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and- + /// firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. + /// Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets + /// do not overlap between networks, else domain creation will fail. + [Newtonsoft.Json.JsonPropertyAttribute("authorizedNetworks")] + public virtual System.Collections.Generic.IList AuthorizedNetworks { get; set; } + + /// Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. + /// go/ccfe-synthetic-field-user-guide + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the + /// service. Similar to what would be chosen for an Active Directory that is set up on an internal + /// network. + [Newtonsoft.Json.JsonPropertyAttribute("fqdn")] + public virtual string Fqdn { get; set; } + + /// Optional. Resource labels to represent user provided metadata + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service + /// supports up to 4 locations at once. Each location will use a /26 block. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// Optional. Name of customer-visible admin used to perform Active Directory operations. If not + /// specified `setupadmin` would be used. + [Newtonsoft.Json.JsonPropertyAttribute("managedIdentitiesAdminName")] + public virtual string ManagedIdentitiesAdminName { get; set; } + + /// Output only. Unique name of the domain in this scope including projects and location using the + /// form: `projects/{project_id}/locations/global/domains/{domain_name}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks + /// must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in + /// [Domain].[authorized_networks]. + [Newtonsoft.Json.JsonPropertyAttribute("reservedIpRange")] + public virtual string ReservedIpRange { get; set; } + + /// Output only. The current state of this domain. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. Additional information about the current status of this domain, if + /// available. + [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] + public virtual string StatusMessage { get; set; } + + /// Output only. The current trusts associated with the domain. + [Newtonsoft.Json.JsonPropertyAttribute("trusts")] + public virtual System.Collections.Generic.IList Trusts { get; set; } + + /// Output only. Last update time. Synthetic field is populated automatically by CCFE. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A + /// typical example is to use it as the request or the response type of an API method. For instance: + /// + /// service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + /// The JSON representation for `Empty` is empty JSON object `{}`. + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like + /// expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. + /// + /// Example (Comparison): + /// + /// title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: + /// "document.summary.size() < 100" + /// + /// Example (Equality): + /// + /// title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: + /// "document.owner == request.auth.claims.email" + /// + /// Example (Logic): + /// + /// title: "Public documents" description: "Determine whether the document should be publicly visible" expression: + /// "document.type != 'private' && document.type != 'internal'" + /// + /// Example (Data Manipulation): + /// + /// title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New + /// message received at ' + string(document.create_time)" + /// + /// The exact variables and functions that may be referenced within an expression are determined by the service that + /// evaluates it. See the service documentation for additional information. + public class Expr : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. + /// when hovered over it in a UI. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Textual representation of an expression in Common Expression Language syntax. + [Newtonsoft.Json.JsonPropertyAttribute("expression")] + public virtual string Expression { get; set; } + + /// Optional. String indicating the location of the expression for error reporting, e.g. a file name + /// and a position in the file. + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used + /// e.g. in UIs which allow to enter the expression. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class GoogleCloudManagedidentitiesV1OpMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class GoogleCloudManagedidentitiesV1beta1OpMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Instance represents the interface for SLM services to actuate the state of control plane resources. + /// + /// Example Instance in JSON, where consumer-project=snapchat, producer-project=cloud-sql: + /// + /// ```json Instance: { "name": "projects/snapchat/locations/us-east1/instances/prod-instance", "create_time": { + /// "seconds": 1526406431, }, "labels": { "env": "prod", "foo": "bar" }, "state": READY, "software_versions": { + /// "software_update": "cloud-sql-09-28-2018", }, "maintenance_policy_names": { "UpdatePolicy": + /// "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy", } "tenant_project_id": "cloud- + /// sql-test-tenant", "producer_metadata": { "cloud-sql-tier": "basic", "cloud-sql-instance-size": "1G", }, + /// "provisioned_resources": [ { "resource-type": "compute-instance", "resource-url": + /// "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1", } ], + /// "maintenance_schedules": { "csa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + /// 1535406431, }, }, "ncsa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + /// 1535406431, }, } }, "consumer_defined_name": "my-sql-instance1", } ``` + public class GoogleCloudSaasacceleratorManagementProvidersV1Instance : Google.Apis.Requests.IDirectResponseSchema + { + /// consumer_defined_name is the name that is set by the consumer. On the other hand Name field + /// represents system-assigned id of an instance so consumers are not necessarily aware of it. + /// consumer_defined_name is used for notification/UI purposes for consumer to recognize their + /// instances. + [Newtonsoft.Json.JsonPropertyAttribute("consumerDefinedName")] + public virtual string ConsumerDefinedName { get; set; } + + /// Output only. Timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, + /// where both the key and the value are arbitrary strings provided by the user. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The MaintenancePolicies that have been attached to the instance. The key must be of the type name + /// of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy + /// type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. + [Newtonsoft.Json.JsonPropertyAttribute("maintenancePolicyNames")] + public virtual System.Collections.Generic.IDictionary MaintenancePolicyNames { get; set; } + + /// The MaintenanceSchedule contains the scheduling information of published maintenance + /// schedule. + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceSchedules")] + public virtual System.Collections.Generic.IDictionary MaintenanceSchedules { get; set; } + + /// Unique name of the resource. It uses the form: + /// `projects/{project_id}/locations/{location_id}/instances/{instance_id}` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Custom string attributes used primarily to expose producer-specific information in + /// monitoring dashboards. See go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("producerMetadata")] + public virtual System.Collections.Generic.IDictionary ProducerMetadata { get; set; } + + /// Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See + /// go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("provisionedResources")] + public virtual System.Collections.Generic.IList ProvisionedResources { get; set; } + + /// The map between RolloutType and the corresponding RolloutMetadata. This is only mutated by rollout + /// service. For actuation implementation, this information is pass-through for Rollout management. Producer + /// shall not modify by itself. For update of a single entry in this map, the update field mask shall follow + /// this sementics: go/advanced-field-masks + [Newtonsoft.Json.JsonPropertyAttribute("rolloutMetadata")] + public virtual System.Collections.Generic.IDictionary RolloutMetadata { get; set; } + + /// Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation + /// service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this + /// field. Instead they should use software_versions. + [Newtonsoft.Json.JsonPropertyAttribute("slmInstanceTemplate")] + public virtual string SlmInstanceTemplate { get; set; } + + /// Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. + /// See go/cloud-ssa-standard-slo for feature description. + [Newtonsoft.Json.JsonPropertyAttribute("sloMetadata")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata SloMetadata { get; set; } + + /// Software versions that are used to deploy this instance. This can be mutated by rollout + /// services. + [Newtonsoft.Json.JsonPropertyAttribute("softwareVersions")] + public virtual System.Collections.Generic.IDictionary SoftwareVersions { get; set; } + + /// Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to + /// use). + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. ID of the associated GCP tenant project. See go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("tenantProjectId")] + public virtual string TenantProjectId { get; set; } + + /// Output only. Timestamp when the resource was last modified. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Maintenance schedule which is exposed to customer and potentially end user, indicating published + /// upcoming future maintenance schedule + public class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule : Google.Apis.Requests.IDirectResponseSchema + { + /// Can this scheduled update be rescheduled? By default, it's true and API needs to do explicitly + /// check whether it's set, if it's set as false explicitly, it's false + [Newtonsoft.Json.JsonPropertyAttribute("canReschedule")] + public virtual System.Nullable CanReschedule { get; set; } + + /// The scheduled end time for the maintenance. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// The rollout management policy this maintenance schedule is associated with. When doing reschedule + /// update request, the reschedule should be against this given policy. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutManagementPolicy")] + public virtual string RolloutManagementPolicy { get; set; } + + /// The scheduled start time for the maintenance. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual object StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but + /// producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter + /// will emit per-node metric based on this information. + public class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// By default node is eligible if instance is eligible. But individual node might be excluded from SLO + /// by adding entry here. For semantic see SloMetadata.exclusions. If both instance and node level exclusions + /// are present for time period, the node level's reason will be reported by Eligibility Exporter. + [Newtonsoft.Json.JsonPropertyAttribute("exclusions")] + public virtual System.Collections.Generic.IList Exclusions { get; set; } + + /// The location of the node, if different from instance location. + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// The id of the node. This should be equal to SaasInstanceNode.node_id. + [Newtonsoft.Json.JsonPropertyAttribute("nodeId")] + public virtual string NodeId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message has been deprecated. NotificationMetadata is the notification state for an + /// instance. + public class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether the instance update has been rescheduled. + [Newtonsoft.Json.JsonPropertyAttribute("rescheduled")] + public virtual System.Nullable Rescheduled { get; set; } + + /// The scheduled end time for the maintenance window during which update can be performed on the + /// instance. + [Newtonsoft.Json.JsonPropertyAttribute("scheduledEndTime")] + public virtual object ScheduledEndTime { get; set; } + + /// The scheduled start time for the maintenance window during which update can be performed on the + /// instance. + [Newtonsoft.Json.JsonPropertyAttribute("scheduledStartTime")] + public virtual object ScheduledStartTime { get; set; } + + /// The target release to be applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("targetRelease")] + public virtual string TargetRelease { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes provisioned dataplane resources. + public class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource : Google.Apis.Requests.IDirectResponseSchema + { + /// Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud + /// provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API + /// documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for + /// example: 'compute-instance', 'compute-disk', 'compute-autoscaler'. + [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] + public virtual string ResourceType { get; set; } + + /// URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/projects/...)". + [Newtonsoft.Json.JsonPropertyAttribute("resourceUrl")] + public virtual string ResourceUrl { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message has been deprecated. RolloutMetadata for an actuation instance. It maps to a single + /// RolloutType. + public class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Instance level notification metadata. + [Newtonsoft.Json.JsonPropertyAttribute("notification")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata Notification { get; set; } + + /// The last Release that has been applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("releaseName")] + public virtual string ReleaseName { get; set; } + + /// The last rollout that has been applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutName")] + public virtual string RolloutName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO + /// calculation or false if it should be excluded from all SLO-related calculations along with a user-defined + /// reason. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether an instance is eligible or ineligible. + [Newtonsoft.Json.JsonPropertyAttribute("eligible")] + public virtual System.Nullable Eligible { get; set; } + + /// User-defined reason for the current value of instance eligibility. Usually, this can be directly + /// mapped to the internal state. An empty reason is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloExclusion represents an exclusion in SLI calculation applies to all SLOs. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion : Google.Apis.Requests.IDirectResponseSchema + { + /// Exclusion duration. No restrictions on the possible values. + /// + /// When an ongoing operation is taking longer than initially expected, an existing entry in the exclusion list + /// can be updated by extending the duration. This is supported by the subsystem exporting eligibility data as + /// long as such extension is committed at least 10 minutes before the original exclusion expiration - otherwise + /// it is possible that there will be "gaps" in the exclusion application in the exported timeseries. + [Newtonsoft.Json.JsonPropertyAttribute("duration")] + public virtual object Duration { get; set; } + + /// Human-readable reason for the exclusion. This should be a static string (e.g. "Disruptive update in + /// progress") and should not contain dynamically generated data (e.g. instance name). Can be left + /// empty. + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// Name of an SLI that this exclusion applies to. Can be left empty, signaling that the instance + /// should be excluded from all SLIs defined in the service SLO configuration. + [Newtonsoft.Json.JsonPropertyAttribute("sliName")] + public virtual string SliName { get; set; } + + /// Start time of the exclusion. No alignment (e.g. to a full minute) needed. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual object StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloMetadata contains resources required for proper SLO classification of the instance. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. User-defined instance eligibility. + [Newtonsoft.Json.JsonPropertyAttribute("eligibility")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility Eligibility { get; set; } + + /// List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion + /// time-window against current time point) the exclusion reason used in the first matching entry will be + /// published. + /// + /// It is not needed to include expired exclusion in this list, as only the currently applicable exclusions are + /// taken into account by the eligibility exporting subsystem (the historical state of exclusions will be + /// reflected in the historically produced timeseries regardless of the current state). + /// + /// This field can be used to mark the instance as temporary ineligible for the purpose of SLO calculation. For + /// permanent instance SLO exclusion, use of custom instance eligibility is recommended. See 'eligibility' field + /// below. + [Newtonsoft.Json.JsonPropertyAttribute("exclusions")] + public virtual System.Collections.Generic.IList Exclusions { get; set; } + + /// Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field + /// allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter + /// and published in the form of per node metric to Monarch. + [Newtonsoft.Json.JsonPropertyAttribute("nodes")] + public virtual System.Collections.Generic.IList Nodes { get; set; } + + /// Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers + /// specified in the service SLO configuration. + /// + /// Field is mandatory and must not be empty. + [Newtonsoft.Json.JsonPropertyAttribute("tier")] + public virtual string Tier { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class ListDomainsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of Managed Identities Service domains in the project. + [Newtonsoft.Json.JsonPropertyAttribute("domains")] + public virtual System.Collections.Generic.IList Domains { get; set; } + + /// Token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Locations.ListLocations. + public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of locations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Operations.ListOperations. + public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A resource that represents Google Cloud Platform location. + public class Location : Google.Apis.Requests.IDirectResponseSchema + { + /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Cross-service attributes for the location. For example + /// + /// {"cloud.googleapis.com/region": "us-east1"} + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The canonical id for this location. For example: `"us-east1"`. + [Newtonsoft.Json.JsonPropertyAttribute("locationId")] + public virtual string LocationId { get; set; } + + /// Service-specific metadata. For example the available capacity at the given location. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// Resource name for the location, which may vary between implementations. For example: `"projects + /// /example-project/locations/us-east1"` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema + { + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is + /// completed, and either `error` or `response` is available. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// Service-specific metadata associated with the operation. It typically contains progress + /// information and common metadata such as create time. Some services might not provide such metadata. Any + /// method that returns a long-running operation should document the metadata type, if any. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// The server-assigned name, which is only unique within the same service that originally returns it. + /// If you use the default HTTP mapping, the `name` should be a resource name ending with + /// `operations/{unique_id}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The normal response of the operation in case of success. If the original method returns no data on + /// success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name + /// is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output only] API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// [Output only] Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("cancelRequested")] + public virtual System.Nullable CancelRequested { get; set; } + + /// [Output only] The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// [Output only] The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// [Output only] Human-readable status of the operation, if any. + [Newtonsoft.Json.JsonPropertyAttribute("statusDetail")] + public virtual string StatusDetail { get; set; } + + /// [Output only] Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// [Output only] Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud + /// resources. + /// + /// A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members + /// can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list + /// of permissions; each `role` can be an IAM predefined role or a user-created custom role. + /// + /// Optionally, a `binding` can specify a `condition`, which is a logical expression that allows access to a + /// resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the + /// request, the resource, or both. + /// + /// **JSON example:** + /// + /// { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, + /// { "role": "roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], "condition": { + /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time + /// < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// + /// **YAML example:** + /// + /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my- + /// project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - + /// user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access + /// description: Does not grant access after Sep 2020 expression: request.time < + /// timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 + /// + /// For a description of IAM and its features, see the [IAM + /// documentation](https://cloud.google.com/iam/docs/). + public class Policy : Google.Apis.Requests.IDirectResponseSchema + { + /// Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines + /// how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. + [Newtonsoft.Json.JsonPropertyAttribute("bindings")] + public virtual System.Collections.Generic.IList Bindings { get; set; } + + /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of + /// a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned + /// in the response to `getIamPolicy`, and systems are expected to put that etag in the request to + /// `setIamPolicy` to ensure that their change will be applied to the same version of the policy. + /// + /// **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version + /// `1` policy, and all of the conditions in the version `3` policy are lost. + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// Specifies the format of the policy. + /// + /// Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. + /// + /// Any operation that affects conditional role bindings must specify version `3`. This requirement applies to + /// the following operations: + /// + /// * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy + /// * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, + /// from a policy that includes conditions + /// + /// **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version + /// `1` policy, and all of the conditions in the version `3` policy are lost. + /// + /// If a policy does not include any conditions, operations on that policy may specify any valid version or + /// leave the field unset. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual System.Nullable Version { get; set; } + + } + + public class ReconfigureTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The domain trust resource with updated dns conditional forwarder. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class ResetAdminPasswordRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class ResetAdminPasswordResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A random password. See admin for more information. + [Newtonsoft.Json.JsonPropertyAttribute("password")] + public virtual string Password { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `SetIamPolicy` method. + public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to + /// a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual Policy Policy { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The `Status` type defines a logical error model that is suitable for different programming + /// environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` + /// message contains three pieces of data: error code, error message, and error details. + /// + /// You can find out more about this error model and how to work with it in the [API Design + /// Guide](https://cloud.google.com/apis/design/errors). + public class Status : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// A list of messages that carry the error details. There is a common set of message types for APIs + /// to use. + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// A developer-facing error message, which should be in English. Any user-facing error message should + /// be localized and sent in the google.rpc.Status.details field, or localized by the client. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `TestIamPermissions` method. + public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or + /// 'storage.*') are not allowed. For more information see [IAM + /// Overview](https://cloud.google.com/iam/docs/overview#permissions). + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for `TestIamPermissions` method. + public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a relationship between two domains which makes it possible for users in one domain to be + /// authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro + /// /windows-server-2008-R2-and-2008/cc731335(v%3dws.10) + public class Trust : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The time the instance was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The last heartbeat time when the trust was known to be connected. + [Newtonsoft.Json.JsonPropertyAttribute("lastKnownTrustConnectedHeartbeatTime")] + public virtual object LastKnownTrustConnectedHeartbeatTime { get; set; } + + /// The trust authentication type which decides whether the trusted side has forest/domain wide access + /// or selective access to approved set of resources. + [Newtonsoft.Json.JsonPropertyAttribute("selectiveAuthentication")] + public virtual System.Nullable SelectiveAuthentication { get; set; } + + /// Output only. The current state of this trust. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. Additional information about the current state of this trust, if available. + [Newtonsoft.Json.JsonPropertyAttribute("stateDescription")] + public virtual string StateDescription { get; set; } + + /// The target dns server ip addresses which can resolve the remote domain involved in trust. + [Newtonsoft.Json.JsonPropertyAttribute("targetDnsIpAddresses")] + public virtual System.Collections.Generic.IList TargetDnsIpAddresses { get; set; } + + /// The fully qualified target domain name which will be in trust with current domain. + [Newtonsoft.Json.JsonPropertyAttribute("targetDomainName")] + public virtual string TargetDomainName { get; set; } + + /// The trust direction decides the current domain is trusted, trusting or both. + [Newtonsoft.Json.JsonPropertyAttribute("trustDirection")] + public virtual string TrustDirection { get; set; } + + /// Input only, and will not be stored. The trust secret used for handshake with target + /// domain. + [Newtonsoft.Json.JsonPropertyAttribute("trustHandshakeSecret")] + public virtual string TrustHandshakeSecret { get; set; } + + /// The type of trust represented by the trust resource. + [Newtonsoft.Json.JsonPropertyAttribute("trustType")] + public virtual string TrustType { get; set; } + + /// Output only. Last update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class ValidateTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The domain trust to validate trust state for. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } +} diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj new file mode 100644 index 00000000000..df3f93faecb --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj @@ -0,0 +1,97 @@ + + + + + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1 Client Library + 1.44.0.1869 + Google Inc. + Copyright 2017 Google Inc. + Google + https://github.com/google/google-api-dotnet-client + LICENSE + git + https://github.com/google/google-api-dotnet-client + https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png + + Google APIs Client Library for working with Managedidentities v1alpha1. + + Supported Platforms: + - .NET Framework 4.5+ + - .NET Standard 1.3 and .NET Standard 2.0; providing .NET Core support. + + Legacy platforms: + - .NET Framework 4.0 + - Windows 8 Apps + - Windows Phone 8.1 + - Windows Phone Silverlight 8.0 + + Incompatible platforms: + - .NET Framework < 4.0 + - Silverlight + - UWP (will build, but is known not to work at runtime) + - Xamarin + + More documentation on the API is available at: + https://developers.google.com/api-client-library/dotnet/apis/managedidentities/v1alpha1 + + The package source code is available at: + https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated + + + + + + + + + + netstandard2.0;netstandard1.3;netstandard1.0;net45;net40 + true + ..\..\..\google.apis.snk + portable + true + 1570,1587,1591 + + + + + + + + + + + + + + + + + + + + + portable-net45+win8+wpa81+wp8 + app.netstandard10.config + + + + + + + + + + + + + + false + app.net40.config + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.net40.config b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.net40.config new file mode 100644 index 00000000000..bb30b7ab311 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.net40.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.netstandard10.config b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.netstandard10.config new file mode 100644 index 00000000000..62588d67ee6 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/app.netstandard10.config @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs new file mode 100644 index 00000000000..1b87ee6f47f --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs @@ -0,0 +1,2909 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +// specific language governing permissions and limitations under the License. + +//------------------------------------------------------------------------------ +// +// This code was generated by google-apis-code-generator 1.5.1 +// C# generator version: 1.44.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +/** + * \brief + * Managed Service for Microsoft Active Directory API Version v1beta1 + * + * \section ApiInfo API Version Information + * + *
API + * Managed Service for Microsoft Active Directory API + *
API Versionv1beta1 + *
API Rev20200219 (1875) + *
API Docs + * + * https://cloud.google.com/managed-microsoft-ad/ + *
Discovery Namemanagedidentities + *
+ * + * \section ForMoreInfo For More Information + * + * The complete API documentation for using Managed Service for Microsoft Active Directory API can be found at + * https://cloud.google.com/managed-microsoft-ad/. + * + * For more information about the Google APIs Client Library for .NET, see + * + * https://developers.google.com/api-client-library/dotnet/get_started + */ + +namespace Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1 +{ + /// The ManagedServiceforMicrosoftActiveDirectoryConsumerAPI Service. + public class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v1beta1"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = + Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService() : + this(new Google.Apis.Services.BaseClientService.Initializer()) {} + + /// Constructs a new service. + /// The service initializer. + public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) + : base(initializer) + { + projects = new ProjectsResource(this); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features + { + get { return new string[0]; } + } + + /// Gets the service name. + public override string Name + { + get { return "managedidentities"; } + } + + /// Gets the service base URI. + public override string BaseUri + { + #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45 + get { return BaseUriOverride ?? "https://managedidentities.googleapis.com/"; } + #else + get { return "https://managedidentities.googleapis.com/"; } + #endif + } + + /// Gets the service base path. + public override string BasePath + { + get { return ""; } + } + + #if !NET40 + /// Gets the batch base URI; null if unspecified. + public override string BatchUri + { + get { return "https://managedidentities.googleapis.com/batch"; } + } + + /// Gets the batch base path; null if unspecified. + public override string BatchPath + { + get { return "batch"; } + } + #endif + + /// Available OAuth 2.0 scopes for use with the Managed Service for Microsoft Active Directory API. + public class Scope + { + /// View and manage your data across Google Cloud Platform services + public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + } + + /// Available OAuth 2.0 scope constants for use with the Managed Service for Microsoft Active Directory API. + public static class ScopeConstants + { + /// View and manage your data across Google Cloud Platform services + public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + + } + + + + private readonly ProjectsResource projects; + + /// Gets the Projects resource. + public virtual ProjectsResource Projects + { + get { return projects; } + } + } + + ///A base abstract class for ManagedServiceforMicrosoftActiveDirectoryConsumerAPI requests. + public abstract class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + ///Constructs a new ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest instance. + protected ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest(Google.Apis.Services.IClientService service) + : base(service) + { + } + + /// V1 error format. + [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Xgafv { get; set; } + + /// V1 error format. + public enum XgafvEnum + { + /// v1 error format + [Google.Apis.Util.StringValueAttribute("1")] + Value1, + /// v2 error format + [Google.Apis.Util.StringValueAttribute("2")] + Value2, + } + + /// OAuth access token. + [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AccessToken { get; set; } + + /// Data format for response. + /// [default: json] + [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Alt { get; set; } + + /// Data format for response. + public enum AltEnum + { + /// Responses with Content-Type of application/json + [Google.Apis.Util.StringValueAttribute("json")] + Json, + /// Media download with context-dependent Content-Type + [Google.Apis.Util.StringValueAttribute("media")] + Media, + /// Responses with Content-Type of application/x-protobuf + [Google.Apis.Util.StringValueAttribute("proto")] + Proto, + } + + /// JSONP + [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Callback { get; set; } + + /// Selector specifying which fields to include in a partial response. + [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Fields { get; set; } + + /// API key. Your API key identifies your project and provides you with API access, quota, and reports. + /// Required unless you provide an OAuth 2.0 token. + [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Key { get; set; } + + /// OAuth 2.0 token for the current user. + [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OauthToken { get; set; } + + /// Returns response with indentations and line breaks. + /// [default: true] + [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PrettyPrint { get; set; } + + /// Available to use for quota purposes for server-side applications. Can be any arbitrary string + /// assigned to a user, but should not exceed 40 characters. + [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] + public virtual string QuotaUser { get; set; } + + /// Legacy upload protocol for media (e.g. "media", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadType { get; set; } + + /// Upload protocol for media (e.g. "raw", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadProtocol { get; set; } + + /// Initializes ManagedServiceforMicrosoftActiveDirectoryConsumerAPI parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add( + "callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add( + "quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "projects" collection of methods. + public class ProjectsResource + { + private const string Resource = "projects"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProjectsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + locations = new LocationsResource(service); + + } + + private readonly LocationsResource locations; + + /// Gets the Locations resource. + public virtual LocationsResource Locations + { + get { return locations; } + } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + global = new GlobalResource(service); + + } + + private readonly GlobalResource global; + + /// Gets the Global resource. + public virtual GlobalResource Global + { + get { return global; } + } + + /// The "global" collection of methods. + public class GlobalResource + { + private const string Resource = "global"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public GlobalResource(Google.Apis.Services.IClientService service) + { + this.service = service; + domains = new DomainsResource(service); + operations = new OperationsResource(service); + + } + + private readonly DomainsResource domains; + + /// Gets the Domains resource. + public virtual DomainsResource Domains + { + get { return domains; } + } + + /// The "domains" collection of methods. + public class DomainsResource + { + private const string Resource = "domains"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public DomainsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Adds an AD trust to a domain. + /// The body of the request. + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual AttachTrustRequest AttachTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.AttachTrustRequest body, string name) + { + return new AttachTrustRequest(service, body, name); + } + + /// Adds an AD trust to a domain. + public class AttachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new AttachTrust request. + public AttachTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.AttachTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.AttachTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "attachTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}:attachTrust"; } + } + + /// Initializes AttachTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Creates a Microsoft AD domain. + /// The body of the request. + /// Required. The resource project name and location using the form: + /// `projects/{project_id}/locations/global` + public virtual CreateRequest Create(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.Domain body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a Microsoft AD domain. + public class CreateRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.Domain body, string parent) + : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + + /// Required. The resource project name and location using the form: + /// `projects/{project_id}/locations/global` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Required. A domain name, e.g. mydomain.myorg.com, with the following restrictions: + /// * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a + /// letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must + /// not start with period. * First segement length (mydomain form example above) shouldn't + /// exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the + /// customer project. + [Google.Apis.Util.RequestParameterAttribute("domainName", Google.Apis.Util.RequestParameterType.Query)] + public virtual string DomainName { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.Domain Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "create"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+parent}/domains"; } + } + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "domainName", new Google.Apis.Discovery.Parameter + { + Name = "domainName", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Deletes a domain. + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes a domain. + public class DeleteRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Removes an AD trust. + /// The body of the request. + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual DetachTrustRequest DetachTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.DetachTrustRequest body, string name) + { + return new DetachTrustRequest(service, body, name); + } + + /// Removes an AD trust. + public class DetachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new DetachTrust request. + public DetachTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.DetachTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.DetachTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "detachTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}:detachTrust"; } + } + + /// Initializes DetachTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Gets information about a domain. + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets information about a domain. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + /// REQUIRED: The resource for which the policy is being requested. See the operation + /// documentation for the appropriate value for this field. + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(service, resource); + } + + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + public class GetIamPolicyRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) + : base(service) + { + Resource = resource; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy is being requested. See the operation + /// documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Optional. The policy format version to be returned. + /// + /// Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. + /// + /// Requests for policies with any conditional bindings must specify version 3. Policies without + /// any conditional bindings may specify any valid value or leave the field unset. + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "getIamPolicy"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+resource}:getIamPolicy"; } + } + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + RequestParameters.Add( + "options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Lists domains in a project. + /// Required. The resource name of the domain location using the form: + /// `projects/{project_id}/locations/global` + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// Lists domains in a project. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) + : base(service) + { + Parent = parent; + InitParameters(); + } + + + /// Required. The resource name of the domain location using the form: + /// `projects/{project_id}/locations/global` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. A filter specifying constraints of a list operation. For example, + /// `Domain.fqdn="mydomain.myorginization"`. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// Optional. Specifies the ordering of results. See [Sorting + /// order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more + /// information. + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// Optional. The maximum number of items to return. If not specified, a default value + /// of 1000 will be used. Regardless of the page_size value, the response may include a partial + /// list. Callers should rely on a response's next_page_token to determine if there are + /// additional results to list. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The `next_page_token` value returned from a previous ListDomainsRequest request, if + /// any. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+parent}/domains"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the metadata and configuration of a domain. + /// The body of the request. + /// Output only. The unique name of the domain using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + public virtual PatchRequest Patch(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.Domain body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates the metadata and configuration of a domain. + public class PatchRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.Domain body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Output only. The unique name of the domain using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Required. Mask of fields to update. At least one path must be supplied in this + /// field. The elements of the repeated paths field may only include fields from Domain: * + /// `labels` * `locations` * `authorized_networks` + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.Domain Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "patch"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "PATCH"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + RequestParameters.Add( + "updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + + /// Updates the DNS conditional forwarder. + /// The body of the request. + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ReconfigureTrustRequest ReconfigureTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ReconfigureTrustRequest body, string name) + { + return new ReconfigureTrustRequest(service, body, name); + } + + /// Updates the DNS conditional forwarder. + public class ReconfigureTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ReconfigureTrust request. + public ReconfigureTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ReconfigureTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ReconfigureTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "reconfigureTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}:reconfigureTrust"; } + } + + /// Initializes ReconfigureTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Resets a domain's administrator password. + /// The body of the request. + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ResetAdminPasswordRequest ResetAdminPassword(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ResetAdminPasswordRequest body, string name) + { + return new ResetAdminPasswordRequest(service, body, name); + } + + /// Resets a domain's administrator password. + public class ResetAdminPasswordRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ResetAdminPassword request. + public ResetAdminPasswordRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ResetAdminPasswordRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The domain resource name using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ResetAdminPasswordRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "resetAdminPassword"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}:resetAdminPassword"; } + } + + /// Initializes ResetAdminPassword parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// + /// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + /// The body of the request. + /// REQUIRED: The resource for which the policy is being specified. See the operation + /// documentation for the appropriate value for this field. + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(service, body, resource); + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// + /// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + public class SetIamPolicyRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.SetIamPolicyRequest body, string resource) + : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy is being specified. See the operation + /// documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.SetIamPolicyRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "setIamPolicy"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+resource}:setIamPolicy"; } + } + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Returns permissions that a caller has on the specified resource. If the resource does + /// not exist, this will return an empty set of permissions, not a NOT_FOUND error. + /// + /// Note: This operation is designed to be used for building permission-aware UIs and command-line + /// tools, not for authorization checking. This operation may "fail open" without warning. + /// The body of the request. + /// REQUIRED: The resource for which the policy detail is being requested. See the operation + /// documentation for the appropriate value for this field. + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(service, body, resource); + } + + /// Returns permissions that a caller has on the specified resource. If the resource does + /// not exist, this will return an empty set of permissions, not a NOT_FOUND error. + /// + /// Note: This operation is designed to be used for building permission-aware UIs and command-line + /// tools, not for authorization checking. This operation may "fail open" without warning. + public class TestIamPermissionsRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.TestIamPermissionsRequest body, string resource) + : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + + /// REQUIRED: The resource for which the policy detail is being requested. See the + /// operation documentation for the appropriate value for this field. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.TestIamPermissionsRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "testIamPermissions"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+resource}:testIamPermissions"; } + } + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + + /// Validates a trust state, that the target domain is reachable, and that the target + /// domain is able to accept incoming trust requests. + /// The body of the request. + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + public virtual ValidateTrustRequest ValidateTrust(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ValidateTrustRequest body, string name) + { + return new ValidateTrustRequest(service, body, name); + } + + /// Validates a trust state, that the target domain is reachable, and that the target + /// domain is able to accept incoming trust requests. + public class ValidateTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new ValidateTrust request. + public ValidateTrustRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ValidateTrustRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// Required. The resource domain name, project name, and location using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.ValidateTrustRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "validateTrust"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}:validateTrust"; } + } + + /// Initializes ValidateTrust parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/domains/[^/]+$", + }); + } + + } + } + private readonly OperationsResource operations; + + /// Gets the Operations resource. + public virtual OperationsResource Operations + { + get { return operations; } + } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + + } + + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support + /// this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// Operations.GetOperation or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, the operation is not + /// deleted; instead, it becomes an operation with an Operation.error value with a + /// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// The body of the request. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.CancelOperationRequest body, string name) + { + return new CancelRequest(service, body, name); + } + + /// Starts asynchronous cancellation on a long-running operation. The server makes a best + /// effort to cancel the operation, but success is not guaranteed. If the server doesn't support + /// this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// Operations.GetOperation or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, the operation is not + /// deleted; instead, it becomes an operation with an Operation.error value with a + /// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + public class CancelRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.CancelOperationRequest body, string name) + : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + /// Gets or sets the body of this request. + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data.CancelOperationRequest Body { get; set; } + + ///Returns the body of the request. + protected override object GetBody() { return Body; } + + ///Gets the method name. + public override string MethodName + { + get { return "cancel"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "POST"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}:cancel"; } + } + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Deletes a long-running operation. This method indicates that the client is no longer + /// interested in the operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// The name of the operation resource to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes a long-running operation. This method indicates that the client is no longer + /// interested in the operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + public class DeleteRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "delete"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "DELETE"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll + /// the operation result at intervals as recommended by the API service. + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the latest state of a long-running operation. Clients can use this method to poll + /// the operation result at intervals as recommended by the API service. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations/[^/]+$", + }); + } + + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource + /// name schemes, such as `users/operations`. To override the binding, API services can add a + /// binding such as `"/v1/{name=users}/operations"` to their service configuration. For backwards + /// compatibility, the default name includes the operations collection id, however overriding users + /// must ensure the name binding is the parent resource, without the operations collection + /// id. + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists operations that match the specified filter in the request. If the server doesn't + /// support this method, it returns `UNIMPLEMENTED`. + /// + /// NOTE: the `name` binding allows API services to override the binding to use different resource + /// name schemes, such as `users/operations`. To override the binding, API services can add a + /// binding such as `"/v1/{name=users}/operations"` to their service configuration. For backwards + /// compatibility, the default name includes the operations collection id, however overriding users + /// must ensure the name binding is the parent resource, without the operations collection + /// id. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/operations$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } + + /// Gets information about a location. + /// Resource name for the location. + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets information about a location. + public class GetRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// Resource name for the location. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "get"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}"; } + } + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + + } + + /// Lists information about the supported locations for this service. + /// The resource that owns the locations collection, if applicable. + public virtual ListRequest List(string name) + { + return new ListRequest(service, name); + } + + /// Lists information about the supported locations for this service. + public class ListRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) + : base(service) + { + Name = name; + InitParameters(); + } + + + /// The resource that owns the locations collection, if applicable. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// If true, the returned list will include locations which are not yet revealed. + [Google.Apis.Util.RequestParameterAttribute("includeUnrevealedLocations", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IncludeUnrevealedLocations { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + + ///Gets the method name. + public override string MethodName + { + get { return "list"; } + } + + ///Gets the HTTP method. + public override string HttpMethod + { + get { return "GET"; } + } + + ///Gets the REST path. + public override string RestPath + { + get { return "v1beta1/{+name}/locations"; } + } + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + + RequestParameters.Add( + "name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add( + "filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "includeUnrevealedLocations", new Google.Apis.Discovery.Parameter + { + Name = "includeUnrevealedLocations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + + } + } + } +} + +namespace Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.Data +{ + + /// Request message for AttachTrust + public class AttachTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The domain trust resource. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Associates `members` with a `role`. + public class Binding : Google.Apis.Requests.IDirectResponseSchema + { + /// The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow + /// user access via current binding. Different bindings, including their conditions, are examined + /// independently. + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual Expr Condition { get; set; } + + /// Specifies the identities requesting access for a Cloud Platform resource. `members` can have the + /// following values: + /// + /// * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google + /// account. + /// + /// * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google + /// account or a service account. + /// + /// * `user:{emailid}`: An email address that represents a specific Google account. For example, + /// `alice@example.com` . + /// + /// * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other- + /// app@appspot.gserviceaccount.com`. + /// + /// * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. + /// + /// * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user + /// that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is + /// recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. + /// + /// * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing + /// a service account that has been recently deleted. For example, `my-other- + /// app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value + /// reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. + /// + /// * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google + /// group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the + /// group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the + /// binding. + /// + /// * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, + /// `google.com` or `example.com`. + /// + /// + [Newtonsoft.Json.JsonPropertyAttribute("members")] + public virtual System.Collections.Generic.IList Members { get; set; } + + /// Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + /// `roles/owner`. + [Newtonsoft.Json.JsonPropertyAttribute("role")] + public virtual string Role { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Operations.CancelOperation. + public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for DetachTrust + public class DetachTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The domain trust resource to removed. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a managed Microsoft Active Directory domain. + public class Domain : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The name of delegated administrator account used to perform Active Directory operations. + /// If not specified, `setupadmin` will be used. + [Newtonsoft.Json.JsonPropertyAttribute("admin")] + public virtual string Admin { get; set; } + + /// Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and- + /// firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The + /// domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between + /// networks, domain creation will fail. + [Newtonsoft.Json.JsonPropertyAttribute("authorizedNetworks")] + public virtual System.Collections.Generic.IList AuthorizedNetworks { get; set; } + + /// Output only. The time the instance was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The fully-qualified domain name of the exposed domain used by clients to connect to + /// the service. Similar to what would be chosen for an Active Directory set up on an internal + /// network. + [Newtonsoft.Json.JsonPropertyAttribute("fqdn")] + public virtual string Fqdn { get; set; } + + /// Optional. Resource labels that can contain user-provided metadata. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service + /// supports up to 4 locations at once. Each location will use a /26 block. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// Output only. The unique name of the domain using the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks + /// must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in + /// [Domain].[authorized_networks]. + [Newtonsoft.Json.JsonPropertyAttribute("reservedIpRange")] + public virtual string ReservedIpRange { get; set; } + + /// Output only. The current state of this domain. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. Additional information about the current status of this domain, if + /// available. + [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] + public virtual string StatusMessage { get; set; } + + /// Output only. The current trusts associated with the domain. + [Newtonsoft.Json.JsonPropertyAttribute("trusts")] + public virtual System.Collections.Generic.IList Trusts { get; set; } + + /// Output only. The last update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A + /// typical example is to use it as the request or the response type of an API method. For instance: + /// + /// service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + /// The JSON representation for `Empty` is empty JSON object `{}`. + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like + /// expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. + /// + /// Example (Comparison): + /// + /// title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: + /// "document.summary.size() < 100" + /// + /// Example (Equality): + /// + /// title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: + /// "document.owner == request.auth.claims.email" + /// + /// Example (Logic): + /// + /// title: "Public documents" description: "Determine whether the document should be publicly visible" expression: + /// "document.type != 'private' && document.type != 'internal'" + /// + /// Example (Data Manipulation): + /// + /// title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New + /// message received at ' + string(document.create_time)" + /// + /// The exact variables and functions that may be referenced within an expression are determined by the service that + /// evaluates it. See the service documentation for additional information. + public class Expr : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. + /// when hovered over it in a UI. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Textual representation of an expression in Common Expression Language syntax. + [Newtonsoft.Json.JsonPropertyAttribute("expression")] + public virtual string Expression { get; set; } + + /// Optional. String indicating the location of the expression for error reporting, e.g. a file name + /// and a position in the file. + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used + /// e.g. in UIs which allow to enter the expression. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class GoogleCloudManagedidentitiesV1OpMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class GoogleCloudManagedidentitiesV1beta1OpMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Instance represents the interface for SLM services to actuate the state of control plane resources. + /// + /// Example Instance in JSON, where consumer-project=snapchat, producer-project=cloud-sql: + /// + /// ```json Instance: { "name": "projects/snapchat/locations/us-east1/instances/prod-instance", "create_time": { + /// "seconds": 1526406431, }, "labels": { "env": "prod", "foo": "bar" }, "state": READY, "software_versions": { + /// "software_update": "cloud-sql-09-28-2018", }, "maintenance_policy_names": { "UpdatePolicy": + /// "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy", } "tenant_project_id": "cloud- + /// sql-test-tenant", "producer_metadata": { "cloud-sql-tier": "basic", "cloud-sql-instance-size": "1G", }, + /// "provisioned_resources": [ { "resource-type": "compute-instance", "resource-url": + /// "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1", } ], + /// "maintenance_schedules": { "csa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + /// 1535406431, }, }, "ncsa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + /// 1535406431, }, } }, "consumer_defined_name": "my-sql-instance1", } ``` + public class GoogleCloudSaasacceleratorManagementProvidersV1Instance : Google.Apis.Requests.IDirectResponseSchema + { + /// consumer_defined_name is the name that is set by the consumer. On the other hand Name field + /// represents system-assigned id of an instance so consumers are not necessarily aware of it. + /// consumer_defined_name is used for notification/UI purposes for consumer to recognize their + /// instances. + [Newtonsoft.Json.JsonPropertyAttribute("consumerDefinedName")] + public virtual string ConsumerDefinedName { get; set; } + + /// Output only. Timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, + /// where both the key and the value are arbitrary strings provided by the user. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The MaintenancePolicies that have been attached to the instance. The key must be of the type name + /// of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy + /// type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. + [Newtonsoft.Json.JsonPropertyAttribute("maintenancePolicyNames")] + public virtual System.Collections.Generic.IDictionary MaintenancePolicyNames { get; set; } + + /// The MaintenanceSchedule contains the scheduling information of published maintenance + /// schedule. + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceSchedules")] + public virtual System.Collections.Generic.IDictionary MaintenanceSchedules { get; set; } + + /// Unique name of the resource. It uses the form: + /// `projects/{project_id}/locations/{location_id}/instances/{instance_id}` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Custom string attributes used primarily to expose producer-specific information in + /// monitoring dashboards. See go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("producerMetadata")] + public virtual System.Collections.Generic.IDictionary ProducerMetadata { get; set; } + + /// Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See + /// go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("provisionedResources")] + public virtual System.Collections.Generic.IList ProvisionedResources { get; set; } + + /// The map between RolloutType and the corresponding RolloutMetadata. This is only mutated by rollout + /// service. For actuation implementation, this information is pass-through for Rollout management. Producer + /// shall not modify by itself. For update of a single entry in this map, the update field mask shall follow + /// this sementics: go/advanced-field-masks + [Newtonsoft.Json.JsonPropertyAttribute("rolloutMetadata")] + public virtual System.Collections.Generic.IDictionary RolloutMetadata { get; set; } + + /// Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation + /// service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this + /// field. Instead they should use software_versions. + [Newtonsoft.Json.JsonPropertyAttribute("slmInstanceTemplate")] + public virtual string SlmInstanceTemplate { get; set; } + + /// Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. + /// See go/cloud-ssa-standard-slo for feature description. + [Newtonsoft.Json.JsonPropertyAttribute("sloMetadata")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata SloMetadata { get; set; } + + /// Software versions that are used to deploy this instance. This can be mutated by rollout + /// services. + [Newtonsoft.Json.JsonPropertyAttribute("softwareVersions")] + public virtual System.Collections.Generic.IDictionary SoftwareVersions { get; set; } + + /// Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to + /// use). + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. ID of the associated GCP tenant project. See go/get-instance-metadata. + [Newtonsoft.Json.JsonPropertyAttribute("tenantProjectId")] + public virtual string TenantProjectId { get; set; } + + /// Output only. Timestamp when the resource was last modified. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Maintenance schedule which is exposed to customer and potentially end user, indicating published + /// upcoming future maintenance schedule + public class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule : Google.Apis.Requests.IDirectResponseSchema + { + /// Can this scheduled update be rescheduled? By default, it's true and API needs to do explicitly + /// check whether it's set, if it's set as false explicitly, it's false + [Newtonsoft.Json.JsonPropertyAttribute("canReschedule")] + public virtual System.Nullable CanReschedule { get; set; } + + /// The scheduled end time for the maintenance. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// The rollout management policy this maintenance schedule is associated with. When doing reschedule + /// update request, the reschedule should be against this given policy. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutManagementPolicy")] + public virtual string RolloutManagementPolicy { get; set; } + + /// The scheduled start time for the maintenance. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual object StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but + /// producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter + /// will emit per-node metric based on this information. + public class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// By default node is eligible if instance is eligible. But individual node might be excluded from SLO + /// by adding entry here. For semantic see SloMetadata.exclusions. If both instance and node level exclusions + /// are present for time period, the node level's reason will be reported by Eligibility Exporter. + [Newtonsoft.Json.JsonPropertyAttribute("exclusions")] + public virtual System.Collections.Generic.IList Exclusions { get; set; } + + /// The location of the node, if different from instance location. + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// The id of the node. This should be equal to SaasInstanceNode.node_id. + [Newtonsoft.Json.JsonPropertyAttribute("nodeId")] + public virtual string NodeId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message has been deprecated. NotificationMetadata is the notification state for an + /// instance. + public class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether the instance update has been rescheduled. + [Newtonsoft.Json.JsonPropertyAttribute("rescheduled")] + public virtual System.Nullable Rescheduled { get; set; } + + /// The scheduled end time for the maintenance window during which update can be performed on the + /// instance. + [Newtonsoft.Json.JsonPropertyAttribute("scheduledEndTime")] + public virtual object ScheduledEndTime { get; set; } + + /// The scheduled start time for the maintenance window during which update can be performed on the + /// instance. + [Newtonsoft.Json.JsonPropertyAttribute("scheduledStartTime")] + public virtual object ScheduledStartTime { get; set; } + + /// The target release to be applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("targetRelease")] + public virtual string TargetRelease { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes provisioned dataplane resources. + public class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource : Google.Apis.Requests.IDirectResponseSchema + { + /// Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud + /// provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API + /// documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for + /// example: 'compute-instance', 'compute-disk', 'compute-autoscaler'. + [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] + public virtual string ResourceType { get; set; } + + /// URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/projects/...)". + [Newtonsoft.Json.JsonPropertyAttribute("resourceUrl")] + public virtual string ResourceUrl { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This message has been deprecated. RolloutMetadata for an actuation instance. It maps to a single + /// RolloutType. + public class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Instance level notification metadata. + [Newtonsoft.Json.JsonPropertyAttribute("notification")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata Notification { get; set; } + + /// The last Release that has been applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("releaseName")] + public virtual string ReleaseName { get; set; } + + /// The last rollout that has been applied to the instance. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutName")] + public virtual string RolloutName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO + /// calculation or false if it should be excluded from all SLO-related calculations along with a user-defined + /// reason. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether an instance is eligible or ineligible. + [Newtonsoft.Json.JsonPropertyAttribute("eligible")] + public virtual System.Nullable Eligible { get; set; } + + /// User-defined reason for the current value of instance eligibility. Usually, this can be directly + /// mapped to the internal state. An empty reason is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloExclusion represents an exclusion in SLI calculation applies to all SLOs. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion : Google.Apis.Requests.IDirectResponseSchema + { + /// Exclusion duration. No restrictions on the possible values. + /// + /// When an ongoing operation is taking longer than initially expected, an existing entry in the exclusion list + /// can be updated by extending the duration. This is supported by the subsystem exporting eligibility data as + /// long as such extension is committed at least 10 minutes before the original exclusion expiration - otherwise + /// it is possible that there will be "gaps" in the exclusion application in the exported timeseries. + [Newtonsoft.Json.JsonPropertyAttribute("duration")] + public virtual object Duration { get; set; } + + /// Human-readable reason for the exclusion. This should be a static string (e.g. "Disruptive update in + /// progress") and should not contain dynamically generated data (e.g. instance name). Can be left + /// empty. + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// Name of an SLI that this exclusion applies to. Can be left empty, signaling that the instance + /// should be excluded from all SLIs defined in the service SLO configuration. + [Newtonsoft.Json.JsonPropertyAttribute("sliName")] + public virtual string SliName { get; set; } + + /// Start time of the exclusion. No alignment (e.g. to a full minute) needed. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual object StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// SloMetadata contains resources required for proper SLO classification of the instance. + public class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. User-defined instance eligibility. + [Newtonsoft.Json.JsonPropertyAttribute("eligibility")] + public virtual GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility Eligibility { get; set; } + + /// List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion + /// time-window against current time point) the exclusion reason used in the first matching entry will be + /// published. + /// + /// It is not needed to include expired exclusion in this list, as only the currently applicable exclusions are + /// taken into account by the eligibility exporting subsystem (the historical state of exclusions will be + /// reflected in the historically produced timeseries regardless of the current state). + /// + /// This field can be used to mark the instance as temporary ineligible for the purpose of SLO calculation. For + /// permanent instance SLO exclusion, use of custom instance eligibility is recommended. See 'eligibility' field + /// below. + [Newtonsoft.Json.JsonPropertyAttribute("exclusions")] + public virtual System.Collections.Generic.IList Exclusions { get; set; } + + /// Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field + /// allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter + /// and published in the form of per node metric to Monarch. + [Newtonsoft.Json.JsonPropertyAttribute("nodes")] + public virtual System.Collections.Generic.IList Nodes { get; set; } + + /// Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers + /// specified in the service SLO configuration. + /// + /// Field is mandatory and must not be empty. + [Newtonsoft.Json.JsonPropertyAttribute("tier")] + public virtual string Tier { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for ListDomains + public class ListDomainsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of Managed Identities Service domains in the project. + [Newtonsoft.Json.JsonPropertyAttribute("domains")] + public virtual System.Collections.Generic.IList Domains { get; set; } + + /// A token to retrieve the next page of results, or empty if there are no more results in the + /// list. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Locations.ListLocations. + public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of locations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Operations.ListOperations. + public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A resource that represents Google Cloud Platform location. + public class Location : Google.Apis.Requests.IDirectResponseSchema + { + /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Cross-service attributes for the location. For example + /// + /// {"cloud.googleapis.com/region": "us-east1"} + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The canonical id for this location. For example: `"us-east1"`. + [Newtonsoft.Json.JsonPropertyAttribute("locationId")] + public virtual string LocationId { get; set; } + + /// Service-specific metadata. For example the available capacity at the given location. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// Resource name for the location, which may vary between implementations. For example: `"projects + /// /example-project/locations/us-east1"` + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema + { + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is + /// completed, and either `error` or `response` is available. + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// Service-specific metadata associated with the operation. It typically contains progress + /// information and common metadata such as create time. Some services might not provide such metadata. Any + /// method that returns a long-running operation should document the metadata type, if any. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// The server-assigned name, which is only unique within the same service that originally returns it. + /// If you use the default HTTP mapping, the `name` should be a resource name ending with + /// `operations/{unique_id}`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The normal response of the operation in case of success. If the original method returns no data on + /// success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name + /// is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output only] API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// [Output only] Identifies whether the user has requested cancellation of the operation. Operations + /// that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, + /// corresponding to `Code.CANCELLED`. + [Newtonsoft.Json.JsonPropertyAttribute("cancelRequested")] + public virtual System.Nullable CancelRequested { get; set; } + + /// [Output only] The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// [Output only] The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual object EndTime { get; set; } + + /// [Output only] Human-readable status of the operation, if any. + [Newtonsoft.Json.JsonPropertyAttribute("statusDetail")] + public virtual string StatusDetail { get; set; } + + /// [Output only] Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// [Output only] Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud + /// resources. + /// + /// A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members + /// can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list + /// of permissions; each `role` can be an IAM predefined role or a user-created custom role. + /// + /// Optionally, a `binding` can specify a `condition`, which is a logical expression that allows access to a + /// resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the + /// request, the resource, or both. + /// + /// **JSON example:** + /// + /// { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, + /// { "role": "roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], "condition": { + /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time + /// < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// + /// **YAML example:** + /// + /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my- + /// project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - + /// user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access + /// description: Does not grant access after Sep 2020 expression: request.time < + /// timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 + /// + /// For a description of IAM and its features, see the [IAM + /// documentation](https://cloud.google.com/iam/docs/). + public class Policy : Google.Apis.Requests.IDirectResponseSchema + { + /// Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines + /// how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. + [Newtonsoft.Json.JsonPropertyAttribute("bindings")] + public virtual System.Collections.Generic.IList Bindings { get; set; } + + /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of + /// a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned + /// in the response to `getIamPolicy`, and systems are expected to put that etag in the request to + /// `setIamPolicy` to ensure that their change will be applied to the same version of the policy. + /// + /// **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version + /// `1` policy, and all of the conditions in the version `3` policy are lost. + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// Specifies the format of the policy. + /// + /// Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. + /// + /// Any operation that affects conditional role bindings must specify version `3`. This requirement applies to + /// the following operations: + /// + /// * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy + /// * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, + /// from a policy that includes conditions + /// + /// **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version + /// `1` policy, and all of the conditions in the version `3` policy are lost. + /// + /// If a policy does not include any conditions, operations on that policy may specify any valid version or + /// leave the field unset. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual System.Nullable Version { get; set; } + + } + + /// Request message for ReconfigureTrust + public class ReconfigureTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The target DNS server IP addresses to resolve the remote domain involved in the + /// trust. + [Newtonsoft.Json.JsonPropertyAttribute("targetDnsIpAddresses")] + public virtual System.Collections.Generic.IList TargetDnsIpAddresses { get; set; } + + /// Required. The fully-qualified target domain name which will be in trust with current + /// domain. + [Newtonsoft.Json.JsonPropertyAttribute("targetDomainName")] + public virtual string TargetDomainName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for ResetAdminPassword + public class ResetAdminPasswordRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for ResetAdminPassword + public class ResetAdminPasswordResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A random password. See admin for more information. + [Newtonsoft.Json.JsonPropertyAttribute("password")] + public virtual string Password { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `SetIamPolicy` method. + public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to + /// a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual Policy Policy { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The `Status` type defines a logical error model that is suitable for different programming + /// environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` + /// message contains three pieces of data: error code, error message, and error details. + /// + /// You can find out more about this error model and how to work with it in the [API Design + /// Guide](https://cloud.google.com/apis/design/errors). + public class Status : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// A list of messages that carry the error details. There is a common set of message types for APIs + /// to use. + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// A developer-facing error message, which should be in English. Any user-facing error message should + /// be localized and sent in the google.rpc.Status.details field, or localized by the client. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `TestIamPermissions` method. + public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or + /// 'storage.*') are not allowed. For more information see [IAM + /// Overview](https://cloud.google.com/iam/docs/overview#permissions). + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for `TestIamPermissions` method. + public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a relationship between two domains. This allows a controller in one domain to authenticate a + /// user in another domain. + public class Trust : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The time the instance was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual object CreateTime { get; set; } + + /// Output only. The last heartbeat time when the trust was known to be connected. + [Newtonsoft.Json.JsonPropertyAttribute("lastTrustHeartbeatTime")] + public virtual object LastTrustHeartbeatTime { get; set; } + + /// The trust authentication type, which decides whether the trusted side has forest/domain wide access + /// or selective access to an approved set of resources. + [Newtonsoft.Json.JsonPropertyAttribute("selectiveAuthentication")] + public virtual System.Nullable SelectiveAuthentication { get; set; } + + /// Output only. The current state of the trust. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. Additional information about the current state of the trust, if available. + [Newtonsoft.Json.JsonPropertyAttribute("stateDescription")] + public virtual string StateDescription { get; set; } + + /// The target DNS server IP addresses which can resolve the remote domain involved in the + /// trust. + [Newtonsoft.Json.JsonPropertyAttribute("targetDnsIpAddresses")] + public virtual System.Collections.Generic.IList TargetDnsIpAddresses { get; set; } + + /// The fully qualified target domain name which will be in trust with the current domain. + [Newtonsoft.Json.JsonPropertyAttribute("targetDomainName")] + public virtual string TargetDomainName { get; set; } + + /// The trust direction, which decides if the current domain is trusted, trusting, or both. + [Newtonsoft.Json.JsonPropertyAttribute("trustDirection")] + public virtual string TrustDirection { get; set; } + + /// Input only, and will not be stored. The trust secret used for the handshake with the target + /// domain. + [Newtonsoft.Json.JsonPropertyAttribute("trustHandshakeSecret")] + public virtual string TrustHandshakeSecret { get; set; } + + /// The type of trust represented by the trust resource. + [Newtonsoft.Json.JsonPropertyAttribute("trustType")] + public virtual string TrustType { get; set; } + + /// Output only. The last update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual object UpdateTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for ValidateTrust + public class ValidateTrustRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The domain trust to validate trust state for. + [Newtonsoft.Json.JsonPropertyAttribute("trust")] + public virtual Trust Trust { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } +} diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj new file mode 100644 index 00000000000..7aa1067195d --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj @@ -0,0 +1,97 @@ + + + + + Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1 Client Library + 1.44.0.1875 + Google Inc. + Copyright 2017 Google Inc. + Google + https://github.com/google/google-api-dotnet-client + LICENSE + git + https://github.com/google/google-api-dotnet-client + https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png + + Google APIs Client Library for working with Managedidentities v1beta1. + + Supported Platforms: + - .NET Framework 4.5+ + - .NET Standard 1.3 and .NET Standard 2.0; providing .NET Core support. + + Legacy platforms: + - .NET Framework 4.0 + - Windows 8 Apps + - Windows Phone 8.1 + - Windows Phone Silverlight 8.0 + + Incompatible platforms: + - .NET Framework < 4.0 + - Silverlight + - UWP (will build, but is known not to work at runtime) + - Xamarin + + More documentation on the API is available at: + https://developers.google.com/api-client-library/dotnet/apis/managedidentities/v1beta1 + + The package source code is available at: + https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated + + + + + + + + + + netstandard2.0;netstandard1.3;netstandard1.0;net45;net40 + true + ..\..\..\google.apis.snk + portable + true + 1570,1587,1591 + + + + + + + + + + + + + + + + + + + + + portable-net45+win8+wpa81+wp8 + app.netstandard10.config + + + + + + + + + + + + + + false + app.net40.config + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.net40.config b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.net40.config new file mode 100644 index 00000000000..bb30b7ab311 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.net40.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.netstandard10.config b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.netstandard10.config new file mode 100644 index 00000000000..62588d67ee6 --- /dev/null +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/app.netstandard10.config @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs index 881714cca00..744fa2ffae5 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs +++ b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs @@ -26,7 +26,7 @@ * API * Google OAuth2 API * API Versionv2 - * API Rev20190522 (1602) + * API Rev20200213 (1869) * API Docs * * https://developers.google.com/accounts/docs/OAuth2 @@ -137,49 +137,6 @@ public static class ScopeConstants } - public virtual GetCertForOpenIdConnectRequest GetCertForOpenIdConnect() - { - return new GetCertForOpenIdConnectRequest(this); - } - - - public class GetCertForOpenIdConnectRequest : Oauth2BaseServiceRequest - { - /// Constructs a new GetCertForOpenIdConnect request. - public GetCertForOpenIdConnectRequest(Google.Apis.Services.IClientService service) - : base(service) - { - InitParameters(); - } - - - - ///Gets the method name. - public override string MethodName - { - get { return "getCertForOpenIdConnect"; } - } - - ///Gets the HTTP method. - public override string HttpMethod - { - get { return "GET"; } - } - - ///Gets the REST path. - public override string RestPath - { - get { return "oauth2/v2/certs"; } - } - - /// Initializes GetCertForOpenIdConnect parameter list. - protected override void InitParameters() - { - base.InitParameters(); - - } - - } public virtual TokeninfoRequest Tokeninfo() { return new TokeninfoRequest(this); @@ -554,38 +511,6 @@ protected override void InitParameters() namespace Google.Apis.Oauth2.v2.Data { - public class Jwk : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("keys")] - public virtual System.Collections.Generic.IList Keys { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - - - public class KeysData - { - [Newtonsoft.Json.JsonPropertyAttribute("alg")] - public virtual string Alg { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("e")] - public virtual string E { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("kid")] - public virtual string Kid { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("kty")] - public virtual string Kty { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("n")] - public virtual string N { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("use")] - public virtual string Use { get; set; } - - } - } - public class Tokeninfo : Google.Apis.Requests.IDirectResponseSchema { /// The access type granted with this token. It can be offline or online. diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj index e76d26000d4..8f6c2726618 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj +++ b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Oauth2.v2 Client Library - 1.44.0.1602 + 1.44.0.1869 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs index 502bfce9115..b1ade6c466e 100644 --- a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs +++ b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs @@ -26,7 +26,7 @@ * API * People API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://developers.google.com/people/ diff --git a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj index f16f6367f25..6b79f109dca 100644 --- a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj +++ b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PeopleService.v1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs index d421abb096e..361b7fab3ce 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Pub/Sub API * API Versionv1 - * API Rev20200211 (1867) + * API Rev20200218 (1874) * API Docs * * https://cloud.google.com/pubsub/docs @@ -385,9 +385,10 @@ public SnapshotsResource(Google.Apis.Services.IClientService service) /// the returned Snapshot object. Note that for REST API requests, you must specify a name in the /// request.
/// The body of the request. - /// User-provided name for this snapshot. If the name is not provided in the request, the server will - /// assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you - /// must specify a name. See the resource name rules. Format is `projects/{project}/snapshots/{snap}`. + /// Required. User-provided name for this snapshot. If the name is not provided in the request, the + /// server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API + /// requests, you must specify a name. See the resource name rules. Format is + /// `projects/{project}/snapshots/{snap}`. public virtual CreateRequest Create(Google.Apis.Pubsub.v1.Data.CreateSnapshotRequest body, string name) { return new CreateRequest(service, body, name); @@ -416,8 +417,8 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Pu } - /// User-provided name for this snapshot. If the name is not provided in the request, the - /// server will assign a random name for this snapshot on the same project as the subscription. Note + /// Required. User-provided name for this snapshot. If the name is not provided in the request, + /// the server will assign a random name for this snapshot on the same project as the subscription. Note /// that for REST API requests, you must specify a name. See the resource name rules. Format is /// `projects/{project}/snapshots/{snap}`. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] @@ -472,7 +473,7 @@ protected override void InitParameters() /// retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created /// with the same name, but the new one has no association with the old snapshot or its subscription, unless /// the same subscription is specified. - /// The name of the snapshot to delete. Format is + /// Required. The name of the snapshot to delete. Format is /// `projects/{project}/snapshots/{snap}`. public virtual DeleteRequest Delete(string snapshot) { @@ -496,7 +497,7 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string snapsho } - /// The name of the snapshot to delete. Format is + /// Required. The name of the snapshot to delete. Format is /// `projects/{project}/snapshots/{snap}`. [Google.Apis.Util.RequestParameterAttribute("snapshot", Google.Apis.Util.RequestParameterType.Path)] public virtual string Snapshot { get; private set; } @@ -541,7 +542,7 @@ protected override void InitParameters() /// Gets the configuration details of a snapshot. Snapshots are used in Seek operations, which /// allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of /// messages in an existing subscription to the state captured by a snapshot. - /// The name of the snapshot to get. Format is + /// Required. The name of the snapshot to get. Format is /// `projects/{project}/snapshots/{snap}`. public virtual GetRequest Get(string snapshot) { @@ -562,7 +563,8 @@ public GetRequest(Google.Apis.Services.IClientService service, string snapshot) } - /// The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`. + /// Required. The name of the snapshot to get. Format is + /// `projects/{project}/snapshots/{snap}`. [Google.Apis.Util.RequestParameterAttribute("snapshot", Google.Apis.Util.RequestParameterType.Path)] public virtual string Snapshot { get; private set; } @@ -688,7 +690,7 @@ protected override void InitParameters() /// Lists the existing snapshots. Snapshots are used in Seek operations, which allow you to manage /// message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an /// existing subscription to the state captured by a snapshot. - /// The name of the project in which to list snapshots. Format is `projects/{project- + /// Required. The name of the project in which to list snapshots. Format is `projects/{project- /// id}`. public virtual ListRequest List(string project) { @@ -709,7 +711,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) } - /// The name of the project in which to list snapshots. Format is `projects/{project- + /// Required. The name of the project in which to list snapshots. Format is `projects/{project- /// id}`. [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } @@ -1033,7 +1035,7 @@ public SubscriptionsResource(Google.Apis.Services.IClientService service) /// Acknowledging a message whose ack deadline has expired may succeed, but such a message may be /// redelivered later. Acknowledging a message more than once will not result in an error. /// The body of the request. - /// The subscription whose message is being acknowledged. Format is + /// Required. The subscription whose message is being acknowledged. Format is /// `projects/{project}/subscriptions/{sub}`. public virtual AcknowledgeRequest Acknowledge(Google.Apis.Pubsub.v1.Data.AcknowledgeRequest body, string subscription) { @@ -1057,7 +1059,7 @@ public AcknowledgeRequest(Google.Apis.Services.IClientService service, Google.Ap } - /// The subscription whose message is being acknowledged. Format is + /// Required. The subscription whose message is being acknowledged. Format is /// `projects/{project}/subscriptions/{sub}`. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -1116,7 +1118,7 @@ protected override void InitParameters() /// the returned Subscription object. Note that for REST API requests, you must specify a name in the /// request. /// The body of the request. - /// The name of the subscription. It must have the format + /// Required. The name of the subscription. It must have the format /// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only /// letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or /// percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with @@ -1148,7 +1150,7 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Pu } - /// The name of the subscription. It must have the format + /// Required. The name of the subscription. It must have the format /// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and /// contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods /// (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in @@ -1203,7 +1205,7 @@ protected override void InitParameters() /// dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new /// one may be created with the same name, but the new one has no association with the old subscription or /// its topic unless the same topic is specified. - /// The subscription to delete. Format is + /// Required. The subscription to delete. Format is /// `projects/{project}/subscriptions/{sub}`. public virtual DeleteRequest Delete(string subscription) { @@ -1225,7 +1227,8 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string subscri } - /// The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`. + /// Required. The subscription to delete. Format is + /// `projects/{project}/subscriptions/{sub}`. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -1267,7 +1270,7 @@ protected override void InitParameters() } /// Gets the configuration details of a subscription. - /// The name of the subscription to get. Format is + /// Required. The name of the subscription to get. Format is /// `projects/{project}/subscriptions/{sub}`. public virtual GetRequest Get(string subscription) { @@ -1286,7 +1289,7 @@ public GetRequest(Google.Apis.Services.IClientService service, string subscripti } - /// The name of the subscription to get. Format is + /// Required. The name of the subscription to get. Format is /// `projects/{project}/subscriptions/{sub}`. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -1411,8 +1414,8 @@ protected override void InitParameters() } /// Lists matching subscriptions. - /// The name of the project in which to list subscriptions. Format is `projects/{project- - /// id}`. + /// Required. The name of the project in which to list subscriptions. Format is `projects + /// /{project-id}`. public virtual ListRequest List(string project) { return new ListRequest(service, project); @@ -1430,8 +1433,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) } - /// The name of the project in which to list subscriptions. Format is `projects/{project- - /// id}`. + /// Required. The name of the project in which to list subscriptions. Format is `projects + /// /{project-id}`. [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } @@ -1505,7 +1508,7 @@ protected override void InitParameters() /// if the processing was interrupted. Note that this does not modify the subscription-level /// `ackDeadlineSeconds` used for subsequent messages. /// The body of the request. - /// The name of the subscription. Format is + /// Required. The name of the subscription. Format is /// `projects/{project}/subscriptions/{sub}`. public virtual ModifyAckDeadlineRequest ModifyAckDeadline(Google.Apis.Pubsub.v1.Data.ModifyAckDeadlineRequest body, string subscription) { @@ -1528,7 +1531,8 @@ public ModifyAckDeadlineRequest(Google.Apis.Services.IClientService service, Goo } - /// The name of the subscription. Format is `projects/{project}/subscriptions/{sub}`. + /// Required. The name of the subscription. Format is + /// `projects/{project}/subscriptions/{sub}`. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -1582,7 +1586,7 @@ protected override void InitParameters() /// accumulate for delivery continuously through the call regardless of changes to the /// `PushConfig`. /// The body of the request. - /// The name of the subscription. Format is + /// Required. The name of the subscription. Format is /// `projects/{project}/subscriptions/{sub}`. public virtual ModifyPushConfigRequest ModifyPushConfig(Google.Apis.Pubsub.v1.Data.ModifyPushConfigRequest body, string subscription) { @@ -1607,7 +1611,8 @@ public ModifyPushConfigRequest(Google.Apis.Services.IClientService service, Goog } - /// The name of the subscription. Format is `projects/{project}/subscriptions/{sub}`. + /// Required. The name of the subscription. Format is + /// `projects/{project}/subscriptions/{sub}`. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -1657,7 +1662,7 @@ protected override void InitParameters() /// Updates an existing subscription. Note that certain properties of a subscription, such as its /// topic, are not modifiable. /// The body of the request. - /// The name of the subscription. It must have the format + /// Required. The name of the subscription. It must have the format /// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only /// letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or /// percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with @@ -1681,7 +1686,7 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Pub } - /// The name of the subscription. It must have the format + /// Required. The name of the subscription. It must have the format /// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and /// contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods /// (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in @@ -1735,7 +1740,7 @@ protected override void InitParameters() /// Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many /// concurrent pull requests pending for the given subscription. /// The body of the request. - /// The subscription from which messages should be pulled. Format is + /// Required. The subscription from which messages should be pulled. Format is /// `projects/{project}/subscriptions/{sub}`. public virtual PullRequest Pull(Google.Apis.Pubsub.v1.Data.PullRequest body, string subscription) { @@ -1756,7 +1761,7 @@ public PullRequest(Google.Apis.Services.IClientService service, Google.Apis.Pubs } - /// The subscription from which messages should be pulled. Format is + /// Required. The subscription from which messages should be pulled. Format is /// `projects/{project}/subscriptions/{sub}`. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -1810,7 +1815,7 @@ protected override void InitParameters() /// state captured by a snapshot. Note that both the subscription and the snapshot must be on the same /// topic. /// The body of the request. - /// The subscription to affect. + /// Required. The subscription to affect. public virtual SeekRequest Seek(Google.Apis.Pubsub.v1.Data.SeekRequest body, string subscription) { return new SeekRequest(service, body, subscription); @@ -1833,7 +1838,7 @@ public SeekRequest(Google.Apis.Services.IClientService service, Google.Apis.Pubs } - /// The subscription to affect. + /// Required. The subscription to affect. [Google.Apis.Util.RequestParameterAttribute("subscription", Google.Apis.Util.RequestParameterType.Path)] public virtual string Subscription { get; private set; } @@ -2200,7 +2205,7 @@ public SubscriptionsResource(Google.Apis.Services.IClientService service) /// Lists the names of the subscriptions on this topic. - /// The name of the topic that subscriptions are attached to. Format is + /// Required. The name of the topic that subscriptions are attached to. Format is /// `projects/{project}/topics/{topic}`. public virtual ListRequest List(string topic) { @@ -2219,7 +2224,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string topic) } - /// The name of the topic that subscriptions are attached to. Format is + /// Required. The name of the topic that subscriptions are attached to. Format is /// `projects/{project}/topics/{topic}`. [Google.Apis.Util.RequestParameterAttribute("topic", Google.Apis.Util.RequestParameterType.Path)] public virtual string Topic { get; private set; } @@ -2294,10 +2299,10 @@ protected override void InitParameters() /// /// resource name rules. /// The body of the request. - /// The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` - /// must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), - /// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, - /// and it must not start with `"goog"`. + /// Required. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. + /// `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + /// underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 + /// characters in length, and it must not start with `"goog"`. public virtual CreateRequest Create(Google.Apis.Pubsub.v1.Data.Topic body, string name) { return new CreateRequest(service, body, name); @@ -2318,10 +2323,11 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Pu } - /// The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. - /// `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes - /// (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be - /// between 3 and 255 characters in length, and it must not start with `"goog"`. + /// Required. The name of the topic. It must have the format + /// `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters + /// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus + /// (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not + /// start with `"goog"`. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -2372,7 +2378,8 @@ protected override void InitParameters() /// topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none /// of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but /// their `topic` field is set to `_deleted-topic_`. - /// Name of the topic to delete. Format is `projects/{project}/topics/{topic}`. + /// Required. Name of the topic to delete. Format is + /// `projects/{project}/topics/{topic}`. public virtual DeleteRequest Delete(string topic) { return new DeleteRequest(service, topic); @@ -2393,7 +2400,8 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string topic) } - /// Name of the topic to delete. Format is `projects/{project}/topics/{topic}`. + /// Required. Name of the topic to delete. Format is + /// `projects/{project}/topics/{topic}`. [Google.Apis.Util.RequestParameterAttribute("topic", Google.Apis.Util.RequestParameterType.Path)] public virtual string Topic { get; private set; } @@ -2435,7 +2443,8 @@ protected override void InitParameters() } /// Gets the configuration of a topic. - /// The name of the topic to get. Format is `projects/{project}/topics/{topic}`. + /// Required. The name of the topic to get. Format is + /// `projects/{project}/topics/{topic}`. public virtual GetRequest Get(string topic) { return new GetRequest(service, topic); @@ -2453,7 +2462,8 @@ public GetRequest(Google.Apis.Services.IClientService service, string topic) } - /// The name of the topic to get. Format is `projects/{project}/topics/{topic}`. + /// Required. The name of the topic to get. Format is + /// `projects/{project}/topics/{topic}`. [Google.Apis.Util.RequestParameterAttribute("topic", Google.Apis.Util.RequestParameterType.Path)] public virtual string Topic { get; private set; } @@ -2577,7 +2587,7 @@ protected override void InitParameters() } /// Lists matching topics. - /// The name of the project in which to list topics. Format is `projects/{project- + /// Required. The name of the project in which to list topics. Format is `projects/{project- /// id}`. public virtual ListRequest List(string project) { @@ -2596,7 +2606,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) } - /// The name of the project in which to list topics. Format is `projects/{project- + /// Required. The name of the project in which to list topics. Format is `projects/{project- /// id}`. [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } @@ -2668,10 +2678,10 @@ protected override void InitParameters() /// Updates an existing topic. Note that certain properties of a topic are not /// modifiable. /// The body of the request. - /// The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` - /// must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), - /// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, - /// and it must not start with `"goog"`. + /// Required. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. + /// `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + /// underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 + /// characters in length, and it must not start with `"goog"`. public virtual PatchRequest Patch(Google.Apis.Pubsub.v1.Data.UpdateTopicRequest body, string name) { return new PatchRequest(service, body, name); @@ -2691,10 +2701,11 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Pub } - /// The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. - /// `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes - /// (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be - /// between 3 and 255 characters in length, and it must not start with `"goog"`. + /// Required. The name of the topic. It must have the format + /// `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters + /// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus + /// (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not + /// start with `"goog"`. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -2744,7 +2755,7 @@ protected override void InitParameters() /// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not /// exist. /// The body of the request. - /// The messages in the request will be published on this topic. Format is + /// Required. The messages in the request will be published on this topic. Format is /// `projects/{project}/topics/{topic}`. public virtual PublishRequest Publish(Google.Apis.Pubsub.v1.Data.PublishRequest body, string topic) { @@ -2765,7 +2776,7 @@ public PublishRequest(Google.Apis.Services.IClientService service, Google.Apis.P } - /// The messages in the request will be published on this topic. Format is + /// Required. The messages in the request will be published on this topic. Format is /// `projects/{project}/topics/{topic}`. [Google.Apis.Util.RequestParameterAttribute("topic", Google.Apis.Util.RequestParameterType.Path)] public virtual string Topic { get; private set; } @@ -2974,8 +2985,8 @@ namespace Google.Apis.Pubsub.v1.Data /// Request for the Acknowledge method. public class AcknowledgeRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system - /// in the `Pull` response. Must not be empty. + /// Required. The acknowledgment ID for the messages being acknowledged that was returned by the + /// Pub/Sub system in the `Pull` response. Must not be empty. [Newtonsoft.Json.JsonPropertyAttribute("ackIds")] public virtual System.Collections.Generic.IList AckIds { get; set; } @@ -3046,9 +3057,9 @@ public class CreateSnapshotRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } - /// The subscription whose backlog the snapshot retains. Specifically, the created snapshot is - /// guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the - /// messages in the subscription's backlog that are unacknowledged upon the successful completion of the + /// Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot + /// is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as + /// the messages in the subscription's backlog that are unacknowledged upon the successful completion of the /// `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the /// successful completion of the CreateSnapshot request. Format is /// `projects/{project}/subscriptions/{sub}`. @@ -3266,16 +3277,16 @@ public class MessageStoragePolicy : Google.Apis.Requests.IDirectResponseSchema /// Request for the ModifyAckDeadline method. public class ModifyAckDeadlineRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For - /// example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - /// was made. Specifying zero might immediately make the message available for delivery to another subscriber - /// client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The - /// minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 - /// minutes). + /// Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub + /// system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the + /// `ModifyAckDeadline` call was made. Specifying zero might immediately make the message available for delivery + /// to another subscriber client. This typically results in an increase in the rate of message redeliveries + /// (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can + /// specify is 600 seconds (10 minutes). [Newtonsoft.Json.JsonPropertyAttribute("ackDeadlineSeconds")] public virtual System.Nullable AckDeadlineSeconds { get; set; } - /// List of acknowledgment IDs. + /// Required. List of acknowledgment IDs. [Newtonsoft.Json.JsonPropertyAttribute("ackIds")] public virtual System.Collections.Generic.IList AckIds { get; set; } @@ -3286,7 +3297,7 @@ public class ModifyAckDeadlineRequest : Google.Apis.Requests.IDirectResponseSche /// Request for the ModifyPushConfig method. public class ModifyPushConfigRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The push configuration for future deliveries. + /// Required. The push configuration for future deliveries. /// /// An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given /// subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if @@ -3393,7 +3404,7 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema /// Request for the Publish method. public class PublishRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The messages to publish. + /// Required. The messages to publish. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -3447,8 +3458,8 @@ public class PubsubMessage : Google.Apis.Requests.IDirectResponseSchema /// Request for the `Pull` method. public class PullRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The maximum number of messages to return for this request. Must be a positive integer. The Pub/Sub - /// system may return fewer than the number specified. + /// Required. The maximum number of messages to return for this request. Must be a positive integer. + /// The Pub/Sub system may return fewer than the number specified. [Newtonsoft.Json.JsonPropertyAttribute("maxMessages")] public virtual System.Nullable MaxMessages { get; set; } @@ -3668,7 +3679,7 @@ public class Subscription : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("messageRetentionDuration")] public virtual object MessageRetentionDuration { get; set; } - /// The name of the subscription. It must have the format + /// Required. The name of the subscription. It must have the format /// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain /// only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), /// plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start @@ -3689,7 +3700,7 @@ public class Subscription : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("retainAckedMessages")] public virtual System.Nullable RetainAckedMessages { get; set; } - /// The name of the topic from which this subscription is receiving messages. Format is + /// Required. The name of the topic from which this subscription is receiving messages. Format is /// `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been /// deleted. [Newtonsoft.Json.JsonPropertyAttribute("topic")] @@ -3742,8 +3753,8 @@ public class Topic : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("messageStoragePolicy")] public virtual MessageStoragePolicy MessageStoragePolicy { get; set; } - /// The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` - /// must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + /// Required. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. + /// `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), /// underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and /// 255 characters in length, and it must not start with `"goog"`. [Newtonsoft.Json.JsonPropertyAttribute("name")] @@ -3756,11 +3767,11 @@ public class Topic : Google.Apis.Requests.IDirectResponseSchema /// Request for the UpdateSnapshot method. public class UpdateSnapshotRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The updated snapshot object. + /// Required. The updated snapshot object. [Newtonsoft.Json.JsonPropertyAttribute("snapshot")] public virtual Snapshot Snapshot { get; set; } - /// Indicates which fields in the provided snapshot to update. Must be specified and non- + /// Required. Indicates which fields in the provided snapshot to update. Must be specified and non- /// empty. [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] public virtual object UpdateMask { get; set; } @@ -3772,11 +3783,11 @@ public class UpdateSnapshotRequest : Google.Apis.Requests.IDirectResponseSchema /// Request for the UpdateSubscription method. public class UpdateSubscriptionRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The updated subscription object. + /// Required. The updated subscription object. [Newtonsoft.Json.JsonPropertyAttribute("subscription")] public virtual Subscription Subscription { get; set; } - /// Indicates which fields in the provided subscription to update. Must be specified and non- + /// Required. Indicates which fields in the provided subscription to update. Must be specified and non- /// empty. [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] public virtual object UpdateMask { get; set; } @@ -3788,14 +3799,14 @@ public class UpdateSubscriptionRequest : Google.Apis.Requests.IDirectResponseSch /// Request for the UpdateTopic method. public class UpdateTopicRequest : Google.Apis.Requests.IDirectResponseSchema { - /// The updated topic object. + /// Required. The updated topic object. [Newtonsoft.Json.JsonPropertyAttribute("topic")] public virtual Topic Topic { get; set; } - /// Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that - /// if `update_mask` contains "message_storage_policy" then the new value will be determined based on the policy - /// configured at the project or organization level. The `message_storage_policy` must not be set in the `topic` - /// provided above. + /// Required. Indicates which fields in the provided topic to update. Must be specified and non-empty. + /// Note that if `update_mask` contains "message_storage_policy" then the new value will be determined based on + /// the policy configured at the project or organization level. The `message_storage_policy` must not be set in + /// the `topic` provided above. [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] public virtual object UpdateMask { get; set; } diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj index 534c942ed29..60a50d78bd3 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1 Client Library - 1.44.0.1867 + 1.44.0.1874 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs index b5451c0b076..3196b87fd55 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs @@ -26,7 +26,7 @@ * API * Cloud Pub/Sub API * API Versionv1beta1a - * API Rev20200211 (1867) + * API Rev20200218 (1874) * API Docs * * https://cloud.google.com/pubsub/docs @@ -532,7 +532,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^.+$", + Pattern = @"^.*$", }); } @@ -592,7 +592,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^.+$", + Pattern = @"^.*$", }); } @@ -1034,7 +1034,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^.+$", + Pattern = @"^.*$", }); } @@ -1098,7 +1098,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^.+$", + Pattern = @"^.*$", }); } diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj index 158e591e150..04774df412b 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1beta1a Client Library - 1.44.0.1867 + 1.44.0.1874 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs index 626bb08c907..21c737d269d 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs @@ -26,7 +26,7 @@ * API * Cloud Pub/Sub API * API Versionv1beta2 - * API Rev20200211 (1867) + * API Rev20200218 (1874) * API Docs * * https://cloud.google.com/pubsub/docs diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj index 947027afeb5..f7c767d6dd0 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1beta2 Client Library - 1.44.0.1867 + 1.44.0.1874 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs index f3fc300b685..524fa67b807 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs @@ -26,7 +26,7 @@ * API * Safe Browsing API * API Versionv4 - * API Rev20200225 (1881) + * API Rev20200228 (1884) * API Docs * * https://developers.google.com/safe-browsing/ diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj index 491c1efbc34..7ff73a4c1f1 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.Safebrowsing.v4 Client Library - 1.44.0.1881 + 1.44.0.1884 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs index 2708b6a74d5..f9d3c62fda5 100644 --- a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs +++ b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs @@ -26,7 +26,7 @@ * API * Apps Script API * API Versionv1 - * API Rev20200224 (1880) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/apps-script/api/ diff --git a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj index a51daf58b30..7a09d73bec2 100644 --- a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj +++ b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Script.v1 Client Library - 1.44.0.1880 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs index 7dc4b3c12a5..91675a5a203 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs @@ -26,7 +26,7 @@ * API * Google Search Console URL Testing Tools API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200229 (1885) * API Docs * * https://developers.google.com/webmaster-tools/search-console-api/ diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj index beebe88623b..3bf3f705c99 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SearchConsole.v1 Client Library - 1.44.0.1881 + 1.44.0.1885 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs index 413852c8518..4a146c0b985 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs @@ -26,7 +26,7 @@ * API * Secret Manager API * API Versionv1 - * API Rev20200214 (1870) + * API Rev20200222 (1878) * API Docs * * https://cloud.google.com/secret-manager/ diff --git a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj index 20138b50415..56fcd7d9e7f 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1 Client Library - 1.44.0.1870 + 1.44.0.1878 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs index f281ff090f2..b71a767847d 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs @@ -26,7 +26,7 @@ * API * Secret Manager API * API Versionv1beta1 - * API Rev20200214 (1870) + * API Rev20200222 (1878) * API Docs * * https://cloud.google.com/secret-manager/ diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj index af090832f8f..6dda61aedbc 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1beta1 Client Library - 1.44.0.1870 + 1.44.0.1878 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs index 84f9c41e85c..28613239256 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs @@ -26,7 +26,7 @@ * API * Service Consumer Management API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://cloud.google.com/service-consumer-management/docs/overview @@ -1716,6 +1716,19 @@ public class AuthProvider : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("jwksUri")] public virtual string JwksUri { get; set; } + /// Defines the locations to extract the JWT. + /// + /// JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match + /// wins. The checking order is: checking all headers first, then URL query parameters. + /// + /// If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt- + /// assertion 3) access_token query parameter + /// + /// Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: + /// "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token + [Newtonsoft.Json.JsonPropertyAttribute("jwtLocations")] + public virtual System.Collections.Generic.IList JwtLocations { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -2593,6 +2606,29 @@ public class HttpRule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Specifies a location to extract JWT from an API request. + public class JwtLocation : Google.Apis.Requests.IDirectResponseSchema + { + /// Specifies HTTP header name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Specifies URL query parameter name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must + /// be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If + /// not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. + /// + /// For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. + [Newtonsoft.Json.JsonPropertyAttribute("valuePrefix")] + public virtual string ValuePrefix { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A description of a label. public class LabelDescriptor : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj index 5b77b1c49d9..39533d77bf0 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceConsumerManagement.v1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs index 3560f5de438..6806cd89b32 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs @@ -26,7 +26,7 @@ * API * Service Control API * API Versionv1 - * API Rev20200215 (1871) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/service-control/ diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj index 45bc8062151..e195fd5a5e7 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceControl.v1 Client Library - 1.44.0.1871 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs index f01e58f6384..001213095f5 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs @@ -26,7 +26,7 @@ * API * Service Management API * API Versionv1 - * API Rev20200218 (1874) + * API Rev20200221 (1877) * API Docs * * https://cloud.google.com/service-management/ @@ -424,7 +424,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^operations/.+$", + Pattern = @"^operations/.*$", }); } diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj index ac80c0b8e61..7767857f382 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceManagement.v1 Client Library - 1.44.0.1874 + 1.44.0.1877 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs index 1cf026690b4..11023e4f02d 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs @@ -26,7 +26,7 @@ * API * Service Networking API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started @@ -1528,6 +1528,19 @@ public class AuthProvider : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("jwksUri")] public virtual string JwksUri { get; set; } + /// Defines the locations to extract the JWT. + /// + /// JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match + /// wins. The checking order is: checking all headers first, then URL query parameters. + /// + /// If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt- + /// assertion 3) access_token query parameter + /// + /// Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: + /// "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token + [Newtonsoft.Json.JsonPropertyAttribute("jwtLocations")] + public virtual System.Collections.Generic.IList JwtLocations { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -2464,6 +2477,29 @@ public class HttpRule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Specifies a location to extract JWT from an API request. + public class JwtLocation : Google.Apis.Requests.IDirectResponseSchema + { + /// Specifies HTTP header name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Specifies URL query parameter name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must + /// be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If + /// not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. + /// + /// For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. + [Newtonsoft.Json.JsonPropertyAttribute("valuePrefix")] + public virtual string ValuePrefix { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A description of a label. public class LabelDescriptor : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj index 75d1e4d69aa..1f7d4b26939 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs index cfd34648b83..0da52e9f05b 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs @@ -26,7 +26,7 @@ * API * Service Networking API * API Versionv1beta - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started @@ -1044,6 +1044,19 @@ public class AuthProvider : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("jwksUri")] public virtual string JwksUri { get; set; } + /// Defines the locations to extract the JWT. + /// + /// JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match + /// wins. The checking order is: checking all headers first, then URL query parameters. + /// + /// If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt- + /// assertion 3) access_token query parameter + /// + /// Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: + /// "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token + [Newtonsoft.Json.JsonPropertyAttribute("jwtLocations")] + public virtual System.Collections.Generic.IList JwtLocations { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -1920,6 +1933,29 @@ public class HttpRule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Specifies a location to extract JWT from an API request. + public class JwtLocation : Google.Apis.Requests.IDirectResponseSchema + { + /// Specifies HTTP header name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Specifies URL query parameter name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must + /// be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If + /// not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. + /// + /// For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. + [Newtonsoft.Json.JsonPropertyAttribute("valuePrefix")] + public virtual string ValuePrefix { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A description of a label. public class LabelDescriptor : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj index bc7c935d9a8..89ee86d9ea5 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1beta Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs index 9ce08c292b8..ffcac77ef8b 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs +++ b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs @@ -26,7 +26,7 @@ * API * Service Usage API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://cloud.google.com/service-usage/ @@ -1225,6 +1225,19 @@ public class AuthProvider : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("jwksUri")] public virtual string JwksUri { get; set; } + /// Defines the locations to extract the JWT. + /// + /// JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match + /// wins. The checking order is: checking all headers first, then URL query parameters. + /// + /// If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt- + /// assertion 3) access_token query parameter + /// + /// Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: + /// "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token + [Newtonsoft.Json.JsonPropertyAttribute("jwtLocations")] + public virtual System.Collections.Generic.IList JwtLocations { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -2492,6 +2505,29 @@ public class HttpRule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Specifies a location to extract JWT from an API request. + public class JwtLocation : Google.Apis.Requests.IDirectResponseSchema + { + /// Specifies HTTP header name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Specifies URL query parameter name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must + /// be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If + /// not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. + /// + /// For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. + [Newtonsoft.Json.JsonPropertyAttribute("valuePrefix")] + public virtual string ValuePrefix { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A description of a label. public class LabelDescriptor : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj index bf42e79cb71..2ad7f8fc966 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceUsage.v1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs index 59fb2830844..36976dfd4c8 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs @@ -26,7 +26,7 @@ * API * Service Usage API * API Versionv1beta1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://cloud.google.com/service-usage/ @@ -1093,6 +1093,19 @@ public class AuthProvider : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("jwksUri")] public virtual string JwksUri { get; set; } + /// Defines the locations to extract the JWT. + /// + /// JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match + /// wins. The checking order is: checking all headers first, then URL query parameters. + /// + /// If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt- + /// assertion 3) access_token query parameter + /// + /// Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: + /// "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token + [Newtonsoft.Json.JsonPropertyAttribute("jwtLocations")] + public virtual System.Collections.Generic.IList JwtLocations { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -2349,6 +2362,29 @@ public class HttpRule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Specifies a location to extract JWT from an API request. + public class JwtLocation : Google.Apis.Requests.IDirectResponseSchema + { + /// Specifies HTTP header name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// Specifies URL query parameter name to extract JWT token. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must + /// be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If + /// not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. + /// + /// For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. + [Newtonsoft.Json.JsonPropertyAttribute("valuePrefix")] + public virtual string ValuePrefix { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A description of a label. public class LabelDescriptor : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj index a4084cfc9d7..1aad3cefd6b 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceUsage.v1beta1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs index 1de8e7664af..75dd229a068 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs @@ -26,7 +26,7 @@ * API * Content API for Shopping * API Versionv2 - * API Rev20200205 (1861) + * API Rev20200219 (1875) * API Docs * * https://developers.google.com/shopping-content @@ -9336,9 +9336,11 @@ public class CustomGroup : Google.Apis.Requests.IDirectResponseSchema public class CustomerReturnReason : Google.Apis.Requests.IDirectResponseSchema { + /// Description of the reason. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// Code of the return reason. [Newtonsoft.Json.JsonPropertyAttribute("reasonCode")] public virtual string ReasonCode { get; set; } @@ -10704,23 +10706,31 @@ public class LoyaltyPoints : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Order return. Production access (all methods) requires the order manager role. Sandbox access does + /// not. public class MerchantOrderReturn : Google.Apis.Requests.IDirectResponseSchema { + /// The date of creation of the return, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("creationDate")] public virtual string CreationDate { get; set; } + /// Merchant defined order ID. [Newtonsoft.Json.JsonPropertyAttribute("merchantOrderId")] public virtual string MerchantOrderId { get; set; } + /// Google order ID. [Newtonsoft.Json.JsonPropertyAttribute("orderId")] public virtual string OrderId { get; set; } + /// Order return ID generated by Google. [Newtonsoft.Json.JsonPropertyAttribute("orderReturnId")] public virtual string OrderReturnId { get; set; } + /// Items of the return. [Newtonsoft.Json.JsonPropertyAttribute("returnItems")] public virtual System.Collections.Generic.IList ReturnItems { get; set; } + /// Shipments of the return. [Newtonsoft.Json.JsonPropertyAttribute("returnShipments")] public virtual System.Collections.Generic.IList ReturnShipments { get; set; } @@ -10730,21 +10740,28 @@ public class MerchantOrderReturn : Google.Apis.Requests.IDirectResponseSchema public class MerchantOrderReturnItem : Google.Apis.Requests.IDirectResponseSchema { + /// The reason that the customer chooses to return an item. [Newtonsoft.Json.JsonPropertyAttribute("customerReturnReason")] public virtual CustomerReturnReason CustomerReturnReason { get; set; } + /// Product level item ID. If the returned items are of the same product, they will have the same + /// ID. [Newtonsoft.Json.JsonPropertyAttribute("itemId")] public virtual string ItemId { get; set; } + /// The reason that merchant chooses to accept a return item. [Newtonsoft.Json.JsonPropertyAttribute("merchantReturnReason")] public virtual RefundReason MerchantReturnReason { get; set; } + /// Product data from the time of the order placement. [Newtonsoft.Json.JsonPropertyAttribute("product")] public virtual OrderLineItemProduct Product { get; set; } + /// IDs of the return shipments that this return item belongs to. [Newtonsoft.Json.JsonPropertyAttribute("returnShipmentIds")] public virtual System.Collections.Generic.IList ReturnShipmentIds { get; set; } + /// State of the item. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -11513,7 +11530,7 @@ public class OrderShipment : Google.Apis.Requests.IDirectResponseSchema /// updates - "colissimo" (Colissimo by La Poste) automatic status updates - "ups" (United Parcel Service) /// automatic status updates - "chronopost" (Chronopost by La Poste) - "gls" (General Logistics Systems France) /// - "dpd" (DPD Group by GeoPost) - "bpost" (Belgian Post Group) - "colis prive" (Colis Privé) - "boxtal" - /// (Boxtal) - "geodis" (GEODIS) - "tnt" (TNT) - "db schenker" (DB Schenker) + /// (Boxtal) - "geodis" (GEODIS) - "tnt" (TNT) - "db schenker" (DB Schenker) - "aramex" (Aramex) [Newtonsoft.Json.JsonPropertyAttribute("carrier")] public virtual string Carrier { get; set; } @@ -14335,9 +14352,11 @@ public class RateGroup : Google.Apis.Requests.IDirectResponseSchema public class RefundReason : Google.Apis.Requests.IDirectResponseSchema { + /// Description of the reason. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// Code of the refund reason. [Newtonsoft.Json.JsonPropertyAttribute("reasonCode")] public virtual string ReasonCode { get; set; } @@ -14347,24 +14366,32 @@ public class RefundReason : Google.Apis.Requests.IDirectResponseSchema public class ReturnShipment : Google.Apis.Requests.IDirectResponseSchema { + /// The date of creation of the shipment, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("creationDate")] public virtual string CreationDate { get; set; } + /// The date of delivery of the shipment, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("deliveryDate")] public virtual string DeliveryDate { get; set; } + /// Type of the return method. [Newtonsoft.Json.JsonPropertyAttribute("returnMethodType")] public virtual string ReturnMethodType { get; set; } + /// Shipment ID generated by Google. [Newtonsoft.Json.JsonPropertyAttribute("shipmentId")] public virtual string ShipmentId { get; set; } + /// Tracking information of the shipment. One return shipment might be handled by several shipping + /// carriers sequentially. [Newtonsoft.Json.JsonPropertyAttribute("shipmentTrackingInfos")] public virtual System.Collections.Generic.IList ShipmentTrackingInfos { get; set; } + /// The date of shipping of the shipment, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("shippingDate")] public virtual string ShippingDate { get; set; } + /// State of the shipment. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -14481,9 +14508,11 @@ public class ShipmentInvoiceLineItemInvoice : Google.Apis.Requests.IDirectRespon public class ShipmentTrackingInfo : Google.Apis.Requests.IDirectResponseSchema { + /// The shipping carrier that handles the package. [Newtonsoft.Json.JsonPropertyAttribute("carrier")] public virtual string Carrier { get; set; } + /// The tracking number for the package. [Newtonsoft.Json.JsonPropertyAttribute("trackingNumber")] public virtual string TrackingNumber { get; set; } diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.csproj index a7714d8ab0a..7119294df87 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.ShoppingContent.v2 Client Library - 1.44.0.1861 + 1.44.0.1875 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs index 5f33f8fa262..9dded9e142a 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs @@ -26,7 +26,7 @@ * API * Content API for Shopping * API Versionv2.1 - * API Rev20200205 (1861) + * API Rev20200219 (1875) * API Docs * * https://developers.google.com/shopping-content @@ -9504,9 +9504,11 @@ public class CustomAttribute : Google.Apis.Requests.IDirectResponseSchema public class CustomerReturnReason : Google.Apis.Requests.IDirectResponseSchema { + /// Description of the reason. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// Code of the return reason. [Newtonsoft.Json.JsonPropertyAttribute("reasonCode")] public virtual string ReasonCode { get; set; } @@ -10612,23 +10614,31 @@ public class LoyaltyPoints : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Order return. Production access (all methods) requires the order manager role. Sandbox access does + /// not. public class MerchantOrderReturn : Google.Apis.Requests.IDirectResponseSchema { + /// The date of creation of the return, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("creationDate")] public virtual string CreationDate { get; set; } + /// Merchant defined order ID. [Newtonsoft.Json.JsonPropertyAttribute("merchantOrderId")] public virtual string MerchantOrderId { get; set; } + /// Google order ID. [Newtonsoft.Json.JsonPropertyAttribute("orderId")] public virtual string OrderId { get; set; } + /// Order return ID generated by Google. [Newtonsoft.Json.JsonPropertyAttribute("orderReturnId")] public virtual string OrderReturnId { get; set; } + /// Items of the return. [Newtonsoft.Json.JsonPropertyAttribute("returnItems")] public virtual System.Collections.Generic.IList ReturnItems { get; set; } + /// Shipments of the return. [Newtonsoft.Json.JsonPropertyAttribute("returnShipments")] public virtual System.Collections.Generic.IList ReturnShipments { get; set; } @@ -10638,21 +10648,28 @@ public class MerchantOrderReturn : Google.Apis.Requests.IDirectResponseSchema public class MerchantOrderReturnItem : Google.Apis.Requests.IDirectResponseSchema { + /// The reason that the customer chooses to return an item. [Newtonsoft.Json.JsonPropertyAttribute("customerReturnReason")] public virtual CustomerReturnReason CustomerReturnReason { get; set; } + /// Product level item ID. If the returned items are of the same product, they will have the same + /// ID. [Newtonsoft.Json.JsonPropertyAttribute("itemId")] public virtual string ItemId { get; set; } + /// The reason that merchant chooses to accept a return item. [Newtonsoft.Json.JsonPropertyAttribute("merchantReturnReason")] public virtual RefundReason MerchantReturnReason { get; set; } + /// Product data from the time of the order placement. [Newtonsoft.Json.JsonPropertyAttribute("product")] public virtual OrderLineItemProduct Product { get; set; } + /// IDs of the return shipments that this return item belongs to. [Newtonsoft.Json.JsonPropertyAttribute("returnShipmentIds")] public virtual System.Collections.Generic.IList ReturnShipmentIds { get; set; } + /// State of the item. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -11429,7 +11446,7 @@ public class OrderShipment : Google.Apis.Requests.IDirectResponseSchema /// updates - "colissimo" (Colissimo by La Poste) automatic status updates - "ups" (United Parcel Service) /// automatic status updates - "chronopost" (Chronopost by La Poste) - "gls" (General Logistics Systems France) /// - "dpd" (DPD Group by GeoPost) - "bpost" (Belgian Post Group) - "colis prive" (Colis Privé) - "boxtal" - /// (Boxtal) - "geodis" (GEODIS) - "tnt" (TNT) - "db schenker" (DB Schenker) + /// (Boxtal) - "geodis" (GEODIS) - "tnt" (TNT) - "db schenker" (DB Schenker) - "aramex" (Aramex) [Newtonsoft.Json.JsonPropertyAttribute("carrier")] public virtual string Carrier { get; set; } @@ -13592,9 +13609,11 @@ public class RateGroup : Google.Apis.Requests.IDirectResponseSchema public class RefundReason : Google.Apis.Requests.IDirectResponseSchema { + /// Description of the reason. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// Code of the refund reason. [Newtonsoft.Json.JsonPropertyAttribute("reasonCode")] public virtual string ReasonCode { get; set; } @@ -13873,24 +13892,32 @@ public class ReturnPolicySeasonalOverride : Google.Apis.Requests.IDirectResponse public class ReturnShipment : Google.Apis.Requests.IDirectResponseSchema { + /// The date of creation of the shipment, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("creationDate")] public virtual string CreationDate { get; set; } + /// The date of delivery of the shipment, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("deliveryDate")] public virtual string DeliveryDate { get; set; } + /// Type of the return method. [Newtonsoft.Json.JsonPropertyAttribute("returnMethodType")] public virtual string ReturnMethodType { get; set; } + /// Shipment ID generated by Google. [Newtonsoft.Json.JsonPropertyAttribute("shipmentId")] public virtual string ShipmentId { get; set; } + /// Tracking information of the shipment. One return shipment might be handled by several shipping + /// carriers sequentially. [Newtonsoft.Json.JsonPropertyAttribute("shipmentTrackingInfos")] public virtual System.Collections.Generic.IList ShipmentTrackingInfos { get; set; } + /// The date of shipping of the shipment, in ISO 8601 format. [Newtonsoft.Json.JsonPropertyAttribute("shippingDate")] public virtual string ShippingDate { get; set; } + /// State of the shipment. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -14185,9 +14212,11 @@ public class ShipmentInvoiceLineItemInvoice : Google.Apis.Requests.IDirectRespon public class ShipmentTrackingInfo : Google.Apis.Requests.IDirectResponseSchema { + /// The shipping carrier that handles the package. [Newtonsoft.Json.JsonPropertyAttribute("carrier")] public virtual string Carrier { get; set; } + /// The tracking number for the package. [Newtonsoft.Json.JsonPropertyAttribute("trackingNumber")] public virtual string TrackingNumber { get; set; } diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj index 06ade0cd8ae..1697a5e6bc6 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj @@ -3,7 +3,7 @@ Google.Apis.ShoppingContent.v2_1 Client Library - 1.44.0.1861 + 1.44.0.1875 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs index 27c69a0af36..880bfce79a9 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs +++ b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Spanner API * API Versionv1 - * API Rev20200208 (1864) + * API Rev20200224 (1880) * API Docs * * https://cloud.google.com/spanner/ @@ -4878,6 +4878,10 @@ public class ExecuteSqlRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("queryMode")] public virtual string QueryMode { get; set; } + /// Query optimizer configuration to use for the given query. + [Newtonsoft.Json.JsonPropertyAttribute("queryOptions")] + public virtual QueryOptions QueryOptions { get; set; } + /// If this request is resuming a previously interrupted SQL statement execution, `resume_token` should /// be copied from the last PartialResultSet yielded before the interruption. Doing this enables the new SQL /// statement execution to resume where the last one left off. The rest of the request parameters must exactly @@ -5037,18 +5041,7 @@ public class Instance : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } - /// Output only. A set of endpoint URIs based on your instance config that you can use instead of the - /// global endpoint `spanner.googleapis.com`. - /// - /// For example, if your instance config is `us-central1` (a regional config in Iowa), then your instance - /// specific endpoints may include `us-central1-spanner.googleapis.com`. By calling these endpoints instead of - /// the global endpoint, you optimize network routing which could reduce network latency. - /// - /// The client libraries, JDBC drivers, and other SDK clients automatically call these instance specific - /// endpoints. - /// - /// If you are using DNS whitelists, firewalls, or filtering to control access to endpoints, make sure you grant - /// access to `*spanner.googleapis.com`. + /// Deprecated. This field is not populated. [Newtonsoft.Json.JsonPropertyAttribute("endpointUris")] public virtual System.Collections.Generic.IList EndpointUris { get; set; } @@ -5716,6 +5709,28 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema } + /// Query optimizer configuration. + public class QueryOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// An option to control the selection of optimizer version. + /// + /// This parameter allows individual queries to pick different query optimizer versions. + /// + /// Specifying "latest" as a value instructs Cloud Spanner to use the latest supported query optimizer version. + /// If not specified, Cloud Spanner uses optimizer version set at the database level options. Any other positive + /// integer (from the list of supported optimizer versions) overrides the default optimizer version for query + /// execution. The list of supported optimizer versions can be queried from + /// SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS. Executing a SQL statement with an invalid optimizer version will + /// fail with a syntax error (`INVALID_ARGUMENT`) status. + /// + /// The `optimizer_version` statement hint has precedence over this setting. + [Newtonsoft.Json.JsonPropertyAttribute("optimizerVersion")] + public virtual string OptimizerVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Contains an ordered list of nodes appearing in the query plan. public class QueryPlan : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj index 78d766e127d..ac784b5f399 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj +++ b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Spanner.v1 Client Library - 1.44.0.1864 + 1.44.0.1880 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs index 718f88605b9..1236ecbb4df 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs @@ -26,7 +26,7 @@ * API * Storage Transfer API * API Versionv1 - * API Rev20200215 (1871) + * API Rev20200226 (1882) * API Docs * * https://cloud.google.com/storage-transfer/docs diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj index c0276e33605..23298246401 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Storagetransfer.v1 Client Library - 1.44.0.1871 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs index 0a4ccc7697a..948280bf209 100644 --- a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs +++ b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs @@ -26,7 +26,7 @@ * API * Street View Publish API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200227 (1883) * API Docs * * https://developers.google.com/streetview/publish/ diff --git a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj index 1225577147a..ec07f26f091 100644 --- a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj +++ b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.StreetViewPublish.v1 Client Library - 1.44.0.1881 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs index e6891b3f44e..0f55d6519fa 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs +++ b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs @@ -26,7 +26,7 @@ * API * Tag Manager API * API Versionv1 - * API Rev20200220 (1876) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/tag-manager diff --git a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj index f16917d9027..d62fc8b5b0e 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj +++ b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.TagManager.v1 Client Library - 1.44.0.1876 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs index 883dfc4eded..06e11533482 100644 --- a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs +++ b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs @@ -26,7 +26,7 @@ * API * Tag Manager API * API Versionv2 - * API Rev20200220 (1876) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/tag-manager diff --git a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj index b3d80b75d69..454bc16f400 100644 --- a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj +++ b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.TagManager.v2 Client Library - 1.44.0.1876 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.cs b/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.cs index 9064b84dc7f..59bc1856b61 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.cs +++ b/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.cs @@ -26,7 +26,7 @@ * API * Cloud Tool Results API * API Versionv1 - * API Rev20200226 (1882) + * API Rev20200227 (1883) * API Docs * * https://firebase.google.com/docs/test-lab/ diff --git a/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.csproj b/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.csproj index cc01cc0084b..1e4ea0972a0 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1/Google.Apis.ToolResults.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ToolResults.v1 Client Library - 1.44.0.1882 + 1.44.0.1883 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs index cc0702cdd75..11f98bd384b 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs @@ -26,7 +26,7 @@ * API * Cloud Tool Results API * API Versionv1beta3 - * API Rev20200220 (1876) + * API Rev20200226 (1882) * API Docs * * https://firebase.google.com/docs/test-lab/ diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj index 449032b8898..c9b104a6f7e 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj @@ -3,7 +3,7 @@ Google.Apis.ToolResults.v1beta3 Client Library - 1.44.0.1876 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs index 7deba1d11bf..591d93b9c0d 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs @@ -26,7 +26,7 @@ * API * YouTube Analytics API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/youtube/analytics diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.csproj index 6ee1a1e1304..e413efbf654 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTubeAnalytics.v1 Client Library - 1.44.0.1881 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs index 3605981cec0..5205268a958 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs @@ -26,7 +26,7 @@ * API * YouTube Analytics API * API Versionv2 - * API Rev20200225 (1881) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/youtube/analytics diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj index d88f2236ed5..b42098e2236 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTubeAnalytics.v2 Client Library - 1.44.0.1881 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs index fec6ac4ed4e..7817897a680 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs @@ -26,7 +26,7 @@ * API * YouTube Reporting API * API Versionv1 - * API Rev20200225 (1881) + * API Rev20200226 (1882) * API Docs * * https://developers.google.com/youtube/reporting/v1/reports/ diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj index 57c502d3cdb..fed04da56f4 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTubeReporting.v1 Client Library - 1.44.0.1881 + 1.44.0.1882 Google Inc. Copyright 2017 Google Inc. Google