Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Field and Description |
---|---|
static Acl.Role |
Acl.Role.OWNER |
static Acl.Role |
Acl.Role.READER |
static Acl.Role |
Acl.Role.WRITER |
Modifier and Type | Method and Description |
---|---|
Acl.Role |
Acl.getRole()
Returns the role associated to the entity in this ACL object.
|
static Acl.Role |
Acl.Role.valueOf(String constant)
Get the Role for the given String constant, and allow unrecognized values.
|
static Acl.Role |
Acl.Role.valueOfStrict(String constant)
Get the Role for the given String constant, and throw an exception if the constant is not
recognized.
|
static Acl.Role[] |
Acl.Role.values()
Return the known values for Role.
|
Modifier and Type | Method and Description |
---|---|
static Acl.Builder |
Acl.newBuilder(Acl.Entity entity,
Acl.Role role)
Returns a builder for
Acl objects. |
static Acl |
Acl.of(Acl.Entity entity,
Acl.Role role)
Returns an
Acl object. |
Acl.Builder |
Acl.Builder.setRole(Acl.Role role)
Sets the role to associate to the
entity object. |
Copyright © 2023 Google LLC. All rights reserved.