Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Partition.
Partition to specify the partition in time and space for sub-asset level annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#relative_temporal_partition
def relative_temporal_partition() -> ::Google::Cloud::VisionAI::V1::Partition::RelativeTemporalPartition
Returns
- (::Google::Cloud::VisionAI::V1::Partition::RelativeTemporalPartition) — Partition of asset in time.
#relative_temporal_partition=
def relative_temporal_partition=(value) -> ::Google::Cloud::VisionAI::V1::Partition::RelativeTemporalPartition
Parameter
- value (::Google::Cloud::VisionAI::V1::Partition::RelativeTemporalPartition) — Partition of asset in time.
Returns
- (::Google::Cloud::VisionAI::V1::Partition::RelativeTemporalPartition) — Partition of asset in time.
#spatial_partition
def spatial_partition() -> ::Google::Cloud::VisionAI::V1::Partition::SpatialPartition
Returns
- (::Google::Cloud::VisionAI::V1::Partition::SpatialPartition) — Partition of asset in space.
#spatial_partition=
def spatial_partition=(value) -> ::Google::Cloud::VisionAI::V1::Partition::SpatialPartition
Parameter
- value (::Google::Cloud::VisionAI::V1::Partition::SpatialPartition) — Partition of asset in space.
Returns
- (::Google::Cloud::VisionAI::V1::Partition::SpatialPartition) — Partition of asset in space.
#temporal_partition
def temporal_partition() -> ::Google::Cloud::VisionAI::V1::Partition::TemporalPartition
Returns
- (::Google::Cloud::VisionAI::V1::Partition::TemporalPartition) — Partition of asset in time.
#temporal_partition=
def temporal_partition=(value) -> ::Google::Cloud::VisionAI::V1::Partition::TemporalPartition
Parameter
- value (::Google::Cloud::VisionAI::V1::Partition::TemporalPartition) — Partition of asset in time.
Returns
- (::Google::Cloud::VisionAI::V1::Partition::TemporalPartition) — Partition of asset in time.