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.



11980
11981
11982
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11980

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


11958
11959
11960
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11958

def complete_time
  @complete_time
end

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

Corresponds to the JSON property metrics



11963
11964
11965
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11963

def metrics
  @metrics
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

#tagsArray<String>

Corresponds to the JSON property tags

Returns:

  • (Array<String>)


11978
11979
11980
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11978

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11985
11986
11987
11988
11989
11990
11991
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11985

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