google_youtube_api_v3/youtube/api/channel

Types

Inserts a new resource into this collection.

pub type ChannelBannersInsertParams {
  ChannelBannersInsertParams(
    channel_id: option.Option(String),
    on_behalf_of_content_owner: option.Option(String),
    on_behalf_of_content_owner_channel: option.Option(String),
  )
}

Constructors

Deletes a resource.

pub type ChannelSectionsDeleteParams {
  ChannelSectionsDeleteParams(
    id: String,
    on_behalf_of_content_owner: option.Option(String),
  )
}

Constructors

  • ChannelSectionsDeleteParams(
      id: String,
      on_behalf_of_content_owner: option.Option(String),
    )

Inserts a new resource into this collection.

pub type ChannelSectionsInsertParams {
  ChannelSectionsInsertParams(
    part: List(String),
    on_behalf_of_content_owner: option.Option(String),
    on_behalf_of_content_owner_channel: option.Option(String),
  )
}

Constructors

  • ChannelSectionsInsertParams(
      part: List(String),
      on_behalf_of_content_owner: option.Option(String),
      on_behalf_of_content_owner_channel: option.Option(String),
    )

Retrieves a list of resources, possibly filtered.

pub type ChannelSectionsListParams {
  ChannelSectionsListParams(
    part: List(String),
    channel_id: option.Option(String),
    hl: option.Option(String),
    id: option.Option(List(String)),
    mine: option.Option(Bool),
    on_behalf_of_content_owner: option.Option(String),
  )
}

Constructors

Updates an existing resource.

pub type ChannelSectionsUpdateParams {
  ChannelSectionsUpdateParams(
    part: List(String),
    on_behalf_of_content_owner: option.Option(String),
  )
}

Constructors

  • ChannelSectionsUpdateParams(
      part: List(String),
      on_behalf_of_content_owner: option.Option(String),
    )

Retrieves a list of resources, possibly filtered.

pub type ChannelsListParams {
  ChannelsListParams(
    part: List(String),
    category_id: option.Option(String),
    for_handle: option.Option(String),
    for_username: option.Option(String),
    hl: option.Option(String),
    id: option.Option(List(String)),
    managed_by_me: option.Option(Bool),
    max_results: option.Option(Int),
    mine: option.Option(Bool),
    my_subscribers: option.Option(Bool),
    on_behalf_of_content_owner: option.Option(String),
    page_token: option.Option(String),
  )
}

Constructors

Updates an existing resource.

pub type ChannelsUpdateParams {
  ChannelsUpdateParams(
    part: List(String),
    on_behalf_of_content_owner: option.Option(String),
  )
}

Constructors

  • ChannelsUpdateParams(
      part: List(String),
      on_behalf_of_content_owner: option.Option(String),
    )

Values

pub fn channel_banners_insert_with_channel_id(
  params: ChannelBannersInsertParams,
  value: String,
) -> ChannelBannersInsertParams
pub fn channel_banners_insert_with_on_behalf_of_content_owner(
  params: ChannelBannersInsertParams,
  value: String,
) -> ChannelBannersInsertParams
pub fn channel_banners_insert_with_on_behalf_of_content_owner_channel(
  params: ChannelBannersInsertParams,
  value: String,
) -> ChannelBannersInsertParams
pub fn channel_sections_delete(
  id: String,
) -> ChannelSectionsDeleteParams
pub fn channel_sections_delete_request(
  params: ChannelSectionsDeleteParams,
) -> request.Request
pub fn channel_sections_delete_with_on_behalf_of_content_owner(
  params: ChannelSectionsDeleteParams,
  value: String,
) -> ChannelSectionsDeleteParams
pub fn channel_sections_insert(
  part: List(String),
) -> ChannelSectionsInsertParams
pub fn channel_sections_insert_add_part(
  params: ChannelSectionsInsertParams,
  value: String,
) -> ChannelSectionsInsertParams
pub fn channel_sections_insert_with_on_behalf_of_content_owner(
  params: ChannelSectionsInsertParams,
  value: String,
) -> ChannelSectionsInsertParams
pub fn channel_sections_insert_with_on_behalf_of_content_owner_channel(
  params: ChannelSectionsInsertParams,
  value: String,
) -> ChannelSectionsInsertParams
pub fn channel_sections_list(
  part: List(String),
) -> ChannelSectionsListParams
pub fn channel_sections_list_add_id(
  params: ChannelSectionsListParams,
  value: String,
) -> ChannelSectionsListParams
pub fn channel_sections_list_add_part(
  params: ChannelSectionsListParams,
  value: String,
) -> ChannelSectionsListParams
pub fn channel_sections_list_request(
  params: ChannelSectionsListParams,
) -> request.Request
pub fn channel_sections_list_with_channel_id(
  params: ChannelSectionsListParams,
  value: String,
) -> ChannelSectionsListParams
pub fn channel_sections_list_with_hl(
  params: ChannelSectionsListParams,
  value: String,
) -> ChannelSectionsListParams
pub fn channel_sections_list_with_id(
  params: ChannelSectionsListParams,
  value: List(String),
) -> ChannelSectionsListParams
pub fn channel_sections_list_with_mine(
  params: ChannelSectionsListParams,
  value: Bool,
) -> ChannelSectionsListParams
pub fn channel_sections_list_with_on_behalf_of_content_owner(
  params: ChannelSectionsListParams,
  value: String,
) -> ChannelSectionsListParams
pub fn channel_sections_update(
  part: List(String),
) -> ChannelSectionsUpdateParams
pub fn channel_sections_update_add_part(
  params: ChannelSectionsUpdateParams,
  value: String,
) -> ChannelSectionsUpdateParams
pub fn channel_sections_update_with_on_behalf_of_content_owner(
  params: ChannelSectionsUpdateParams,
  value: String,
) -> ChannelSectionsUpdateParams
pub fn channels_list(part: List(String)) -> ChannelsListParams
pub fn channels_list_add_id(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_add_part(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_request(
  params: ChannelsListParams,
) -> request.Request
pub fn channels_list_with_category_id(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_with_for_handle(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_with_for_username(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_with_hl(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_with_id(
  params: ChannelsListParams,
  value: List(String),
) -> ChannelsListParams
pub fn channels_list_with_managed_by_me(
  params: ChannelsListParams,
  value: Bool,
) -> ChannelsListParams
pub fn channels_list_with_max_results(
  params: ChannelsListParams,
  value: Int,
) -> ChannelsListParams
pub fn channels_list_with_mine(
  params: ChannelsListParams,
  value: Bool,
) -> ChannelsListParams
pub fn channels_list_with_my_subscribers(
  params: ChannelsListParams,
  value: Bool,
) -> ChannelsListParams
pub fn channels_list_with_on_behalf_of_content_owner(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_list_with_page_token(
  params: ChannelsListParams,
  value: String,
) -> ChannelsListParams
pub fn channels_update(
  part: List(String),
) -> ChannelsUpdateParams
pub fn channels_update_add_part(
  params: ChannelsUpdateParams,
  value: String,
) -> ChannelsUpdateParams
pub fn channels_update_request(
  params: ChannelsUpdateParams,
  body: channel.Channel,
) -> request.Request
pub fn channels_update_with_on_behalf_of_content_owner(
  params: ChannelsUpdateParams,
  value: String,
) -> ChannelsUpdateParams
✨ Search Document