Class AclBatchUpdateResponse.Builder
-
- All Implemented Interfaces:
public final class AclBatchUpdateResponse.BuilderA builder for AclBatchUpdateResponse.
-
-
Method Summary
-
-
Method Detail
-
addedAcls
final AclBatchUpdateResponse.Builder addedAcls(List<Acl> addedAcls)
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.
-
addedAcls
final AclBatchUpdateResponse.Builder addedAcls(JsonField<List<Acl>> addedAcls)
Sets Builder.addedAcls to an arbitrary JSON value.
You should usually call Builder.addedAcls with a well-typed
List<Acl>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAddedAcl
final AclBatchUpdateResponse.Builder addAddedAcl(Acl addedAcl)
-
removedAcls
final AclBatchUpdateResponse.Builder removedAcls(List<Acl> removedAcls)
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.
-
removedAcls
final AclBatchUpdateResponse.Builder removedAcls(JsonField<List<Acl>> removedAcls)
Sets Builder.removedAcls to an arbitrary JSON value.
You should usually call Builder.removedAcls with a well-typed
List<Acl>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRemovedAcl
final AclBatchUpdateResponse.Builder addRemovedAcl(Acl removedAcl)
Adds a single Acl to removedAcls.
-
additionalProperties
final AclBatchUpdateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AclBatchUpdateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AclBatchUpdateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AclBatchUpdateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AclBatchUpdateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AclBatchUpdateResponse build()
Returns an immutable instance of AclBatchUpdateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.addedAcls() .removedAcls()
-
-
-
-