Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb

Overview

Container of information of a video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1VideoPayload

Returns a new instance of GoogleCloudDatalabelingV1beta1VideoPayload.



4592
4593
4594
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4592

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

Instance Attribute Details

#frame_rateFloat

FPS of the video. Corresponds to the JSON property frameRate

Returns:

  • (Float)


4570
4571
4572
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4570

def frame_rate
  @frame_rate
end

#mime_typeString

Video format. Corresponds to the JSON property mimeType

Returns:

  • (String)


4575
4576
4577
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4575

def mime_type
  @mime_type
end

#signed_uriString

Signed uri of the video file in the service bucket. Corresponds to the JSON property signedUri

Returns:

  • (String)


4580
4581
4582
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4580

def signed_uri
  @signed_uri
end

#video_thumbnailsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoThumbnail>

The list of video thumbnails. Corresponds to the JSON property videoThumbnails



4585
4586
4587
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4585

def video_thumbnails
  @video_thumbnails
end

#video_uriString

Video uri from the user bucket. Corresponds to the JSON property videoUri

Returns:

  • (String)


4590
4591
4592
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4590

def video_uri
  @video_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4597
4598
4599
4600
4601
4602
4603
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4597

def update!(**args)
  @frame_rate = args[:frame_rate] if args.key?(:frame_rate)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @signed_uri = args[:signed_uri] if args.key?(:signed_uri)
  @video_thumbnails = args[:video_thumbnails] if args.key?(:video_thumbnails)
  @video_uri = args[:video_uri] if args.key?(:video_uri)
end