google-api-client 0.46.0 → 0.46.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +231 -1
- data/generated/google/apis/apigee_v1/representations.rb +87 -0
- data/generated/google/apis/apigee_v1/service.rb +201 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +28 -8
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +99 -0
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +13 -10
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
- data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
- data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +4 -4
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +5 -2
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +66 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- 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 -3
@@ -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 = '20201006'
|
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'
|
@@ -1076,6 +1076,25 @@ module Google
|
|
1076
1076
|
end
|
1077
1077
|
end
|
1078
1078
|
|
1079
|
+
# Response message for Documents.ImportDocuments.
|
1080
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
1081
|
+
include Google::Apis::Core::Hashable
|
1082
|
+
|
1083
|
+
# Includes details about skipped documents or any other warnings.
|
1084
|
+
# Corresponds to the JSON property `warnings`
|
1085
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
|
1086
|
+
attr_accessor :warnings
|
1087
|
+
|
1088
|
+
def initialize(**args)
|
1089
|
+
update!(**args)
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# Update properties of this object
|
1093
|
+
def update!(**args)
|
1094
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1079
1098
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
1080
1099
|
# each agent, you define many intents, where your combined intents can handle a
|
1081
1100
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -2529,9 +2548,9 @@ module Google
|
|
2529
2548
|
|
2530
2549
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
2531
2550
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
2532
|
-
# attitude as positive, negative, or neutral. For Participants.
|
2533
|
-
#
|
2534
|
-
#
|
2551
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
2552
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
2553
|
+
# StreamingDetectIntent, it needs to be configured in
|
2535
2554
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
2536
2555
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
2537
2556
|
# ConversationProfile.human_agent_assistant_config
|
@@ -2615,9 +2634,9 @@ module Google
|
|
2615
2634
|
|
2616
2635
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
2617
2636
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
2618
|
-
# attitude as positive, negative, or neutral. For Participants.
|
2619
|
-
#
|
2620
|
-
#
|
2637
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
2638
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
2639
|
+
# StreamingDetectIntent, it needs to be configured in
|
2621
2640
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
2622
2641
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
2623
2642
|
# ConversationProfile.human_agent_assistant_config
|
@@ -4036,6 +4055,25 @@ module Google
|
|
4036
4055
|
end
|
4037
4056
|
end
|
4038
4057
|
|
4058
|
+
# Response message for Documents.ImportDocuments.
|
4059
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
4060
|
+
include Google::Apis::Core::Hashable
|
4061
|
+
|
4062
|
+
# Includes details about skipped documents or any other warnings.
|
4063
|
+
# Corresponds to the JSON property `warnings`
|
4064
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
|
4065
|
+
attr_accessor :warnings
|
4066
|
+
|
4067
|
+
def initialize(**args)
|
4068
|
+
update!(**args)
|
4069
|
+
end
|
4070
|
+
|
4071
|
+
# Update properties of this object
|
4072
|
+
def update!(**args)
|
4073
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
4074
|
+
end
|
4075
|
+
end
|
4076
|
+
|
4039
4077
|
# Instructs the speech recognizer on how to process the audio content.
|
4040
4078
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
4041
4079
|
include Google::Apis::Core::Hashable
|
@@ -6525,9 +6563,9 @@ module Google
|
|
6525
6563
|
|
6526
6564
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
6527
6565
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
6528
|
-
# attitude as positive, negative, or neutral. For Participants.
|
6529
|
-
#
|
6530
|
-
#
|
6566
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
6567
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
6568
|
+
# StreamingDetectIntent, it needs to be configured in
|
6531
6569
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
6532
6570
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
6533
6571
|
# ConversationProfile.human_agent_assistant_config
|
@@ -6706,9 +6744,9 @@ module Google
|
|
6706
6744
|
|
6707
6745
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
6708
6746
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
6709
|
-
# attitude as positive, negative, or neutral. For Participants.
|
6710
|
-
#
|
6711
|
-
#
|
6747
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
6748
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
6749
|
+
# StreamingDetectIntent, it needs to be configured in
|
6712
6750
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
6713
6751
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
6714
6752
|
# ConversationProfile.human_agent_assistant_config
|
@@ -7237,26 +7275,6 @@ module Google
|
|
7237
7275
|
end
|
7238
7276
|
end
|
7239
7277
|
|
7240
|
-
# Metadata associated with the long running operation for Versions.CreateVersion.
|
7241
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
7242
|
-
include Google::Apis::Core::Hashable
|
7243
|
-
|
7244
|
-
# Name of the created version. Format: `projects//locations//agents//flows//
|
7245
|
-
# versions/`.
|
7246
|
-
# Corresponds to the JSON property `version`
|
7247
|
-
# @return [String]
|
7248
|
-
attr_accessor :version
|
7249
|
-
|
7250
|
-
def initialize(**args)
|
7251
|
-
update!(**args)
|
7252
|
-
end
|
7253
|
-
|
7254
|
-
# Update properties of this object
|
7255
|
-
def update!(**args)
|
7256
|
-
@version = args[:version] if args.key?(:version)
|
7257
|
-
end
|
7258
|
-
end
|
7259
|
-
|
7260
7278
|
# The response message for Agents.ExportAgent.
|
7261
7279
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
7262
7280
|
include Google::Apis::Core::Hashable
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class GoogleCloudDialogflowV2Intent
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -640,6 +646,12 @@ module Google
|
|
640
646
|
include Google::Apis::Core::JsonObjectSupport
|
641
647
|
end
|
642
648
|
|
649
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
+
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
653
|
+
end
|
654
|
+
|
643
655
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
644
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
657
|
|
@@ -1150,12 +1162,6 @@ module Google
|
|
1150
1162
|
include Google::Apis::Core::JsonObjectSupport
|
1151
1163
|
end
|
1152
1164
|
|
1153
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
1154
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
|
-
|
1156
|
-
include Google::Apis::Core::JsonObjectSupport
|
1157
|
-
end
|
1158
|
-
|
1159
1165
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
1160
1166
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1161
1167
|
|
@@ -1513,6 +1519,14 @@ module Google
|
|
1513
1519
|
end
|
1514
1520
|
end
|
1515
1521
|
|
1522
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
1523
|
+
# @private
|
1524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1525
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
1526
|
+
|
1527
|
+
end
|
1528
|
+
end
|
1529
|
+
|
1516
1530
|
class GoogleCloudDialogflowV2Intent
|
1517
1531
|
# @private
|
1518
1532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2287,6 +2301,14 @@ module Google
|
|
2287
2301
|
end
|
2288
2302
|
end
|
2289
2303
|
|
2304
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
2305
|
+
# @private
|
2306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2307
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
2308
|
+
|
2309
|
+
end
|
2310
|
+
end
|
2311
|
+
|
2290
2312
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
2291
2313
|
# @private
|
2292
2314
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3168,13 +3190,6 @@ module Google
|
|
3168
3190
|
end
|
3169
3191
|
end
|
3170
3192
|
|
3171
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
3172
|
-
# @private
|
3173
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3174
|
-
property :version, as: 'version'
|
3175
|
-
end
|
3176
|
-
end
|
3177
|
-
|
3178
3193
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
3179
3194
|
# @private
|
3180
3195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1725,6 +1725,19 @@ module Google
|
|
1725
1725
|
# knowledgeBases`.
|
1726
1726
|
# @param [String] parent
|
1727
1727
|
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
1728
|
+
# @param [String] filter
|
1729
|
+
# The filter expression used to filter knowledge bases returned by the list
|
1730
|
+
# method. The expression has the following syntax: [AND ] ... The following
|
1731
|
+
# fields and operators are supported: * display_name with has(:) operator *
|
1732
|
+
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
1733
|
+
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
1734
|
+
# matches knowledge bases whose display name contains "articles". * '
|
1735
|
+
# display_name:"Best Articles"' matches knowledge bases whose display name
|
1736
|
+
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
1737
|
+
# matches all knowledge bases whose display name contains "articles" and whose
|
1738
|
+
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
1739
|
+
# and will result in no filtering. For more information about filtering, see [
|
1740
|
+
# API Filtering](https://aip.dev/160).
|
1728
1741
|
# @param [Fixnum] page_size
|
1729
1742
|
# The maximum number of items to return in a single page. By default 10 and at
|
1730
1743
|
# most 100.
|
@@ -1747,11 +1760,12 @@ module Google
|
|
1747
1760
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1748
1761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1749
1762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1750
|
-
def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1763
|
+
def list_project_agent_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1751
1764
|
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
1752
1765
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
1753
1766
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
1754
1767
|
command.params['parent'] = parent unless parent.nil?
|
1768
|
+
command.query['filter'] = filter unless filter.nil?
|
1755
1769
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1756
1770
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1757
1771
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1906,6 +1920,16 @@ module Google
|
|
1906
1920
|
# @param [String] parent
|
1907
1921
|
# Required. The knowledge base to list all documents for. Format: `projects//
|
1908
1922
|
# knowledgeBases/`.
|
1923
|
+
# @param [String] filter
|
1924
|
+
# The filter expression used to filter documents returned by the list method.
|
1925
|
+
# The expression has the following syntax: [AND ] ... The following fields and
|
1926
|
+
# operators are supported: * knowledge_types with has(:) operator * display_name
|
1927
|
+
# with has(:) operator * state with equals(=) operator Examples: * "
|
1928
|
+
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
1929
|
+
# display_name:customer" matches documents whose display name contains "customer"
|
1930
|
+
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
1931
|
+
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
1932
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
1909
1933
|
# @param [Fixnum] page_size
|
1910
1934
|
# The maximum number of items to return in a single page. By default 10 and at
|
1911
1935
|
# most 100.
|
@@ -1928,11 +1952,12 @@ module Google
|
|
1928
1952
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1929
1953
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1930
1954
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1931
|
-
def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1955
|
+
def list_project_agent_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1932
1956
|
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
1933
1957
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
1934
1958
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
1935
1959
|
command.params['parent'] = parent unless parent.nil?
|
1960
|
+
command.query['filter'] = filter unless filter.nil?
|
1936
1961
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1937
1962
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1938
1963
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2614,6 +2639,19 @@ module Google
|
|
2614
2639
|
# knowledgeBases`.
|
2615
2640
|
# @param [String] parent
|
2616
2641
|
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
2642
|
+
# @param [String] filter
|
2643
|
+
# The filter expression used to filter knowledge bases returned by the list
|
2644
|
+
# method. The expression has the following syntax: [AND ] ... The following
|
2645
|
+
# fields and operators are supported: * display_name with has(:) operator *
|
2646
|
+
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
2647
|
+
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
2648
|
+
# matches knowledge bases whose display name contains "articles". * '
|
2649
|
+
# display_name:"Best Articles"' matches knowledge bases whose display name
|
2650
|
+
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
2651
|
+
# matches all knowledge bases whose display name contains "articles" and whose
|
2652
|
+
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
2653
|
+
# and will result in no filtering. For more information about filtering, see [
|
2654
|
+
# API Filtering](https://aip.dev/160).
|
2617
2655
|
# @param [Fixnum] page_size
|
2618
2656
|
# The maximum number of items to return in a single page. By default 10 and at
|
2619
2657
|
# most 100.
|
@@ -2636,11 +2674,12 @@ module Google
|
|
2636
2674
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2637
2675
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2638
2676
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2639
|
-
def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2677
|
+
def list_project_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2640
2678
|
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
2641
2679
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
2642
2680
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
2643
2681
|
command.params['parent'] = parent unless parent.nil?
|
2682
|
+
command.query['filter'] = filter unless filter.nil?
|
2644
2683
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2645
2684
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2646
2685
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2795,6 +2834,16 @@ module Google
|
|
2795
2834
|
# @param [String] parent
|
2796
2835
|
# Required. The knowledge base to list all documents for. Format: `projects//
|
2797
2836
|
# knowledgeBases/`.
|
2837
|
+
# @param [String] filter
|
2838
|
+
# The filter expression used to filter documents returned by the list method.
|
2839
|
+
# The expression has the following syntax: [AND ] ... The following fields and
|
2840
|
+
# operators are supported: * knowledge_types with has(:) operator * display_name
|
2841
|
+
# with has(:) operator * state with equals(=) operator Examples: * "
|
2842
|
+
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
2843
|
+
# display_name:customer" matches documents whose display name contains "customer"
|
2844
|
+
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
2845
|
+
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
2846
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
2798
2847
|
# @param [Fixnum] page_size
|
2799
2848
|
# The maximum number of items to return in a single page. By default 10 and at
|
2800
2849
|
# most 100.
|
@@ -2817,11 +2866,12 @@ module Google
|
|
2817
2866
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2818
2867
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2819
2868
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2820
|
-
def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2869
|
+
def list_project_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2821
2870
|
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
2822
2871
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
2823
2872
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
2824
2873
|
command.params['parent'] = parent unless parent.nil?
|
2874
|
+
command.query['filter'] = filter unless filter.nil?
|
2825
2875
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2826
2876
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2827
2877
|
command.query['fields'] = fields unless fields.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV3beta1
|
28
28
|
VERSION = 'V3beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201005'
|
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'
|
@@ -172,8 +172,10 @@ module Google
|
|
172
172
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig]
|
173
173
|
attr_accessor :output_audio_config
|
174
174
|
|
175
|
-
# Represents the query input. It can contain
|
175
|
+
# Represents the query input. It can contain one of: 1. A conversational query
|
176
176
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
177
|
+
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
178
|
+
#
|
177
179
|
# Corresponds to the JSON property `queryInput`
|
178
180
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
179
181
|
attr_accessor :query_input
|
@@ -1698,8 +1700,10 @@ module Google
|
|
1698
1700
|
class GoogleCloudDialogflowCxV3beta1MatchIntentRequest
|
1699
1701
|
include Google::Apis::Core::Hashable
|
1700
1702
|
|
1701
|
-
# Represents the query input. It can contain
|
1703
|
+
# Represents the query input. It can contain one of: 1. A conversational query
|
1702
1704
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
1705
|
+
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
1706
|
+
#
|
1703
1707
|
# Corresponds to the JSON property `queryInput`
|
1704
1708
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
1705
1709
|
attr_accessor :query_input
|
@@ -1758,6 +1762,12 @@ module Google
|
|
1758
1762
|
# @return [String]
|
1759
1763
|
attr_accessor :transcript
|
1760
1764
|
|
1765
|
+
# If an event was provided as input, this field will contain a copy of the event
|
1766
|
+
# name.
|
1767
|
+
# Corresponds to the JSON property `triggerEvent`
|
1768
|
+
# @return [String]
|
1769
|
+
attr_accessor :trigger_event
|
1770
|
+
|
1761
1771
|
# If an intent was provided as input, this field will contain a copy of the
|
1762
1772
|
# intent identifier.
|
1763
1773
|
# Corresponds to the JSON property `triggerIntent`
|
@@ -1774,6 +1784,7 @@ module Google
|
|
1774
1784
|
@matches = args[:matches] if args.key?(:matches)
|
1775
1785
|
@text = args[:text] if args.key?(:text)
|
1776
1786
|
@transcript = args[:transcript] if args.key?(:transcript)
|
1787
|
+
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
1777
1788
|
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
1778
1789
|
end
|
1779
1790
|
end
|
@@ -2041,8 +2052,10 @@ module Google
|
|
2041
2052
|
end
|
2042
2053
|
end
|
2043
2054
|
|
2044
|
-
# Represents the query input. It can contain
|
2055
|
+
# Represents the query input. It can contain one of: 1. A conversational query
|
2045
2056
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
2057
|
+
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
2058
|
+
#
|
2046
2059
|
class GoogleCloudDialogflowCxV3beta1QueryInput
|
2047
2060
|
include Google::Apis::Core::Hashable
|
2048
2061
|
|
@@ -3673,6 +3686,25 @@ module Google
|
|
3673
3686
|
end
|
3674
3687
|
end
|
3675
3688
|
|
3689
|
+
# Response message for Documents.ImportDocuments.
|
3690
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
3691
|
+
include Google::Apis::Core::Hashable
|
3692
|
+
|
3693
|
+
# Includes details about skipped documents or any other warnings.
|
3694
|
+
# Corresponds to the JSON property `warnings`
|
3695
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
|
3696
|
+
attr_accessor :warnings
|
3697
|
+
|
3698
|
+
def initialize(**args)
|
3699
|
+
update!(**args)
|
3700
|
+
end
|
3701
|
+
|
3702
|
+
# Update properties of this object
|
3703
|
+
def update!(**args)
|
3704
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
3705
|
+
end
|
3706
|
+
end
|
3707
|
+
|
3676
3708
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
3677
3709
|
# each agent, you define many intents, where your combined intents can handle a
|
3678
3710
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -5126,9 +5158,9 @@ module Google
|
|
5126
5158
|
|
5127
5159
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
5128
5160
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
5129
|
-
# attitude as positive, negative, or neutral. For Participants.
|
5130
|
-
#
|
5131
|
-
#
|
5161
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
5162
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
5163
|
+
# StreamingDetectIntent, it needs to be configured in
|
5132
5164
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
5133
5165
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
5134
5166
|
# ConversationProfile.human_agent_assistant_config
|
@@ -5212,9 +5244,9 @@ module Google
|
|
5212
5244
|
|
5213
5245
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
5214
5246
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
5215
|
-
# attitude as positive, negative, or neutral. For Participants.
|
5216
|
-
#
|
5217
|
-
#
|
5247
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
5248
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
5249
|
+
# StreamingDetectIntent, it needs to be configured in
|
5218
5250
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
5219
5251
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
5220
5252
|
# ConversationProfile.human_agent_assistant_config
|
@@ -5784,6 +5816,25 @@ module Google
|
|
5784
5816
|
end
|
5785
5817
|
end
|
5786
5818
|
|
5819
|
+
# Response message for Documents.ImportDocuments.
|
5820
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
5821
|
+
include Google::Apis::Core::Hashable
|
5822
|
+
|
5823
|
+
# Includes details about skipped documents or any other warnings.
|
5824
|
+
# Corresponds to the JSON property `warnings`
|
5825
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
|
5826
|
+
attr_accessor :warnings
|
5827
|
+
|
5828
|
+
def initialize(**args)
|
5829
|
+
update!(**args)
|
5830
|
+
end
|
5831
|
+
|
5832
|
+
# Update properties of this object
|
5833
|
+
def update!(**args)
|
5834
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
5835
|
+
end
|
5836
|
+
end
|
5837
|
+
|
5787
5838
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
5788
5839
|
# each agent, you define many intents, where your combined intents can handle a
|
5789
5840
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -7756,9 +7807,9 @@ module Google
|
|
7756
7807
|
|
7757
7808
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
7758
7809
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
7759
|
-
# attitude as positive, negative, or neutral. For Participants.
|
7760
|
-
#
|
7761
|
-
#
|
7810
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
7811
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
7812
|
+
# StreamingDetectIntent, it needs to be configured in
|
7762
7813
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
7763
7814
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
7764
7815
|
# ConversationProfile.human_agent_assistant_config
|
@@ -7843,9 +7894,9 @@ module Google
|
|
7843
7894
|
|
7844
7895
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
7845
7896
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
7846
|
-
# attitude as positive, negative, or neutral. For Participants.
|
7847
|
-
#
|
7848
|
-
#
|
7897
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
7898
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
7899
|
+
# StreamingDetectIntent, it needs to be configured in
|
7849
7900
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
7850
7901
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
7851
7902
|
# ConversationProfile.human_agent_assistant_config
|
@@ -8125,26 +8176,6 @@ module Google
|
|
8125
8176
|
end
|
8126
8177
|
end
|
8127
8178
|
|
8128
|
-
# Metadata associated with the long running operation for Versions.CreateVersion.
|
8129
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
8130
|
-
include Google::Apis::Core::Hashable
|
8131
|
-
|
8132
|
-
# Name of the created version. Format: `projects//locations//agents//flows//
|
8133
|
-
# versions/`.
|
8134
|
-
# Corresponds to the JSON property `version`
|
8135
|
-
# @return [String]
|
8136
|
-
attr_accessor :version
|
8137
|
-
|
8138
|
-
def initialize(**args)
|
8139
|
-
update!(**args)
|
8140
|
-
end
|
8141
|
-
|
8142
|
-
# Update properties of this object
|
8143
|
-
def update!(**args)
|
8144
|
-
@version = args[:version] if args.key?(:version)
|
8145
|
-
end
|
8146
|
-
end
|
8147
|
-
|
8148
8179
|
# The response message for Agents.ExportAgent.
|
8149
8180
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
8150
8181
|
include Google::Apis::Core::Hashable
|