google-api-client 0.51.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +0 -14
- data/CHANGELOG.md +106 -0
- data/OVERVIEW.md +36 -27
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +325 -185
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +10 -2
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +17 -13
- data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- 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/{lib/google/apis/generator/templates/classes.rb.tmpl → generated/google/apis/apigateway_v1.rb} +14 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +95 -22
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +256 -48
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- 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_v1.rb +38 -0
- 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_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta1.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/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +132 -0
- data/generated/google/apis/chat_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_v1.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_v1beta1.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/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_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_v1.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_v1beta1.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_v2.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/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +419 -158
- data/generated/google/apis/compute_v1/representations.rb +55 -0
- data/generated/google/apis/compute_v1/service.rb +9 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +55 -16
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +31 -20
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +450 -7
- data/generated/google/apis/content_v2_1/representations.rb +188 -0
- data/generated/google/apis/content_v2_1/service.rb +116 -0
- data/generated/google/apis/content_v2_1.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/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/datamigration_v1beta1.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_v1.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/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +4339 -284
- data/generated/google/apis/dialogflow_v2/representations.rb +2090 -211
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4341 -286
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2097 -218
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +5147 -1554
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1966 -221
- data/generated/google/apis/dialogflow_v3beta1/service.rb +581 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +297 -10
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +65 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
- data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
- data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/service.rb +14 -14
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -6
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +4 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/{lib/google/apis/core/logging.rb → generated/google/apis/metastore_v1beta.rb} +15 -10
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -6
- data/generated/google/apis/monitoring_v3.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/notebooks_v1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/searchconsole_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_v1.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_v1beta1.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/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/servicedirectory_v1.rb} +15 -12
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
- data/generated/google/apis/speech_v1p1beta1.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/sqladmin_v1beta4.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/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +8 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/workflows_v1beta.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/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -23
- metadata +39 -267
- 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 -79
- 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/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
- 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/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/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/module.rb.tmpl +0 -40
- data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
- data/lib/google/apis/generator.rb +0 -71
- data/lib/google/apis/options.rb +0 -116
- data/lib/google/apis.rb +0 -58
- 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//
|
@@ -2707,6 +3115,179 @@ module Google
|
|
2707
3115
|
execute_or_queue_command(command, &block)
|
2708
3116
|
end
|
2709
3117
|
|
3118
|
+
# Create security settings in the specified location.
|
3119
|
+
# @param [String] parent
|
3120
|
+
# Required. The location to create an SecuritySettings for. Format: `projects//
|
3121
|
+
# locations/`.
|
3122
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] google_cloud_dialogflow_cx_v3beta1_security_settings_object
|
3123
|
+
# @param [String] fields
|
3124
|
+
# Selector specifying which fields to include in a partial response.
|
3125
|
+
# @param [String] quota_user
|
3126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3128
|
+
# @param [Google::Apis::RequestOptions] options
|
3129
|
+
# Request-specific options
|
3130
|
+
#
|
3131
|
+
# @yield [result, err] Result & error if block supplied
|
3132
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] parsed result object
|
3133
|
+
# @yieldparam err [StandardError] error object if request failed
|
3134
|
+
#
|
3135
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings]
|
3136
|
+
#
|
3137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3140
|
+
def create_project_location_security_setting(parent, google_cloud_dialogflow_cx_v3beta1_security_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3141
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/securitySettings', options)
|
3142
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings::Representation
|
3143
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_security_settings_object
|
3144
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings::Representation
|
3145
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings
|
3146
|
+
command.params['parent'] = parent unless parent.nil?
|
3147
|
+
command.query['fields'] = fields unless fields.nil?
|
3148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3149
|
+
execute_or_queue_command(command, &block)
|
3150
|
+
end
|
3151
|
+
|
3152
|
+
# Deletes the specified SecuritySettings.
|
3153
|
+
# @param [String] name
|
3154
|
+
# Required. The name of the SecuritySettings to delete. Format: `projects//
|
3155
|
+
# locations//securitySettings/`.
|
3156
|
+
# @param [String] fields
|
3157
|
+
# Selector specifying which fields to include in a partial response.
|
3158
|
+
# @param [String] quota_user
|
3159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3161
|
+
# @param [Google::Apis::RequestOptions] options
|
3162
|
+
# Request-specific options
|
3163
|
+
#
|
3164
|
+
# @yield [result, err] Result & error if block supplied
|
3165
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
3166
|
+
# @yieldparam err [StandardError] error object if request failed
|
3167
|
+
#
|
3168
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
3169
|
+
#
|
3170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3173
|
+
def delete_project_location_security_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
3174
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
3175
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
3176
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
3177
|
+
command.params['name'] = name unless name.nil?
|
3178
|
+
command.query['fields'] = fields unless fields.nil?
|
3179
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3180
|
+
execute_or_queue_command(command, &block)
|
3181
|
+
end
|
3182
|
+
|
3183
|
+
# Retrieves the specified SecuritySettings. The returned settings may be stale
|
3184
|
+
# by up to 1 minute.
|
3185
|
+
# @param [String] name
|
3186
|
+
# Required. Resource name of the settings. Format: `projects//locations//
|
3187
|
+
# securitySettings/`.
|
3188
|
+
# @param [String] fields
|
3189
|
+
# Selector specifying which fields to include in a partial response.
|
3190
|
+
# @param [String] quota_user
|
3191
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3192
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3193
|
+
# @param [Google::Apis::RequestOptions] options
|
3194
|
+
# Request-specific options
|
3195
|
+
#
|
3196
|
+
# @yield [result, err] Result & error if block supplied
|
3197
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] parsed result object
|
3198
|
+
# @yieldparam err [StandardError] error object if request failed
|
3199
|
+
#
|
3200
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings]
|
3201
|
+
#
|
3202
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3203
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3204
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3205
|
+
def get_project_location_security_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
3206
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
3207
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings::Representation
|
3208
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings
|
3209
|
+
command.params['name'] = name unless name.nil?
|
3210
|
+
command.query['fields'] = fields unless fields.nil?
|
3211
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3212
|
+
execute_or_queue_command(command, &block)
|
3213
|
+
end
|
3214
|
+
|
3215
|
+
# Returns the list of all security settings in the specified location.
|
3216
|
+
# @param [String] parent
|
3217
|
+
# Required. The location to list all security settings for. Format: `projects//
|
3218
|
+
# locations/`.
|
3219
|
+
# @param [Fixnum] page_size
|
3220
|
+
# The maximum number of items to return in a single page. By default 20 and at
|
3221
|
+
# most 100.
|
3222
|
+
# @param [String] page_token
|
3223
|
+
# The next_page_token value returned from a previous list request.
|
3224
|
+
# @param [String] fields
|
3225
|
+
# Selector specifying which fields to include in a partial response.
|
3226
|
+
# @param [String] quota_user
|
3227
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3228
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3229
|
+
# @param [Google::Apis::RequestOptions] options
|
3230
|
+
# Request-specific options
|
3231
|
+
#
|
3232
|
+
# @yield [result, err] Result & error if block supplied
|
3233
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse] parsed result object
|
3234
|
+
# @yieldparam err [StandardError] error object if request failed
|
3235
|
+
#
|
3236
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse]
|
3237
|
+
#
|
3238
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3239
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3240
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3241
|
+
def list_project_location_security_settings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3242
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/securitySettings', options)
|
3243
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse::Representation
|
3244
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse
|
3245
|
+
command.params['parent'] = parent unless parent.nil?
|
3246
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3247
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3248
|
+
command.query['fields'] = fields unless fields.nil?
|
3249
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3250
|
+
execute_or_queue_command(command, &block)
|
3251
|
+
end
|
3252
|
+
|
3253
|
+
# Updates the specified SecuritySettings.
|
3254
|
+
# @param [String] name
|
3255
|
+
# Required. Resource name of the settings. Format: `projects//locations//
|
3256
|
+
# securitySettings/`.
|
3257
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] google_cloud_dialogflow_cx_v3beta1_security_settings_object
|
3258
|
+
# @param [String] update_mask
|
3259
|
+
# Required. The mask to control which fields get updated. If the mask is not
|
3260
|
+
# present, all fields will be updated.
|
3261
|
+
# @param [String] fields
|
3262
|
+
# Selector specifying which fields to include in a partial response.
|
3263
|
+
# @param [String] quota_user
|
3264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3266
|
+
# @param [Google::Apis::RequestOptions] options
|
3267
|
+
# Request-specific options
|
3268
|
+
#
|
3269
|
+
# @yield [result, err] Result & error if block supplied
|
3270
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] parsed result object
|
3271
|
+
# @yieldparam err [StandardError] error object if request failed
|
3272
|
+
#
|
3273
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings]
|
3274
|
+
#
|
3275
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3276
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3277
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3278
|
+
def patch_project_location_security_setting(name, google_cloud_dialogflow_cx_v3beta1_security_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3279
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
3280
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings::Representation
|
3281
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_security_settings_object
|
3282
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings::Representation
|
3283
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings
|
3284
|
+
command.params['name'] = name unless name.nil?
|
3285
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3286
|
+
command.query['fields'] = fields unless fields.nil?
|
3287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3288
|
+
execute_or_queue_command(command, &block)
|
3289
|
+
end
|
3290
|
+
|
2710
3291
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2711
3292
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2712
3293
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -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 = '20201213'
|
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'
|