code: public final SessionEntityType updateSessionEntityType(SessionEntityType sessionEntityType) {
  
      UpdateSessionEntityTypeRequest request =
          UpdateSessionEntityTypeRequest.newBuilder().setSessionEntityType(sessionEntityType).build();
      return updateSessionEntityType(request);
    }
docs: Updates the specified session entity type.
  
  <p>Sample code:
  
  <pre><code>
  try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
  SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
  SessionEntityType response = sessionEntityTypesClient.updateSessionEntityType(sessionEntityType);
  }
  </code></pre>
  
  @param sessionEntityType Required. The entity type to update. Format: `projects/&lt;Project
  ID&gt;/agent/sessions/&lt;Session ID&gt;/entityTypes/&lt;Entity Type Display Name&gt;` or
  `projects/&lt;Project ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User
  ID&gt;/sessions/&lt;Session ID&gt;/entityTypes/&lt;Entity Type Display Name&gt;`. If
  `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is
  not specified, we assume default '-' user.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails