Class: Google::Apis::YoutubeV3::VideoRecordingDetails

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

Overview

Recording information associated with the video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VideoRecordingDetails

Returns a new instance of VideoRecordingDetails



8176
8177
8178
# File 'generated/google/apis/youtube_v3/classes.rb', line 8176

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

Instance Attribute Details

#locationGoogle::Apis::YoutubeV3::GeoPoint

Geographical coordinates of a point, in WGS84. Corresponds to the JSON property location



8163
8164
8165
# File 'generated/google/apis/youtube_v3/classes.rb', line 8163

def location
  @location
end

#location_descriptionString

The text description of the location where the video was recorded. Corresponds to the JSON property locationDescription

Returns:

  • (String)


8168
8169
8170
# File 'generated/google/apis/youtube_v3/classes.rb', line 8168

def location_description
  @location_description
end

#recording_dateDateTime

The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format. Corresponds to the JSON property recordingDate

Returns:

  • (DateTime)


8174
8175
8176
# File 'generated/google/apis/youtube_v3/classes.rb', line 8174

def recording_date
  @recording_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8181
8182
8183
8184
8185
# File 'generated/google/apis/youtube_v3/classes.rb', line 8181

def update!(**args)
  @location = args[:location] if args.key?(:location)
  @location_description = args[:location_description] if args.key?(:location_description)
  @recording_date = args[:recording_date] if args.key?(:recording_date)
end