Class AclBatchUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class AclBatchUpdateParams implements Params
Batch update acls. This operation is idempotent, so adding acls which already exist will have no effect, and removing acls which do not exist will have no effect.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAclBatchUpdateParams.BuilderA builder for AclBatchUpdateParams.
public final classAclBatchUpdateParams.Bodypublic final classAclBatchUpdateParams.AddAclAn ACL grants a certain permission or role to a certain user or group on an object.
ACLs are inherited across the object hierarchy. So for example, if a user has read permissions on a project, they will also have read permissions on any experiment, dataset, etc. created within that project.
To restrict a grant to a particular sub-object, you may specify
restrict_object_typein the ACL, as part of a direct permission grant or as part of a role.public final classAclBatchUpdateParams.RemoveAclAn ACL grants a certain permission or role to a certain user or group on an object.
ACLs are inherited across the object hierarchy. So for example, if a user has read permissions on a project, they will also have read permissions on any experiment, dataset, etc. created within that project.
To restrict a grant to a particular sub-object, you may specify
restrict_object_typein the ACL, as part of a direct permission grant or as part of a role.
-
Method Summary
Modifier and Type Method Description final Optional<List<AclBatchUpdateParams.AddAcl>>addAcls()An ACL grants a certain permission or role to a certain user or group on an object. final Optional<List<AclBatchUpdateParams.RemoveAcl>>removeAcls()An ACL grants a certain permission or role to a certain user or group on an object. final JsonField<List<AclBatchUpdateParams.AddAcl>>_addAcls()Returns the raw JSON value of addAcls. final JsonField<List<AclBatchUpdateParams.RemoveAcl>>_removeAcls()Returns the raw JSON value of removeAcls. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final AclBatchUpdateParams.BuildertoBuilder()final AclBatchUpdateParams.Body_body()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 AclBatchUpdateParamsnone()final static AclBatchUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of AclBatchUpdateParams. -
-
Method Detail
-
addAcls
final Optional<List<AclBatchUpdateParams.AddAcl>> addAcls()
An ACL grants a certain permission or role to a certain user or group on an object.
ACLs are inherited across the object hierarchy. So for example, if a user has read permissions on a project, they will also have read permissions on any experiment, dataset, etc. created within that project.
To restrict a grant to a particular sub-object, you may specify
restrict_object_typein the ACL, as part of a direct permission grant or as part of a role.
-
removeAcls
final Optional<List<AclBatchUpdateParams.RemoveAcl>> removeAcls()
An ACL grants a certain permission or role to a certain user or group on an object.
ACLs are inherited across the object hierarchy. So for example, if a user has read permissions on a project, they will also have read permissions on any experiment, dataset, etc. created within that project.
To restrict a grant to a particular sub-object, you may specify
restrict_object_typein the ACL, as part of a direct permission grant or as part of a role.
-
_addAcls
final JsonField<List<AclBatchUpdateParams.AddAcl>> _addAcls()
Returns the raw JSON value of addAcls.
Unlike addAcls, this method doesn't throw if the JSON field has an unexpected type.
-
_removeAcls
final JsonField<List<AclBatchUpdateParams.RemoveAcl>> _removeAcls()
Returns the raw JSON value of removeAcls.
Unlike removeAcls, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final AclBatchUpdateParams.Builder toBuilder()
-
_body
final AclBatchUpdateParams.Body _body()
-
_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 AclBatchUpdateParams none()
-
builder
final static AclBatchUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of AclBatchUpdateParams.
-
-
-
-