Class ProjectHostedToolPermissions
-
- All Implemented Interfaces:
public final class ProjectHostedToolPermissionsRepresents hosted tool permissions for a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectHostedToolPermissions.BuilderA builder for ProjectHostedToolPermissions.
public final classProjectHostedToolPermissions.CodeInterpreterPermission state for a single hosted tool on a project.
public final classProjectHostedToolPermissions.FileSearchPermission state for a single hosted tool on a project.
public final classProjectHostedToolPermissions.ImageGenerationPermission state for a single hosted tool on a project.
public final classProjectHostedToolPermissions.McpPermission state for a single hosted tool on a project.
public final classProjectHostedToolPermissions.WebSearchPermission state for a single hosted tool on a project.
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final ProjectHostedToolPermissions.CodeInterpreter codeInterpreter()
Permission state for a single hosted tool on a project.
-
fileSearch
final ProjectHostedToolPermissions.FileSearch fileSearch()
Permission state for a single hosted tool on a project.
-
imageGeneration
final ProjectHostedToolPermissions.ImageGeneration imageGeneration()
Permission state for a single hosted tool on a project.
-
mcp
final ProjectHostedToolPermissions.Mcp mcp()
Permission state for a single hosted tool on a project.
-
webSearch
final ProjectHostedToolPermissions.WebSearch webSearch()
Permission state for a single hosted tool on a project.
-
_codeInterpreter
final JsonField<ProjectHostedToolPermissions.CodeInterpreter> _codeInterpreter()
Returns the raw JSON value of codeInterpreter.
Unlike codeInterpreter, this method doesn't throw if the JSON field has an unexpected type.
-
_fileSearch
final JsonField<ProjectHostedToolPermissions.FileSearch> _fileSearch()
Returns the raw JSON value of fileSearch.
Unlike fileSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_imageGeneration
final JsonField<ProjectHostedToolPermissions.ImageGeneration> _imageGeneration()
Returns the raw JSON value of imageGeneration.
Unlike imageGeneration, this method doesn't throw if the JSON field has an unexpected type.
-
_mcp
final JsonField<ProjectHostedToolPermissions.Mcp> _mcp()
Returns the raw JSON value of mcp.
Unlike mcp, this method doesn't throw if the JSON field has an unexpected type.
-
_webSearch
final JsonField<ProjectHostedToolPermissions.WebSearch> _webSearch()
Returns the raw JSON value of webSearch.
Unlike webSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectHostedToolPermissions.Builder toBuilder()
-
validate
final ProjectHostedToolPermissions validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ProjectHostedToolPermissions.Builder builder()
Returns a mutable builder for constructing an instance of ProjectHostedToolPermissions.
The following fields are required:
.codeInterpreter() .fileSearch() .imageGeneration() .mcp() .webSearch()
-
-
-
-