Class UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder
-
- All Implemented Interfaces:
public final class UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.BuilderA builder for OrganizationUsageCodeInterpreterSessionsResult.
-
-
Method Summary
-
-
Method Detail
-
numSessions
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder numSessions(Long numSessions)
The number of code interpreter sessions.
-
numSessions
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder numSessions(JsonField<Long> numSessions)
Sets Builder.numSessions to an arbitrary JSON value.
You should usually call Builder.numSessions with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("organization.usage.code_interpreter_sessions.result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder projectId(String projectId)
When
group_by=project_id, this field provides the project ID of the grouped usage result.
-
projectId
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder projectId(Optional<String> projectId)
Alias for calling Builder.projectId with
projectId.orElse(null).
-
projectId
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageWebSearchCallsResponse.Data.Result.OrganizationUsageCodeInterpreterSessionsResult build()
Returns an immutable instance of OrganizationUsageCodeInterpreterSessionsResult.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.numSessions()
-
-
-
-