Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata

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

Metadata for creating an issue model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata

Returns a new instance of GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata.



927
928
929
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 927

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

Instance Attribute Details

#create_timeString

Output only. The time the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


915
916
917
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 915

def create_time
  @create_time
end

#end_timeString

Output only. The time the operation finished running. Corresponds to the JSON property endTime

Returns:

  • (String)


920
921
922
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 920

def end_time
  @end_time
end

#requestGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueModelRequest

The request to create an issue model. Corresponds to the JSON property request



925
926
927
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 925

def request
  @request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



932
933
934
935
936
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 932

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @request = args[:request] if args.key?(:request)
end