google-api-client 0.51.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +23 -45
- data/CHANGELOG.md +100 -0
- data/README.md +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- 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_directory_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 +323 -183
- data/generated/google/apis/admin_reports_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/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
- data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +71 -0
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +206 -0
- data/generated/google/apis/appengine_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/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.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/cloudidentity_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_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudkms_v1.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/cloudscheduler_v1beta1.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/cloudtasks_v2beta2.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_v2beta3.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/composer_v1beta1.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/compute_alpha.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_beta.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_v1.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/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -13
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -7
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datamigration_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/deploymentmanager_alpha.rb +6 -5
- 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_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.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/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/eventarc_v1beta1.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/file_v1.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/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/healthcare_v1.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_v1beta1.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/iap_v1.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_v1beta1.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/metastore_v1beta.rb +35 -0
- 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/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -4
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.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/searchconsole_v1.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/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- 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/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/speech_v1p1beta1.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/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- 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
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/deployment-manager
|
28
28
|
module DeploymentmanagerV2
|
29
29
|
VERSION = 'V2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201203'
|
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'
|
@@ -272,9 +272,6 @@ module Google
|
|
272
272
|
# @param [String] page_token
|
273
273
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
274
274
|
# by a previous list request to get the next page of results.
|
275
|
-
# @param [Boolean] return_partial_success
|
276
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
277
|
-
# failure. The default value is false and the logic is the same as today.
|
278
275
|
# @param [String] fields
|
279
276
|
# Selector specifying which fields to include in a partial response.
|
280
277
|
# @param [String] quota_user
|
@@ -292,7 +289,7 @@ module Google
|
|
292
289
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
293
290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
294
291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
295
|
-
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
292
|
+
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
296
293
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments', options)
|
297
294
|
command.response_representation = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse::Representation
|
298
295
|
command.response_class = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse
|
@@ -301,7 +298,6 @@ module Google
|
|
301
298
|
command.query['maxResults'] = max_results unless max_results.nil?
|
302
299
|
command.query['orderBy'] = order_by unless order_by.nil?
|
303
300
|
command.query['pageToken'] = page_token unless page_token.nil?
|
304
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
305
301
|
command.query['fields'] = fields unless fields.nil?
|
306
302
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
307
303
|
execute_or_queue_command(command, &block)
|
@@ -600,9 +596,6 @@ module Google
|
|
600
596
|
# @param [String] page_token
|
601
597
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
602
598
|
# by a previous list request to get the next page of results.
|
603
|
-
# @param [Boolean] return_partial_success
|
604
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
605
|
-
# failure. The default value is false and the logic is the same as today.
|
606
599
|
# @param [String] fields
|
607
600
|
# Selector specifying which fields to include in a partial response.
|
608
601
|
# @param [String] quota_user
|
@@ -620,7 +613,7 @@ module Google
|
|
620
613
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
621
614
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
622
615
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
623
|
-
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
616
|
+
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
624
617
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests', options)
|
625
618
|
command.response_representation = Google::Apis::DeploymentmanagerV2::ListManifestsResponse::Representation
|
626
619
|
command.response_class = Google::Apis::DeploymentmanagerV2::ListManifestsResponse
|
@@ -630,7 +623,6 @@ module Google
|
|
630
623
|
command.query['maxResults'] = max_results unless max_results.nil?
|
631
624
|
command.query['orderBy'] = order_by unless order_by.nil?
|
632
625
|
command.query['pageToken'] = page_token unless page_token.nil?
|
633
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
634
626
|
command.query['fields'] = fields unless fields.nil?
|
635
627
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
636
628
|
execute_or_queue_command(command, &block)
|
@@ -704,9 +696,6 @@ module Google
|
|
704
696
|
# @param [String] page_token
|
705
697
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
706
698
|
# by a previous list request to get the next page of results.
|
707
|
-
# @param [Boolean] return_partial_success
|
708
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
709
|
-
# failure. The default value is false and the logic is the same as today.
|
710
699
|
# @param [String] fields
|
711
700
|
# Selector specifying which fields to include in a partial response.
|
712
701
|
# @param [String] quota_user
|
@@ -724,7 +713,7 @@ module Google
|
|
724
713
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
725
714
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
726
715
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
727
|
-
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
716
|
+
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
728
717
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/operations', options)
|
729
718
|
command.response_representation = Google::Apis::DeploymentmanagerV2::ListOperationsResponse::Representation
|
730
719
|
command.response_class = Google::Apis::DeploymentmanagerV2::ListOperationsResponse
|
@@ -733,7 +722,6 @@ module Google
|
|
733
722
|
command.query['maxResults'] = max_results unless max_results.nil?
|
734
723
|
command.query['orderBy'] = order_by unless order_by.nil?
|
735
724
|
command.query['pageToken'] = page_token unless page_token.nil?
|
736
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
737
725
|
command.query['fields'] = fields unless fields.nil?
|
738
726
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
739
727
|
execute_or_queue_command(command, &block)
|
@@ -812,9 +800,6 @@ module Google
|
|
812
800
|
# @param [String] page_token
|
813
801
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
814
802
|
# by a previous list request to get the next page of results.
|
815
|
-
# @param [Boolean] return_partial_success
|
816
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
817
|
-
# failure. The default value is false and the logic is the same as today.
|
818
803
|
# @param [String] fields
|
819
804
|
# Selector specifying which fields to include in a partial response.
|
820
805
|
# @param [String] quota_user
|
@@ -832,7 +817,7 @@ module Google
|
|
832
817
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
833
818
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
819
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
|
-
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
820
|
+
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
836
821
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources', options)
|
837
822
|
command.response_representation = Google::Apis::DeploymentmanagerV2::ListResourcesResponse::Representation
|
838
823
|
command.response_class = Google::Apis::DeploymentmanagerV2::ListResourcesResponse
|
@@ -842,7 +827,6 @@ module Google
|
|
842
827
|
command.query['maxResults'] = max_results unless max_results.nil?
|
843
828
|
command.query['orderBy'] = order_by unless order_by.nil?
|
844
829
|
command.query['pageToken'] = page_token unless page_token.nil?
|
845
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
846
830
|
command.query['fields'] = fields unless fields.nil?
|
847
831
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
848
832
|
execute_or_queue_command(command, &block)
|
@@ -883,9 +867,6 @@ module Google
|
|
883
867
|
# @param [String] page_token
|
884
868
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
885
869
|
# by a previous list request to get the next page of results.
|
886
|
-
# @param [Boolean] return_partial_success
|
887
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
888
|
-
# failure. The default value is false and the logic is the same as today.
|
889
870
|
# @param [String] fields
|
890
871
|
# Selector specifying which fields to include in a partial response.
|
891
872
|
# @param [String] quota_user
|
@@ -903,7 +884,7 @@ module Google
|
|
903
884
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
904
885
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
905
886
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
906
|
-
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
887
|
+
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
907
888
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/types', options)
|
908
889
|
command.response_representation = Google::Apis::DeploymentmanagerV2::ListTypesResponse::Representation
|
909
890
|
command.response_class = Google::Apis::DeploymentmanagerV2::ListTypesResponse
|
@@ -912,7 +893,6 @@ module Google
|
|
912
893
|
command.query['maxResults'] = max_results unless max_results.nil?
|
913
894
|
command.query['orderBy'] = order_by unless order_by.nil?
|
914
895
|
command.query['pageToken'] = page_token unless page_token.nil?
|
915
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
916
896
|
command.query['fields'] = fields unless fields.nil?
|
917
897
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
918
898
|
execute_or_queue_command(command, &block)
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/deployment-manager
|
28
28
|
module DeploymentmanagerV2beta
|
29
29
|
VERSION = 'V2beta'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201203'
|
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'
|
@@ -183,9 +183,6 @@ module Google
|
|
183
183
|
# @param [String] page_token
|
184
184
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
185
185
|
# by a previous list request to get the next page of results.
|
186
|
-
# @param [Boolean] return_partial_success
|
187
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
188
|
-
# failure. The default value is false and the logic is the same as today.
|
189
186
|
# @param [String] fields
|
190
187
|
# Selector specifying which fields to include in a partial response.
|
191
188
|
# @param [String] quota_user
|
@@ -203,7 +200,7 @@ module Google
|
|
203
200
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
204
201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
|
-
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
203
|
+
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
207
204
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes', options)
|
208
205
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse::Representation
|
209
206
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse
|
@@ -212,7 +209,6 @@ module Google
|
|
212
209
|
command.query['maxResults'] = max_results unless max_results.nil?
|
213
210
|
command.query['orderBy'] = order_by unless order_by.nil?
|
214
211
|
command.query['pageToken'] = page_token unless page_token.nil?
|
215
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
216
212
|
command.query['fields'] = fields unless fields.nil?
|
217
213
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
218
214
|
execute_or_queue_command(command, &block)
|
@@ -513,9 +509,6 @@ module Google
|
|
513
509
|
# @param [String] page_token
|
514
510
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
515
511
|
# by a previous list request to get the next page of results.
|
516
|
-
# @param [Boolean] return_partial_success
|
517
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
518
|
-
# failure. The default value is false and the logic is the same as today.
|
519
512
|
# @param [String] fields
|
520
513
|
# Selector specifying which fields to include in a partial response.
|
521
514
|
# @param [String] quota_user
|
@@ -533,7 +526,7 @@ module Google
|
|
533
526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
534
527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
|
-
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
529
|
+
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
537
530
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
|
538
531
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse::Representation
|
539
532
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse
|
@@ -542,7 +535,6 @@ module Google
|
|
542
535
|
command.query['maxResults'] = max_results unless max_results.nil?
|
543
536
|
command.query['orderBy'] = order_by unless order_by.nil?
|
544
537
|
command.query['pageToken'] = page_token unless page_token.nil?
|
545
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
546
538
|
command.query['fields'] = fields unless fields.nil?
|
547
539
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
548
540
|
execute_or_queue_command(command, &block)
|
@@ -841,9 +833,6 @@ module Google
|
|
841
833
|
# @param [String] page_token
|
842
834
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
843
835
|
# by a previous list request to get the next page of results.
|
844
|
-
# @param [Boolean] return_partial_success
|
845
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
846
|
-
# failure. The default value is false and the logic is the same as today.
|
847
836
|
# @param [String] fields
|
848
837
|
# Selector specifying which fields to include in a partial response.
|
849
838
|
# @param [String] quota_user
|
@@ -861,7 +850,7 @@ module Google
|
|
861
850
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
862
851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
863
852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
864
|
-
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
853
|
+
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
865
854
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests', options)
|
866
855
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse::Representation
|
867
856
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse
|
@@ -871,7 +860,6 @@ module Google
|
|
871
860
|
command.query['maxResults'] = max_results unless max_results.nil?
|
872
861
|
command.query['orderBy'] = order_by unless order_by.nil?
|
873
862
|
command.query['pageToken'] = page_token unless page_token.nil?
|
874
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
875
863
|
command.query['fields'] = fields unless fields.nil?
|
876
864
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
877
865
|
execute_or_queue_command(command, &block)
|
@@ -945,9 +933,6 @@ module Google
|
|
945
933
|
# @param [String] page_token
|
946
934
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
947
935
|
# by a previous list request to get the next page of results.
|
948
|
-
# @param [Boolean] return_partial_success
|
949
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
950
|
-
# failure. The default value is false and the logic is the same as today.
|
951
936
|
# @param [String] fields
|
952
937
|
# Selector specifying which fields to include in a partial response.
|
953
938
|
# @param [String] quota_user
|
@@ -965,7 +950,7 @@ module Google
|
|
965
950
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
966
951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
967
952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
968
|
-
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
953
|
+
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
969
954
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations', options)
|
970
955
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse::Representation
|
971
956
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse
|
@@ -974,7 +959,6 @@ module Google
|
|
974
959
|
command.query['maxResults'] = max_results unless max_results.nil?
|
975
960
|
command.query['orderBy'] = order_by unless order_by.nil?
|
976
961
|
command.query['pageToken'] = page_token unless page_token.nil?
|
977
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
978
962
|
command.query['fields'] = fields unless fields.nil?
|
979
963
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
980
964
|
execute_or_queue_command(command, &block)
|
@@ -1053,9 +1037,6 @@ module Google
|
|
1053
1037
|
# @param [String] page_token
|
1054
1038
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1055
1039
|
# by a previous list request to get the next page of results.
|
1056
|
-
# @param [Boolean] return_partial_success
|
1057
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1058
|
-
# failure. The default value is false and the logic is the same as today.
|
1059
1040
|
# @param [String] fields
|
1060
1041
|
# Selector specifying which fields to include in a partial response.
|
1061
1042
|
# @param [String] quota_user
|
@@ -1073,7 +1054,7 @@ module Google
|
|
1073
1054
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1074
1055
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1075
1056
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1076
|
-
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1057
|
+
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1077
1058
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources', options)
|
1078
1059
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse::Representation
|
1079
1060
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse
|
@@ -1083,7 +1064,6 @@ module Google
|
|
1083
1064
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1084
1065
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1085
1066
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1086
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1087
1067
|
command.query['fields'] = fields unless fields.nil?
|
1088
1068
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1089
1069
|
execute_or_queue_command(command, &block)
|
@@ -1259,9 +1239,6 @@ module Google
|
|
1259
1239
|
# @param [String] page_token
|
1260
1240
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1261
1241
|
# by a previous list request to get the next page of results.
|
1262
|
-
# @param [Boolean] return_partial_success
|
1263
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1264
|
-
# failure. The default value is false and the logic is the same as today.
|
1265
1242
|
# @param [String] fields
|
1266
1243
|
# Selector specifying which fields to include in a partial response.
|
1267
1244
|
# @param [String] quota_user
|
@@ -1279,7 +1256,7 @@ module Google
|
|
1279
1256
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1280
1257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1281
1258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1282
|
-
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1259
|
+
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1283
1260
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
|
1284
1261
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse::Representation
|
1285
1262
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse
|
@@ -1288,7 +1265,6 @@ module Google
|
|
1288
1265
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1289
1266
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1290
1267
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1291
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1292
1268
|
command.query['fields'] = fields unless fields.nil?
|
1293
1269
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1294
1270
|
execute_or_queue_command(command, &block)
|
@@ -1331,9 +1307,6 @@ module Google
|
|
1331
1307
|
# @param [String] page_token
|
1332
1308
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1333
1309
|
# by a previous list request to get the next page of results.
|
1334
|
-
# @param [Boolean] return_partial_success
|
1335
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1336
|
-
# failure. The default value is false and the logic is the same as today.
|
1337
1310
|
# @param [String] fields
|
1338
1311
|
# Selector specifying which fields to include in a partial response.
|
1339
1312
|
# @param [String] quota_user
|
@@ -1351,7 +1324,7 @@ module Google
|
|
1351
1324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1352
1325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1353
1326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1354
|
-
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1327
|
+
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1355
1328
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types', options)
|
1356
1329
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse::Representation
|
1357
1330
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse
|
@@ -1361,7 +1334,6 @@ module Google
|
|
1361
1334
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1362
1335
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1363
1336
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1364
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1365
1337
|
command.query['fields'] = fields unless fields.nil?
|
1366
1338
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1367
1339
|
execute_or_queue_command(command, &block)
|
@@ -1474,9 +1446,6 @@ module Google
|
|
1474
1446
|
# @param [String] page_token
|
1475
1447
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1476
1448
|
# by a previous list request to get the next page of results.
|
1477
|
-
# @param [Boolean] return_partial_success
|
1478
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1479
|
-
# failure. The default value is false and the logic is the same as today.
|
1480
1449
|
# @param [String] fields
|
1481
1450
|
# Selector specifying which fields to include in a partial response.
|
1482
1451
|
# @param [String] quota_user
|
@@ -1494,7 +1463,7 @@ module Google
|
|
1494
1463
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1495
1464
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1496
1465
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1497
|
-
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1466
|
+
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1498
1467
|
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/types', options)
|
1499
1468
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypesListResponse::Representation
|
1500
1469
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypesListResponse
|
@@ -1503,7 +1472,6 @@ module Google
|
|
1503
1472
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1504
1473
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1505
1474
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1506
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1507
1475
|
command.query['fields'] = fields unless fields.nil?
|
1508
1476
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1509
1477
|
execute_or_queue_command(command, &block)
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201207'
|
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'
|
@@ -22,6 +22,698 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2
|
24
24
|
|
25
|
+
# Metadata associated with the long running operation for Versions.CreateVersion.
|
26
|
+
class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Name of the created version. Format: `projects//locations//agents//flows//
|
30
|
+
# versions/`.
|
31
|
+
# Corresponds to the JSON property `version`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :version
|
34
|
+
|
35
|
+
def initialize(**args)
|
36
|
+
update!(**args)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Update properties of this object
|
40
|
+
def update!(**args)
|
41
|
+
@version = args[:version] if args.key?(:version)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# The response message for Agents.ExportAgent.
|
46
|
+
class GoogleCloudDialogflowCxV3ExportAgentResponse
|
47
|
+
include Google::Apis::Core::Hashable
|
48
|
+
|
49
|
+
# Uncompressed raw byte content for agent.
|
50
|
+
# Corresponds to the JSON property `agentContent`
|
51
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
52
|
+
# @return [String]
|
53
|
+
attr_accessor :agent_content
|
54
|
+
|
55
|
+
# The URI to a file containing the exported agent. This field is populated only
|
56
|
+
# if `agent_uri` is specified in ExportAgentRequest.
|
57
|
+
# Corresponds to the JSON property `agentUri`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :agent_uri
|
60
|
+
|
61
|
+
def initialize(**args)
|
62
|
+
update!(**args)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Update properties of this object
|
66
|
+
def update!(**args)
|
67
|
+
@agent_content = args[:agent_content] if args.key?(:agent_content)
|
68
|
+
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# Represents page information communicated to and from the webhook.
|
73
|
+
class GoogleCloudDialogflowCxV3PageInfo
|
74
|
+
include Google::Apis::Core::Hashable
|
75
|
+
|
76
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
77
|
+
# identifier of the current page. Format: `projects//locations//agents//flows//
|
78
|
+
# pages/`.
|
79
|
+
# Corresponds to the JSON property `currentPage`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :current_page
|
82
|
+
|
83
|
+
# Represents form information.
|
84
|
+
# Corresponds to the JSON property `formInfo`
|
85
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo]
|
86
|
+
attr_accessor :form_info
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@current_page = args[:current_page] if args.key?(:current_page)
|
95
|
+
@form_info = args[:form_info] if args.key?(:form_info)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# Represents form information.
|
100
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
101
|
+
include Google::Apis::Core::Hashable
|
102
|
+
|
103
|
+
# Optional for both WebhookRequest and WebhookResponse. The parameters contained
|
104
|
+
# in the form. Note that the webhook cannot add or remove any form parameter.
|
105
|
+
# Corresponds to the JSON property `parameterInfo`
|
106
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo>]
|
107
|
+
attr_accessor :parameter_info
|
108
|
+
|
109
|
+
def initialize(**args)
|
110
|
+
update!(**args)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Update properties of this object
|
114
|
+
def update!(**args)
|
115
|
+
@parameter_info = args[:parameter_info] if args.key?(:parameter_info)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# Represents parameter information.
|
120
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
121
|
+
include Google::Apis::Core::Hashable
|
122
|
+
|
123
|
+
# Always present for WebhookRequest. Required for WebhookResponse. The human-
|
124
|
+
# readable name of the parameter, unique within the form. This field cannot be
|
125
|
+
# modified by the webhook.
|
126
|
+
# Corresponds to the JSON property `displayName`
|
127
|
+
# @return [String]
|
128
|
+
attr_accessor :display_name
|
129
|
+
|
130
|
+
# Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the
|
131
|
+
# parameter value was just collected on the last conversation turn.
|
132
|
+
# Corresponds to the JSON property `justCollected`
|
133
|
+
# @return [Boolean]
|
134
|
+
attr_accessor :just_collected
|
135
|
+
alias_method :just_collected?, :just_collected
|
136
|
+
|
137
|
+
# Optional for both WebhookRequest and WebhookResponse. Indicates whether the
|
138
|
+
# parameter is required. Optional parameters will not trigger prompts; however,
|
139
|
+
# they are filled if the user specifies them. Required parameters must be filled
|
140
|
+
# before form filling concludes.
|
141
|
+
# Corresponds to the JSON property `required`
|
142
|
+
# @return [Boolean]
|
143
|
+
attr_accessor :required
|
144
|
+
alias_method :required?, :required
|
145
|
+
|
146
|
+
# Always present for WebhookRequest. Required for WebhookResponse. The state of
|
147
|
+
# the parameter. This field can be set to INVALID by the webhook to invalidate
|
148
|
+
# the parameter; other values set by the webhook will be ignored.
|
149
|
+
# Corresponds to the JSON property `state`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :state
|
152
|
+
|
153
|
+
# Optional for both WebhookRequest and WebhookResponse. The value of the
|
154
|
+
# parameter. This field can be set by the webhook to change the parameter value.
|
155
|
+
# Corresponds to the JSON property `value`
|
156
|
+
# @return [Object]
|
157
|
+
attr_accessor :value
|
158
|
+
|
159
|
+
def initialize(**args)
|
160
|
+
update!(**args)
|
161
|
+
end
|
162
|
+
|
163
|
+
# Update properties of this object
|
164
|
+
def update!(**args)
|
165
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
166
|
+
@just_collected = args[:just_collected] if args.key?(:just_collected)
|
167
|
+
@required = args[:required] if args.key?(:required)
|
168
|
+
@state = args[:state] if args.key?(:state)
|
169
|
+
@value = args[:value] if args.key?(:value)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Represents a response message that can be returned by a conversational agent.
|
174
|
+
# Response messages are also used for output audio synthesis. The approach is as
|
175
|
+
# follows: * If at least one OutputAudioText response is present, then all
|
176
|
+
# OutputAudioText responses are linearly concatenated, and the result is used
|
177
|
+
# for output audio synthesis. * If the OutputAudioText responses are a mixture
|
178
|
+
# of text and SSML, then the concatenated result is treated as SSML; otherwise,
|
179
|
+
# the result is treated as either text or SSML as appropriate. The agent
|
180
|
+
# designer should ideally use either text or SSML consistently throughout the
|
181
|
+
# bot design. * Otherwise, all Text responses are linearly concatenated, and the
|
182
|
+
# result is used for output audio synthesis. This approach allows for more
|
183
|
+
# sophisticated user experience scenarios, where the text displayed to the user
|
184
|
+
# may differ from what is heard.
|
185
|
+
class GoogleCloudDialogflowCxV3ResponseMessage
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
189
|
+
# that the customer talked to it about. Dialogflow only uses this to determine
|
190
|
+
# which conversations should be counted as successful and doesn't process the
|
191
|
+
# metadata in this message in any way. Note that Dialogflow also considers
|
192
|
+
# conversations that get to the conversation end page as successful even if they
|
193
|
+
# don't return ConversationSuccess. You may set this, for example: * In the
|
194
|
+
# entry_fulfillment of a Page if entering the page indicates that the
|
195
|
+
# conversation succeeded. * In a webhook response when you determine that you
|
196
|
+
# handled the customer issue.
|
197
|
+
# Corresponds to the JSON property `conversationSuccess`
|
198
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]
|
199
|
+
attr_accessor :conversation_success
|
200
|
+
|
201
|
+
# Indicates that interaction with the Dialogflow agent has ended. This message
|
202
|
+
# is generated by Dialogflow only and not supposed to be defined by the user.
|
203
|
+
# Corresponds to the JSON property `endInteraction`
|
204
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction]
|
205
|
+
attr_accessor :end_interaction
|
206
|
+
|
207
|
+
# Indicates that the conversation should be handed off to a live agent.
|
208
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
209
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
210
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
211
|
+
# entry_fulfillment of a Page if entering the page indicates something went
|
212
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
213
|
+
# determine that the customer issue can only be handled by a human.
|
214
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
215
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]
|
216
|
+
attr_accessor :live_agent_handoff
|
217
|
+
|
218
|
+
# Represents an audio message that is composed of both segments synthesized from
|
219
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
220
|
+
# The external URIs are specified via play_audio. This message is generated by
|
221
|
+
# Dialogflow only and not supposed to be defined by the user.
|
222
|
+
# Corresponds to the JSON property `mixedAudio`
|
223
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio]
|
224
|
+
attr_accessor :mixed_audio
|
225
|
+
|
226
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
227
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
228
|
+
# Corresponds to the JSON property `outputAudioText`
|
229
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]
|
230
|
+
attr_accessor :output_audio_text
|
231
|
+
|
232
|
+
# Returns a response containing a custom, platform-specific payload.
|
233
|
+
# Corresponds to the JSON property `payload`
|
234
|
+
# @return [Hash<String,Object>]
|
235
|
+
attr_accessor :payload
|
236
|
+
|
237
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
238
|
+
# Corresponds to the JSON property `playAudio`
|
239
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
|
240
|
+
attr_accessor :play_audio
|
241
|
+
|
242
|
+
# The text response message.
|
243
|
+
# Corresponds to the JSON property `text`
|
244
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText]
|
245
|
+
attr_accessor :text
|
246
|
+
|
247
|
+
def initialize(**args)
|
248
|
+
update!(**args)
|
249
|
+
end
|
250
|
+
|
251
|
+
# Update properties of this object
|
252
|
+
def update!(**args)
|
253
|
+
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
254
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
255
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
256
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
257
|
+
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
258
|
+
@payload = args[:payload] if args.key?(:payload)
|
259
|
+
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
260
|
+
@text = args[:text] if args.key?(:text)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
265
|
+
# that the customer talked to it about. Dialogflow only uses this to determine
|
266
|
+
# which conversations should be counted as successful and doesn't process the
|
267
|
+
# metadata in this message in any way. Note that Dialogflow also considers
|
268
|
+
# conversations that get to the conversation end page as successful even if they
|
269
|
+
# don't return ConversationSuccess. You may set this, for example: * In the
|
270
|
+
# entry_fulfillment of a Page if entering the page indicates that the
|
271
|
+
# conversation succeeded. * In a webhook response when you determine that you
|
272
|
+
# handled the customer issue.
|
273
|
+
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# Custom metadata. Dialogflow doesn't impose any structure on this.
|
277
|
+
# Corresponds to the JSON property `metadata`
|
278
|
+
# @return [Hash<String,Object>]
|
279
|
+
attr_accessor :metadata
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# Indicates that interaction with the Dialogflow agent has ended. This message
|
292
|
+
# is generated by Dialogflow only and not supposed to be defined by the user.
|
293
|
+
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
294
|
+
include Google::Apis::Core::Hashable
|
295
|
+
|
296
|
+
def initialize(**args)
|
297
|
+
update!(**args)
|
298
|
+
end
|
299
|
+
|
300
|
+
# Update properties of this object
|
301
|
+
def update!(**args)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# Indicates that the conversation should be handed off to a live agent.
|
306
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
307
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
308
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
309
|
+
# entry_fulfillment of a Page if entering the page indicates something went
|
310
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
311
|
+
# determine that the customer issue can only be handled by a human.
|
312
|
+
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
313
|
+
include Google::Apis::Core::Hashable
|
314
|
+
|
315
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose any
|
316
|
+
# structure on this.
|
317
|
+
# Corresponds to the JSON property `metadata`
|
318
|
+
# @return [Hash<String,Object>]
|
319
|
+
attr_accessor :metadata
|
320
|
+
|
321
|
+
def initialize(**args)
|
322
|
+
update!(**args)
|
323
|
+
end
|
324
|
+
|
325
|
+
# Update properties of this object
|
326
|
+
def update!(**args)
|
327
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
# Represents an audio message that is composed of both segments synthesized from
|
332
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
333
|
+
# The external URIs are specified via play_audio. This message is generated by
|
334
|
+
# Dialogflow only and not supposed to be defined by the user.
|
335
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
336
|
+
include Google::Apis::Core::Hashable
|
337
|
+
|
338
|
+
# Segments this audio response is composed of.
|
339
|
+
# Corresponds to the JSON property `segments`
|
340
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment>]
|
341
|
+
attr_accessor :segments
|
342
|
+
|
343
|
+
def initialize(**args)
|
344
|
+
update!(**args)
|
345
|
+
end
|
346
|
+
|
347
|
+
# Update properties of this object
|
348
|
+
def update!(**args)
|
349
|
+
@segments = args[:segments] if args.key?(:segments)
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# Represents one segment of audio.
|
354
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
355
|
+
include Google::Apis::Core::Hashable
|
356
|
+
|
357
|
+
# Output only. Whether the playback of this segment can be interrupted by the
|
358
|
+
# end user's speech and the client should then start the next Dialogflow request.
|
359
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
360
|
+
# @return [Boolean]
|
361
|
+
attr_accessor :allow_playback_interruption
|
362
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
363
|
+
|
364
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
365
|
+
# config specified in the request.
|
366
|
+
# Corresponds to the JSON property `audio`
|
367
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
368
|
+
# @return [String]
|
369
|
+
attr_accessor :audio
|
370
|
+
|
371
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
372
|
+
# Dialogflow does not impose any validation on it.
|
373
|
+
# Corresponds to the JSON property `uri`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :uri
|
376
|
+
|
377
|
+
def initialize(**args)
|
378
|
+
update!(**args)
|
379
|
+
end
|
380
|
+
|
381
|
+
# Update properties of this object
|
382
|
+
def update!(**args)
|
383
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
384
|
+
@audio = args[:audio] if args.key?(:audio)
|
385
|
+
@uri = args[:uri] if args.key?(:uri)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
390
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
391
|
+
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
392
|
+
include Google::Apis::Core::Hashable
|
393
|
+
|
394
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
395
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
396
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
397
|
+
# @return [Boolean]
|
398
|
+
attr_accessor :allow_playback_interruption
|
399
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
400
|
+
|
401
|
+
# The SSML text to be synthesized. For more information, see [SSML](/speech/text-
|
402
|
+
# to-speech/docs/ssml).
|
403
|
+
# Corresponds to the JSON property `ssml`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :ssml
|
406
|
+
|
407
|
+
# The raw text to be synthesized.
|
408
|
+
# Corresponds to the JSON property `text`
|
409
|
+
# @return [String]
|
410
|
+
attr_accessor :text
|
411
|
+
|
412
|
+
def initialize(**args)
|
413
|
+
update!(**args)
|
414
|
+
end
|
415
|
+
|
416
|
+
# Update properties of this object
|
417
|
+
def update!(**args)
|
418
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
419
|
+
@ssml = args[:ssml] if args.key?(:ssml)
|
420
|
+
@text = args[:text] if args.key?(:text)
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
425
|
+
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
426
|
+
include Google::Apis::Core::Hashable
|
427
|
+
|
428
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
429
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
430
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
431
|
+
# @return [Boolean]
|
432
|
+
attr_accessor :allow_playback_interruption
|
433
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
434
|
+
|
435
|
+
# Required. URI of the audio clip. Dialogflow does not impose any validation on
|
436
|
+
# this value. It is specific to the client that reads it.
|
437
|
+
# Corresponds to the JSON property `audioUri`
|
438
|
+
# @return [String]
|
439
|
+
attr_accessor :audio_uri
|
440
|
+
|
441
|
+
def initialize(**args)
|
442
|
+
update!(**args)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Update properties of this object
|
446
|
+
def update!(**args)
|
447
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
448
|
+
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# The text response message.
|
453
|
+
class GoogleCloudDialogflowCxV3ResponseMessageText
|
454
|
+
include Google::Apis::Core::Hashable
|
455
|
+
|
456
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
457
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
458
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
459
|
+
# @return [Boolean]
|
460
|
+
attr_accessor :allow_playback_interruption
|
461
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
462
|
+
|
463
|
+
# Required. A collection of text responses.
|
464
|
+
# Corresponds to the JSON property `text`
|
465
|
+
# @return [Array<String>]
|
466
|
+
attr_accessor :text
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
475
|
+
@text = args[:text] if args.key?(:text)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
# Represents session information communicated to and from the webhook.
|
480
|
+
class GoogleCloudDialogflowCxV3SessionInfo
|
481
|
+
include Google::Apis::Core::Hashable
|
482
|
+
|
483
|
+
# Optional for WebhookRequest. Optional for WebhookResponse. All parameters
|
484
|
+
# collected from forms and intents during the session. Parameters can be created,
|
485
|
+
# updated, or removed by the webhook. To remove a parameter from the session,
|
486
|
+
# the webhook should explicitly set the parameter value to null in
|
487
|
+
# WebhookResponse. The map is keyed by parameters' display names.
|
488
|
+
# Corresponds to the JSON property `parameters`
|
489
|
+
# @return [Hash<String,Object>]
|
490
|
+
attr_accessor :parameters
|
491
|
+
|
492
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
493
|
+
# identifier of the session. This field can be used by the webhook to identify a
|
494
|
+
# user. Format: `projects//locations//agents//sessions/`.
|
495
|
+
# Corresponds to the JSON property `session`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :session
|
498
|
+
|
499
|
+
def initialize(**args)
|
500
|
+
update!(**args)
|
501
|
+
end
|
502
|
+
|
503
|
+
# Update properties of this object
|
504
|
+
def update!(**args)
|
505
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
506
|
+
@session = args[:session] if args.key?(:session)
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
# The request message for a webhook call.
|
511
|
+
class GoogleCloudDialogflowCxV3WebhookRequest
|
512
|
+
include Google::Apis::Core::Hashable
|
513
|
+
|
514
|
+
# Always present. The unique identifier of the DetectIntentResponse that will be
|
515
|
+
# returned to the API caller.
|
516
|
+
# Corresponds to the JSON property `detectIntentResponseId`
|
517
|
+
# @return [String]
|
518
|
+
attr_accessor :detect_intent_response_id
|
519
|
+
|
520
|
+
# Represents fulfillment information communicated to the webhook.
|
521
|
+
# Corresponds to the JSON property `fulfillmentInfo`
|
522
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo]
|
523
|
+
attr_accessor :fulfillment_info
|
524
|
+
|
525
|
+
# Represents intent information communicated to the webhook.
|
526
|
+
# Corresponds to the JSON property `intentInfo`
|
527
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
528
|
+
attr_accessor :intent_info
|
529
|
+
|
530
|
+
# The list of rich message responses to present to the user. Webhook can choose
|
531
|
+
# to append or replace this list in WebhookResponse.fulfillment_response;
|
532
|
+
# Corresponds to the JSON property `messages`
|
533
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage>]
|
534
|
+
attr_accessor :messages
|
535
|
+
|
536
|
+
# Represents page information communicated to and from the webhook.
|
537
|
+
# Corresponds to the JSON property `pageInfo`
|
538
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo]
|
539
|
+
attr_accessor :page_info
|
540
|
+
|
541
|
+
# Custom data set in QueryParameters.payload.
|
542
|
+
# Corresponds to the JSON property `payload`
|
543
|
+
# @return [Hash<String,Object>]
|
544
|
+
attr_accessor :payload
|
545
|
+
|
546
|
+
# Represents session information communicated to and from the webhook.
|
547
|
+
# Corresponds to the JSON property `sessionInfo`
|
548
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo]
|
549
|
+
attr_accessor :session_info
|
550
|
+
|
551
|
+
def initialize(**args)
|
552
|
+
update!(**args)
|
553
|
+
end
|
554
|
+
|
555
|
+
# Update properties of this object
|
556
|
+
def update!(**args)
|
557
|
+
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
558
|
+
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
559
|
+
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
560
|
+
@messages = args[:messages] if args.key?(:messages)
|
561
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
562
|
+
@payload = args[:payload] if args.key?(:payload)
|
563
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
# Represents fulfillment information communicated to the webhook.
|
568
|
+
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
569
|
+
include Google::Apis::Core::Hashable
|
570
|
+
|
571
|
+
# Always present. The tag used to identify which fulfillment is being called.
|
572
|
+
# Corresponds to the JSON property `tag`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :tag
|
575
|
+
|
576
|
+
def initialize(**args)
|
577
|
+
update!(**args)
|
578
|
+
end
|
579
|
+
|
580
|
+
# Update properties of this object
|
581
|
+
def update!(**args)
|
582
|
+
@tag = args[:tag] if args.key?(:tag)
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
# Represents intent information communicated to the webhook.
|
587
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
588
|
+
include Google::Apis::Core::Hashable
|
589
|
+
|
590
|
+
# Always present. The unique identifier of the last matched intent. Format: `
|
591
|
+
# projects//locations//agents//intents/`.
|
592
|
+
# Corresponds to the JSON property `lastMatchedIntent`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :last_matched_intent
|
595
|
+
|
596
|
+
# Parameters identified as a result of intent matching. This is a map of the
|
597
|
+
# name of the identified parameter to the value of the parameter identified from
|
598
|
+
# the user's utterance. All parameters defined in the matched intent that are
|
599
|
+
# identified will be surfaced here.
|
600
|
+
# Corresponds to the JSON property `parameters`
|
601
|
+
# @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue>]
|
602
|
+
attr_accessor :parameters
|
603
|
+
|
604
|
+
def initialize(**args)
|
605
|
+
update!(**args)
|
606
|
+
end
|
607
|
+
|
608
|
+
# Update properties of this object
|
609
|
+
def update!(**args)
|
610
|
+
@last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
|
611
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# Represents a value for an intent parameter.
|
616
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
617
|
+
include Google::Apis::Core::Hashable
|
618
|
+
|
619
|
+
# Always present. Original text value extracted from user utterance.
|
620
|
+
# Corresponds to the JSON property `originalValue`
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :original_value
|
623
|
+
|
624
|
+
# Always present. Structured value for the parameter extracted from user
|
625
|
+
# utterance.
|
626
|
+
# Corresponds to the JSON property `resolvedValue`
|
627
|
+
# @return [Object]
|
628
|
+
attr_accessor :resolved_value
|
629
|
+
|
630
|
+
def initialize(**args)
|
631
|
+
update!(**args)
|
632
|
+
end
|
633
|
+
|
634
|
+
# Update properties of this object
|
635
|
+
def update!(**args)
|
636
|
+
@original_value = args[:original_value] if args.key?(:original_value)
|
637
|
+
@resolved_value = args[:resolved_value] if args.key?(:resolved_value)
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# The response message for a webhook call.
|
642
|
+
class GoogleCloudDialogflowCxV3WebhookResponse
|
643
|
+
include Google::Apis::Core::Hashable
|
644
|
+
|
645
|
+
# Represents a fulfillment response to the user.
|
646
|
+
# Corresponds to the JSON property `fulfillmentResponse`
|
647
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse]
|
648
|
+
attr_accessor :fulfillment_response
|
649
|
+
|
650
|
+
# Represents page information communicated to and from the webhook.
|
651
|
+
# Corresponds to the JSON property `pageInfo`
|
652
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo]
|
653
|
+
attr_accessor :page_info
|
654
|
+
|
655
|
+
# Value to append directly to QueryResult.webhook_payloads.
|
656
|
+
# Corresponds to the JSON property `payload`
|
657
|
+
# @return [Hash<String,Object>]
|
658
|
+
attr_accessor :payload
|
659
|
+
|
660
|
+
# Represents session information communicated to and from the webhook.
|
661
|
+
# Corresponds to the JSON property `sessionInfo`
|
662
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo]
|
663
|
+
attr_accessor :session_info
|
664
|
+
|
665
|
+
# The target flow to transition to. Format: `projects//locations//agents//flows/`
|
666
|
+
# .
|
667
|
+
# Corresponds to the JSON property `targetFlow`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :target_flow
|
670
|
+
|
671
|
+
# The target page to transition to. Format: `projects//locations//agents//flows//
|
672
|
+
# pages/`.
|
673
|
+
# Corresponds to the JSON property `targetPage`
|
674
|
+
# @return [String]
|
675
|
+
attr_accessor :target_page
|
676
|
+
|
677
|
+
def initialize(**args)
|
678
|
+
update!(**args)
|
679
|
+
end
|
680
|
+
|
681
|
+
# Update properties of this object
|
682
|
+
def update!(**args)
|
683
|
+
@fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response)
|
684
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
685
|
+
@payload = args[:payload] if args.key?(:payload)
|
686
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
687
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
688
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
# Represents a fulfillment response to the user.
|
693
|
+
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
694
|
+
include Google::Apis::Core::Hashable
|
695
|
+
|
696
|
+
# Merge behavior for `messages`.
|
697
|
+
# Corresponds to the JSON property `mergeBehavior`
|
698
|
+
# @return [String]
|
699
|
+
attr_accessor :merge_behavior
|
700
|
+
|
701
|
+
# The list of rich message responses to present to the user.
|
702
|
+
# Corresponds to the JSON property `messages`
|
703
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage>]
|
704
|
+
attr_accessor :messages
|
705
|
+
|
706
|
+
def initialize(**args)
|
707
|
+
update!(**args)
|
708
|
+
end
|
709
|
+
|
710
|
+
# Update properties of this object
|
711
|
+
def update!(**args)
|
712
|
+
@merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
|
713
|
+
@messages = args[:messages] if args.key?(:messages)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
25
717
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
26
718
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
27
719
|
include Google::Apis::Core::Hashable
|