Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SavedQuery
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SavedQuery
- 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
A SavedQuery is a view of the dataset. It references a subset of annotations by problem type and filters.
Instance Attribute Summary collapse
-
#annotation_filter ⇒ String
Output only.
-
#annotation_spec_count ⇒ Fixnum
Output only.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#etag ⇒ String
Used to perform a consistent read-modify-write update.
-
#metadata ⇒ Object
Some additional information about the SavedQuery.
-
#name ⇒ String
Output only.
-
#problem_type ⇒ String
Required.
-
#support_automl_training ⇒ Boolean
(also: #support_automl_training?)
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SavedQuery
constructor
A new instance of GoogleCloudAiplatformV1beta1SavedQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SavedQuery
Returns a new instance of GoogleCloudAiplatformV1beta1SavedQuery.
24508 24509 24510 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24508 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_filter ⇒ String
Output only. Filters on the Annotations in the dataset.
Corresponds to the JSON property annotationFilter
24453 24454 24455 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24453 def annotation_filter @annotation_filter end |
#annotation_spec_count ⇒ Fixnum
Output only. Number of AnnotationSpecs in the context of the SavedQuery.
Corresponds to the JSON property annotationSpecCount
24458 24459 24460 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24458 def annotation_spec_count @annotation_spec_count end |
#create_time ⇒ String
Output only. Timestamp when this SavedQuery was created.
Corresponds to the JSON property createTime
24463 24464 24465 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24463 def create_time @create_time end |
#display_name ⇒ String
Required. The user-defined name of the SavedQuery. The name can be up to 128
characters long and can consist of any UTF-8 characters.
Corresponds to the JSON property displayName
24469 24470 24471 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24469 def display_name @display_name end |
#etag ⇒ String
Used to perform a consistent read-modify-write update. If not set, a blind "
overwrite" update happens.
Corresponds to the JSON property etag
24475 24476 24477 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24475 def etag @etag end |
#metadata ⇒ Object
Some additional information about the SavedQuery.
Corresponds to the JSON property metadata
24480 24481 24482 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24480 def @metadata end |
#name ⇒ String
Output only. Resource name of the SavedQuery.
Corresponds to the JSON property name
24485 24486 24487 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24485 def name @name end |
#problem_type ⇒ String
Required. Problem type of the SavedQuery. Allowed values: *
IMAGE_CLASSIFICATION_SINGLE_LABEL * IMAGE_CLASSIFICATION_MULTI_LABEL *
IMAGE_BOUNDING_POLY * IMAGE_BOUNDING_BOX * TEXT_CLASSIFICATION_SINGLE_LABEL *
TEXT_CLASSIFICATION_MULTI_LABEL * TEXT_EXTRACTION * TEXT_SENTIMENT *
VIDEO_CLASSIFICATION * VIDEO_OBJECT_TRACKING
Corresponds to the JSON property problemType
24494 24495 24496 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24494 def problem_type @problem_type end |
#support_automl_training ⇒ Boolean Also known as: support_automl_training?
Output only. If the Annotations belonging to the SavedQuery can be used for
AutoML training.
Corresponds to the JSON property supportAutomlTraining
24500 24501 24502 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24500 def support_automl_training @support_automl_training end |
#update_time ⇒ String
Output only. Timestamp when SavedQuery was last updated.
Corresponds to the JSON property updateTime
24506 24507 24508 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24506 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24513 24514 24515 24516 24517 24518 24519 24520 24521 24522 24523 24524 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24513 def update!(**args) @annotation_filter = args[:annotation_filter] if args.key?(:annotation_filter) @annotation_spec_count = args[:annotation_spec_count] if args.key?(:annotation_spec_count) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @problem_type = args[:problem_type] if args.key?(:problem_type) @support_automl_training = args[:support_automl_training] if args.key?(:support_automl_training) @update_time = args[:update_time] if args.key?(:update_time) end |