google-cloud-contact_center_insights-v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 554f8cb9e6e7f473916bbf7a9922e224a6f3a55643f49d0c6a8157e4afe3838e
4
- data.tar.gz: 31a357d3df2e184e1860efebd36b2c9b634d074614baae59dcaf773d3b39fbde
3
+ metadata.gz: 45459b4f6f88923530be0694a82a26c2f4263f44d7edbec33e14e5d76518d4df
4
+ data.tar.gz: cb2b6b6ddc968337396f1ccf84338070323f041438a9daf7b980c8605d9f1195
5
5
  SHA512:
6
- metadata.gz: 5314707dea7e713e92c06a6371206886c8e3c1fa62a691271a8c7fcbfeddfc0b1b347ce65fd192c505015d2dfd25a79a8354a8c8e02788172f77a44668518a37
7
- data.tar.gz: 526cd6995bd3483daa2cbb380be3a99224e2a9a5c50985f4fb777df28f928834c30674613e82ff249d21faa93ddd7a91d994303787c4571df022929e0ed22ae7
6
+ metadata.gz: 00b559b0463093020e237deaa546257859505561e3a2484d76671bd24cfac461706572ce4f37584a906fbdf3bc6e50c3db1cc792c523e796d2b6cfcb6fa9f8f4
7
+ data.tar.gz: 0450c4370a9fec4c95b37c607b8939abc45082c926345b97f3119f8aa9c3a95c85d4270716480865366daad784ea8714db2a52f2e945b678a4a04989ec224666
@@ -188,8 +188,8 @@ module Google
188
188
  # component of the conversation's resource name. If no ID is specified, a
189
189
  # server-generated ID will be used.
190
190
  #
191
- # This value should be 4-32 characters and must match the regular
192
- # expression /^[a-z0-9-]\\{4,32}$/. Valid characters are /[a-z][0-9]-/
191
+ # This value should be 4-64 characters and must match the regular
192
+ # expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
193
193
  #
194
194
  # @yield [response, operation] Access the result along with the RPC operation
195
195
  # @yieldparam response [::Google::Cloud::ContactCenterInsights::V1::Conversation]
@@ -1007,7 +1007,7 @@ module Google
1007
1007
  # @param options [::Gapic::CallOptions, ::Hash]
1008
1008
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1009
1009
  #
1010
- # @overload export_insights_data(big_query_destination: nil, parent: nil, filter: nil, kms_key: nil)
1010
+ # @overload export_insights_data(big_query_destination: nil, parent: nil, filter: nil, kms_key: nil, write_disposition: nil)
1011
1011
  # Pass arguments to `export_insights_data` via keyword arguments. Note that at
1012
1012
  # least one keyword argument is required. To specify no parameters, or to keep all
1013
1013
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1023,6 +1023,8 @@ module Google
1023
1023
  # A fully qualified KMS key name for BigQuery tables protected by CMEK.
1024
1024
  # Format:
1025
1025
  # projects/\\{project}/locations/\\{location}/keyRings/\\{keyring}/cryptoKeys/\\{key}/cryptoKeyVersions/\\{version}
1026
+ # @param write_disposition [::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest::WriteDisposition]
1027
+ # Options for what to do if the destination table already exists.
1026
1028
  #
1027
1029
  # @yield [response, operation] Access the result along with the RPC operation
1028
1030
  # @yieldparam response [::Gapic::Operation]
@@ -2090,10 +2092,10 @@ module Google
2090
2092
  # the default parameter values, pass an empty Hash as a request object (see above).
2091
2093
  #
2092
2094
  # @param parent [::String]
2093
- # Required. The parent resource of the phrase matcher. Required. The location
2094
- # to create a phrase matcher for. Format: `projects/<Project
2095
- # ID>/locations/<Location ID>` or `projects/<Project
2096
- # Number>/locations/<Location ID>`
2095
+ # Required. The parent resource of the phrase matcher. Required. The location to create
2096
+ # a phrase matcher for.
2097
+ # Format: `projects/<Project ID>/locations/<Location ID>` or
2098
+ # `projects/<Project Number>/locations/<Location ID>`
2097
2099
  # @param phrase_matcher [::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher, ::Hash]
2098
2100
  # Required. The phrase matcher resource to create.
2099
2101
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ContactCenterInsights
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -95,6 +95,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
95
95
  optional :parent, :string, 1
96
96
  optional :filter, :string, 3
97
97
  optional :kms_key, :string, 4
98
+ optional :write_disposition, :enum, 5, "google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition"
98
99
  oneof :destination do
99
100
  optional :big_query_destination, :message, 2, "google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination"
100
101
  end
@@ -104,6 +105,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
104
105
  optional :dataset, :string, 1
105
106
  optional :table, :string, 2
106
107
  end
108
+ add_enum "google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition" do
109
+ value :WRITE_DISPOSITION_UNSPECIFIED, 0
110
+ value :WRITE_TRUNCATE, 1
111
+ value :WRITE_APPEND, 2
112
+ end
107
113
  add_message "google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata" do
108
114
  optional :create_time, :message, 1, "google.protobuf.Timestamp"
109
115
  optional :end_time, :message, 2, "google.protobuf.Timestamp"
@@ -242,6 +248,7 @@ module Google
242
248
  DeleteAnalysisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest").msgclass
243
249
  ExportInsightsDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest").msgclass
244
250
  ExportInsightsDataRequest::BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination").msgclass
251
+ ExportInsightsDataRequest::WriteDisposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition").enummodule
245
252
  ExportInsightsDataMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata").msgclass
246
253
  ExportInsightsDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse").msgclass
247
254
  CreateIssueModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.CreateIssueModelRequest").msgclass
@@ -57,14 +57,13 @@ module Google
57
57
  # @return [::Google::Protobuf::Map{::String => ::Integer}]
58
58
  # A map associating each issue resource name with its respective number of
59
59
  # matches in the set of conversations. Key has the format:
60
- # `projects/<Project ID>/locations/<Location ID>/issueModels/<Issue Model
61
- # ID>/issues/<Issue ID>`
60
+ # `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
62
61
  # Deprecated, use `issue_matches_stats` field instead.
63
62
  # @!attribute [rw] issue_matches_stats
64
63
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats}]
65
64
  # A map associating each issue resource name with its respective number of
66
65
  # matches in the set of conversations. Key has the format:
67
- # `projects/<ProjectID>/locations/<LocationID>/issueModels/<IssueModelID>/issues/<IssueID>`
66
+ # `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
68
67
  # @!attribute [rw] conversation_count_time_series
69
68
  # @return [::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries]
70
69
  # A time series representing the count of conversations created over time
@@ -164,8 +163,8 @@ module Google
164
163
  # component of the conversation's resource name. If no ID is specified, a
165
164
  # server-generated ID will be used.
166
165
  #
167
- # This value should be 4-32 characters and must match the regular
168
- # expression /^[a-z0-9-]\\{4,32}$/. Valid characters are /[a-z][0-9]-/
166
+ # This value should be 4-64 characters and must match the regular
167
+ # expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
169
168
  class CreateConversationRequest
170
169
  include ::Google::Protobuf::MessageExts
171
170
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -333,6 +332,9 @@ module Google
333
332
  # A fully qualified KMS key name for BigQuery tables protected by CMEK.
334
333
  # Format:
335
334
  # projects/\\{project}/locations/\\{location}/keyRings/\\{keyring}/cryptoKeys/\\{key}/cryptoKeyVersions/\\{version}
335
+ # @!attribute [rw] write_disposition
336
+ # @return [::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest::WriteDisposition]
337
+ # Options for what to do if the destination table already exists.
336
338
  class ExportInsightsDataRequest
337
339
  include ::Google::Protobuf::MessageExts
338
340
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -345,9 +347,9 @@ module Google
345
347
  # the resource project will be used.
346
348
  # @!attribute [rw] dataset
347
349
  # @return [::String]
348
- # Required. The name of the BigQuery dataset that the snapshot result
349
- # should be exported to. If this dataset does not exist, the export call
350
- # returns an INVALID_ARGUMENT error.
350
+ # Required. The name of the BigQuery dataset that the snapshot result should be
351
+ # exported to. If this dataset does not exist, the export call returns an
352
+ # INVALID_ARGUMENT error.
351
353
  # @!attribute [rw] table
352
354
  # @return [::String]
353
355
  # The BigQuery table name to which the insights data should be written.
@@ -357,6 +359,19 @@ module Google
357
359
  include ::Google::Protobuf::MessageExts
358
360
  extend ::Google::Protobuf::MessageExts::ClassMethods
359
361
  end
362
+
363
+ # Specifies the action that occurs if the destination table already exists.
364
+ module WriteDisposition
365
+ # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
366
+ WRITE_DISPOSITION_UNSPECIFIED = 0
367
+
368
+ # If the table already exists, BigQuery will overwrite the table data and
369
+ # use the schema from the load.
370
+ WRITE_TRUNCATE = 1
371
+
372
+ # If the table already exists, BigQuery will append data to the table.
373
+ WRITE_APPEND = 2
374
+ end
360
375
  end
361
376
 
362
377
  # Metadata for an export insights operation.
@@ -595,10 +610,10 @@ module Google
595
610
  # Request to create a phrase matcher.
596
611
  # @!attribute [rw] parent
597
612
  # @return [::String]
598
- # Required. The parent resource of the phrase matcher. Required. The location
599
- # to create a phrase matcher for. Format: `projects/<Project
600
- # ID>/locations/<Location ID>` or `projects/<Project
601
- # Number>/locations/<Location ID>`
613
+ # Required. The parent resource of the phrase matcher. Required. The location to create
614
+ # a phrase matcher for.
615
+ # Format: `projects/<Project ID>/locations/<Location ID>` or
616
+ # `projects/<Project Number>/locations/<Location ID>`
602
617
  # @!attribute [rw] phrase_matcher
603
618
  # @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher]
604
619
  # Required. The phrase matcher resource to create.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-contact_center_insights-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common