Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Span

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Span

Returns a new instance of GoogleCloudDialogflowCxV3beta1Span.



11968
11969
11970
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11968

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


11946
11947
11948
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11946

def complete_time
  @complete_time
end

#metricsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NamedMetric>

Corresponds to the JSON property metrics



11951
11952
11953
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11951

def metrics
  @metrics
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


11956
11957
11958
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11956

def name
  @name
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


11961
11962
11963
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11961

def start_time
  @start_time
end

#tagsArray<String>

Corresponds to the JSON property tags

Returns:

  • (Array<String>)


11966
11967
11968
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11966

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11973
11974
11975
11976
11977
11978
11979
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11973

def update!(**args)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @metrics = args[:metrics] if args.key?(:metrics)
  @name = args[:name] if args.key?(:name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @tags = args[:tags] if args.key?(:tags)
end