Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue

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 issue resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Issue

Returns a new instance of GoogleCloudContactcenterinsightsV1Issue.



1501
1502
1503
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1501

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

Instance Attribute Details

#create_timeString

Output only. The time at which this issue was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1483
1484
1485
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1483

def create_time
  @create_time
end

#display_nameString

The representative name for the issue. Corresponds to the JSON property displayName

Returns:

  • (String)


1488
1489
1490
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1488

def display_name
  @display_name
end

#nameString

Immutable. The resource name of the issue. Format: projects/project/ locations/location/issueModels/issue_model/issues/issue Corresponds to the JSON property name

Returns:

  • (String)


1494
1495
1496
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1494

def name
  @name
end

#update_timeString

Output only. The most recent time that this issue was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1499
1500
1501
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1499

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1506
1507
1508
1509
1510
1511
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1506

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end