google-api-client 0.41.1 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  5. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  6. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  8. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  9. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  10. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  13. data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
  14. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  15. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
  18. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  19. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  24. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  26. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  27. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  28. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  29. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  30. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  31. data/generated/google/apis/compute_alpha.rb +1 -1
  32. data/generated/google/apis/compute_alpha/classes.rb +54 -30
  33. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  34. data/generated/google/apis/compute_alpha/service.rb +23 -29
  35. data/generated/google/apis/compute_beta.rb +1 -1
  36. data/generated/google/apis/compute_beta/classes.rb +55 -29
  37. data/generated/google/apis/compute_beta/representations.rb +2 -0
  38. data/generated/google/apis/compute_beta/service.rb +75 -29
  39. data/generated/google/apis/compute_v1.rb +1 -1
  40. data/generated/google/apis/compute_v1/classes.rb +84 -29
  41. data/generated/google/apis/compute_v1/representations.rb +17 -0
  42. data/generated/google/apis/compute_v1/service.rb +21 -29
  43. data/generated/google/apis/container_v1.rb +1 -1
  44. data/generated/google/apis/container_v1/classes.rb +94 -2
  45. data/generated/google/apis/container_v1/representations.rb +35 -0
  46. data/generated/google/apis/container_v1beta1.rb +1 -1
  47. data/generated/google/apis/container_v1beta1/classes.rb +121 -17
  48. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  49. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  50. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  51. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  52. data/generated/google/apis/dataproc_v1.rb +1 -1
  53. data/generated/google/apis/dataproc_v1/classes.rb +6 -5
  54. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  55. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
  56. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  57. data/generated/google/apis/dialogflow_v2.rb +1 -1
  58. data/generated/google/apis/dialogflow_v2/classes.rb +74 -8
  59. data/generated/google/apis/dialogflow_v2/representations.rb +16 -0
  60. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  61. data/generated/google/apis/dialogflow_v2beta1/classes.rb +74 -8
  62. data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
  63. data/generated/google/apis/dialogflow_v2beta1/service.rb +42 -42
  64. data/generated/google/apis/displayvideo_v1.rb +1 -1
  65. data/generated/google/apis/displayvideo_v1/classes.rb +3 -6
  66. data/generated/google/apis/displayvideo_v1/service.rb +0 -4
  67. data/generated/google/apis/dns_v1beta2.rb +4 -4
  68. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  69. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  70. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2.rb +1 -1
  72. data/generated/google/apis/drive_v2/classes.rb +9 -0
  73. data/generated/google/apis/drive_v2/representations.rb +1 -0
  74. data/generated/google/apis/drive_v3.rb +1 -1
  75. data/generated/google/apis/drive_v3/classes.rb +9 -0
  76. data/generated/google/apis/drive_v3/representations.rb +1 -0
  77. data/generated/google/apis/games_v1.rb +1 -1
  78. data/generated/google/apis/gameservices_v1.rb +34 -0
  79. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  80. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  81. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  82. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  83. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  84. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  85. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  86. data/generated/google/apis/managedidentities_v1.rb +1 -1
  87. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  88. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  89. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  90. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  91. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  92. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  93. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  94. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  95. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  96. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  97. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  100. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +73 -0
  101. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +32 -0
  102. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  103. data/generated/google/apis/run_v1.rb +1 -1
  104. data/generated/google/apis/run_v1/classes.rb +1 -6
  105. data/generated/google/apis/run_v1/service.rb +1 -1
  106. data/generated/google/apis/run_v1alpha1.rb +1 -1
  107. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  108. data/generated/google/apis/run_v1beta1.rb +1 -1
  109. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  110. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  111. data/generated/google/apis/sasportal_v1alpha1/classes.rb +73 -0
  112. data/generated/google/apis/sasportal_v1alpha1/representations.rb +32 -0
  113. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  114. data/generated/google/apis/spanner_v1.rb +1 -1
  115. data/generated/google/apis/spanner_v1/service.rb +5 -0
  116. data/lib/google/apis/version.rb +1 -1
  117. metadata +11 -3
@@ -1629,6 +1629,7 @@ module Google
1629
1629
 
1630
1630
  property :container_spec_gcs_path, as: 'containerSpecGcsPath'
1631
1631
  property :job_name, as: 'jobName'
1632
+ hash :launch_options, as: 'launchOptions'
1632
1633
  hash :parameters, as: 'parameters'
1633
1634
  end
1634
1635
  end
@@ -2596,6 +2597,8 @@ module Google
2596
2597
  class WorkItemServiceState
2597
2598
  # @private
2598
2599
  class Representation < Google::Apis::Core::JsonRepresentation
2600
+ property :complete_work_status, as: 'completeWorkStatus', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation
2601
+
2599
2602
  hash :harness_data, as: 'harnessData'
2600
2603
  property :hot_key_detection, as: 'hotKeyDetection', class: Google::Apis::DataflowV1b3::HotKeyDetection, decorator: Google::Apis::DataflowV1b3::HotKeyDetection::Representation
2601
2604
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200611'
28
+ REVISION = '20200619'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -471,9 +471,9 @@ module Google
471
471
 
472
472
  # Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
473
473
  # such as Spark and MapReduce history files. If you do not specify a temp
474
- # bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or
475
- # EU) for your cluster's temp bucket according to the Compute Engine zone where
476
- # your cluster is deployed, and then create and manage this project-level, per-
474
+ # bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for
475
+ # your cluster's temp bucket according to the Compute Engine zone where your
476
+ # cluster is deployed, and then create and manage this project-level, per-
477
477
  # location bucket. The default bucket has a TTL of 90 days, but you can use any
478
478
  # TTL (or none) if you specify a bucket.
479
479
  # Corresponds to the JSON property `tempBucket`
@@ -1641,7 +1641,8 @@ module Google
1641
1641
  # @return [String]
1642
1642
  attr_accessor :job_id
1643
1643
 
1644
- # Required. The ID of the Google Cloud Platform project that the job belongs to.
1644
+ # Optional. The ID of the Google Cloud Platform project that the job belongs to.
1645
+ # If specified, must match the request project ID.
1645
1646
  # Corresponds to the JSON property `projectId`
1646
1647
  # @return [String]
1647
1648
  attr_accessor :project_id
@@ -3444,7 +3445,7 @@ module Google
3444
3445
  # @return [String]
3445
3446
  attr_accessor :name
3446
3447
 
3447
- # Optional. emplate parameters whose values are substituted into the template.
3448
+ # Optional. Template parameters whose values are substituted into the template.
3448
3449
  # Values for parameters must be provided when the template is instantiated.
3449
3450
  # Corresponds to the JSON property `parameters`
3450
3451
  # @return [Array<Google::Apis::DataprocV1::TemplateParameter>]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20200611'
28
+ REVISION = '20200619'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -476,9 +476,9 @@ module Google
476
476
 
477
477
  # Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
478
478
  # such as Spark and MapReduce history files. If you do not specify a temp
479
- # bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or
480
- # EU) for your cluster's temp bucket according to the Compute Engine zone where
481
- # your cluster is deployed, and then create and manage this project-level, per-
479
+ # bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for
480
+ # your cluster's temp bucket according to the Compute Engine zone where your
481
+ # cluster is deployed, and then create and manage this project-level, per-
482
482
  # location bucket. The default bucket has a TTL of 90 days, but you can use any
483
483
  # TTL (or none) if you specify a bucket.
484
484
  # Corresponds to the JSON property `tempBucket`
@@ -1682,7 +1682,8 @@ module Google
1682
1682
  # @return [String]
1683
1683
  attr_accessor :job_id
1684
1684
 
1685
- # Required. The ID of the Google Cloud Platform project that the job belongs to.
1685
+ # Optional. The ID of the Google Cloud Platform project that the job belongs to.
1686
+ # If specified, must match the request project ID.
1686
1687
  # Corresponds to the JSON property `projectId`
1687
1688
  # @return [String]
1688
1689
  attr_accessor :project_id
@@ -3430,6 +3431,25 @@ module Google
3430
3431
  # @return [Google::Apis::DataprocV1beta2::ClusterOperation]
3431
3432
  attr_accessor :create_cluster
3432
3433
 
3434
+ # Output only. DAG end time, only set for workflows with dag_timeout when DAG
3435
+ # ends.
3436
+ # Corresponds to the JSON property `dagEndTime`
3437
+ # @return [String]
3438
+ attr_accessor :dag_end_time
3439
+
3440
+ # Output only. DAG start time, only set for workflows with dag_timeout when DAG
3441
+ # begins.
3442
+ # Corresponds to the JSON property `dagStartTime`
3443
+ # @return [String]
3444
+ attr_accessor :dag_start_time
3445
+
3446
+ # Output only. The timeout duration for the DAG of jobs. Minimum timeout
3447
+ # duration is 10 minutes and maximum is 24 hours, expressed as a google.protobuf.
3448
+ # Duration. For example, "1800" = 1800 seconds/30 minutes duration.
3449
+ # Corresponds to the JSON property `dagTimeout`
3450
+ # @return [String]
3451
+ attr_accessor :dag_timeout
3452
+
3433
3453
  # The cluster operation triggered by a workflow.
3434
3454
  # Corresponds to the JSON property `deleteCluster`
3435
3455
  # @return [Google::Apis::DataprocV1beta2::ClusterOperation]
@@ -3486,6 +3506,9 @@ module Google
3486
3506
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3487
3507
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
3488
3508
  @create_cluster = args[:create_cluster] if args.key?(:create_cluster)
3509
+ @dag_end_time = args[:dag_end_time] if args.key?(:dag_end_time)
3510
+ @dag_start_time = args[:dag_start_time] if args.key?(:dag_start_time)
3511
+ @dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
3489
3512
  @delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
3490
3513
  @end_time = args[:end_time] if args.key?(:end_time)
3491
3514
  @graph = args[:graph] if args.key?(:graph)
@@ -3540,7 +3563,7 @@ module Google
3540
3563
  end
3541
3564
  end
3542
3565
 
3543
- # A Dataproc workflow template resource. Next ID: 11
3566
+ # A Dataproc workflow template resource.
3544
3567
  class WorkflowTemplate
3545
3568
  include Google::Apis::Core::Hashable
3546
3569
 
@@ -3549,6 +3572,12 @@ module Google
3549
3572
  # @return [String]
3550
3573
  attr_accessor :create_time
3551
3574
 
3575
+ # Optional. Timeout for DAG of jobs. The timer begins when the first job is
3576
+ # submitted. Minimum duration of 10 minutes, max of 24 hours.
3577
+ # Corresponds to the JSON property `dagTimeout`
3578
+ # @return [String]
3579
+ attr_accessor :dag_timeout
3580
+
3552
3581
  # Required. The template id.The id must contain only letters (a-z, A-Z), numbers
3553
3582
  # (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore
3554
3583
  # or hyphen. Must consist of between 3 and 50 characters..
@@ -3619,6 +3648,7 @@ module Google
3619
3648
  # Update properties of this object
3620
3649
  def update!(**args)
3621
3650
  @create_time = args[:create_time] if args.key?(:create_time)
3651
+ @dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
3622
3652
  @id = args[:id] if args.key?(:id)
3623
3653
  @jobs = args[:jobs] if args.key?(:jobs)
3624
3654
  @labels = args[:labels] if args.key?(:labels)
@@ -1306,6 +1306,9 @@ module Google
1306
1306
  property :cluster_uuid, as: 'clusterUuid'
1307
1307
  property :create_cluster, as: 'createCluster', class: Google::Apis::DataprocV1beta2::ClusterOperation, decorator: Google::Apis::DataprocV1beta2::ClusterOperation::Representation
1308
1308
 
1309
+ property :dag_end_time, as: 'dagEndTime'
1310
+ property :dag_start_time, as: 'dagStartTime'
1311
+ property :dag_timeout, as: 'dagTimeout'
1309
1312
  property :delete_cluster, as: 'deleteCluster', class: Google::Apis::DataprocV1beta2::ClusterOperation, decorator: Google::Apis::DataprocV1beta2::ClusterOperation::Representation
1310
1313
 
1311
1314
  property :end_time, as: 'endTime'
@@ -1334,6 +1337,7 @@ module Google
1334
1337
  # @private
1335
1338
  class Representation < Google::Apis::Core::JsonRepresentation
1336
1339
  property :create_time, as: 'createTime'
1340
+ property :dag_timeout, as: 'dagTimeout'
1337
1341
  property :id, as: 'id'
1338
1342
  collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1beta2::OrderedJob, decorator: Google::Apis::DataprocV1beta2::OrderedJob::Representation
1339
1343
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200622'
29
+ REVISION = '20200627'
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'
@@ -236,6 +236,12 @@ module Google
236
236
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
237
237
  attr_accessor :mixed_audio
238
238
 
239
+ # A text or ssml response that is preferentially used for TTS output audio
240
+ # synthesis, as described in the comment on the ResponseMessage message.
241
+ # Corresponds to the JSON property `outputAudioText`
242
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]
243
+ attr_accessor :output_audio_text
244
+
239
245
  # Returns a response containing a custom, platform-specific payload.
240
246
  # Corresponds to the JSON property `payload`
241
247
  # @return [Hash<String,Object>]
@@ -262,6 +268,7 @@ module Google
262
268
  @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
263
269
  @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
264
270
  @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
271
+ @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
265
272
  @payload = args[:payload] if args.key?(:payload)
266
273
  @play_audio = args[:play_audio] if args.key?(:play_audio)
267
274
  @text = args[:text] if args.key?(:text)
@@ -433,6 +440,33 @@ module Google
433
440
  end
434
441
  end
435
442
 
443
+ # A text or ssml response that is preferentially used for TTS output audio
444
+ # synthesis, as described in the comment on the ResponseMessage message.
445
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # The SSML text to be synthesized. For more information, see
449
+ # [SSML](/speech/text-to-speech/docs/ssml).
450
+ # Corresponds to the JSON property `ssml`
451
+ # @return [String]
452
+ attr_accessor :ssml
453
+
454
+ # The raw text to be synthesized.
455
+ # Corresponds to the JSON property `text`
456
+ # @return [String]
457
+ attr_accessor :text
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @ssml = args[:ssml] if args.key?(:ssml)
466
+ @text = args[:text] if args.key?(:text)
467
+ end
468
+ end
469
+
436
470
  # Specifies an audio clip to be played by the client as part of the response.
437
471
  class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
438
472
  include Google::Apis::Core::Hashable
@@ -3702,8 +3736,16 @@ module Google
3702
3736
  # @return [String]
3703
3737
  attr_accessor :query_text
3704
3738
 
3705
- # The result of sentiment analysis as configured by
3706
- # `sentiment_analysis_request_config`.
3739
+ # The result of sentiment analysis. Sentiment analysis inspects user input
3740
+ # and identifies the prevailing subjective opinion, especially to determine a
3741
+ # user's attitude as positive, negative, or neutral.
3742
+ # For Participants.AnalyzeContent, it needs to be configured in
3743
+ # DetectIntentRequest.query_params. For
3744
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
3745
+ # StreamingDetectIntentRequest.query_params.
3746
+ # And for Participants.AnalyzeContent and
3747
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
3748
+ # ConversationProfile.human_agent_assistant_config
3707
3749
  # Corresponds to the JSON property `sentimentAnalysisResult`
3708
3750
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
3709
3751
  attr_accessor :sentiment_analysis_result
@@ -3860,8 +3902,16 @@ module Google
3860
3902
  end
3861
3903
  end
3862
3904
 
3863
- # The result of sentiment analysis as configured by
3864
- # `sentiment_analysis_request_config`.
3905
+ # The result of sentiment analysis. Sentiment analysis inspects user input
3906
+ # and identifies the prevailing subjective opinion, especially to determine a
3907
+ # user's attitude as positive, negative, or neutral.
3908
+ # For Participants.AnalyzeContent, it needs to be configured in
3909
+ # DetectIntentRequest.query_params. For
3910
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
3911
+ # StreamingDetectIntentRequest.query_params.
3912
+ # And for Participants.AnalyzeContent and
3913
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
3914
+ # ConversationProfile.human_agent_assistant_config
3865
3915
  class GoogleCloudDialogflowV2SentimentAnalysisResult
3866
3916
  include Google::Apis::Core::Hashable
3867
3917
 
@@ -6673,8 +6723,16 @@ module Google
6673
6723
  # @return [String]
6674
6724
  attr_accessor :query_text
6675
6725
 
6676
- # The result of sentiment analysis as configured by
6677
- # `sentiment_analysis_request_config`.
6726
+ # The result of sentiment analysis. Sentiment analysis inspects user input
6727
+ # and identifies the prevailing subjective opinion, especially to determine a
6728
+ # user's attitude as positive, negative, or neutral.
6729
+ # For Participants.AnalyzeContent, it needs to be configured in
6730
+ # DetectIntentRequest.query_params. For
6731
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6732
+ # StreamingDetectIntentRequest.query_params.
6733
+ # And for Participants.AnalyzeContent and
6734
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6735
+ # ConversationProfile.human_agent_assistant_config
6678
6736
  # Corresponds to the JSON property `sentimentAnalysisResult`
6679
6737
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
6680
6738
  attr_accessor :sentiment_analysis_result
@@ -6756,8 +6814,16 @@ module Google
6756
6814
  end
6757
6815
  end
6758
6816
 
6759
- # The result of sentiment analysis as configured by
6760
- # `sentiment_analysis_request_config`.
6817
+ # The result of sentiment analysis. Sentiment analysis inspects user input
6818
+ # and identifies the prevailing subjective opinion, especially to determine a
6819
+ # user's attitude as positive, negative, or neutral.
6820
+ # For Participants.AnalyzeContent, it needs to be configured in
6821
+ # DetectIntentRequest.query_params. For
6822
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6823
+ # StreamingDetectIntentRequest.query_params.
6824
+ # And for Participants.AnalyzeContent and
6825
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6826
+ # ConversationProfile.human_agent_assistant_config
6761
6827
  class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
6762
6828
  include Google::Apis::Core::Hashable
6763
6829
 
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -1151,6 +1157,8 @@ module Google
1151
1157
 
1152
1158
  property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
1153
1159
 
1160
+ property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText::Representation
1161
+
1154
1162
  hash :payload, as: 'payload'
1155
1163
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
1156
1164
 
@@ -1203,6 +1211,14 @@ module Google
1203
1211
  end
1204
1212
  end
1205
1213
 
1214
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ property :ssml, as: 'ssml'
1218
+ property :text, as: 'text'
1219
+ end
1220
+ end
1221
+
1206
1222
  class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
1207
1223
  # @private
1208
1224
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20200622'
29
+ REVISION = '20200627'
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'
@@ -236,6 +236,12 @@ module Google
236
236
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
237
237
  attr_accessor :mixed_audio
238
238
 
239
+ # A text or ssml response that is preferentially used for TTS output audio
240
+ # synthesis, as described in the comment on the ResponseMessage message.
241
+ # Corresponds to the JSON property `outputAudioText`
242
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]
243
+ attr_accessor :output_audio_text
244
+
239
245
  # Returns a response containing a custom, platform-specific payload.
240
246
  # Corresponds to the JSON property `payload`
241
247
  # @return [Hash<String,Object>]
@@ -262,6 +268,7 @@ module Google
262
268
  @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
263
269
  @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
264
270
  @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
271
+ @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
265
272
  @payload = args[:payload] if args.key?(:payload)
266
273
  @play_audio = args[:play_audio] if args.key?(:play_audio)
267
274
  @text = args[:text] if args.key?(:text)
@@ -433,6 +440,33 @@ module Google
433
440
  end
434
441
  end
435
442
 
443
+ # A text or ssml response that is preferentially used for TTS output audio
444
+ # synthesis, as described in the comment on the ResponseMessage message.
445
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # The SSML text to be synthesized. For more information, see
449
+ # [SSML](/speech/text-to-speech/docs/ssml).
450
+ # Corresponds to the JSON property `ssml`
451
+ # @return [String]
452
+ attr_accessor :ssml
453
+
454
+ # The raw text to be synthesized.
455
+ # Corresponds to the JSON property `text`
456
+ # @return [String]
457
+ attr_accessor :text
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @ssml = args[:ssml] if args.key?(:ssml)
466
+ @text = args[:text] if args.key?(:text)
467
+ end
468
+ end
469
+
436
470
  # Specifies an audio clip to be played by the client as part of the response.
437
471
  class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
438
472
  include Google::Apis::Core::Hashable
@@ -2584,8 +2618,16 @@ module Google
2584
2618
  # @return [String]
2585
2619
  attr_accessor :query_text
2586
2620
 
2587
- # The result of sentiment analysis as configured by
2588
- # `sentiment_analysis_request_config`.
2621
+ # The result of sentiment analysis. Sentiment analysis inspects user input
2622
+ # and identifies the prevailing subjective opinion, especially to determine a
2623
+ # user's attitude as positive, negative, or neutral.
2624
+ # For Participants.AnalyzeContent, it needs to be configured in
2625
+ # DetectIntentRequest.query_params. For
2626
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
2627
+ # StreamingDetectIntentRequest.query_params.
2628
+ # And for Participants.AnalyzeContent and
2629
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
2630
+ # ConversationProfile.human_agent_assistant_config
2589
2631
  # Corresponds to the JSON property `sentimentAnalysisResult`
2590
2632
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
2591
2633
  attr_accessor :sentiment_analysis_result
@@ -2666,8 +2708,16 @@ module Google
2666
2708
  end
2667
2709
  end
2668
2710
 
2669
- # The result of sentiment analysis as configured by
2670
- # `sentiment_analysis_request_config`.
2711
+ # The result of sentiment analysis. Sentiment analysis inspects user input
2712
+ # and identifies the prevailing subjective opinion, especially to determine a
2713
+ # user's attitude as positive, negative, or neutral.
2714
+ # For Participants.AnalyzeContent, it needs to be configured in
2715
+ # DetectIntentRequest.query_params. For
2716
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
2717
+ # StreamingDetectIntentRequest.query_params.
2718
+ # And for Participants.AnalyzeContent and
2719
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
2720
+ # ConversationProfile.human_agent_assistant_config
2671
2721
  class GoogleCloudDialogflowV2SentimentAnalysisResult
2672
2722
  include Google::Apis::Core::Hashable
2673
2723
 
@@ -6641,8 +6691,16 @@ module Google
6641
6691
  # @return [String]
6642
6692
  attr_accessor :query_text
6643
6693
 
6644
- # The result of sentiment analysis as configured by
6645
- # `sentiment_analysis_request_config`.
6694
+ # The result of sentiment analysis. Sentiment analysis inspects user input
6695
+ # and identifies the prevailing subjective opinion, especially to determine a
6696
+ # user's attitude as positive, negative, or neutral.
6697
+ # For Participants.AnalyzeContent, it needs to be configured in
6698
+ # DetectIntentRequest.query_params. For
6699
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6700
+ # StreamingDetectIntentRequest.query_params.
6701
+ # And for Participants.AnalyzeContent and
6702
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6703
+ # ConversationProfile.human_agent_assistant_config
6646
6704
  # Corresponds to the JSON property `sentimentAnalysisResult`
6647
6705
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
6648
6706
  attr_accessor :sentiment_analysis_result
@@ -6819,8 +6877,16 @@ module Google
6819
6877
  end
6820
6878
  end
6821
6879
 
6822
- # The result of sentiment analysis as configured by
6823
- # `sentiment_analysis_request_config`.
6880
+ # The result of sentiment analysis. Sentiment analysis inspects user input
6881
+ # and identifies the prevailing subjective opinion, especially to determine a
6882
+ # user's attitude as positive, negative, or neutral.
6883
+ # For Participants.AnalyzeContent, it needs to be configured in
6884
+ # DetectIntentRequest.query_params. For
6885
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6886
+ # StreamingDetectIntentRequest.query_params.
6887
+ # And for Participants.AnalyzeContent and
6888
+ # Participants.StreamingAnalyzeContent, it needs to be configured in
6889
+ # ConversationProfile.human_agent_assistant_config
6824
6890
  class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
6825
6891
  include Google::Apis::Core::Hashable
6826
6892