google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -22,120 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2beta1
|
24
24
|
|
25
|
-
class GoogleCloudDialogflowCxV3PageInfo
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class GoogleCloudDialogflowCxV3ResponseMessage
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
|
-
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class GoogleCloudDialogflowCxV3ResponseMessageText
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class GoogleCloudDialogflowCxV3SessionInfo
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class GoogleCloudDialogflowCxV3WebhookRequest
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class GoogleCloudDialogflowCxV3WebhookResponse
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
|
-
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
-
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
137
|
-
end
|
138
|
-
|
139
25
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
140
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
27
|
|
@@ -1252,191 +1138,6 @@ module Google
|
|
1252
1138
|
include Google::Apis::Core::JsonObjectSupport
|
1253
1139
|
end
|
1254
1140
|
|
1255
|
-
class GoogleCloudDialogflowCxV3PageInfo
|
1256
|
-
# @private
|
1257
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1258
|
-
property :current_page, as: 'currentPage'
|
1259
|
-
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
|
1260
|
-
|
1261
|
-
end
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
1265
|
-
# @private
|
1266
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1267
|
-
collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo::Representation
|
1268
|
-
|
1269
|
-
end
|
1270
|
-
end
|
1271
|
-
|
1272
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
1273
|
-
# @private
|
1274
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1275
|
-
property :display_name, as: 'displayName'
|
1276
|
-
property :just_collected, as: 'justCollected'
|
1277
|
-
property :required, as: 'required'
|
1278
|
-
property :state, as: 'state'
|
1279
|
-
property :value, as: 'value'
|
1280
|
-
end
|
1281
|
-
end
|
1282
|
-
|
1283
|
-
class GoogleCloudDialogflowCxV3ResponseMessage
|
1284
|
-
# @private
|
1285
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1286
|
-
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess::Representation
|
1287
|
-
|
1288
|
-
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
1289
|
-
|
1290
|
-
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
1291
|
-
|
1292
|
-
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
1293
|
-
|
1294
|
-
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText::Representation
|
1295
|
-
|
1296
|
-
hash :payload, as: 'payload'
|
1297
|
-
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
|
1298
|
-
|
1299
|
-
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
1300
|
-
|
1301
|
-
end
|
1302
|
-
end
|
1303
|
-
|
1304
|
-
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
1305
|
-
# @private
|
1306
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1307
|
-
hash :metadata, as: 'metadata'
|
1308
|
-
end
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
1312
|
-
# @private
|
1313
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1314
|
-
end
|
1315
|
-
end
|
1316
|
-
|
1317
|
-
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
1318
|
-
# @private
|
1319
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1320
|
-
hash :metadata, as: 'metadata'
|
1321
|
-
end
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
1325
|
-
# @private
|
1326
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1327
|
-
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment::Representation
|
1328
|
-
|
1329
|
-
end
|
1330
|
-
end
|
1331
|
-
|
1332
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
1333
|
-
# @private
|
1334
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1335
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1336
|
-
property :audio, :base64 => true, as: 'audio'
|
1337
|
-
property :uri, as: 'uri'
|
1338
|
-
end
|
1339
|
-
end
|
1340
|
-
|
1341
|
-
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
1342
|
-
# @private
|
1343
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1344
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1345
|
-
property :ssml, as: 'ssml'
|
1346
|
-
property :text, as: 'text'
|
1347
|
-
end
|
1348
|
-
end
|
1349
|
-
|
1350
|
-
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
1351
|
-
# @private
|
1352
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1353
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1354
|
-
property :audio_uri, as: 'audioUri'
|
1355
|
-
end
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
class GoogleCloudDialogflowCxV3ResponseMessageText
|
1359
|
-
# @private
|
1360
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1361
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1362
|
-
collection :text, as: 'text'
|
1363
|
-
end
|
1364
|
-
end
|
1365
|
-
|
1366
|
-
class GoogleCloudDialogflowCxV3SessionInfo
|
1367
|
-
# @private
|
1368
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1369
|
-
hash :parameters, as: 'parameters'
|
1370
|
-
property :session, as: 'session'
|
1371
|
-
end
|
1372
|
-
end
|
1373
|
-
|
1374
|
-
class GoogleCloudDialogflowCxV3WebhookRequest
|
1375
|
-
# @private
|
1376
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1377
|
-
property :detect_intent_response_id, as: 'detectIntentResponseId'
|
1378
|
-
property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo::Representation
|
1379
|
-
|
1380
|
-
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
|
1381
|
-
|
1382
|
-
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
1383
|
-
|
1384
|
-
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
|
1385
|
-
|
1386
|
-
hash :payload, as: 'payload'
|
1387
|
-
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
1388
|
-
|
1389
|
-
end
|
1390
|
-
end
|
1391
|
-
|
1392
|
-
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
1393
|
-
# @private
|
1394
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1395
|
-
property :tag, as: 'tag'
|
1396
|
-
end
|
1397
|
-
end
|
1398
|
-
|
1399
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
1400
|
-
# @private
|
1401
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1402
|
-
property :last_matched_intent, as: 'lastMatchedIntent'
|
1403
|
-
hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
|
1404
|
-
|
1405
|
-
end
|
1406
|
-
end
|
1407
|
-
|
1408
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
1409
|
-
# @private
|
1410
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1411
|
-
property :original_value, as: 'originalValue'
|
1412
|
-
property :resolved_value, as: 'resolvedValue'
|
1413
|
-
end
|
1414
|
-
end
|
1415
|
-
|
1416
|
-
class GoogleCloudDialogflowCxV3WebhookResponse
|
1417
|
-
# @private
|
1418
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1419
|
-
property :fulfillment_response, as: 'fulfillmentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse::Representation
|
1420
|
-
|
1421
|
-
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
|
1422
|
-
|
1423
|
-
hash :payload, as: 'payload'
|
1424
|
-
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
1425
|
-
|
1426
|
-
property :target_flow, as: 'targetFlow'
|
1427
|
-
property :target_page, as: 'targetPage'
|
1428
|
-
end
|
1429
|
-
end
|
1430
|
-
|
1431
|
-
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
1432
|
-
# @private
|
1433
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1434
|
-
property :merge_behavior, as: 'mergeBehavior'
|
1435
|
-
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
1436
|
-
|
1437
|
-
end
|
1438
|
-
end
|
1439
|
-
|
1440
1141
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
1441
1142
|
# @private
|
1442
1143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3167,6 +2868,7 @@ module Google
|
|
3167
2868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3168
2869
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource::Representation
|
3169
2870
|
|
2871
|
+
property :import_gcs_custom_metadata, as: 'importGcsCustomMetadata'
|
3170
2872
|
end
|
3171
2873
|
end
|
3172
2874
|
|
@@ -894,7 +894,9 @@ module Google
|
|
894
894
|
# Processes a natural language query and returns structured, actionable data as
|
895
895
|
# a result. This method is not idempotent, because it may cause contexts and
|
896
896
|
# session entity types to be updated, which in turn might affect results of
|
897
|
-
# future queries.
|
897
|
+
# future queries. Note: Always use agent versions for production traffic. See [
|
898
|
+
# Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
|
899
|
+
# versions).
|
898
900
|
# @param [String] session
|
899
901
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
900
902
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -906,7 +908,9 @@ module Google
|
|
906
908
|
# can be a random number or some type of user and session identifiers (
|
907
909
|
# preferably hashed). The length of the `Session ID` and `User ID` must not
|
908
910
|
# exceed 36 characters. For more information, see the [API interactions guide](
|
909
|
-
# https://cloud.google.com/dialogflow/docs/api-overview).
|
911
|
+
# https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
|
912
|
+
# versions for production traffic. See [Versions and environments](https://cloud.
|
913
|
+
# google.com/dialogflow/es/docs/agents-versions).
|
910
914
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
911
915
|
# @param [String] fields
|
912
916
|
# Selector specifying which fields to include in a partial response.
|
@@ -1621,7 +1625,8 @@ module Google
|
|
1621
1625
|
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
1622
1626
|
# is deprecated; only use `projects.knowledgeBases`.
|
1623
1627
|
# @param [String] parent
|
1624
|
-
# Required. The project to create a knowledge base for. Format: `projects
|
1628
|
+
# Required. The project to create a knowledge base for. Format: `projects//
|
1629
|
+
# locations/`.
|
1625
1630
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1626
1631
|
# @param [String] fields
|
1627
1632
|
# Selector specifying which fields to include in a partial response.
|
@@ -1656,7 +1661,7 @@ module Google
|
|
1656
1661
|
# resource is deprecated; only use `projects.knowledgeBases`.
|
1657
1662
|
# @param [String] name
|
1658
1663
|
# Required. The name of the knowledge base to delete. Format: `projects//
|
1659
|
-
# knowledgeBases/`.
|
1664
|
+
# locations//knowledgeBases/`.
|
1660
1665
|
# @param [Boolean] force
|
1661
1666
|
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
1662
1667
|
# the knowledge base are also deleted.
|
@@ -1692,7 +1697,7 @@ module Google
|
|
1692
1697
|
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
1693
1698
|
# @param [String] name
|
1694
1699
|
# Required. The name of the knowledge base to retrieve. Format `projects//
|
1695
|
-
# knowledgeBases/`.
|
1700
|
+
# locations//knowledgeBases/`.
|
1696
1701
|
# @param [String] fields
|
1697
1702
|
# Selector specifying which fields to include in a partial response.
|
1698
1703
|
# @param [String] quota_user
|
@@ -1724,7 +1729,8 @@ module Google
|
|
1724
1729
|
# projects.agent.knowledgeBases` resource is deprecated; only use `projects.
|
1725
1730
|
# knowledgeBases`.
|
1726
1731
|
# @param [String] parent
|
1727
|
-
# Required. The project to list of knowledge bases for. Format: `projects
|
1732
|
+
# Required. The project to list of knowledge bases for. Format: `projects//
|
1733
|
+
# locations/`.
|
1728
1734
|
# @param [String] filter
|
1729
1735
|
# The filter expression used to filter knowledge bases returned by the list
|
1730
1736
|
# method. The expression has the following syntax: [AND ] ... The following
|
@@ -1777,7 +1783,7 @@ module Google
|
|
1777
1783
|
# resource is deprecated; only use `projects.knowledgeBases`.
|
1778
1784
|
# @param [String] name
|
1779
1785
|
# The knowledge base resource name. The name must be empty when creating a
|
1780
|
-
# knowledge base. Format: `projects//knowledgeBases/`.
|
1786
|
+
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
1781
1787
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1782
1788
|
# @param [String] update_mask
|
1783
1789
|
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
@@ -1817,8 +1823,11 @@ module Google
|
|
1817
1823
|
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
1818
1824
|
# @param [String] parent
|
1819
1825
|
# Required. The knowledge base to create a document for. Format: `projects//
|
1820
|
-
# knowledgeBases/`.
|
1826
|
+
# locations//knowledgeBases/`.
|
1821
1827
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
1828
|
+
# @param [Boolean] import_gcs_custom_metadata
|
1829
|
+
# Whether to import custom metadata from Google Cloud Storage. Only valid when
|
1830
|
+
# the document source is Google Cloud Storage URI.
|
1822
1831
|
# @param [String] fields
|
1823
1832
|
# Selector specifying which fields to include in a partial response.
|
1824
1833
|
# @param [String] quota_user
|
@@ -1836,13 +1845,14 @@ module Google
|
|
1836
1845
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1837
1846
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1838
1847
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1839
|
-
def create_project_agent_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1848
|
+
def create_project_agent_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, import_gcs_custom_metadata: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1840
1849
|
command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
|
1841
1850
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
1842
1851
|
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
1843
1852
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
1844
1853
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
1845
1854
|
command.params['parent'] = parent unless parent.nil?
|
1855
|
+
command.query['importGcsCustomMetadata'] = import_gcs_custom_metadata unless import_gcs_custom_metadata.nil?
|
1846
1856
|
command.query['fields'] = fields unless fields.nil?
|
1847
1857
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1848
1858
|
execute_or_queue_command(command, &block)
|
@@ -1852,7 +1862,7 @@ module Google
|
|
1852
1862
|
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1853
1863
|
# .
|
1854
1864
|
# @param [String] name
|
1855
|
-
# Required. The name of the document to delete. Format: `projects//
|
1865
|
+
# Required. The name of the document to delete. Format: `projects//locations//
|
1856
1866
|
# knowledgeBases//documents/`.
|
1857
1867
|
# @param [String] fields
|
1858
1868
|
# Selector specifying which fields to include in a partial response.
|
@@ -1885,7 +1895,7 @@ module Google
|
|
1885
1895
|
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1886
1896
|
# .
|
1887
1897
|
# @param [String] name
|
1888
|
-
# Required. The name of the document to retrieve. Format `projects//
|
1898
|
+
# Required. The name of the document to retrieve. Format `projects//locations//
|
1889
1899
|
# knowledgeBases//documents/`.
|
1890
1900
|
# @param [String] fields
|
1891
1901
|
# Selector specifying which fields to include in a partial response.
|
@@ -1919,7 +1929,7 @@ module Google
|
|
1919
1929
|
# knowledgeBases.documents`.
|
1920
1930
|
# @param [String] parent
|
1921
1931
|
# Required. The knowledge base to list all documents for. Format: `projects//
|
1922
|
-
# knowledgeBases/`.
|
1932
|
+
# locations//knowledgeBases/`.
|
1923
1933
|
# @param [String] filter
|
1924
1934
|
# The filter expression used to filter documents returned by the list method.
|
1925
1935
|
# The expression has the following syntax: [AND ] ... The following fields and
|
@@ -1970,7 +1980,7 @@ module Google
|
|
1970
1980
|
# .
|
1971
1981
|
# @param [String] name
|
1972
1982
|
# Optional. The document resource name. The name must be empty when creating a
|
1973
|
-
# document. Format: `projects//knowledgeBases//documents/`.
|
1983
|
+
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
1974
1984
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
1975
1985
|
# @param [String] update_mask
|
1976
1986
|
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
@@ -2016,7 +2026,7 @@ module Google
|
|
2016
2026
|
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2017
2027
|
# .
|
2018
2028
|
# @param [String] name
|
2019
|
-
# Required. The name of the document to reload. Format: `projects//
|
2029
|
+
# Required. The name of the document to reload. Format: `projects//locations//
|
2020
2030
|
# knowledgeBases//documents/`
|
2021
2031
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2022
2032
|
# @param [String] fields
|
@@ -2087,7 +2097,9 @@ module Google
|
|
2087
2097
|
# Processes a natural language query and returns structured, actionable data as
|
2088
2098
|
# a result. This method is not idempotent, because it may cause contexts and
|
2089
2099
|
# session entity types to be updated, which in turn might affect results of
|
2090
|
-
# future queries.
|
2100
|
+
# future queries. Note: Always use agent versions for production traffic. See [
|
2101
|
+
# Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
|
2102
|
+
# versions).
|
2091
2103
|
# @param [String] session
|
2092
2104
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
2093
2105
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -2099,7 +2111,9 @@ module Google
|
|
2099
2111
|
# can be a random number or some type of user and session identifiers (
|
2100
2112
|
# preferably hashed). The length of the `Session ID` and `User ID` must not
|
2101
2113
|
# exceed 36 characters. For more information, see the [API interactions guide](
|
2102
|
-
# https://cloud.google.com/dialogflow/docs/api-overview).
|
2114
|
+
# https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
|
2115
|
+
# versions for production traffic. See [Versions and environments](https://cloud.
|
2116
|
+
# google.com/dialogflow/es/docs/agents-versions).
|
2103
2117
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
2104
2118
|
# @param [String] fields
|
2105
2119
|
# Selector specifying which fields to include in a partial response.
|
@@ -2538,7 +2552,8 @@ module Google
|
|
2538
2552
|
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
2539
2553
|
# is deprecated; only use `projects.knowledgeBases`.
|
2540
2554
|
# @param [String] parent
|
2541
|
-
# Required. The project to create a knowledge base for. Format: `projects
|
2555
|
+
# Required. The project to create a knowledge base for. Format: `projects//
|
2556
|
+
# locations/`.
|
2542
2557
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2543
2558
|
# @param [String] fields
|
2544
2559
|
# Selector specifying which fields to include in a partial response.
|
@@ -2573,7 +2588,7 @@ module Google
|
|
2573
2588
|
# resource is deprecated; only use `projects.knowledgeBases`.
|
2574
2589
|
# @param [String] name
|
2575
2590
|
# Required. The name of the knowledge base to delete. Format: `projects//
|
2576
|
-
# knowledgeBases/`.
|
2591
|
+
# locations//knowledgeBases/`.
|
2577
2592
|
# @param [Boolean] force
|
2578
2593
|
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
2579
2594
|
# the knowledge base are also deleted.
|
@@ -2609,7 +2624,7 @@ module Google
|
|
2609
2624
|
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
2610
2625
|
# @param [String] name
|
2611
2626
|
# Required. The name of the knowledge base to retrieve. Format `projects//
|
2612
|
-
# knowledgeBases/`.
|
2627
|
+
# locations//knowledgeBases/`.
|
2613
2628
|
# @param [String] fields
|
2614
2629
|
# Selector specifying which fields to include in a partial response.
|
2615
2630
|
# @param [String] quota_user
|
@@ -2641,7 +2656,8 @@ module Google
|
|
2641
2656
|
# projects.agent.knowledgeBases` resource is deprecated; only use `projects.
|
2642
2657
|
# knowledgeBases`.
|
2643
2658
|
# @param [String] parent
|
2644
|
-
# Required. The project to list of knowledge bases for. Format: `projects
|
2659
|
+
# Required. The project to list of knowledge bases for. Format: `projects//
|
2660
|
+
# locations/`.
|
2645
2661
|
# @param [String] filter
|
2646
2662
|
# The filter expression used to filter knowledge bases returned by the list
|
2647
2663
|
# method. The expression has the following syntax: [AND ] ... The following
|
@@ -2694,7 +2710,7 @@ module Google
|
|
2694
2710
|
# resource is deprecated; only use `projects.knowledgeBases`.
|
2695
2711
|
# @param [String] name
|
2696
2712
|
# The knowledge base resource name. The name must be empty when creating a
|
2697
|
-
# knowledge base. Format: `projects//knowledgeBases/`.
|
2713
|
+
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
2698
2714
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2699
2715
|
# @param [String] update_mask
|
2700
2716
|
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
@@ -2734,8 +2750,11 @@ module Google
|
|
2734
2750
|
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
2735
2751
|
# @param [String] parent
|
2736
2752
|
# Required. The knowledge base to create a document for. Format: `projects//
|
2737
|
-
# knowledgeBases/`.
|
2753
|
+
# locations//knowledgeBases/`.
|
2738
2754
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2755
|
+
# @param [Boolean] import_gcs_custom_metadata
|
2756
|
+
# Whether to import custom metadata from Google Cloud Storage. Only valid when
|
2757
|
+
# the document source is Google Cloud Storage URI.
|
2739
2758
|
# @param [String] fields
|
2740
2759
|
# Selector specifying which fields to include in a partial response.
|
2741
2760
|
# @param [String] quota_user
|
@@ -2753,13 +2772,14 @@ module Google
|
|
2753
2772
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2754
2773
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2755
2774
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2756
|
-
def create_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2775
|
+
def create_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, import_gcs_custom_metadata: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2757
2776
|
command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
|
2758
2777
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
2759
2778
|
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
2760
2779
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
2761
2780
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
2762
2781
|
command.params['parent'] = parent unless parent.nil?
|
2782
|
+
command.query['importGcsCustomMetadata'] = import_gcs_custom_metadata unless import_gcs_custom_metadata.nil?
|
2763
2783
|
command.query['fields'] = fields unless fields.nil?
|
2764
2784
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2765
2785
|
execute_or_queue_command(command, &block)
|
@@ -2769,7 +2789,7 @@ module Google
|
|
2769
2789
|
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2770
2790
|
# .
|
2771
2791
|
# @param [String] name
|
2772
|
-
# Required. The name of the document to delete. Format: `projects//
|
2792
|
+
# Required. The name of the document to delete. Format: `projects//locations//
|
2773
2793
|
# knowledgeBases//documents/`.
|
2774
2794
|
# @param [String] fields
|
2775
2795
|
# Selector specifying which fields to include in a partial response.
|
@@ -2802,7 +2822,7 @@ module Google
|
|
2802
2822
|
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2803
2823
|
# .
|
2804
2824
|
# @param [String] name
|
2805
|
-
# Required. The name of the document to retrieve. Format `projects//
|
2825
|
+
# Required. The name of the document to retrieve. Format `projects//locations//
|
2806
2826
|
# knowledgeBases//documents/`.
|
2807
2827
|
# @param [String] fields
|
2808
2828
|
# Selector specifying which fields to include in a partial response.
|
@@ -2836,7 +2856,7 @@ module Google
|
|
2836
2856
|
# knowledgeBases.documents`.
|
2837
2857
|
# @param [String] parent
|
2838
2858
|
# Required. The knowledge base to list all documents for. Format: `projects//
|
2839
|
-
# knowledgeBases/`.
|
2859
|
+
# locations//knowledgeBases/`.
|
2840
2860
|
# @param [String] filter
|
2841
2861
|
# The filter expression used to filter documents returned by the list method.
|
2842
2862
|
# The expression has the following syntax: [AND ] ... The following fields and
|
@@ -2887,7 +2907,7 @@ module Google
|
|
2887
2907
|
# .
|
2888
2908
|
# @param [String] name
|
2889
2909
|
# Optional. The document resource name. The name must be empty when creating a
|
2890
|
-
# document. Format: `projects//knowledgeBases//documents/`.
|
2910
|
+
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
2891
2911
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2892
2912
|
# @param [String] update_mask
|
2893
2913
|
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
@@ -2933,7 +2953,7 @@ module Google
|
|
2933
2953
|
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2934
2954
|
# .
|
2935
2955
|
# @param [String] name
|
2936
|
-
# Required. The name of the document to reload. Format: `projects//
|
2956
|
+
# Required. The name of the document to reload. Format: `projects//locations//
|
2937
2957
|
# knowledgeBases//documents/`
|
2938
2958
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2939
2959
|
# @param [String] fields
|
@@ -3811,7 +3831,9 @@ module Google
|
|
3811
3831
|
# Processes a natural language query and returns structured, actionable data as
|
3812
3832
|
# a result. This method is not idempotent, because it may cause contexts and
|
3813
3833
|
# session entity types to be updated, which in turn might affect results of
|
3814
|
-
# future queries.
|
3834
|
+
# future queries. Note: Always use agent versions for production traffic. See [
|
3835
|
+
# Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
|
3836
|
+
# versions).
|
3815
3837
|
# @param [String] session
|
3816
3838
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
3817
3839
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -3823,7 +3845,9 @@ module Google
|
|
3823
3845
|
# can be a random number or some type of user and session identifiers (
|
3824
3846
|
# preferably hashed). The length of the `Session ID` and `User ID` must not
|
3825
3847
|
# exceed 36 characters. For more information, see the [API interactions guide](
|
3826
|
-
# https://cloud.google.com/dialogflow/docs/api-overview).
|
3848
|
+
# https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
|
3849
|
+
# versions for production traffic. See [Versions and environments](https://cloud.
|
3850
|
+
# google.com/dialogflow/es/docs/agents-versions).
|
3827
3851
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
3828
3852
|
# @param [String] fields
|
3829
3853
|
# Selector specifying which fields to include in a partial response.
|
@@ -4574,7 +4598,9 @@ module Google
|
|
4574
4598
|
# Processes a natural language query and returns structured, actionable data as
|
4575
4599
|
# a result. This method is not idempotent, because it may cause contexts and
|
4576
4600
|
# session entity types to be updated, which in turn might affect results of
|
4577
|
-
# future queries.
|
4601
|
+
# future queries. Note: Always use agent versions for production traffic. See [
|
4602
|
+
# Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
|
4603
|
+
# versions).
|
4578
4604
|
# @param [String] session
|
4579
4605
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
4580
4606
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -4586,7 +4612,9 @@ module Google
|
|
4586
4612
|
# can be a random number or some type of user and session identifiers (
|
4587
4613
|
# preferably hashed). The length of the `Session ID` and `User ID` must not
|
4588
4614
|
# exceed 36 characters. For more information, see the [API interactions guide](
|
4589
|
-
# https://cloud.google.com/dialogflow/docs/api-overview).
|
4615
|
+
# https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
|
4616
|
+
# versions for production traffic. See [Versions and environments](https://cloud.
|
4617
|
+
# google.com/dialogflow/es/docs/agents-versions).
|
4590
4618
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
4591
4619
|
# @param [String] fields
|
4592
4620
|
# Selector specifying which fields to include in a partial response.
|
@@ -5022,6 +5050,442 @@ module Google
|
|
5022
5050
|
execute_or_queue_command(command, &block)
|
5023
5051
|
end
|
5024
5052
|
|
5053
|
+
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
5054
|
+
# is deprecated; only use `projects.knowledgeBases`.
|
5055
|
+
# @param [String] parent
|
5056
|
+
# Required. The project to create a knowledge base for. Format: `projects//
|
5057
|
+
# locations/`.
|
5058
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
5059
|
+
# @param [String] fields
|
5060
|
+
# Selector specifying which fields to include in a partial response.
|
5061
|
+
# @param [String] quota_user
|
5062
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5063
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5064
|
+
# @param [Google::Apis::RequestOptions] options
|
5065
|
+
# Request-specific options
|
5066
|
+
#
|
5067
|
+
# @yield [result, err] Result & error if block supplied
|
5068
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
|
5069
|
+
# @yieldparam err [StandardError] error object if request failed
|
5070
|
+
#
|
5071
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
|
5072
|
+
#
|
5073
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5074
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5075
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5076
|
+
def create_project_location_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5077
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
|
5078
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
5079
|
+
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
5080
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
5081
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
5082
|
+
command.params['parent'] = parent unless parent.nil?
|
5083
|
+
command.query['fields'] = fields unless fields.nil?
|
5084
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5085
|
+
execute_or_queue_command(command, &block)
|
5086
|
+
end
|
5087
|
+
|
5088
|
+
# Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
5089
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
5090
|
+
# @param [String] name
|
5091
|
+
# Required. The name of the knowledge base to delete. Format: `projects//
|
5092
|
+
# locations//knowledgeBases/`.
|
5093
|
+
# @param [Boolean] force
|
5094
|
+
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
5095
|
+
# the knowledge base are also deleted.
|
5096
|
+
# @param [String] fields
|
5097
|
+
# Selector specifying which fields to include in a partial response.
|
5098
|
+
# @param [String] quota_user
|
5099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5101
|
+
# @param [Google::Apis::RequestOptions] options
|
5102
|
+
# Request-specific options
|
5103
|
+
#
|
5104
|
+
# @yield [result, err] Result & error if block supplied
|
5105
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
5106
|
+
# @yieldparam err [StandardError] error object if request failed
|
5107
|
+
#
|
5108
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
5109
|
+
#
|
5110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5113
|
+
def delete_project_location_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5114
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
5115
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
5116
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
5117
|
+
command.params['name'] = name unless name.nil?
|
5118
|
+
command.query['force'] = force unless force.nil?
|
5119
|
+
command.query['fields'] = fields unless fields.nil?
|
5120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5121
|
+
execute_or_queue_command(command, &block)
|
5122
|
+
end
|
5123
|
+
|
5124
|
+
# Retrieves the specified knowledge base. Note: The `projects.agent.
|
5125
|
+
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
5126
|
+
# @param [String] name
|
5127
|
+
# Required. The name of the knowledge base to retrieve. Format `projects//
|
5128
|
+
# locations//knowledgeBases/`.
|
5129
|
+
# @param [String] fields
|
5130
|
+
# Selector specifying which fields to include in a partial response.
|
5131
|
+
# @param [String] quota_user
|
5132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5134
|
+
# @param [Google::Apis::RequestOptions] options
|
5135
|
+
# Request-specific options
|
5136
|
+
#
|
5137
|
+
# @yield [result, err] Result & error if block supplied
|
5138
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
|
5139
|
+
# @yieldparam err [StandardError] error object if request failed
|
5140
|
+
#
|
5141
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
|
5142
|
+
#
|
5143
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5144
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5145
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5146
|
+
def get_project_location_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
|
5147
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
5148
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
5149
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
5150
|
+
command.params['name'] = name unless name.nil?
|
5151
|
+
command.query['fields'] = fields unless fields.nil?
|
5152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5153
|
+
execute_or_queue_command(command, &block)
|
5154
|
+
end
|
5155
|
+
|
5156
|
+
# Returns the list of all knowledge bases of the specified agent. Note: The `
|
5157
|
+
# projects.agent.knowledgeBases` resource is deprecated; only use `projects.
|
5158
|
+
# knowledgeBases`.
|
5159
|
+
# @param [String] parent
|
5160
|
+
# Required. The project to list of knowledge bases for. Format: `projects//
|
5161
|
+
# locations/`.
|
5162
|
+
# @param [String] filter
|
5163
|
+
# The filter expression used to filter knowledge bases returned by the list
|
5164
|
+
# method. The expression has the following syntax: [AND ] ... The following
|
5165
|
+
# fields and operators are supported: * display_name with has(:) operator *
|
5166
|
+
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
5167
|
+
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
5168
|
+
# matches knowledge bases whose display name contains "articles". * '
|
5169
|
+
# display_name:"Best Articles"' matches knowledge bases whose display name
|
5170
|
+
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
5171
|
+
# matches all knowledge bases whose display name contains "articles" and whose
|
5172
|
+
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
5173
|
+
# and will result in no filtering. For more information about filtering, see [
|
5174
|
+
# API Filtering](https://aip.dev/160).
|
5175
|
+
# @param [Fixnum] page_size
|
5176
|
+
# The maximum number of items to return in a single page. By default 10 and at
|
5177
|
+
# most 100.
|
5178
|
+
# @param [String] page_token
|
5179
|
+
# The next_page_token value returned from a previous list request.
|
5180
|
+
# @param [String] fields
|
5181
|
+
# Selector specifying which fields to include in a partial response.
|
5182
|
+
# @param [String] quota_user
|
5183
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5184
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5185
|
+
# @param [Google::Apis::RequestOptions] options
|
5186
|
+
# Request-specific options
|
5187
|
+
#
|
5188
|
+
# @yield [result, err] Result & error if block supplied
|
5189
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse] parsed result object
|
5190
|
+
# @yieldparam err [StandardError] error object if request failed
|
5191
|
+
#
|
5192
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse]
|
5193
|
+
#
|
5194
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5195
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5196
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5197
|
+
def list_project_location_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5198
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
5199
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
5200
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
5201
|
+
command.params['parent'] = parent unless parent.nil?
|
5202
|
+
command.query['filter'] = filter unless filter.nil?
|
5203
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5204
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5205
|
+
command.query['fields'] = fields unless fields.nil?
|
5206
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5207
|
+
execute_or_queue_command(command, &block)
|
5208
|
+
end
|
5209
|
+
|
5210
|
+
# Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
5211
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
5212
|
+
# @param [String] name
|
5213
|
+
# The knowledge base resource name. The name must be empty when creating a
|
5214
|
+
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
5215
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
5216
|
+
# @param [String] update_mask
|
5217
|
+
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
5218
|
+
# be updated, an InvalidArgument will be returned for attempting to update other
|
5219
|
+
# fields.
|
5220
|
+
# @param [String] fields
|
5221
|
+
# Selector specifying which fields to include in a partial response.
|
5222
|
+
# @param [String] quota_user
|
5223
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5224
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5225
|
+
# @param [Google::Apis::RequestOptions] options
|
5226
|
+
# Request-specific options
|
5227
|
+
#
|
5228
|
+
# @yield [result, err] Result & error if block supplied
|
5229
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
|
5230
|
+
# @yieldparam err [StandardError] error object if request failed
|
5231
|
+
#
|
5232
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
|
5233
|
+
#
|
5234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5237
|
+
def patch_project_location_knowledge_basis(name, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5238
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
5239
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
5240
|
+
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
5241
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
5242
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
5243
|
+
command.params['name'] = name unless name.nil?
|
5244
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
5245
|
+
command.query['fields'] = fields unless fields.nil?
|
5246
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5247
|
+
execute_or_queue_command(command, &block)
|
5248
|
+
end
|
5249
|
+
|
5250
|
+
# Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
|
5251
|
+
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
5252
|
+
# @param [String] parent
|
5253
|
+
# Required. The knowledge base to create a document for. Format: `projects//
|
5254
|
+
# locations//knowledgeBases/`.
|
5255
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
5256
|
+
# @param [Boolean] import_gcs_custom_metadata
|
5257
|
+
# Whether to import custom metadata from Google Cloud Storage. Only valid when
|
5258
|
+
# the document source is Google Cloud Storage URI.
|
5259
|
+
# @param [String] fields
|
5260
|
+
# Selector specifying which fields to include in a partial response.
|
5261
|
+
# @param [String] quota_user
|
5262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5264
|
+
# @param [Google::Apis::RequestOptions] options
|
5265
|
+
# Request-specific options
|
5266
|
+
#
|
5267
|
+
# @yield [result, err] Result & error if block supplied
|
5268
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
5269
|
+
# @yieldparam err [StandardError] error object if request failed
|
5270
|
+
#
|
5271
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
5272
|
+
#
|
5273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5276
|
+
def create_project_location_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, import_gcs_custom_metadata: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5277
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
|
5278
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
5279
|
+
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
5280
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
5281
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
5282
|
+
command.params['parent'] = parent unless parent.nil?
|
5283
|
+
command.query['importGcsCustomMetadata'] = import_gcs_custom_metadata unless import_gcs_custom_metadata.nil?
|
5284
|
+
command.query['fields'] = fields unless fields.nil?
|
5285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5286
|
+
execute_or_queue_command(command, &block)
|
5287
|
+
end
|
5288
|
+
|
5289
|
+
# Deletes the specified document. Note: The `projects.agent.knowledgeBases.
|
5290
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
5291
|
+
# .
|
5292
|
+
# @param [String] name
|
5293
|
+
# Required. The name of the document to delete. Format: `projects//locations//
|
5294
|
+
# knowledgeBases//documents/`.
|
5295
|
+
# @param [String] fields
|
5296
|
+
# Selector specifying which fields to include in a partial response.
|
5297
|
+
# @param [String] quota_user
|
5298
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5299
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5300
|
+
# @param [Google::Apis::RequestOptions] options
|
5301
|
+
# Request-specific options
|
5302
|
+
#
|
5303
|
+
# @yield [result, err] Result & error if block supplied
|
5304
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
5305
|
+
# @yieldparam err [StandardError] error object if request failed
|
5306
|
+
#
|
5307
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
5308
|
+
#
|
5309
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5310
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5311
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5312
|
+
def delete_project_location_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
|
5313
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
5314
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
5315
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
5316
|
+
command.params['name'] = name unless name.nil?
|
5317
|
+
command.query['fields'] = fields unless fields.nil?
|
5318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5319
|
+
execute_or_queue_command(command, &block)
|
5320
|
+
end
|
5321
|
+
|
5322
|
+
# Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
|
5323
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
5324
|
+
# .
|
5325
|
+
# @param [String] name
|
5326
|
+
# Required. The name of the document to retrieve. Format `projects//locations//
|
5327
|
+
# knowledgeBases//documents/`.
|
5328
|
+
# @param [String] fields
|
5329
|
+
# Selector specifying which fields to include in a partial response.
|
5330
|
+
# @param [String] quota_user
|
5331
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5332
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5333
|
+
# @param [Google::Apis::RequestOptions] options
|
5334
|
+
# Request-specific options
|
5335
|
+
#
|
5336
|
+
# @yield [result, err] Result & error if block supplied
|
5337
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] parsed result object
|
5338
|
+
# @yieldparam err [StandardError] error object if request failed
|
5339
|
+
#
|
5340
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document]
|
5341
|
+
#
|
5342
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5343
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5344
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5345
|
+
def get_project_location_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
|
5346
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
5347
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
5348
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
|
5349
|
+
command.params['name'] = name unless name.nil?
|
5350
|
+
command.query['fields'] = fields unless fields.nil?
|
5351
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5352
|
+
execute_or_queue_command(command, &block)
|
5353
|
+
end
|
5354
|
+
|
5355
|
+
# Returns the list of all documents of the knowledge base. Note: The `projects.
|
5356
|
+
# agent.knowledgeBases.documents` resource is deprecated; only use `projects.
|
5357
|
+
# knowledgeBases.documents`.
|
5358
|
+
# @param [String] parent
|
5359
|
+
# Required. The knowledge base to list all documents for. Format: `projects//
|
5360
|
+
# locations//knowledgeBases/`.
|
5361
|
+
# @param [String] filter
|
5362
|
+
# The filter expression used to filter documents returned by the list method.
|
5363
|
+
# The expression has the following syntax: [AND ] ... The following fields and
|
5364
|
+
# operators are supported: * knowledge_types with has(:) operator * display_name
|
5365
|
+
# with has(:) operator * state with equals(=) operator Examples: * "
|
5366
|
+
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
5367
|
+
# display_name:customer" matches documents whose display name contains "customer"
|
5368
|
+
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
5369
|
+
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
5370
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
5371
|
+
# @param [Fixnum] page_size
|
5372
|
+
# The maximum number of items to return in a single page. By default 10 and at
|
5373
|
+
# most 100.
|
5374
|
+
# @param [String] page_token
|
5375
|
+
# The next_page_token value returned from a previous list request.
|
5376
|
+
# @param [String] fields
|
5377
|
+
# Selector specifying which fields to include in a partial response.
|
5378
|
+
# @param [String] quota_user
|
5379
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5380
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5381
|
+
# @param [Google::Apis::RequestOptions] options
|
5382
|
+
# Request-specific options
|
5383
|
+
#
|
5384
|
+
# @yield [result, err] Result & error if block supplied
|
5385
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse] parsed result object
|
5386
|
+
# @yieldparam err [StandardError] error object if request failed
|
5387
|
+
#
|
5388
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse]
|
5389
|
+
#
|
5390
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5391
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5392
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5393
|
+
def list_project_location_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5394
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
5395
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
5396
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
5397
|
+
command.params['parent'] = parent unless parent.nil?
|
5398
|
+
command.query['filter'] = filter unless filter.nil?
|
5399
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5400
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5401
|
+
command.query['fields'] = fields unless fields.nil?
|
5402
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5403
|
+
execute_or_queue_command(command, &block)
|
5404
|
+
end
|
5405
|
+
|
5406
|
+
# Updates the specified document. Note: The `projects.agent.knowledgeBases.
|
5407
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
5408
|
+
# .
|
5409
|
+
# @param [String] name
|
5410
|
+
# Optional. The document resource name. The name must be empty when creating a
|
5411
|
+
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
5412
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
5413
|
+
# @param [String] update_mask
|
5414
|
+
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
5415
|
+
# be updated, an InvalidArgument will be returned for attempting to update other
|
5416
|
+
# fields.
|
5417
|
+
# @param [String] fields
|
5418
|
+
# Selector specifying which fields to include in a partial response.
|
5419
|
+
# @param [String] quota_user
|
5420
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5421
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5422
|
+
# @param [Google::Apis::RequestOptions] options
|
5423
|
+
# Request-specific options
|
5424
|
+
#
|
5425
|
+
# @yield [result, err] Result & error if block supplied
|
5426
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
5427
|
+
# @yieldparam err [StandardError] error object if request failed
|
5428
|
+
#
|
5429
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
5430
|
+
#
|
5431
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5432
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5433
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5434
|
+
def patch_project_location_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_document_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5435
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
5436
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
5437
|
+
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
5438
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
5439
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
5440
|
+
command.params['name'] = name unless name.nil?
|
5441
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
5442
|
+
command.query['fields'] = fields unless fields.nil?
|
5443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5444
|
+
execute_or_queue_command(command, &block)
|
5445
|
+
end
|
5446
|
+
|
5447
|
+
# Reloads the specified document from its specified source, content_uri or
|
5448
|
+
# content. The previously loaded content of the document will be deleted. Note:
|
5449
|
+
# Even when the content of the document has not changed, there still may be side
|
5450
|
+
# effects because of internal implementation changes. Note: If the document
|
5451
|
+
# source is Google Cloud Storage URI, its metadata will be replaced with the
|
5452
|
+
# custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata`
|
5453
|
+
# field is set to true in the request. Note: The `projects.agent.knowledgeBases.
|
5454
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
5455
|
+
# .
|
5456
|
+
# @param [String] name
|
5457
|
+
# Required. The name of the document to reload. Format: `projects//locations//
|
5458
|
+
# knowledgeBases//documents/`
|
5459
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
5460
|
+
# @param [String] fields
|
5461
|
+
# Selector specifying which fields to include in a partial response.
|
5462
|
+
# @param [String] quota_user
|
5463
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5464
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5465
|
+
# @param [Google::Apis::RequestOptions] options
|
5466
|
+
# Request-specific options
|
5467
|
+
#
|
5468
|
+
# @yield [result, err] Result & error if block supplied
|
5469
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
5470
|
+
# @yieldparam err [StandardError] error object if request failed
|
5471
|
+
#
|
5472
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
5473
|
+
#
|
5474
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5475
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5476
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5477
|
+
def reload_project_location_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_reload_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5478
|
+
command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
|
5479
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest::Representation
|
5480
|
+
command.request_object = google_cloud_dialogflow_v2beta1_reload_document_request_object
|
5481
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
5482
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
5483
|
+
command.params['name'] = name unless name.nil?
|
5484
|
+
command.query['fields'] = fields unless fields.nil?
|
5485
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5486
|
+
execute_or_queue_command(command, &block)
|
5487
|
+
end
|
5488
|
+
|
5025
5489
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
5026
5490
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
5027
5491
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|