Class AclBatchUpdateParams.Body
-
- All Implemented Interfaces:
public final class AclBatchUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAclBatchUpdateParams.Body.BuilderA builder for Body.
-
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>_additionalProperties()final AclBatchUpdateParams.Body.BuildertoBuilder()final AclBatchUpdateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AclBatchUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AclBatchUpdateParams.Body.Builder toBuilder()
-
validate
final AclBatchUpdateParams.Body validate()
-
builder
final static AclBatchUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-