Class AclBatchUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class AclBatchUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
addAcls
final AclBatchUpdateParams.Body.Builder addAcls(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.
-
addAcls
final AclBatchUpdateParams.Body.Builder addAcls(Optional<List<AclBatchUpdateParams.AddAcl>> addAcls)
Alias for calling Builder.addAcls with
addAcls.orElse(null).
-
addAcls
final AclBatchUpdateParams.Body.Builder addAcls(JsonField<List<AclBatchUpdateParams.AddAcl>> addAcls)
Sets Builder.addAcls to an arbitrary JSON value.
You should usually call Builder.addAcls with a well-typed
List<AddAcl>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAddAcl
final AclBatchUpdateParams.Body.Builder addAddAcl(AclBatchUpdateParams.AddAcl addAcl)
-
removeAcls
final AclBatchUpdateParams.Body.Builder removeAcls(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.
-
removeAcls
final AclBatchUpdateParams.Body.Builder removeAcls(Optional<List<AclBatchUpdateParams.RemoveAcl>> removeAcls)
Alias for calling Builder.removeAcls with
removeAcls.orElse(null).
-
removeAcls
final AclBatchUpdateParams.Body.Builder removeAcls(JsonField<List<AclBatchUpdateParams.RemoveAcl>> removeAcls)
Sets Builder.removeAcls to an arbitrary JSON value.
You should usually call Builder.removeAcls with a well-typed
List<RemoveAcl>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRemoveAcl
final AclBatchUpdateParams.Body.Builder addRemoveAcl(AclBatchUpdateParams.RemoveAcl removeAcl)
Adds a single RemoveAcl to removeAcls.
-
additionalProperties
final AclBatchUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AclBatchUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AclBatchUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AclBatchUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AclBatchUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AclBatchUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-