GoogleApi.YouTube.V3.Model.ResourceId (google_api_you_tube v0.54.0)

View Source

A resource id is a generic reference that points to another YouTube resource.

Attributes

  • channelId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel.
  • kind (type: String.t, default: nil) - The type of the API resource.
  • playlistId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist.
  • videoId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.ResourceId{
  channelId: String.t() | nil,
  kind: String.t() | nil,
  playlistId: String.t() | nil,
  videoId: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.