Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Polyline
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Polyline
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
A line with multiple line segments.
Instance Attribute Summary collapse
-
#vertices ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex>
The polyline vertices.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Polyline
constructor
A new instance of GoogleCloudDatalabelingV1beta1Polyline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Polyline
Returns a new instance of GoogleCloudDatalabelingV1beta1Polyline.
3961 3962 3963 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3961 def initialize(**args) update!(**args) end |
Instance Attribute Details
#vertices ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex>
The polyline vertices.
Corresponds to the JSON property vertices
3959 3960 3961 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3959 def vertices @vertices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3966 3967 3968 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3966 def update!(**args) @vertices = args[:vertices] if args.key?(:vertices) end |