google-api-client 0.52.0 → 0.53.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.
- checksums.yaml +4 -4
- data/.yardopts +0 -14
- data/CHANGELOG.md +6 -0
- data/OVERVIEW.md +36 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/service.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +8 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -1
- data/{lib/google/apis/core/logging.rb → generated/google/apis/apigateway_v1.rb} +14 -10
- data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
- data/generated/google/apis/apigateway_v1/representations.rb +442 -0
- data/generated/google/apis/apigateway_v1/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +19 -8
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +24 -22
- data/generated/google/apis/apigee_v1/service.rb +50 -48
- data/generated/google/apis/artifactregistry_v1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
- data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
- data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +0 -62
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +132 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +7 -7
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -7
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +434 -0
- data/generated/google/apis/content_v2_1/representations.rb +187 -0
- data/generated/google/apis/content_v2_1/service.rb +116 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +29 -1
- data/generated/google/apis/dataproc_v1/representations.rb +14 -0
- data/generated/google/apis/dataproc_v1/service.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +29 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +14 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +4041 -678
- data/generated/google/apis/dialogflow_v2/representations.rb +1851 -298
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4047 -684
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1862 -309
- data/generated/google/apis/dialogflow_v3.rb +1 -1
- data/generated/google/apis/dialogflow_v3/classes.rb +3120 -311
- data/generated/google/apis/dialogflow_v3/representations.rb +2002 -617
- data/generated/google/apis/dialogflow_v3/service.rb +408 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +5145 -2336
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1729 -344
- data/generated/google/apis/dialogflow_v3beta1/service.rb +408 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +3 -9
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +5 -92
- data/generated/google/apis/documentai_v1beta2/representations.rb +2 -15
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +5 -92
- data/generated/google/apis/documentai_v1beta3/representations.rb +2 -15
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/service.rb +14 -14
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
- data/generated/google/apis/localservices_v1.rb +4 -1
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +2 -2
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +13 -0
- data/generated/google/apis/notebooks_v1/representations.rb +12 -0
- data/generated/google/apis/notebooks_v1/service.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -37
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -18
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +30 -30
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +7 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +7 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/webmasters_v3/classes.rb +8 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +18 -143
- data/generated/google/apis/youtube_v3/representations.rb +0 -57
- data/generated/google/apis/youtube_v3/service.rb +0 -43
- data/lib/google/apis/version.rb +1 -23
- metadata +27 -263
- data/.github/CONTRIBUTING.md +0 -31
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
- data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
- data/.github/workflows/autoapprove.yml +0 -49
- data/.github/workflows/release-please.yml +0 -57
- data/.gitignore +0 -23
- data/.kokoro/build.bat +0 -11
- data/.kokoro/build.sh +0 -4
- data/.kokoro/continuous/common.cfg +0 -25
- data/.kokoro/continuous/linux.cfg +0 -25
- data/.kokoro/continuous/osx.cfg +0 -8
- data/.kokoro/continuous/post.cfg +0 -30
- data/.kokoro/continuous/windows.cfg +0 -29
- data/.kokoro/osx.sh +0 -4
- data/.kokoro/presubmit/common.cfg +0 -24
- data/.kokoro/presubmit/linux.cfg +0 -24
- data/.kokoro/presubmit/osx.cfg +0 -8
- data/.kokoro/presubmit/windows.cfg +0 -29
- data/.kokoro/release.cfg +0 -94
- data/.kokoro/trampoline.bat +0 -10
- data/.kokoro/trampoline.sh +0 -4
- data/.repo-metadata.json +0 -5
- data/.rspec +0 -2
- data/.rubocop.yml +0 -12
- data/.rubocop_todo.yml +0 -63
- data/CODE_OF_CONDUCT.md +0 -43
- data/Gemfile +0 -55
- data/MIGRATING.md +0 -215
- data/README.md +0 -402
- data/Rakefile +0 -131
- data/api_list_config.yaml +0 -9
- data/api_names.yaml +0 -1082
- data/bin/generate-api +0 -194
- data/docs/api-keys.md +0 -20
- data/docs/auth.md +0 -53
- data/docs/client-secrets.md +0 -69
- data/docs/getting-started.md +0 -340
- data/docs/installation.md +0 -0
- data/docs/logging.md +0 -34
- data/docs/media-upload.md +0 -25
- data/docs/oauth-installed.md +0 -191
- data/docs/oauth-server.md +0 -133
- data/docs/oauth-web.md +0 -280
- data/docs/oauth.md +0 -268
- data/docs/pagination.md +0 -29
- data/docs/performance.md +0 -25
- data/google-api-client.gemspec +0 -36
- data/lib/google/api_client/auth/installed_app.rb +0 -143
- data/lib/google/api_client/auth/key_utils.rb +0 -94
- data/lib/google/api_client/auth/storage.rb +0 -104
- data/lib/google/api_client/auth/storages/file_store.rb +0 -57
- data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
- data/lib/google/api_client/client_secrets.rb +0 -176
- data/lib/google/apis.rb +0 -58
- data/lib/google/apis/core/api_command.rb +0 -209
- data/lib/google/apis/core/base_service.rb +0 -447
- data/lib/google/apis/core/batch.rb +0 -236
- data/lib/google/apis/core/composite_io.rb +0 -97
- data/lib/google/apis/core/download.rb +0 -118
- data/lib/google/apis/core/hashable.rb +0 -44
- data/lib/google/apis/core/http_command.rb +0 -447
- data/lib/google/apis/core/json_representation.rb +0 -153
- data/lib/google/apis/core/multipart.rb +0 -135
- data/lib/google/apis/core/upload.rb +0 -273
- data/lib/google/apis/errors.rb +0 -89
- data/lib/google/apis/generator.rb +0 -71
- data/lib/google/apis/generator/annotator.rb +0 -339
- data/lib/google/apis/generator/helpers.rb +0 -76
- data/lib/google/apis/generator/model.rb +0 -187
- data/lib/google/apis/generator/template.rb +0 -124
- data/lib/google/apis/generator/templates/_class.tmpl +0 -43
- data/lib/google/apis/generator/templates/_method.tmpl +0 -92
- data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
- data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
- data/lib/google/apis/generator/templates/classes.rb.tmpl +0 -29
- data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
- data/lib/google/apis/generator/templates/representations.rb.tmpl +0 -32
- data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
- data/lib/google/apis/options.rb +0 -116
- data/rakelib/devsite/devsite_builder.rb +0 -126
- data/rakelib/devsite/link_checker.rb +0 -64
- data/rakelib/devsite/repo_metadata.rb +0 -56
- data/rakelib/metrics.rake +0 -22
- data/rakelib/rubocop.rake +0 -10
- data/rakelib/spec.rake +0 -11
- data/rakelib/yard.rake +0 -11
- data/samples/cli/.env +0 -4
- data/samples/cli/Gemfile +0 -7
- data/samples/cli/README.md +0 -51
- data/samples/cli/google-api-samples +0 -32
- data/samples/cli/lib/base_cli.rb +0 -95
- data/samples/cli/lib/samples/adsense.rb +0 -99
- data/samples/cli/lib/samples/analytics.rb +0 -80
- data/samples/cli/lib/samples/androidpublisher.rb +0 -47
- data/samples/cli/lib/samples/bigquery.rb +0 -101
- data/samples/cli/lib/samples/calendar.rb +0 -83
- data/samples/cli/lib/samples/drive.rb +0 -82
- data/samples/cli/lib/samples/gmail.rb +0 -157
- data/samples/cli/lib/samples/pubsub.rb +0 -114
- data/samples/cli/lib/samples/sheets.rb +0 -61
- data/samples/cli/lib/samples/translate.rb +0 -44
- data/samples/cli/lib/samples/vision.rb +0 -69
- data/samples/cli/lib/samples/you_tube.rb +0 -47
- data/samples/web/Gemfile +0 -9
- data/samples/web/README.md +0 -44
- data/samples/web/app.rb +0 -120
- data/samples/web/views/calendar.erb +0 -34
- data/samples/web/views/drive.erb +0 -33
- data/samples/web/views/home.erb +0 -34
- data/samples/web/views/layout.erb +0 -40
- data/synth.py +0 -40
@@ -2412,6 +2412,414 @@ module Google
|
|
2412
2412
|
execute_or_queue_command(command, &block)
|
2413
2413
|
end
|
2414
2414
|
|
2415
|
+
# Batch deletes test cases.
|
2416
|
+
# @param [String] parent
|
2417
|
+
# Required. The agent to delete test cases from. Format: `projects//locations//
|
2418
|
+
# agents/`.
|
2419
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_batch_delete_test_cases_request_object
|
2420
|
+
# @param [String] fields
|
2421
|
+
# Selector specifying which fields to include in a partial response.
|
2422
|
+
# @param [String] quota_user
|
2423
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2424
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2425
|
+
# @param [Google::Apis::RequestOptions] options
|
2426
|
+
# Request-specific options
|
2427
|
+
#
|
2428
|
+
# @yield [result, err] Result & error if block supplied
|
2429
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
2430
|
+
# @yieldparam err [StandardError] error object if request failed
|
2431
|
+
#
|
2432
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
2433
|
+
#
|
2434
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2435
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2436
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2437
|
+
def batch_project_location_agent_test_case_delete(parent, google_cloud_dialogflow_cx_v3beta1_batch_delete_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2438
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/testCases:batchDelete', options)
|
2439
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest::Representation
|
2440
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_batch_delete_test_cases_request_object
|
2441
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
2442
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
2443
|
+
command.params['parent'] = parent unless parent.nil?
|
2444
|
+
command.query['fields'] = fields unless fields.nil?
|
2445
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2446
|
+
execute_or_queue_command(command, &block)
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# Kicks off a batch run of test cases.
|
2450
|
+
# @param [String] parent
|
2451
|
+
# Required. Agent name. Format: `projects//locations//agents/ `.
|
2452
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_request_object
|
2453
|
+
# @param [String] fields
|
2454
|
+
# Selector specifying which fields to include in a partial response.
|
2455
|
+
# @param [String] quota_user
|
2456
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2457
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2458
|
+
# @param [Google::Apis::RequestOptions] options
|
2459
|
+
# Request-specific options
|
2460
|
+
#
|
2461
|
+
# @yield [result, err] Result & error if block supplied
|
2462
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
2463
|
+
# @yieldparam err [StandardError] error object if request failed
|
2464
|
+
#
|
2465
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
2466
|
+
#
|
2467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2470
|
+
def batch_project_location_agent_test_case_run(parent, google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2471
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/testCases:batchRun', options)
|
2472
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest::Representation
|
2473
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_request_object
|
2474
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
2475
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
2476
|
+
command.params['parent'] = parent unless parent.nil?
|
2477
|
+
command.query['fields'] = fields unless fields.nil?
|
2478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2479
|
+
execute_or_queue_command(command, &block)
|
2480
|
+
end
|
2481
|
+
|
2482
|
+
# Calculates the test coverage for an agent.
|
2483
|
+
# @param [String] agent
|
2484
|
+
# Required. The agent to calculate coverage for. Format: `projects//locations//
|
2485
|
+
# agents/`.
|
2486
|
+
# @param [String] type
|
2487
|
+
# Required. The type of coverage requested.
|
2488
|
+
# @param [String] fields
|
2489
|
+
# Selector specifying which fields to include in a partial response.
|
2490
|
+
# @param [String] quota_user
|
2491
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2492
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2493
|
+
# @param [Google::Apis::RequestOptions] options
|
2494
|
+
# Request-specific options
|
2495
|
+
#
|
2496
|
+
# @yield [result, err] Result & error if block supplied
|
2497
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse] parsed result object
|
2498
|
+
# @yieldparam err [StandardError] error object if request failed
|
2499
|
+
#
|
2500
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse]
|
2501
|
+
#
|
2502
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2503
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2504
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2505
|
+
def calculate_project_location_agent_test_case_coverage(agent, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2506
|
+
command = make_simple_command(:get, 'v3beta1/{+agent}/testCases:calculateCoverage', options)
|
2507
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse::Representation
|
2508
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
|
2509
|
+
command.params['agent'] = agent unless agent.nil?
|
2510
|
+
command.query['type'] = type unless type.nil?
|
2511
|
+
command.query['fields'] = fields unless fields.nil?
|
2512
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2513
|
+
execute_or_queue_command(command, &block)
|
2514
|
+
end
|
2515
|
+
|
2516
|
+
# Creates a test case for the given agent.
|
2517
|
+
# @param [String] parent
|
2518
|
+
# Required. The agent to create the test case for. Format: `projects//locations//
|
2519
|
+
# agents/`.
|
2520
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase] google_cloud_dialogflow_cx_v3beta1_test_case_object
|
2521
|
+
# @param [String] fields
|
2522
|
+
# Selector specifying which fields to include in a partial response.
|
2523
|
+
# @param [String] quota_user
|
2524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2526
|
+
# @param [Google::Apis::RequestOptions] options
|
2527
|
+
# Request-specific options
|
2528
|
+
#
|
2529
|
+
# @yield [result, err] Result & error if block supplied
|
2530
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase] parsed result object
|
2531
|
+
# @yieldparam err [StandardError] error object if request failed
|
2532
|
+
#
|
2533
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase]
|
2534
|
+
#
|
2535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2538
|
+
def create_project_location_agent_test_case(parent, google_cloud_dialogflow_cx_v3beta1_test_case_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2539
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/testCases', options)
|
2540
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase::Representation
|
2541
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_test_case_object
|
2542
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase::Representation
|
2543
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase
|
2544
|
+
command.params['parent'] = parent unless parent.nil?
|
2545
|
+
command.query['fields'] = fields unless fields.nil?
|
2546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2547
|
+
execute_or_queue_command(command, &block)
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
# Exports the test cases under the agent to a Cloud Storage bucket or a local
|
2551
|
+
# file. Filter can be applied to export a subset of test cases.
|
2552
|
+
# @param [String] parent
|
2553
|
+
# Required. The agent where to export test cases from. Format: `projects//
|
2554
|
+
# locations//agents/`.
|
2555
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_export_test_cases_request_object
|
2556
|
+
# @param [String] fields
|
2557
|
+
# Selector specifying which fields to include in a partial response.
|
2558
|
+
# @param [String] quota_user
|
2559
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2560
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2561
|
+
# @param [Google::Apis::RequestOptions] options
|
2562
|
+
# Request-specific options
|
2563
|
+
#
|
2564
|
+
# @yield [result, err] Result & error if block supplied
|
2565
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
2566
|
+
# @yieldparam err [StandardError] error object if request failed
|
2567
|
+
#
|
2568
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
2569
|
+
#
|
2570
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2571
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2572
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2573
|
+
def export_project_location_agent_test_case(parent, google_cloud_dialogflow_cx_v3beta1_export_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2574
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/testCases:export', options)
|
2575
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest::Representation
|
2576
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_export_test_cases_request_object
|
2577
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
2578
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
2579
|
+
command.params['parent'] = parent unless parent.nil?
|
2580
|
+
command.query['fields'] = fields unless fields.nil?
|
2581
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2582
|
+
execute_or_queue_command(command, &block)
|
2583
|
+
end
|
2584
|
+
|
2585
|
+
# Gets a test case.
|
2586
|
+
# @param [String] name
|
2587
|
+
# Required. The name of the testcase. Format: `projects//locations//agents//
|
2588
|
+
# testCases/`.
|
2589
|
+
# @param [String] fields
|
2590
|
+
# Selector specifying which fields to include in a partial response.
|
2591
|
+
# @param [String] quota_user
|
2592
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2593
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2594
|
+
# @param [Google::Apis::RequestOptions] options
|
2595
|
+
# Request-specific options
|
2596
|
+
#
|
2597
|
+
# @yield [result, err] Result & error if block supplied
|
2598
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase] parsed result object
|
2599
|
+
# @yieldparam err [StandardError] error object if request failed
|
2600
|
+
#
|
2601
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase]
|
2602
|
+
#
|
2603
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2604
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2605
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2606
|
+
def get_project_location_agent_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
|
2607
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
2608
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase::Representation
|
2609
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase
|
2610
|
+
command.params['name'] = name unless name.nil?
|
2611
|
+
command.query['fields'] = fields unless fields.nil?
|
2612
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2613
|
+
execute_or_queue_command(command, &block)
|
2614
|
+
end
|
2615
|
+
|
2616
|
+
# Imports the test cases from a Cloud Storage bucket or a local file. It always
|
2617
|
+
# creates new test cases and won't overwite any existing ones. The provided ID
|
2618
|
+
# in the imported test case is neglected.
|
2619
|
+
# @param [String] parent
|
2620
|
+
# Required. The agent to import test cases to. Format: `projects//locations//
|
2621
|
+
# agents/`.
|
2622
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_import_test_cases_request_object
|
2623
|
+
# @param [String] fields
|
2624
|
+
# Selector specifying which fields to include in a partial response.
|
2625
|
+
# @param [String] quota_user
|
2626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2628
|
+
# @param [Google::Apis::RequestOptions] options
|
2629
|
+
# Request-specific options
|
2630
|
+
#
|
2631
|
+
# @yield [result, err] Result & error if block supplied
|
2632
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
2633
|
+
# @yieldparam err [StandardError] error object if request failed
|
2634
|
+
#
|
2635
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
2636
|
+
#
|
2637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2640
|
+
def import_project_location_agent_test_case(parent, google_cloud_dialogflow_cx_v3beta1_import_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2641
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/testCases:import', options)
|
2642
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest::Representation
|
2643
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_import_test_cases_request_object
|
2644
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
2645
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
2646
|
+
command.params['parent'] = parent unless parent.nil?
|
2647
|
+
command.query['fields'] = fields unless fields.nil?
|
2648
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2649
|
+
execute_or_queue_command(command, &block)
|
2650
|
+
end
|
2651
|
+
|
2652
|
+
# Fetches a list of test cases for a given agent.
|
2653
|
+
# @param [String] parent
|
2654
|
+
# Required. The agent to list all pages for. Format: `projects//locations//
|
2655
|
+
# agents/`.
|
2656
|
+
# @param [Fixnum] page_size
|
2657
|
+
# The maximum number of items to return in a single page. By default 20. Note
|
2658
|
+
# that when TestCaseView = FULL, the maximum page size allowed is 20. When
|
2659
|
+
# TestCaseView = BASIC, the maximum page size allowed is 500.
|
2660
|
+
# @param [String] page_token
|
2661
|
+
# The next_page_token value returned from a previous list request.
|
2662
|
+
# @param [String] view
|
2663
|
+
# Specifies whether response should include all fields or just the metadata.
|
2664
|
+
# @param [String] fields
|
2665
|
+
# Selector specifying which fields to include in a partial response.
|
2666
|
+
# @param [String] quota_user
|
2667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2669
|
+
# @param [Google::Apis::RequestOptions] options
|
2670
|
+
# Request-specific options
|
2671
|
+
#
|
2672
|
+
# @yield [result, err] Result & error if block supplied
|
2673
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCasesResponse] parsed result object
|
2674
|
+
# @yieldparam err [StandardError] error object if request failed
|
2675
|
+
#
|
2676
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCasesResponse]
|
2677
|
+
#
|
2678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2681
|
+
def list_project_location_agent_test_cases(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2682
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/testCases', options)
|
2683
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCasesResponse::Representation
|
2684
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCasesResponse
|
2685
|
+
command.params['parent'] = parent unless parent.nil?
|
2686
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2687
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2688
|
+
command.query['view'] = view unless view.nil?
|
2689
|
+
command.query['fields'] = fields unless fields.nil?
|
2690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2691
|
+
execute_or_queue_command(command, &block)
|
2692
|
+
end
|
2693
|
+
|
2694
|
+
# Updates the specified test case.
|
2695
|
+
# @param [String] name
|
2696
|
+
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
2697
|
+
# the name automatically. Otherwise use format: `projects//locations//agents/ /
|
2698
|
+
# testCases/`.
|
2699
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase] google_cloud_dialogflow_cx_v3beta1_test_case_object
|
2700
|
+
# @param [String] update_mask
|
2701
|
+
# Required. The mask to specify which fields should be updated. Only a test case'
|
2702
|
+
# s metadata and replayed_conversation_turns may be updated. The original
|
2703
|
+
# test_case_conversation_turns may not be updated.
|
2704
|
+
# @param [String] fields
|
2705
|
+
# Selector specifying which fields to include in a partial response.
|
2706
|
+
# @param [String] quota_user
|
2707
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2708
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2709
|
+
# @param [Google::Apis::RequestOptions] options
|
2710
|
+
# Request-specific options
|
2711
|
+
#
|
2712
|
+
# @yield [result, err] Result & error if block supplied
|
2713
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase] parsed result object
|
2714
|
+
# @yieldparam err [StandardError] error object if request failed
|
2715
|
+
#
|
2716
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase]
|
2717
|
+
#
|
2718
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2719
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2720
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2721
|
+
def patch_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3beta1_test_case_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2722
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
2723
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase::Representation
|
2724
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_test_case_object
|
2725
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase::Representation
|
2726
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase
|
2727
|
+
command.params['name'] = name unless name.nil?
|
2728
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2729
|
+
command.query['fields'] = fields unless fields.nil?
|
2730
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2731
|
+
execute_or_queue_command(command, &block)
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
# Kicks off a test case run.
|
2735
|
+
# @param [String] projects_id
|
2736
|
+
# @param [String] locations_id
|
2737
|
+
# @param [String] agents_id
|
2738
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest] google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object
|
2739
|
+
# @param [String] fields
|
2740
|
+
# Selector specifying which fields to include in a partial response.
|
2741
|
+
# @param [String] quota_user
|
2742
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2743
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2744
|
+
# @param [Google::Apis::RequestOptions] options
|
2745
|
+
# Request-specific options
|
2746
|
+
#
|
2747
|
+
# @yield [result, err] Result & error if block supplied
|
2748
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
2749
|
+
# @yieldparam err [StandardError] error object if request failed
|
2750
|
+
#
|
2751
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
2752
|
+
#
|
2753
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2754
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2755
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2756
|
+
def run_project_location_agent_test_case(projects_id, locations_id, agents_id, google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2757
|
+
command = make_simple_command(:post, 'v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run', options)
|
2758
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest::Representation
|
2759
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object
|
2760
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
2761
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
2762
|
+
command.params['projectsId'] = projects_id unless projects_id.nil?
|
2763
|
+
command.params['locationsId'] = locations_id unless locations_id.nil?
|
2764
|
+
command.params['agentsId'] = agents_id unless agents_id.nil?
|
2765
|
+
command.query['fields'] = fields unless fields.nil?
|
2766
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2767
|
+
execute_or_queue_command(command, &block)
|
2768
|
+
end
|
2769
|
+
|
2770
|
+
# Fetches a list of results for a given test case.
|
2771
|
+
# @param [String] parent
|
2772
|
+
# Required. The test case to list results for. Format: `projects//locations//
|
2773
|
+
# agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list
|
2774
|
+
# results across multiple test cases.
|
2775
|
+
# @param [String] filter
|
2776
|
+
# The filter expression used to filter test case results. See [API Filtering](
|
2777
|
+
# https://aip.dev/160). The expression is case insensitive. Only 'AND' is
|
2778
|
+
# supported for logical operators. The supported syntax is listed below in
|
2779
|
+
# detail: [AND ] ... [AND latest] The supported fields and operators are: field
|
2780
|
+
# operator `environment` `=`, `IN` (Use value `draft` for draft environment) `
|
2781
|
+
# test_time` `>`, `<` `latest` only returns the latest test result in all
|
2782
|
+
# results for each test case. Examples: * "environment=draft AND latest" matches
|
2783
|
+
# the latest test result for each test case in the draft environment. * "
|
2784
|
+
# environment IN (e1,e2)" matches any test case results with an environment
|
2785
|
+
# resource name of either "e1" or "e2". * "test_time > 1602540713" matches any
|
2786
|
+
# test case results with test time later than a unix timestamp in seconds
|
2787
|
+
# 1602540713.
|
2788
|
+
# @param [Fixnum] page_size
|
2789
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
2790
|
+
# most 1000.
|
2791
|
+
# @param [String] page_token
|
2792
|
+
# The next_page_token value returned from a previous list request.
|
2793
|
+
# @param [String] fields
|
2794
|
+
# Selector specifying which fields to include in a partial response.
|
2795
|
+
# @param [String] quota_user
|
2796
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2797
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2798
|
+
# @param [Google::Apis::RequestOptions] options
|
2799
|
+
# Request-specific options
|
2800
|
+
#
|
2801
|
+
# @yield [result, err] Result & error if block supplied
|
2802
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse] parsed result object
|
2803
|
+
# @yieldparam err [StandardError] error object if request failed
|
2804
|
+
#
|
2805
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse]
|
2806
|
+
#
|
2807
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2808
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2809
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2810
|
+
def list_project_location_agent_test_case_results(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2811
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/results', options)
|
2812
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse::Representation
|
2813
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse
|
2814
|
+
command.params['parent'] = parent unless parent.nil?
|
2815
|
+
command.query['filter'] = filter unless filter.nil?
|
2816
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2817
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2818
|
+
command.query['fields'] = fields unless fields.nil?
|
2819
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2820
|
+
execute_or_queue_command(command, &block)
|
2821
|
+
end
|
2822
|
+
|
2415
2823
|
# Creates a webhook in the specified agent.
|
2416
2824
|
# @param [String] parent
|
2417
2825
|
# Required. The agent to create a webhook for. Format: `projects//locations//
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
28
28
|
module DlpV2
|
29
29
|
VERSION = 'V2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201213'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -3198,9 +3198,7 @@ module Google
|
|
3198
3198
|
end
|
3199
3199
|
|
3200
3200
|
# Finish a running hybrid DlpJob. Triggers the finalization steps and running of
|
3201
|
-
# any enabled actions that have not yet run.
|
3202
|
-
# release state and might change or have limited support. For more information,
|
3203
|
-
# see https://cloud.google.com/products#product-launch-stages.
|
3201
|
+
# any enabled actions that have not yet run.
|
3204
3202
|
# @param [String] name
|
3205
3203
|
# Required. The name of the DlpJob resource to be cancelled.
|
3206
3204
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2FinishDlpJobRequest] google_privacy_dlp_v2_finish_dlp_job_request_object
|
@@ -3266,9 +3264,7 @@ module Google
|
|
3266
3264
|
end
|
3267
3265
|
|
3268
3266
|
# Inspect hybrid content and store findings to a job. To review the findings,
|
3269
|
-
# inspect the job. Inspection will occur asynchronously.
|
3270
|
-
# in a pre-release state and might change or have limited support. For more
|
3271
|
-
# information, see https://cloud.google.com/products#product-launch-stages.
|
3267
|
+
# inspect the job. Inspection will occur asynchronously.
|
3272
3268
|
# @param [String] name
|
3273
3269
|
# Required. Resource name of the job to execute a hybrid inspect on, for example
|
3274
3270
|
# `projects/dlp-test-project/dlpJob/53234423`.
|
@@ -3775,9 +3771,7 @@ module Google
|
|
3775
3771
|
|
3776
3772
|
# Inspect hybrid content and store findings to a trigger. The inspection will be
|
3777
3773
|
# processed asynchronously. To review the findings monitor the jobs within the
|
3778
|
-
# trigger.
|
3779
|
-
# have limited support. For more information, see https://cloud.google.com/
|
3780
|
-
# products#product-launch-stages.
|
3774
|
+
# trigger.
|
3781
3775
|
# @param [String] name
|
3782
3776
|
# Required. Resource name of the trigger to execute a hybrid inspect on, for
|
3783
3777
|
# example `projects/dlp-test-project/jobTriggers/53234423`.
|