Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource

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

Overview

Source for loading traces directly from Cloud Trace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource

Returns a new instance of GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource.



18898
18899
18900
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18898

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

Instance Attribute Details

#project_idString

Required. Project ID for the Cloud Trace. Corresponds to the JSON property projectId

Returns:

  • (String)


18885
18886
18887
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18885

def project_id
  @project_id
end

#session_idsArray<String>

Optional. Session IDs to import traces for. If both trace_ids and session_ids are specified, the union of the two will be imported. Corresponds to the JSON property sessionIds

Returns:

  • (Array<String>)


18891
18892
18893
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18891

def session_ids
  @session_ids
end

#trace_idsArray<String>

Optional. Trace IDs to import. Corresponds to the JSON property traceIds

Returns:

  • (Array<String>)


18896
18897
18898
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18896

def trace_ids
  @trace_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18903
18904
18905
18906
18907
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18903

def update!(**args)
  @project_id = args[:project_id] if args.key?(:project_id)
  @session_ids = args[:session_ids] if args.key?(:session_ids)
  @trace_ids = args[:trace_ids] if args.key?(:trace_ids)
end