google-api-client 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -0
- data/api_list_config.yaml +1 -2
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/apigee_v1/classes.rb +5205 -0
- data/generated/google/apis/apigee_v1/representations.rb +1944 -0
- data/generated/google/apis/apigee_v1/service.rb +6068 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -19
- data/generated/google/apis/bigquery_v2/representations.rb +21 -4
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +414 -29
- data/generated/google/apis/compute_alpha/representations.rb +141 -0
- data/generated/google/apis/compute_alpha/service.rb +351 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +34 -29
- data/generated/google/apis/compute_beta/service.rb +3 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +129 -10
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -132
- data/generated/google/apis/container_v1/service.rb +168 -159
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +186 -134
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1/service.rb +169 -160
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1176 -1094
- data/generated/google/apis/content_v2/representations.rb +31 -0
- data/generated/google/apis/content_v2/service.rb +45 -45
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1801 -931
- data/generated/google/apis/content_v2_1/representations.rb +351 -0
- data/generated/google/apis/content_v2_1/service.rb +299 -47
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -36
- data/generated/google/apis/dataproc_v1/service.rb +14 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
- data/generated/google/apis/dialogflow_v2/service.rb +39 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
- data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
- data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +51 -57
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +28 -29
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1/service.rb +5 -5
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1/service.rb +10 -7
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +0 -6
- data/generated/google/apis/games_management_v1management/representations.rb +0 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -7
- data/generated/google/apis/games_v1/representations.rb +0 -1
- data/generated/google/apis/games_v1/service.rb +3 -12
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +9 -7
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +8 -6
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
- data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +41 -38
- data/generated/google/apis/ml_v1/service.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +27 -38
- data/generated/google/apis/monitoring_v3/representations.rb +3 -16
- data/generated/google/apis/monitoring_v3/service.rb +6 -5
- data/generated/google/apis/people_v1.rb +7 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +22 -46
- data/generated/google/apis/run_v1/representations.rb +5 -19
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
- data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +21 -0
- data/generated/google/apis/storage_v1/representations.rb +5 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
- data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
- data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +6 -6
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -11
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
- data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class GoogleCloudDialogflowV2Environment
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class GoogleCloudDialogflowV2EventInput
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -394,6 +400,12 @@ module Google
|
|
394
400
|
include Google::Apis::Core::JsonObjectSupport
|
395
401
|
end
|
396
402
|
|
403
|
+
class GoogleCloudDialogflowV2ListEnvironmentsResponse
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
397
409
|
class GoogleCloudDialogflowV2ListIntentsResponse
|
398
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
411
|
|
@@ -934,6 +946,12 @@ module Google
|
|
934
946
|
include Google::Apis::Core::JsonObjectSupport
|
935
947
|
end
|
936
948
|
|
949
|
+
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
937
955
|
class GoogleLongrunningListOperationsResponse
|
938
956
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
957
|
|
@@ -1150,6 +1168,17 @@ module Google
|
|
1150
1168
|
end
|
1151
1169
|
end
|
1152
1170
|
|
1171
|
+
class GoogleCloudDialogflowV2Environment
|
1172
|
+
# @private
|
1173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1174
|
+
property :agent_version, as: 'agentVersion'
|
1175
|
+
property :description, as: 'description'
|
1176
|
+
property :name, as: 'name'
|
1177
|
+
property :state, as: 'state'
|
1178
|
+
property :update_time, as: 'updateTime'
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1153
1182
|
class GoogleCloudDialogflowV2EventInput
|
1154
1183
|
# @private
|
1155
1184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1614,6 +1643,15 @@ module Google
|
|
1614
1643
|
end
|
1615
1644
|
end
|
1616
1645
|
|
1646
|
+
class GoogleCloudDialogflowV2ListEnvironmentsResponse
|
1647
|
+
# @private
|
1648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1649
|
+
collection :environments, as: 'environments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment::Representation
|
1650
|
+
|
1651
|
+
property :next_page_token, as: 'nextPageToken'
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1617
1655
|
class GoogleCloudDialogflowV2ListIntentsResponse
|
1618
1656
|
# @private
|
1619
1657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2566,6 +2604,14 @@ module Google
|
|
2566
2604
|
end
|
2567
2605
|
end
|
2568
2606
|
|
2607
|
+
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
2608
|
+
# @private
|
2609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2610
|
+
property :agent_content, :base64 => true, as: 'agentContent'
|
2611
|
+
property :agent_uri, as: 'agentUri'
|
2612
|
+
end
|
2613
|
+
end
|
2614
|
+
|
2569
2615
|
class GoogleLongrunningListOperationsResponse
|
2570
2616
|
# @private
|
2571
2617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -826,6 +826,45 @@ module Google
|
|
826
826
|
execute_or_queue_command(command, &block)
|
827
827
|
end
|
828
828
|
|
829
|
+
# Returns the list of all non-draft environments of the specified agent.
|
830
|
+
# @param [String] parent
|
831
|
+
# Required. The agent to list all environments from.
|
832
|
+
# Format: `projects/<Project ID>/agent`.
|
833
|
+
# @param [Fixnum] page_size
|
834
|
+
# Optional. The maximum number of items to return in a single page. By default
|
835
|
+
# 100 and
|
836
|
+
# at most 1000.
|
837
|
+
# @param [String] page_token
|
838
|
+
# Optional. The next_page_token value returned from a previous list request.
|
839
|
+
# @param [String] fields
|
840
|
+
# Selector specifying which fields to include in a partial response.
|
841
|
+
# @param [String] quota_user
|
842
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
843
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
844
|
+
# @param [Google::Apis::RequestOptions] options
|
845
|
+
# Request-specific options
|
846
|
+
#
|
847
|
+
# @yield [result, err] Result & error if block supplied
|
848
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse] parsed result object
|
849
|
+
# @yieldparam err [StandardError] error object if request failed
|
850
|
+
#
|
851
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse]
|
852
|
+
#
|
853
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
854
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
855
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
856
|
+
def list_project_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
857
|
+
command = make_simple_command(:get, 'v2/{+parent}/environments', options)
|
858
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse::Representation
|
859
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse
|
860
|
+
command.params['parent'] = parent unless parent.nil?
|
861
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
862
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
863
|
+
command.query['fields'] = fields unless fields.nil?
|
864
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
865
|
+
execute_or_queue_command(command, &block)
|
866
|
+
end
|
867
|
+
|
829
868
|
# Deletes all active contexts in the specified session.
|
830
869
|
# @param [String] parent
|
831
870
|
# Required. The name of the session to delete all contexts from. Format:
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200503'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -142,7 +142,7 @@ module Google
|
|
142
142
|
# - MapKey value: parameter name
|
143
143
|
# - MapValue type:
|
144
144
|
# - If parameter's entity type is a composite entity: map
|
145
|
-
# - Else: string
|
145
|
+
# - Else: string or number, depending on parameter value type
|
146
146
|
# - MapValue value:
|
147
147
|
# - If parameter's entity type is a composite entity:
|
148
148
|
# map from composite entity property names to property values
|
@@ -322,6 +322,18 @@ module Google
|
|
322
322
|
attr_accessor :name
|
323
323
|
|
324
324
|
# The collection of parameters associated with the event.
|
325
|
+
# Depending on your protocol or client library language, this is a
|
326
|
+
# map, associative array, symbol table, dictionary, or JSON object
|
327
|
+
# composed of a collection of (MapKey, MapValue) pairs:
|
328
|
+
# - MapKey type: string
|
329
|
+
# - MapKey value: parameter name
|
330
|
+
# - MapValue type:
|
331
|
+
# - If parameter's entity type is a composite entity: map
|
332
|
+
# - Else: string or number, depending on parameter value type
|
333
|
+
# - MapValue value:
|
334
|
+
# - If parameter's entity type is a composite entity:
|
335
|
+
# map from composite entity property names to property values
|
336
|
+
# - Else: parameter value
|
325
337
|
# Corresponds to the JSON property `parameters`
|
326
338
|
# @return [Hash<String,Object>]
|
327
339
|
attr_accessor :parameters
|
@@ -1829,6 +1841,18 @@ module Google
|
|
1829
1841
|
attr_accessor :output_contexts
|
1830
1842
|
|
1831
1843
|
# The collection of extracted parameters.
|
1844
|
+
# Depending on your protocol or client library language, this is a
|
1845
|
+
# map, associative array, symbol table, dictionary, or JSON object
|
1846
|
+
# composed of a collection of (MapKey, MapValue) pairs:
|
1847
|
+
# - MapKey type: string
|
1848
|
+
# - MapKey value: parameter name
|
1849
|
+
# - MapValue type:
|
1850
|
+
# - If parameter's entity type is a composite entity: map
|
1851
|
+
# - Else: string or number, depending on parameter value type
|
1852
|
+
# - MapValue value:
|
1853
|
+
# - If parameter's entity type is a composite entity:
|
1854
|
+
# map from composite entity property names to property values
|
1855
|
+
# - Else: parameter value
|
1832
1856
|
# Corresponds to the JSON property `parameters`
|
1833
1857
|
# @return [Hash<String,Object>]
|
1834
1858
|
attr_accessor :parameters
|
@@ -2059,29 +2083,33 @@ module Google
|
|
2059
2083
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EventInput]
|
2060
2084
|
attr_accessor :followup_event_input
|
2061
2085
|
|
2062
|
-
# Optional. The
|
2063
|
-
#
|
2086
|
+
# Optional. The rich response messages intended for the end-user.
|
2087
|
+
# When provided, Dialogflow uses this field to populate
|
2088
|
+
# QueryResult.fulfillment_messages sent to the integration or API caller.
|
2064
2089
|
# Corresponds to the JSON property `fulfillmentMessages`
|
2065
2090
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage>]
|
2066
2091
|
attr_accessor :fulfillment_messages
|
2067
2092
|
|
2068
|
-
# Optional. The text
|
2069
|
-
# to `
|
2093
|
+
# Optional. The text response message intended for the end-user.
|
2094
|
+
# It is recommended to use `fulfillment_messages.text.text[0]` instead.
|
2095
|
+
# When provided, Dialogflow uses this field to populate
|
2096
|
+
# QueryResult.fulfillment_text sent to the integration or API caller.
|
2070
2097
|
# Corresponds to the JSON property `fulfillmentText`
|
2071
2098
|
# @return [String]
|
2072
2099
|
attr_accessor :fulfillment_text
|
2073
2100
|
|
2074
|
-
# Optional. The collection of output contexts
|
2075
|
-
#
|
2101
|
+
# Optional. The collection of output contexts that will overwrite currently
|
2102
|
+
# active contexts for the session and reset their lifespans.
|
2103
|
+
# When provided, Dialogflow uses this field to populate
|
2104
|
+
# QueryResult.output_contexts sent to the integration or API caller.
|
2076
2105
|
# Corresponds to the JSON property `outputContexts`
|
2077
2106
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context>]
|
2078
2107
|
attr_accessor :output_contexts
|
2079
2108
|
|
2080
2109
|
# Optional. This field can be used to pass custom data from your webhook to the
|
2081
|
-
# API
|
2082
|
-
# caller. Arbitrary JSON objects are supported.
|
2110
|
+
# integration or API caller. Arbitrary JSON objects are supported.
|
2083
2111
|
# When provided, Dialogflow uses this field to populate
|
2084
|
-
#
|
2112
|
+
# QueryResult.webhook_payload sent to the integration or API caller.
|
2085
2113
|
# This field is also used by the
|
2086
2114
|
# [Google Assistant
|
2087
2115
|
# integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
|
@@ -2095,14 +2123,17 @@ module Google
|
|
2095
2123
|
|
2096
2124
|
# Optional. Additional session entity types to replace or extend developer
|
2097
2125
|
# entity types with. The entity synonyms apply to all languages and persist
|
2098
|
-
# for the session
|
2099
|
-
#
|
2100
|
-
# `
|
2126
|
+
# for the session. Setting this data from a webhook overwrites
|
2127
|
+
# the session entity types that have been set using `detectIntent`,
|
2128
|
+
# `streamingDetectIntent` or SessionEntityType management methods.
|
2101
2129
|
# Corresponds to the JSON property `sessionEntityTypes`
|
2102
2130
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SessionEntityType>]
|
2103
2131
|
attr_accessor :session_entity_types
|
2104
2132
|
|
2105
|
-
# Optional.
|
2133
|
+
# Optional. A custom field used to identify the webhook source.
|
2134
|
+
# Arbitrary strings are supported.
|
2135
|
+
# When provided, Dialogflow uses this field to populate
|
2136
|
+
# QueryResult.webhook_source sent to the integration or API caller.
|
2106
2137
|
# Corresponds to the JSON property `source`
|
2107
2138
|
# @return [String]
|
2108
2139
|
attr_accessor :source
|
@@ -2606,7 +2637,7 @@ module Google
|
|
2606
2637
|
# - MapKey value: parameter name
|
2607
2638
|
# - MapValue type:
|
2608
2639
|
# - If parameter's entity type is a composite entity: map
|
2609
|
-
# - Else: string
|
2640
|
+
# - Else: string or number, depending on parameter value type
|
2610
2641
|
# - MapValue value:
|
2611
2642
|
# - If parameter's entity type is a composite entity:
|
2612
2643
|
# map from composite entity property names to property values
|
@@ -2784,17 +2815,40 @@ module Google
|
|
2784
2815
|
# @return [String]
|
2785
2816
|
attr_accessor :display_name
|
2786
2817
|
|
2818
|
+
# Optional. If true, we try to automatically reload the document every day
|
2819
|
+
# (at a time picked by the system). If false or unspecified, we don't try
|
2820
|
+
# to automatically reload the document.
|
2821
|
+
# Currently you can only enable automatic reload for documents sourced from
|
2822
|
+
# a public url, see `source` field for the source types.
|
2823
|
+
# Reload status can be tracked in `latest_reload_status`. If a reload
|
2824
|
+
# fails, we will keep the document unchanged.
|
2825
|
+
# If a reload fails with internal errors, the system will try to reload the
|
2826
|
+
# document on the next day.
|
2827
|
+
# If a reload fails with non-retriable errors (e.g. PERMISION_DENIED), the
|
2828
|
+
# system will not try to reload the document anymore. You need to manually
|
2829
|
+
# reload the document successfully by calling `ReloadDocument` and clear the
|
2830
|
+
# errors.
|
2831
|
+
# Corresponds to the JSON property `enableAutoReload`
|
2832
|
+
# @return [Boolean]
|
2833
|
+
attr_accessor :enable_auto_reload
|
2834
|
+
alias_method :enable_auto_reload?, :enable_auto_reload
|
2835
|
+
|
2787
2836
|
# Required. The knowledge type of document content.
|
2788
2837
|
# Corresponds to the JSON property `knowledgeTypes`
|
2789
2838
|
# @return [Array<String>]
|
2790
2839
|
attr_accessor :knowledge_types
|
2791
2840
|
|
2841
|
+
# The status of a reload attempt.
|
2842
|
+
# Corresponds to the JSON property `latestReloadStatus`
|
2843
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DocumentReloadStatus]
|
2844
|
+
attr_accessor :latest_reload_status
|
2845
|
+
|
2792
2846
|
# Required. The MIME type of this document.
|
2793
2847
|
# Corresponds to the JSON property `mimeType`
|
2794
2848
|
# @return [String]
|
2795
2849
|
attr_accessor :mime_type
|
2796
2850
|
|
2797
|
-
# The document resource name.
|
2851
|
+
# Optional. The document resource name.
|
2798
2852
|
# The name must be empty when creating a document.
|
2799
2853
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
2800
2854
|
# ID>/documents/<Document ID>`.
|
@@ -2818,13 +2872,47 @@ module Google
|
|
2818
2872
|
@content = args[:content] if args.key?(:content)
|
2819
2873
|
@content_uri = args[:content_uri] if args.key?(:content_uri)
|
2820
2874
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2875
|
+
@enable_auto_reload = args[:enable_auto_reload] if args.key?(:enable_auto_reload)
|
2821
2876
|
@knowledge_types = args[:knowledge_types] if args.key?(:knowledge_types)
|
2877
|
+
@latest_reload_status = args[:latest_reload_status] if args.key?(:latest_reload_status)
|
2822
2878
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
2823
2879
|
@name = args[:name] if args.key?(:name)
|
2824
2880
|
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
2825
2881
|
end
|
2826
2882
|
end
|
2827
2883
|
|
2884
|
+
# The status of a reload attempt.
|
2885
|
+
class GoogleCloudDialogflowV2beta1DocumentReloadStatus
|
2886
|
+
include Google::Apis::Core::Hashable
|
2887
|
+
|
2888
|
+
# The `Status` type defines a logical error model that is suitable for
|
2889
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
2890
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2891
|
+
# three pieces of data: error code, error message, and error details.
|
2892
|
+
# You can find out more about this error model and how to work with it in the
|
2893
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2894
|
+
# Corresponds to the JSON property `status`
|
2895
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
|
2896
|
+
attr_accessor :status
|
2897
|
+
|
2898
|
+
# Output only. The time of a reload attempt.
|
2899
|
+
# This reload may have been triggered automatically or manually and may
|
2900
|
+
# not have succeeded.
|
2901
|
+
# Corresponds to the JSON property `time`
|
2902
|
+
# @return [String]
|
2903
|
+
attr_accessor :time
|
2904
|
+
|
2905
|
+
def initialize(**args)
|
2906
|
+
update!(**args)
|
2907
|
+
end
|
2908
|
+
|
2909
|
+
# Update properties of this object
|
2910
|
+
def update!(**args)
|
2911
|
+
@status = args[:status] if args.key?(:status)
|
2912
|
+
@time = args[:time] if args.key?(:time)
|
2913
|
+
end
|
2914
|
+
end
|
2915
|
+
|
2828
2916
|
# Represents an entity type.
|
2829
2917
|
# Entity types serve as a tool for extracting parameter values from natural
|
2830
2918
|
# language queries.
|
@@ -2936,6 +3024,57 @@ module Google
|
|
2936
3024
|
end
|
2937
3025
|
end
|
2938
3026
|
|
3027
|
+
# Represents an agent environment.
|
3028
|
+
class GoogleCloudDialogflowV2beta1Environment
|
3029
|
+
include Google::Apis::Core::Hashable
|
3030
|
+
|
3031
|
+
# Optional. The agent version loaded into this environment.
|
3032
|
+
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
|
3033
|
+
# Corresponds to the JSON property `agentVersion`
|
3034
|
+
# @return [String]
|
3035
|
+
attr_accessor :agent_version
|
3036
|
+
|
3037
|
+
# Optional. The developer-provided description for this environment.
|
3038
|
+
# The maximum length is 500 characters. If exceeded, the request is rejected.
|
3039
|
+
# Corresponds to the JSON property `description`
|
3040
|
+
# @return [String]
|
3041
|
+
attr_accessor :description
|
3042
|
+
|
3043
|
+
# Output only. The unique identifier of this agent environment.
|
3044
|
+
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
3045
|
+
# For Environment ID, "-" is reserved for 'draft' environment.
|
3046
|
+
# Corresponds to the JSON property `name`
|
3047
|
+
# @return [String]
|
3048
|
+
attr_accessor :name
|
3049
|
+
|
3050
|
+
# Output only. The state of this environment. This field is read-only, i.e., it
|
3051
|
+
# cannot be
|
3052
|
+
# set by create and update methods.
|
3053
|
+
# Corresponds to the JSON property `state`
|
3054
|
+
# @return [String]
|
3055
|
+
attr_accessor :state
|
3056
|
+
|
3057
|
+
# Output only. The last update time of this environment. This field is read-only,
|
3058
|
+
# i.e., it
|
3059
|
+
# cannot be set by create and update methods.
|
3060
|
+
# Corresponds to the JSON property `updateTime`
|
3061
|
+
# @return [String]
|
3062
|
+
attr_accessor :update_time
|
3063
|
+
|
3064
|
+
def initialize(**args)
|
3065
|
+
update!(**args)
|
3066
|
+
end
|
3067
|
+
|
3068
|
+
# Update properties of this object
|
3069
|
+
def update!(**args)
|
3070
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
3071
|
+
@description = args[:description] if args.key?(:description)
|
3072
|
+
@name = args[:name] if args.key?(:name)
|
3073
|
+
@state = args[:state] if args.key?(:state)
|
3074
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3075
|
+
end
|
3076
|
+
end
|
3077
|
+
|
2939
3078
|
# Events allow for matching intents by event name instead of the natural
|
2940
3079
|
# language input. For instance, input `<event: ` name: "welcome_event",
|
2941
3080
|
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
@@ -2958,6 +3097,18 @@ module Google
|
|
2958
3097
|
attr_accessor :name
|
2959
3098
|
|
2960
3099
|
# The collection of parameters associated with the event.
|
3100
|
+
# Depending on your protocol or client library language, this is a
|
3101
|
+
# map, associative array, symbol table, dictionary, or JSON object
|
3102
|
+
# composed of a collection of (MapKey, MapValue) pairs:
|
3103
|
+
# - MapKey type: string
|
3104
|
+
# - MapKey value: parameter name
|
3105
|
+
# - MapValue type:
|
3106
|
+
# - If parameter's entity type is a composite entity: map
|
3107
|
+
# - Else: string or number, depending on parameter value type
|
3108
|
+
# - MapValue value:
|
3109
|
+
# - If parameter's entity type is a composite entity:
|
3110
|
+
# map from composite entity property names to property values
|
3111
|
+
# - Else: parameter value
|
2961
3112
|
# Corresponds to the JSON property `parameters`
|
2962
3113
|
# @return [Hash<String,Object>]
|
2963
3114
|
attr_accessor :parameters
|
@@ -3121,6 +3272,7 @@ module Google
|
|
3121
3272
|
attr_accessor :request_headers
|
3122
3273
|
|
3123
3274
|
# Required. The fulfillment URI for receiving POST requests.
|
3275
|
+
# It must use https protocol.
|
3124
3276
|
# Corresponds to the JSON property `uri`
|
3125
3277
|
# @return [String]
|
3126
3278
|
attr_accessor :uri
|
@@ -3344,7 +3496,7 @@ module Google
|
|
3344
3496
|
# @return [Array<String>]
|
3345
3497
|
attr_accessor :events
|
3346
3498
|
|
3347
|
-
#
|
3499
|
+
# Output only. Information about all followup intents that have this intent as
|
3348
3500
|
# a direct or indirect parent. We populate this field only in the output.
|
3349
3501
|
# Corresponds to the JSON property `followupIntentInfo`
|
3350
3502
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>]
|
@@ -3394,7 +3546,7 @@ module Google
|
|
3394
3546
|
attr_accessor :ml_enabled
|
3395
3547
|
alias_method :ml_enabled?, :ml_enabled
|
3396
3548
|
|
3397
|
-
# The unique identifier of this intent.
|
3549
|
+
# Optional. The unique identifier of this intent.
|
3398
3550
|
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
|
3399
3551
|
# methods.
|
3400
3552
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
@@ -3416,7 +3568,7 @@ module Google
|
|
3416
3568
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter>]
|
3417
3569
|
attr_accessor :parameters
|
3418
3570
|
|
3419
|
-
#
|
3571
|
+
# Optional. The unique identifier of the parent intent in the
|
3420
3572
|
# chain of followup intents. You can set this field when creating an intent,
|
3421
3573
|
# for example with CreateIntent or
|
3422
3574
|
# BatchUpdateIntents, in order to make this
|
@@ -3427,7 +3579,7 @@ module Google
|
|
3427
3579
|
# @return [String]
|
3428
3580
|
attr_accessor :parent_followup_intent_name
|
3429
3581
|
|
3430
|
-
# The priority of this intent. Higher numbers represent higher
|
3582
|
+
# Optional. The priority of this intent. Higher numbers represent higher
|
3431
3583
|
# priorities.
|
3432
3584
|
# - If the supplied value is unspecified or 0, the service
|
3433
3585
|
# translates the value to 500,000, which corresponds to the
|
@@ -3445,9 +3597,9 @@ module Google
|
|
3445
3597
|
attr_accessor :reset_contexts
|
3446
3598
|
alias_method :reset_contexts?, :reset_contexts
|
3447
3599
|
|
3448
|
-
#
|
3600
|
+
# Output only. The unique identifier of the root intent in the chain of
|
3449
3601
|
# followup intents. It identifies the correct followup intents chain for
|
3450
|
-
# this intent.
|
3602
|
+
# this intent.
|
3451
3603
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
3452
3604
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
3453
3605
|
# @return [String]
|
@@ -5225,7 +5377,7 @@ module Google
|
|
5225
5377
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
5226
5378
|
include Google::Apis::Core::Hashable
|
5227
5379
|
|
5228
|
-
# Required. The current state of this operation.
|
5380
|
+
# Required. Output only. The current state of this operation.
|
5229
5381
|
# Corresponds to the JSON property `state`
|
5230
5382
|
# @return [String]
|
5231
5383
|
attr_accessor :state
|
@@ -5344,6 +5496,33 @@ module Google
|
|
5344
5496
|
end
|
5345
5497
|
end
|
5346
5498
|
|
5499
|
+
# The response message for Environments.ListEnvironments.
|
5500
|
+
class GoogleCloudDialogflowV2beta1ListEnvironmentsResponse
|
5501
|
+
include Google::Apis::Core::Hashable
|
5502
|
+
|
5503
|
+
# The list of agent environments. There will be a maximum number of items
|
5504
|
+
# returned based on the page_size field in the request.
|
5505
|
+
# Corresponds to the JSON property `environments`
|
5506
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment>]
|
5507
|
+
attr_accessor :environments
|
5508
|
+
|
5509
|
+
# Token to retrieve the next page of results, or empty if there are no
|
5510
|
+
# more results in the list.
|
5511
|
+
# Corresponds to the JSON property `nextPageToken`
|
5512
|
+
# @return [String]
|
5513
|
+
attr_accessor :next_page_token
|
5514
|
+
|
5515
|
+
def initialize(**args)
|
5516
|
+
update!(**args)
|
5517
|
+
end
|
5518
|
+
|
5519
|
+
# Update properties of this object
|
5520
|
+
def update!(**args)
|
5521
|
+
@environments = args[:environments] if args.key?(:environments)
|
5522
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5523
|
+
end
|
5524
|
+
end
|
5525
|
+
|
5347
5526
|
# The response message for Intents.ListIntents.
|
5348
5527
|
class GoogleCloudDialogflowV2beta1ListIntentsResponse
|
5349
5528
|
include Google::Apis::Core::Hashable
|
@@ -5728,6 +5907,18 @@ module Google
|
|
5728
5907
|
attr_accessor :output_contexts
|
5729
5908
|
|
5730
5909
|
# The collection of extracted parameters.
|
5910
|
+
# Depending on your protocol or client library language, this is a
|
5911
|
+
# map, associative array, symbol table, dictionary, or JSON object
|
5912
|
+
# composed of a collection of (MapKey, MapValue) pairs:
|
5913
|
+
# - MapKey type: string
|
5914
|
+
# - MapKey value: parameter name
|
5915
|
+
# - MapValue type:
|
5916
|
+
# - If parameter's entity type is a composite entity: map
|
5917
|
+
# - Else: string or number, depending on parameter value type
|
5918
|
+
# - MapValue value:
|
5919
|
+
# - If parameter's entity type is a composite entity:
|
5920
|
+
# map from composite entity property names to property values
|
5921
|
+
# - Else: parameter value
|
5731
5922
|
# Corresponds to the JSON property `parameters`
|
5732
5923
|
# @return [Hash<String,Object>]
|
5733
5924
|
attr_accessor :parameters
|
@@ -6329,29 +6520,33 @@ module Google
|
|
6329
6520
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
|
6330
6521
|
attr_accessor :followup_event_input
|
6331
6522
|
|
6332
|
-
# Optional. The
|
6333
|
-
#
|
6523
|
+
# Optional. The rich response messages intended for the end-user.
|
6524
|
+
# When provided, Dialogflow uses this field to populate
|
6525
|
+
# QueryResult.fulfillment_messages sent to the integration or API caller.
|
6334
6526
|
# Corresponds to the JSON property `fulfillmentMessages`
|
6335
6527
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage>]
|
6336
6528
|
attr_accessor :fulfillment_messages
|
6337
6529
|
|
6338
|
-
# Optional. The text
|
6339
|
-
# to `
|
6530
|
+
# Optional. The text response message intended for the end-user.
|
6531
|
+
# It is recommended to use `fulfillment_messages.text.text[0]` instead.
|
6532
|
+
# When provided, Dialogflow uses this field to populate
|
6533
|
+
# QueryResult.fulfillment_text sent to the integration or API caller.
|
6340
6534
|
# Corresponds to the JSON property `fulfillmentText`
|
6341
6535
|
# @return [String]
|
6342
6536
|
attr_accessor :fulfillment_text
|
6343
6537
|
|
6344
|
-
# Optional. The collection of output contexts
|
6345
|
-
#
|
6538
|
+
# Optional. The collection of output contexts that will overwrite currently
|
6539
|
+
# active contexts for the session and reset their lifespans.
|
6540
|
+
# When provided, Dialogflow uses this field to populate
|
6541
|
+
# QueryResult.output_contexts sent to the integration or API caller.
|
6346
6542
|
# Corresponds to the JSON property `outputContexts`
|
6347
6543
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context>]
|
6348
6544
|
attr_accessor :output_contexts
|
6349
6545
|
|
6350
6546
|
# Optional. This field can be used to pass custom data from your webhook to the
|
6351
|
-
# API
|
6352
|
-
# caller. Arbitrary JSON objects are supported.
|
6547
|
+
# integration or API caller. Arbitrary JSON objects are supported.
|
6353
6548
|
# When provided, Dialogflow uses this field to populate
|
6354
|
-
#
|
6549
|
+
# QueryResult.webhook_payload sent to the integration or API caller.
|
6355
6550
|
# This field is also used by the
|
6356
6551
|
# [Google Assistant
|
6357
6552
|
# integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
|
@@ -6365,14 +6560,17 @@ module Google
|
|
6365
6560
|
|
6366
6561
|
# Optional. Additional session entity types to replace or extend developer
|
6367
6562
|
# entity types with. The entity synonyms apply to all languages and persist
|
6368
|
-
# for the session
|
6369
|
-
#
|
6370
|
-
# `
|
6563
|
+
# for the session. Setting this data from a webhook overwrites
|
6564
|
+
# the session entity types that have been set using `detectIntent`,
|
6565
|
+
# `streamingDetectIntent` or SessionEntityType management methods.
|
6371
6566
|
# Corresponds to the JSON property `sessionEntityTypes`
|
6372
6567
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType>]
|
6373
6568
|
attr_accessor :session_entity_types
|
6374
6569
|
|
6375
|
-
# Optional.
|
6570
|
+
# Optional. A custom field used to identify the webhook source.
|
6571
|
+
# Arbitrary strings are supported.
|
6572
|
+
# When provided, Dialogflow uses this field to populate
|
6573
|
+
# QueryResult.webhook_source sent to the integration or API caller.
|
6376
6574
|
# Corresponds to the JSON property `source`
|
6377
6575
|
# @return [String]
|
6378
6576
|
attr_accessor :source
|
@@ -6394,6 +6592,33 @@ module Google
|
|
6394
6592
|
end
|
6395
6593
|
end
|
6396
6594
|
|
6595
|
+
# The response message for Agents.ExportAgent.
|
6596
|
+
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
6597
|
+
include Google::Apis::Core::Hashable
|
6598
|
+
|
6599
|
+
# Uncompressed raw byte content for agent.
|
6600
|
+
# Corresponds to the JSON property `agentContent`
|
6601
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6602
|
+
# @return [String]
|
6603
|
+
attr_accessor :agent_content
|
6604
|
+
|
6605
|
+
# The URI to a file containing the exported agent. This field is populated
|
6606
|
+
# only if `agent_uri` is specified in ExportAgentRequest.
|
6607
|
+
# Corresponds to the JSON property `agentUri`
|
6608
|
+
# @return [String]
|
6609
|
+
attr_accessor :agent_uri
|
6610
|
+
|
6611
|
+
def initialize(**args)
|
6612
|
+
update!(**args)
|
6613
|
+
end
|
6614
|
+
|
6615
|
+
# Update properties of this object
|
6616
|
+
def update!(**args)
|
6617
|
+
@agent_content = args[:agent_content] if args.key?(:agent_content)
|
6618
|
+
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
6619
|
+
end
|
6620
|
+
end
|
6621
|
+
|
6397
6622
|
# The response message for Operations.ListOperations.
|
6398
6623
|
class GoogleLongrunningListOperationsResponse
|
6399
6624
|
include Google::Apis::Core::Hashable
|