title: update youtube live stream privacy status
body: <p>I'm trying to update the privacy status of a LiveBroadcast in scala (using the java jdk). This is my workflow:</p>
  
  <p>Create a LiveBroadcast with <code>private</code> privacy status</p>
  
  <pre><code>val snippet = new LiveBroadcastSnippet()
      .setTitle(title)
      .setScheduledStartTime(YouTubeDateTime.now())
      .setChannelId(channel.getId)
  
  val status = new LiveBroadcastStatus()
    .setPrivacyStatus("private")
  
  val broadcast = new LiveBroadcast()
    .setKind("youtube#liveBroadcast")
    .setSnippet(snippet)
    .setStatus(status)
  
  val request = youtube.liveBroadcasts()
    .insert("snippet,status,contentDetails", broadcast)
  
  request.execute
  </code></pre>
  
  <p>Transition the LiveBroadcast to <code>testing</code> (iff the bound LiveStream is active)</p>
  
  <pre><code>val request = youtube.liveBroadcasts
      .transition(lifeCycleStatus.toString, broadcast.getId, "status")
  
  request.execute
  </code></pre>
  
  <p>Once happy with the stream, set the LiveBroadcast privacy to <code>public</code></p>
  
  <pre><code>val status = new LiveBroadcastStatus().setPrivacyStatus("public")
  
  broadcast.setStatus(status)
  
  val request = youtube.liveBroadcasts.update("status", broadcast)
  
  request.execute()
  </code></pre>
  
  <p>The last part does not work, instead returns a 400 response:</p>
  
  <pre><code>400 Bad Request
  {
    "code" : 400,
    "errors" : [ {
      "domain" : "youtube.part",
      "location" : "part",
      "locationType" : "parameter",
      "message" : "{0}",
      "reason" : "unexpectedPart"
    } ],
    "message" : "{0}"
  }
  </code></pre>
  
  <p>Doing the same request <a href="https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/update" rel="nofollow">here</a> works, so I'm not sure what I'm doing wrong.</p>
  
  <p>Can anyone help?</p>