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.



913
914
915
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 913

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)


901
902
903
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 901

def create_time
  @create_time
end

#end_timeString

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

Returns:

  • (String)


906
907
908
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 906

def end_time
  @end_time
end

#requestGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueModelRequest

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



911
912
913
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 911

def request
  @request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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