Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AnnotationSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AnnotationSpec
- 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
Identifies a concept with which DataItems may be annotated with.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#etag ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1AnnotationSpec
constructor
A new instance of GoogleCloudAiplatformV1AnnotationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1AnnotationSpec
Returns a new instance of GoogleCloudAiplatformV1AnnotationSpec.
1505 1506 1507 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this AnnotationSpec was created.
Corresponds to the JSON property createTime
1481 1482 1483 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1481 def create_time @create_time end |
#display_name ⇒ String
Required. The user-defined name of the AnnotationSpec. The name can be up to
128 characters long and can consist of any UTF-8 characters.
Corresponds to the JSON property displayName
1487 1488 1489 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1487 def display_name @display_name end |
#etag ⇒ String
Optional. Used to perform consistent read-modify-write updates. If not set, a
blind "overwrite" update happens.
Corresponds to the JSON property etag
1493 1494 1495 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1493 def etag @etag end |
#name ⇒ String
Output only. Resource name of the AnnotationSpec.
Corresponds to the JSON property name
1498 1499 1500 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1498 def name @name end |
#update_time ⇒ String
Output only. Timestamp when AnnotationSpec was last updated.
Corresponds to the JSON property updateTime
1503 1504 1505 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1503 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1510 1511 1512 1513 1514 1515 1516 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1510 def update!(**args) @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) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |