google-apis-dialogflow_v2 0.111.0 → 0.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5088,8 +5088,8 @@ module Google
|
|
|
5088
5088
|
# @param [String] name
|
|
5089
5089
|
# The resource that owns the locations collection, if applicable.
|
|
5090
5090
|
# @param [Array<String>, String] extra_location_types
|
|
5091
|
-
# Optional.
|
|
5092
|
-
#
|
|
5091
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
|
5092
|
+
# field which is primarily intended for internal usage.
|
|
5093
5093
|
# @param [String] filter
|
|
5094
5094
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
5095
5095
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -9327,6 +9327,141 @@ module Google
|
|
|
9327
9327
|
execute_or_queue_command(command, &block)
|
|
9328
9328
|
end
|
|
9329
9329
|
|
|
9330
|
+
# Creates evaluation of a generator.
|
|
9331
|
+
# @param [String] parent
|
|
9332
|
+
# Required. The generator resource name. Format: `projects//locations//
|
|
9333
|
+
# generators/`
|
|
9334
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation] google_cloud_dialogflow_v2_generator_evaluation_object
|
|
9335
|
+
# @param [String] fields
|
|
9336
|
+
# Selector specifying which fields to include in a partial response.
|
|
9337
|
+
# @param [String] quota_user
|
|
9338
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9339
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9340
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9341
|
+
# Request-specific options
|
|
9342
|
+
#
|
|
9343
|
+
# @yield [result, err] Result & error if block supplied
|
|
9344
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningOperation] parsed result object
|
|
9345
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9346
|
+
#
|
|
9347
|
+
# @return [Google::Apis::DialogflowV2::GoogleLongrunningOperation]
|
|
9348
|
+
#
|
|
9349
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9350
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9351
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9352
|
+
def create_project_location_generator_evaluation(parent, google_cloud_dialogflow_v2_generator_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9353
|
+
command = make_simple_command(:post, 'v2/{+parent}/evaluations', options)
|
|
9354
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation::Representation
|
|
9355
|
+
command.request_object = google_cloud_dialogflow_v2_generator_evaluation_object
|
|
9356
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
|
|
9357
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
|
|
9358
|
+
command.params['parent'] = parent unless parent.nil?
|
|
9359
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9360
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9361
|
+
execute_or_queue_command(command, &block)
|
|
9362
|
+
end
|
|
9363
|
+
|
|
9364
|
+
# Deletes an evaluation of generator.
|
|
9365
|
+
# @param [String] name
|
|
9366
|
+
# Required. The generator evaluation resource name. Format: `projects//locations/
|
|
9367
|
+
# /generators// evaluations/`
|
|
9368
|
+
# @param [String] fields
|
|
9369
|
+
# Selector specifying which fields to include in a partial response.
|
|
9370
|
+
# @param [String] quota_user
|
|
9371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9373
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9374
|
+
# Request-specific options
|
|
9375
|
+
#
|
|
9376
|
+
# @yield [result, err] Result & error if block supplied
|
|
9377
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
|
9378
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9379
|
+
#
|
|
9380
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
|
9381
|
+
#
|
|
9382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9385
|
+
def delete_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
9386
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
|
9387
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
|
9388
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
|
9389
|
+
command.params['name'] = name unless name.nil?
|
|
9390
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9392
|
+
execute_or_queue_command(command, &block)
|
|
9393
|
+
end
|
|
9394
|
+
|
|
9395
|
+
# Gets an evaluation of generator.
|
|
9396
|
+
# @param [String] name
|
|
9397
|
+
# Required. The generator evaluation resource name. Format: `projects//locations/
|
|
9398
|
+
# /generators//evaluations/`
|
|
9399
|
+
# @param [String] fields
|
|
9400
|
+
# Selector specifying which fields to include in a partial response.
|
|
9401
|
+
# @param [String] quota_user
|
|
9402
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9403
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9404
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9405
|
+
# Request-specific options
|
|
9406
|
+
#
|
|
9407
|
+
# @yield [result, err] Result & error if block supplied
|
|
9408
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation] parsed result object
|
|
9409
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9410
|
+
#
|
|
9411
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation]
|
|
9412
|
+
#
|
|
9413
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9414
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9415
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9416
|
+
def get_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
9417
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
9418
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation::Representation
|
|
9419
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation
|
|
9420
|
+
command.params['name'] = name unless name.nil?
|
|
9421
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9422
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9423
|
+
execute_or_queue_command(command, &block)
|
|
9424
|
+
end
|
|
9425
|
+
|
|
9426
|
+
# Lists evaluations of generator.
|
|
9427
|
+
# @param [String] parent
|
|
9428
|
+
# Required. The generator resource name. Format: `projects//locations//
|
|
9429
|
+
# generators/` Wildcard value `-` is supported on generator_id to list
|
|
9430
|
+
# evaluations across all generators under same project.
|
|
9431
|
+
# @param [Fixnum] page_size
|
|
9432
|
+
# Optional. Maximum number of evaluations to return in a single page. By default
|
|
9433
|
+
# 100 and at most 1000.
|
|
9434
|
+
# @param [String] page_token
|
|
9435
|
+
# Optional. The next_page_token value returned from a previous list request.
|
|
9436
|
+
# @param [String] fields
|
|
9437
|
+
# Selector specifying which fields to include in a partial response.
|
|
9438
|
+
# @param [String] quota_user
|
|
9439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9441
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9442
|
+
# Request-specific options
|
|
9443
|
+
#
|
|
9444
|
+
# @yield [result, err] Result & error if block supplied
|
|
9445
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse] parsed result object
|
|
9446
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9447
|
+
#
|
|
9448
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse]
|
|
9449
|
+
#
|
|
9450
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9451
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9452
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9453
|
+
def list_project_location_generator_evaluations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9454
|
+
command = make_simple_command(:get, 'v2/{+parent}/evaluations', options)
|
|
9455
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse::Representation
|
|
9456
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse
|
|
9457
|
+
command.params['parent'] = parent unless parent.nil?
|
|
9458
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
9459
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
9460
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9462
|
+
execute_or_queue_command(command, &block)
|
|
9463
|
+
end
|
|
9464
|
+
|
|
9330
9465
|
# Creates a knowledge base.
|
|
9331
9466
|
# @param [String] parent
|
|
9332
9467
|
# Required. The project to create a knowledge base for. Format: `projects//
|
|
@@ -9909,6 +10044,13 @@ module Google
|
|
|
9909
10044
|
# The standard list page size.
|
|
9910
10045
|
# @param [String] page_token
|
|
9911
10046
|
# The standard list page token.
|
|
10047
|
+
# @param [Boolean] return_partial_success
|
|
10048
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
10049
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
10050
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
10051
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
10052
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
10053
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
9912
10054
|
# @param [String] fields
|
|
9913
10055
|
# Selector specifying which fields to include in a partial response.
|
|
9914
10056
|
# @param [String] quota_user
|
|
@@ -9926,7 +10068,7 @@ module Google
|
|
|
9926
10068
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9927
10069
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9928
10070
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9929
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10071
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9930
10072
|
command = make_simple_command(:get, 'v2/{+name}/operations', options)
|
|
9931
10073
|
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse::Representation
|
|
9932
10074
|
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse
|
|
@@ -9934,6 +10076,7 @@ module Google
|
|
|
9934
10076
|
command.query['filter'] = filter unless filter.nil?
|
|
9935
10077
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
9936
10078
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
10079
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
9937
10080
|
command.query['fields'] = fields unless fields.nil?
|
|
9938
10081
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9939
10082
|
execute_or_queue_command(command, &block)
|
|
@@ -10292,6 +10435,13 @@ module Google
|
|
|
10292
10435
|
# The standard list page size.
|
|
10293
10436
|
# @param [String] page_token
|
|
10294
10437
|
# The standard list page token.
|
|
10438
|
+
# @param [Boolean] return_partial_success
|
|
10439
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
10440
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
10441
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
10442
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
10443
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
10444
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
10295
10445
|
# @param [String] fields
|
|
10296
10446
|
# Selector specifying which fields to include in a partial response.
|
|
10297
10447
|
# @param [String] quota_user
|
|
@@ -10309,7 +10459,7 @@ module Google
|
|
|
10309
10459
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10310
10460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10311
10461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10312
|
-
def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10462
|
+
def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10313
10463
|
command = make_simple_command(:get, 'v2/{+name}/operations', options)
|
|
10314
10464
|
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse::Representation
|
|
10315
10465
|
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse
|
|
@@ -10317,6 +10467,7 @@ module Google
|
|
|
10317
10467
|
command.query['filter'] = filter unless filter.nil?
|
|
10318
10468
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
10319
10469
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
10470
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
10320
10471
|
command.query['fields'] = fields unless fields.nil?
|
|
10321
10472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10322
10473
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dialogflow_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.113.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.113.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|