YoutubeInsertBroadcastCommand constructor

YoutubeInsertBroadcastCommand()

Implementation

YoutubeInsertBroadcastCommand() {
  argParser
    ..addOption('part',
        defaultsTo: 'snippet,contentDetails,status',
        help:
            '''The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.

            The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.''')
    ..addOption('body',
        mandatory: true,
        help:
            'Provide a json formatted `liveBroadcast` resource [https://developers.google.com/youtube/v3/live/docs/liveBroadcasts#resource] in the request body or provide the `file name` of a json file that contains the `liveBroadcast` resource.');
}