Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

The request to sample conversations to a dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest.



16037
16038
16039
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16037

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_datasetGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Dataset

Dataset resource represents a collection of conversations that may be bounded ( Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic) Corresponds to the JSON property destinationDataset



16025
16026
16027
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16025

def destination_dataset
  @destination_dataset
end

#parentString

Required. The parent resource of the dataset. Corresponds to the JSON property parent

Returns:

  • (String)


16030
16031
16032
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16030

def parent
  @parent
end

#sample_ruleGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleRule

Message for sampling conversations. Corresponds to the JSON property sampleRule



16035
16036
16037
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16035

def sample_rule
  @sample_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16042
16043
16044
16045
16046
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16042

def update!(**args)
  @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
  @parent = args[:parent] if args.key?(:parent)
  @sample_rule = args[:sample_rule] if args.key?(:sample_rule)
end