Class AuditLogListParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class AuditLogListParams implements Params
List user actions and configuration changes within this organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuditLogListParams.BuilderA builder for AuditLogListParams.
public final classAuditLogListParams.EffectiveAtReturn only events whose
effective_at(Unix seconds) is in this range.public final classAuditLogListParams.EventTypeThe event type.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>actorEmails()Return only events performed by users with these emails. final Optional<List<String>>actorIds()Return only events performed by these actors. final Optional<String>after()A cursor for use in pagination. final Optional<String>before()A cursor for use in pagination. final Optional<AuditLogListParams.EffectiveAt>effectiveAt()Return only events whose effective_at(Unix seconds) is in this range.final Optional<List<AuditLogListParams.EventType>>eventTypes()Return only events with a typein one of these values.final Optional<Long>limit()A limit on the number of objects to be returned. final Optional<List<String>>projectIds()Return only events for these projects. final Optional<List<String>>resourceIds()Return only events performed on these targets. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final AuditLogListParams.BuildertoBuilder()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuditLogListParamsnone()final static AuditLogListParams.Builderbuilder()Returns a mutable builder for constructing an instance of AuditLogListParams. -
-
Method Detail
-
actorEmails
final Optional<List<String>> actorEmails()
Return only events performed by users with these emails.
-
actorIds
final Optional<List<String>> actorIds()
Return only events performed by these actors. Can be a user ID, a service account ID, or an api key tracking ID.
-
after
final Optional<String> after()
A cursor for use in pagination.
afteris an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
-
before
final Optional<String> before()
A cursor for use in pagination.
beforeis an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
-
effectiveAt
final Optional<AuditLogListParams.EffectiveAt> effectiveAt()
Return only events whose
effective_at(Unix seconds) is in this range.
-
eventTypes
final Optional<List<AuditLogListParams.EventType>> eventTypes()
Return only events with a
typein one of these values. For example,project.created. For all options, see the documentation for the audit log object.
-
limit
final Optional<Long> limit()
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
-
projectIds
final Optional<List<String>> projectIds()
Return only events for these projects.
-
resourceIds
final Optional<List<String>> resourceIds()
Return only events performed on these targets. For example, a project ID updated.
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final AuditLogListParams.Builder toBuilder()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static AuditLogListParams none()
-
builder
final static AuditLogListParams.Builder builder()
Returns a mutable builder for constructing an instance of AuditLogListParams.
-
-
-
-