google-apis-contactcenterinsights_v1 0.67.0 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d8715e82750a42f921fffaa48614cf1002c99af918c292c6aac9dc7901c5305
4
- data.tar.gz: 8db5a0f55623a7fe6b4824e442e171dfde3fc75c5cde94a93e36413e0a450f3a
3
+ metadata.gz: ebc2154f5e3e47b9c06c96b0fd41d30408a20fadd583e1484d0dfe75ebcce08a
4
+ data.tar.gz: 37236f993e97e56162b3d8e881d611ad734f3dd8761c4668d09195a3b97dfce2
5
5
  SHA512:
6
- metadata.gz: 778106f3b3240682cfebc154090e17ec0c0fb1b27d1ad04ff26183505d79e562b5c34d2362ebd217bb791e996885ca225d655f57d6b203fee4cc6ef4871b422b
7
- data.tar.gz: 264200e1dff197d7bb277a2b9778138ef5c7d481fa492ae0ae2e56b7b4f6a4132d2cf40a03ccb73af66c3ab65c5bbd435b6e9da130859c9d3bfcac7938dcdba1
6
+ metadata.gz: aa4752731ffccb06e061f605efe038352732ee0fba04a32a331a25a8e3e6f0cde37b1c1b028a68006a4f8b81f6d75b5a349680a4021825661e097612e7b291d9
7
+ data.tar.gz: 2c844be716ef38ac45f0447ae66b5392457571376ff6f201765d942eb3b2b59089e457583223fd9ab4e08691b849ba0bf38999098f589b5d7d40010403575200
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.69.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250721
6
+
7
+ ### v0.68.0 (2025-07-13)
8
+
9
+ * Regenerated from discovery document revision 20250711
10
+
3
11
  ### v0.67.0 (2025-07-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20250701
@@ -2001,6 +2001,11 @@ module Google
2001
2001
  # @return [String]
2002
2002
  attr_accessor :conversation_model
2003
2003
 
2004
+ # Agent Assist generator ID.
2005
+ # Corresponds to the JSON property `generatorId`
2006
+ # @return [String]
2007
+ attr_accessor :generator_id
2008
+
2004
2009
  # A map that contains metadata about the summarization and the document from
2005
2010
  # which it originates.
2006
2011
  # Corresponds to the JSON property `metadata`
@@ -2028,6 +2033,7 @@ module Google
2028
2033
  @answer_record = args[:answer_record] if args.key?(:answer_record)
2029
2034
  @confidence = args[:confidence] if args.key?(:confidence)
2030
2035
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
2036
+ @generator_id = args[:generator_id] if args.key?(:generator_id)
2031
2037
  @metadata = args[:metadata] if args.key?(:metadata)
2032
2038
  @text = args[:text] if args.key?(:text)
2033
2039
  @text_sections = args[:text_sections] if args.key?(:text_sections)
@@ -3651,22 +3657,24 @@ module Google
3651
3657
  class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
3652
3658
  include Google::Apis::Core::Hashable
3653
3659
 
3654
- # Optional. The Cloud Storage path to the conversation audio file if already
3655
- # transcribed. Note that: [1] Don't set this field if the audio is not
3656
- # transcribed. [2] Audio files and transcript files must be in separate buckets /
3657
- # folders. [3] A source file and its corresponding audio file must share the
3658
- # same name to be properly ingested, E.g. `gs://bucket/transcript/conversation1.
3659
- # json` and `gs://bucket/audio/conversation1.mp3`.
3660
+ # Optional. The Cloud Storage path to the conversation audio file. Note that: [1]
3661
+ # Audio files will be transcribed if not already. [2] Audio files and
3662
+ # transcript files must be in separate buckets / folders. [3] A source file and
3663
+ # its corresponding audio file must share the same name to be properly ingested,
3664
+ # E.g. `gs://bucket/transcript/conversation1.json` and `gs://bucket/audio/
3665
+ # conversation1.mp3`.
3660
3666
  # Corresponds to the JSON property `audioBucketUri`
3661
3667
  # @return [String]
3662
3668
  attr_accessor :audio_bucket_uri
3663
3669
 
3664
- # Optional. Specifies the type of the objects in `bucket_uri`.
3670
+ # Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing
3671
+ # this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`.
3665
3672
  # Corresponds to the JSON property `bucketObjectType`
3666
3673
  # @return [String]
3667
3674
  attr_accessor :bucket_object_type
3668
3675
 
3669
- # Required. The Cloud Storage bucket containing source objects.
3676
+ # Optional. The Cloud Storage bucket containing source objects. Avoid passing
3677
+ # this. Pass this through one of `transcript_bucket_uri` or `audio_bucket_uri`.
3670
3678
  # Corresponds to the JSON property `bucketUri`
3671
3679
  # @return [String]
3672
3680
  attr_accessor :bucket_uri
@@ -3688,6 +3696,16 @@ module Google
3688
3696
  # @return [String]
3689
3697
  attr_accessor :metadata_bucket_uri
3690
3698
 
3699
+ # Optional. The Cloud Storage path to the conversation transcripts. Note that: [
3700
+ # 1] Transcript files are expected to be in JSON format. [2] Transcript, audio,
3701
+ # metadata files must be in separate buckets / folders. [3] A source file and
3702
+ # its corresponding metadata file must share the same name to be properly
3703
+ # ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/
3704
+ # conversation1.json`.
3705
+ # Corresponds to the JSON property `transcriptBucketUri`
3706
+ # @return [String]
3707
+ attr_accessor :transcript_bucket_uri
3708
+
3691
3709
  def initialize(**args)
3692
3710
  update!(**args)
3693
3711
  end
@@ -3699,6 +3717,7 @@ module Google
3699
3717
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
3700
3718
  @custom_metadata_keys = args[:custom_metadata_keys] if args.key?(:custom_metadata_keys)
3701
3719
  @metadata_bucket_uri = args[:metadata_bucket_uri] if args.key?(:metadata_bucket_uri)
3720
+ @transcript_bucket_uri = args[:transcript_bucket_uri] if args.key?(:transcript_bucket_uri)
3702
3721
  end
3703
3722
  end
3704
3723
 
@@ -5131,11 +5150,22 @@ module Google
5131
5150
  # @return [Fixnum]
5132
5151
  attr_accessor :order
5133
5152
 
5153
+ # Configuration for a predefined question. This field will only be set if the
5154
+ # Question Type is predefined.
5155
+ # Corresponds to the JSON property `predefinedQuestionConfig`
5156
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig]
5157
+ attr_accessor :predefined_question_config
5158
+
5134
5159
  # Question text. E.g., "Did the agent greet the customer?"
5135
5160
  # Corresponds to the JSON property `questionBody`
5136
5161
  # @return [String]
5137
5162
  attr_accessor :question_body
5138
5163
 
5164
+ # The type of question.
5165
+ # Corresponds to the JSON property `questionType`
5166
+ # @return [String]
5167
+ attr_accessor :question_type
5168
+
5139
5169
  # Questions are tagged for categorization and scoring. Tags can either be: -
5140
5170
  # Default Tags: These are predefined categories. They are identified by their
5141
5171
  # string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags:
@@ -5171,7 +5201,9 @@ module Google
5171
5201
  @metrics = args[:metrics] if args.key?(:metrics)
5172
5202
  @name = args[:name] if args.key?(:name)
5173
5203
  @order = args[:order] if args.key?(:order)
5204
+ @predefined_question_config = args[:predefined_question_config] if args.key?(:predefined_question_config)
5174
5205
  @question_body = args[:question_body] if args.key?(:question_body)
5206
+ @question_type = args[:question_type] if args.key?(:question_type)
5175
5207
  @tags = args[:tags] if args.key?(:tags)
5176
5208
  @tuning_metadata = args[:tuning_metadata] if args.key?(:tuning_metadata)
5177
5209
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -5253,6 +5285,26 @@ module Google
5253
5285
  end
5254
5286
  end
5255
5287
 
5288
+ # Configuration for a predefined question. This field will only be set if the
5289
+ # Question Type is predefined.
5290
+ class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig
5291
+ include Google::Apis::Core::Hashable
5292
+
5293
+ # The type of the predefined question.
5294
+ # Corresponds to the JSON property `type`
5295
+ # @return [String]
5296
+ attr_accessor :type
5297
+
5298
+ def initialize(**args)
5299
+ update!(**args)
5300
+ end
5301
+
5302
+ # Update properties of this object
5303
+ def update!(**args)
5304
+ @type = args[:type] if args.key?(:type)
5305
+ end
5306
+ end
5307
+
5256
5308
  # A tag is a resource which aims to categorize a set of questions across
5257
5309
  # multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.
5258
5310
  class GoogleCloudContactcenterinsightsV1QaQuestionTag
@@ -5357,6 +5409,13 @@ module Google
5357
5409
  # @return [String]
5358
5410
  attr_accessor :display_name
5359
5411
 
5412
+ # Whether the scorecard is the default one for the project. A default scorecard
5413
+ # cannot be deleted and will always appear first in scorecard selector.
5414
+ # Corresponds to the JSON property `isDefault`
5415
+ # @return [Boolean]
5416
+ attr_accessor :is_default
5417
+ alias_method :is_default?, :is_default
5418
+
5360
5419
  # Identifier. The scorecard name. Format: projects/`project`/locations/`location`
5361
5420
  # /qaScorecards/`qa_scorecard`
5362
5421
  # Corresponds to the JSON property `name`
@@ -5377,6 +5436,7 @@ module Google
5377
5436
  @create_time = args[:create_time] if args.key?(:create_time)
5378
5437
  @description = args[:description] if args.key?(:description)
5379
5438
  @display_name = args[:display_name] if args.key?(:display_name)
5439
+ @is_default = args[:is_default] if args.key?(:is_default)
5380
5440
  @name = args[:name] if args.key?(:name)
5381
5441
  @update_time = args[:update_time] if args.key?(:update_time)
5382
5442
  end
@@ -8215,6 +8275,11 @@ module Google
8215
8275
  # @return [String]
8216
8276
  attr_accessor :conversation_model
8217
8277
 
8278
+ # Agent Assist generator ID.
8279
+ # Corresponds to the JSON property `generatorId`
8280
+ # @return [String]
8281
+ attr_accessor :generator_id
8282
+
8218
8283
  # A map that contains metadata about the summarization and the document from
8219
8284
  # which it originates.
8220
8285
  # Corresponds to the JSON property `metadata`
@@ -8242,6 +8307,7 @@ module Google
8242
8307
  @answer_record = args[:answer_record] if args.key?(:answer_record)
8243
8308
  @confidence = args[:confidence] if args.key?(:confidence)
8244
8309
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
8310
+ @generator_id = args[:generator_id] if args.key?(:generator_id)
8245
8311
  @metadata = args[:metadata] if args.key?(:metadata)
8246
8312
  @text = args[:text] if args.key?(:text)
8247
8313
  @text_sections = args[:text_sections] if args.key?(:text_sections)
@@ -9818,22 +9884,24 @@ module Google
9818
9884
  class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
9819
9885
  include Google::Apis::Core::Hashable
9820
9886
 
9821
- # Optional. The Cloud Storage path to the conversation audio file if already
9822
- # transcribed. Note that: [1] Don't set this field if the audio is not
9823
- # transcribed. [2] Audio files and transcript files must be in separate buckets /
9824
- # folders. [3] A source file and its corresponding audio file must share the
9825
- # same name to be properly ingested, E.g. `gs://bucket/transcript/conversation1.
9826
- # json` and `gs://bucket/audio/conversation1.mp3`.
9887
+ # Optional. The Cloud Storage path to the conversation audio file. Note that: [1]
9888
+ # Audio files will be transcribed if not already. [2] Audio files and
9889
+ # transcript files must be in separate buckets / folders. [3] A source file and
9890
+ # its corresponding audio file must share the same name to be properly ingested,
9891
+ # E.g. `gs://bucket/transcript/conversation1.json` and `gs://bucket/audio/
9892
+ # conversation1.mp3`.
9827
9893
  # Corresponds to the JSON property `audioBucketUri`
9828
9894
  # @return [String]
9829
9895
  attr_accessor :audio_bucket_uri
9830
9896
 
9831
- # Optional. Specifies the type of the objects in `bucket_uri`.
9897
+ # Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing
9898
+ # this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`.
9832
9899
  # Corresponds to the JSON property `bucketObjectType`
9833
9900
  # @return [String]
9834
9901
  attr_accessor :bucket_object_type
9835
9902
 
9836
- # Required. The Cloud Storage bucket containing source objects.
9903
+ # Optional. The Cloud Storage bucket containing source objects. Avoid passing
9904
+ # this. Pass this through one of `transcript_bucket_uri` or `audio_bucket_uri`.
9837
9905
  # Corresponds to the JSON property `bucketUri`
9838
9906
  # @return [String]
9839
9907
  attr_accessor :bucket_uri
@@ -9855,6 +9923,16 @@ module Google
9855
9923
  # @return [String]
9856
9924
  attr_accessor :metadata_bucket_uri
9857
9925
 
9926
+ # Optional. The Cloud Storage path to the conversation transcripts. Note that: [
9927
+ # 1] Transcript files are expected to be in JSON format. [2] Transcript, audio,
9928
+ # metadata files must be in separate buckets / folders. [3] A source file and
9929
+ # its corresponding metadata file must share the same name to be properly
9930
+ # ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/
9931
+ # conversation1.json`.
9932
+ # Corresponds to the JSON property `transcriptBucketUri`
9933
+ # @return [String]
9934
+ attr_accessor :transcript_bucket_uri
9935
+
9858
9936
  def initialize(**args)
9859
9937
  update!(**args)
9860
9938
  end
@@ -9866,6 +9944,7 @@ module Google
9866
9944
  @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri)
9867
9945
  @custom_metadata_keys = args[:custom_metadata_keys] if args.key?(:custom_metadata_keys)
9868
9946
  @metadata_bucket_uri = args[:metadata_bucket_uri] if args.key?(:metadata_bucket_uri)
9947
+ @transcript_bucket_uri = args[:transcript_bucket_uri] if args.key?(:transcript_bucket_uri)
9869
9948
  end
9870
9949
  end
9871
9950
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContactcenterinsightsV1
18
18
  # Version of the google-apis-contactcenterinsights_v1 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250701"
25
+ REVISION = "20250721"
26
26
  end
27
27
  end
28
28
  end
@@ -928,6 +928,12 @@ module Google
928
928
  include Google::Apis::Core::JsonObjectSupport
929
929
  end
930
930
 
931
+ class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
931
937
  class GoogleCloudContactcenterinsightsV1QaQuestionTag
932
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
933
939
 
@@ -2596,6 +2602,7 @@ module Google
2596
2602
  property :answer_record, as: 'answerRecord'
2597
2603
  property :confidence, as: 'confidence'
2598
2604
  property :conversation_model, as: 'conversationModel'
2605
+ property :generator_id, as: 'generatorId'
2599
2606
  hash :metadata, as: 'metadata'
2600
2607
  property :text, as: 'text'
2601
2608
  hash :text_sections, as: 'textSections'
@@ -3096,6 +3103,7 @@ module Google
3096
3103
  property :bucket_uri, as: 'bucketUri'
3097
3104
  collection :custom_metadata_keys, as: 'customMetadataKeys'
3098
3105
  property :metadata_bucket_uri, as: 'metadataBucketUri'
3106
+ property :transcript_bucket_uri, as: 'transcriptBucketUri'
3099
3107
  end
3100
3108
  end
3101
3109
 
@@ -3549,7 +3557,10 @@ module Google
3549
3557
 
3550
3558
  property :name, as: 'name'
3551
3559
  property :order, as: 'order'
3560
+ property :predefined_question_config, as: 'predefinedQuestionConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig::Representation
3561
+
3552
3562
  property :question_body, as: 'questionBody'
3563
+ property :question_type, as: 'questionType'
3553
3564
  collection :tags, as: 'tags'
3554
3565
  property :tuning_metadata, as: 'tuningMetadata', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata::Representation
3555
3566
 
@@ -3576,6 +3587,13 @@ module Google
3576
3587
  end
3577
3588
  end
3578
3589
 
3590
+ class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig
3591
+ # @private
3592
+ class Representation < Google::Apis::Core::JsonRepresentation
3593
+ property :type, as: 'type'
3594
+ end
3595
+ end
3596
+
3579
3597
  class GoogleCloudContactcenterinsightsV1QaQuestionTag
3580
3598
  # @private
3581
3599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3602,6 +3620,7 @@ module Google
3602
3620
  property :create_time, as: 'createTime'
3603
3621
  property :description, as: 'description'
3604
3622
  property :display_name, as: 'displayName'
3623
+ property :is_default, as: 'isDefault'
3605
3624
  property :name, as: 'name'
3606
3625
  property :update_time, as: 'updateTime'
3607
3626
  end
@@ -4414,6 +4433,7 @@ module Google
4414
4433
  property :answer_record, as: 'answerRecord'
4415
4434
  property :confidence, as: 'confidence'
4416
4435
  property :conversation_model, as: 'conversationModel'
4436
+ property :generator_id, as: 'generatorId'
4417
4437
  hash :metadata, as: 'metadata'
4418
4438
  property :text, as: 'text'
4419
4439
  hash :text_sections, as: 'textSections'
@@ -4895,6 +4915,7 @@ module Google
4895
4915
  property :bucket_uri, as: 'bucketUri'
4896
4916
  collection :custom_metadata_keys, as: 'customMetadataKeys'
4897
4917
  property :metadata_bucket_uri, as: 'metadataBucketUri'
4918
+ property :transcript_bucket_uri, as: 'transcriptBucketUri'
4898
4919
  end
4899
4920
  end
4900
4921
 
@@ -2536,6 +2536,10 @@ module Google
2536
2536
  # Immutable. The resource name of the conversation. Format: projects/`project`/
2537
2537
  # locations/`location`/conversations/`conversation`
2538
2538
  # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
2539
+ # @param [Boolean] allow_missing
2540
+ # Optional. Defaults to false. If set to true, and the conversation is not found,
2541
+ # a new conversation will be created. In this situation, `update_mask` is
2542
+ # ignored.
2539
2543
  # @param [String] update_mask
2540
2544
  # The list of fields to be updated. All possible fields can be updated by
2541
2545
  # passing `*`, or a subset of the following updateable fields can be provided: *
@@ -2559,13 +2563,14 @@ module Google
2559
2563
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2560
2564
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2561
2565
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2562
- def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2566
+ def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2563
2567
  command = make_simple_command(:patch, 'v1/{+name}', options)
2564
2568
  command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
2565
2569
  command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
2566
2570
  command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
2567
2571
  command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
2568
2572
  command.params['name'] = name unless name.nil?
2573
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
2569
2574
  command.query['updateMask'] = update_mask unless update_mask.nil?
2570
2575
  command.query['fields'] = fields unless fields.nil?
2571
2576
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contactcenterinsights_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.69.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
62
62
  rdoc_options: []
63
63
  require_paths: