Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SavedQuery

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SavedQuery

Returns a new instance of GoogleCloudAiplatformV1beta1SavedQuery.



22606
22607
22608
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22606

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

Instance Attribute Details

#annotation_filterString

Output only. Filters on the Annotations in the dataset. Corresponds to the JSON property annotationFilter

Returns:

  • (String)


22551
22552
22553
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22551

def annotation_filter
  @annotation_filter
end

#annotation_spec_countFixnum

Output only. Number of AnnotationSpecs in the context of the SavedQuery. Corresponds to the JSON property annotationSpecCount

Returns:

  • (Fixnum)


22556
22557
22558
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22556

def annotation_spec_count
  @annotation_spec_count
end

#create_timeString

Output only. Timestamp when this SavedQuery was created. Corresponds to the JSON property createTime

Returns:

  • (String)


22561
22562
22563
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22561

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


22567
22568
22569
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22567

def display_name
  @display_name
end

#etagString

Used to perform a consistent read-modify-write update. If not set, a blind " overwrite" update happens. Corresponds to the JSON property etag

Returns:

  • (String)


22573
22574
22575
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22573

def etag
  @etag
end

#metadataObject

Some additional information about the SavedQuery. Corresponds to the JSON property metadata

Returns:

  • (Object)


22578
22579
22580
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22578

def 
  @metadata
end

#nameString

Output only. Resource name of the SavedQuery. Corresponds to the JSON property name

Returns:

  • (String)


22583
22584
22585
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22583

def name
  @name
end

#problem_typeString

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

Returns:

  • (String)


22592
22593
22594
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22592

def problem_type
  @problem_type
end

#support_automl_trainingBoolean 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

Returns:

  • (Boolean)


22598
22599
22600
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22598

def support_automl_training
  @support_automl_training
end

#update_timeString

Output only. Timestamp when SavedQuery was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


22604
22605
22606
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22604

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22611

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