Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest

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 delete conversations in bulk.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest

Returns a new instance of GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest.



566
567
568
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 566

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

Instance Attribute Details

#filterString

Filter used to select the subset of conversations to analyze. Corresponds to the JSON property filter

Returns:

  • (String)


545
546
547
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 545

def filter
  @filter
end

#forceBoolean Also known as: force?

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. Corresponds to the JSON property force

Returns:

  • (Boolean)


551
552
553
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 551

def force
  @force
end

#max_delete_countFixnum

Maximum number of conversations to delete. The default is 1000. It can be changed by setting the max_delete_count field. Corresponds to the JSON property maxDeleteCount

Returns:

  • (Fixnum)


558
559
560
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 558

def max_delete_count
  @max_delete_count
end

#parentString

Required. The parent resource to create analyses in. Format: projects/project /locations/location Corresponds to the JSON property parent

Returns:

  • (String)


564
565
566
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 564

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



571
572
573
574
575
576
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 571

def update!(**args)
  @filter = args[:filter] if args.key?(:filter)
  @force = args[:force] if args.key?(:force)
  @max_delete_count = args[:max_delete_count] if args.key?(:max_delete_count)
  @parent = args[:parent] if args.key?(:parent)
end