java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.DigitalDocumentPermissionBuilder> | |
↳ | com.google.firebase.appindexing.builders.DigitalDocumentPermissionBuilder |
Builder to construct an Indexable
for a permission on a
digital document.
For reference, see: http://schema.org/DigitalDocumentPermission.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | COMMENT_PERMISSION | The permission to comment on a digital document (does not imply the permission to read or modify it). | |||||||||
String | READ_PERMISSION | The permission to read a digital document. | |||||||||
String | WRITE_PERMISSION | The permission to modify a digital document. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the grantees who get the permission to access.
| |||||||||||
Sets the type of access permission.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
The permission to comment on a digital document (does not imply the permission to read or modify it).
The permission to read a digital document.
The permission to modify a digital document.
Sets the grantees who get the permission to access.
Parameters | |
---|---|
grantees |
PersonBuilder :
The grantees who get the permission to access.
|
Returns | |
---|---|
DigitalDocumentPermissionBuilder |
Sets the type of access permission.
Parameters | |
---|---|
type |
String :
The type of access permission.
|
Returns | |
---|---|
DigitalDocumentPermissionBuilder |