Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Source for loading traces directly from Cloud Trace.
Instance Attribute Summary collapse
-
#project_id ⇒ String
Required.
-
#session_ids ⇒ Array<String>
Optional.
-
#trace_ids ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource
constructor
A new instance of GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource
Returns a new instance of GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource.
27679 27680 27681 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_id ⇒ String
Required. Project ID for the Cloud Trace.
Corresponds to the JSON property projectId
27666 27667 27668 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27666 def project_id @project_id end |
#session_ids ⇒ Array<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
27672 27673 27674 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27672 def session_ids @session_ids end |
#trace_ids ⇒ Array<String>
Optional. Trace IDs to import.
Corresponds to the JSON property traceIds
27677 27678 27679 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27677 def trace_ids @trace_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27684 27685 27686 27687 27688 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27684 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 |