Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision

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

A revision of a QaScorecard. Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QaScorecardRevision

Returns a new instance of GoogleCloudContactcenterinsightsV1QaScorecardRevision.



4643
4644
4645
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4643

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

Instance Attribute Details

#alternate_idsArray<String>

Output only. Alternative IDs for this revision of the scorecard, e.g., latest . Corresponds to the JSON property alternateIds

Returns:

  • (Array<String>)


4618
4619
4620
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4618

def alternate_ids
  @alternate_ids
end

#create_timeString

Output only. The timestamp that the revision was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4623
4624
4625
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4623

def create_time
  @create_time
end

#nameString

Identifier. The name of the scorecard revision. Format: projects/project/ locations/location/qaScorecards/qa_scorecard/revisions/revision Corresponds to the JSON property name

Returns:

  • (String)


4629
4630
4631
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4629

def name
  @name
end

#snapshotGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard

A QaScorecard represents a collection of questions to be scored during analysis. Corresponds to the JSON property snapshot



4635
4636
4637
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4635

def snapshot
  @snapshot
end

#stateString

Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis. Corresponds to the JSON property state

Returns:

  • (String)


4641
4642
4643
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4641

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4648
4649
4650
4651
4652
4653
4654
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4648

def update!(**args)
  @alternate_ids = args[:alternate_ids] if args.key?(:alternate_ids)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @snapshot = args[:snapshot] if args.key?(:snapshot)
  @state = args[:state] if args.key?(:state)
end