Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CloudLoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CloudLoggingConfig
- 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
Specifies configuration for exporting evaluation results to Cloud Logging.
Instance Attribute Summary collapse
-
#project ⇒ String
Optional.
-
#resource_labels ⇒ Hash<String,String>
Optional.
-
#resource_type ⇒ String
Optional.
-
#tracing_context ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CloudLoggingConfigTracingContext
Tracing context for Observability correlation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CloudLoggingConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1CloudLoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CloudLoggingConfig
Returns a new instance of GoogleCloudAiplatformV1beta1CloudLoggingConfig.
12041 12042 12043 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12041 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project ⇒ String
Optional. Google Cloud project to write logs to. Defaults to the request
project.
Corresponds to the JSON property project
12023 12024 12025 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12023 def project @project end |
#resource_labels ⇒ Hash<String,String>
Optional. MonitoredResource labels to associate the log with. The backend will
automatically inject project and location.
Corresponds to the JSON property resourceLabels
12029 12030 12031 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12029 def resource_labels @resource_labels end |
#resource_type ⇒ String
Optional. MonitoredResource type. Defaults to "global" if unspecified.
Corresponds to the JSON property resourceType
12034 12035 12036 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12034 def resource_type @resource_type end |
#tracing_context ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CloudLoggingConfigTracingContext
Tracing context for Observability correlation.
Corresponds to the JSON property tracingContext
12039 12040 12041 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12039 def tracing_context @tracing_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12046 12047 12048 12049 12050 12051 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12046 def update!(**args) @project = args[:project] if args.key?(:project) @resource_labels = args[:resource_labels] if args.key?(:resource_labels) @resource_type = args[:resource_type] if args.key?(:resource_type) @tracing_context = args[:tracing_context] if args.key?(:tracing_context) end |