Class ProjectHostedToolPermissions.Builder
-
- All Implemented Interfaces:
public final class ProjectHostedToolPermissions.BuilderA builder for ProjectHostedToolPermissions.
-
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final ProjectHostedToolPermissions.Builder codeInterpreter(ProjectHostedToolPermissions.CodeInterpreter codeInterpreter)
Permission state for a single hosted tool on a project.
-
codeInterpreter
final ProjectHostedToolPermissions.Builder codeInterpreter(JsonField<ProjectHostedToolPermissions.CodeInterpreter> codeInterpreter)
Sets Builder.codeInterpreter to an arbitrary JSON value.
You should usually call Builder.codeInterpreter with a well-typed CodeInterpreter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileSearch
final ProjectHostedToolPermissions.Builder fileSearch(ProjectHostedToolPermissions.FileSearch fileSearch)
Permission state for a single hosted tool on a project.
-
fileSearch
final ProjectHostedToolPermissions.Builder fileSearch(JsonField<ProjectHostedToolPermissions.FileSearch> fileSearch)
Sets Builder.fileSearch to an arbitrary JSON value.
You should usually call Builder.fileSearch with a well-typed FileSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
imageGeneration
final ProjectHostedToolPermissions.Builder imageGeneration(ProjectHostedToolPermissions.ImageGeneration imageGeneration)
Permission state for a single hosted tool on a project.
-
imageGeneration
final ProjectHostedToolPermissions.Builder imageGeneration(JsonField<ProjectHostedToolPermissions.ImageGeneration> imageGeneration)
Sets Builder.imageGeneration to an arbitrary JSON value.
You should usually call Builder.imageGeneration with a well-typed ImageGeneration value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mcp
final ProjectHostedToolPermissions.Builder mcp(ProjectHostedToolPermissions.Mcp mcp)
Permission state for a single hosted tool on a project.
-
mcp
final ProjectHostedToolPermissions.Builder mcp(JsonField<ProjectHostedToolPermissions.Mcp> mcp)
Sets Builder.mcp to an arbitrary JSON value.
You should usually call Builder.mcp with a well-typed Mcp value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
webSearch
final ProjectHostedToolPermissions.Builder webSearch(ProjectHostedToolPermissions.WebSearch webSearch)
Permission state for a single hosted tool on a project.
-
webSearch
final ProjectHostedToolPermissions.Builder webSearch(JsonField<ProjectHostedToolPermissions.WebSearch> webSearch)
Sets Builder.webSearch to an arbitrary JSON value.
You should usually call Builder.webSearch with a well-typed WebSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ProjectHostedToolPermissions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectHostedToolPermissions.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectHostedToolPermissions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectHostedToolPermissions.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectHostedToolPermissions.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectHostedToolPermissions build()
Returns an immutable instance of ProjectHostedToolPermissions.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.codeInterpreter() .fileSearch() .imageGeneration() .mcp() .webSearch()
-
-
-
-