Access rights
Access rights simplify the management of access permissions for large sets of users with similar access profiles. An access right can contain multiple access points. Access rights determine who can enter where, and when. This service is responsible for managing access right resources as well as their association with access points.
See also the specific access rights guide for more information on how to use access rights in the Nebula API: Access rights and user access rights in Salto Nebula.
Resource name of the access right. It must have the format of installations/*/access-rights/*
. For example: installations/surelock-homes-hq/access-rights/baskerville
.
Display name of the access right.
Schedules in which this access right is applied.
Resource name of the access right's access point association. It must have the format of installations/*/access-rights/*/access-points/*
. For example: installations/surelock-homes-hq/access-rights/baskerville/access-points/baker-street-entrance
.
The access point resource name to bind as an association to the parent access right. For example: installations/surelock-homes-hq/access-points/baker-street-entrance
.
Display name of the associated entity. In this case an access point.
Resource name of the access right's access point group association. It must have the format of installations/*/access-rights/*/access-point-groups/*
. For example: installations/surelock-homes-hq/access-rights/baskerville/access-point-groups/common-accesses
.
The access point group resource name to bind as an association to the parent access right. For example: installations/surelock-homes-hq/access-point-groups/common-accesses
.
Display name of the associated entity. In this case an access point group.
Resource name of the access right's destination association. It must have the format of installations/*/access-rights/*/destinations/*
. For example: installations/surelock-homes-hq/access-rights/baskerville/destinations/elevator-floor-5
.
The destination resource name to bind as an association to the parent access right. For example: installations/surelock-homes-hq/destinations/elevator-floor-5
.
Display name of the associated entity. In this case a destination.
Days when it's valid.
Start time of day when schedule starts being valid.
End time of day when schedule ends being valid.
Day type
DAY_TYPE_UNSPECIFIED
0
. UnspecifiedNORMAL
1
. Normal dayHOLIDAY
2
. HolidaysSPECIAL_1
3
. Special day type 1SPECIAL_2
4
. Special day type 2In case day_type
is NORMAL
, the specific day of the week.
DAY_OF_WEEK_UNSPECIFIED
0
. UnspecifiedMONDAY
1
. MondayTUESDAY
2
. TuesdayWEDNESDAY
3
. WednesdayTHURSDAY
4
. ThursdayFRIDAY
5
. FridaySATURDAY
6
. SaturdaySUNDAY
7
. SundayHours of day in 24 hour format. Should be from 0 to 23.
Minutes of hour of day. Must be from 0 to 59.
Seconds of minutes of the time. Must be from 0 to 59.
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
The access right object
Resource name of the access right. It must have the format of installations/*/access-rights/*
. For example: installations/surelock-homes-hq/access-rights/baskerville
.
Display name of the access right.
Schedules in which this access right is applied.
The access right's access point association
Resource name of the access right's access point association. It must have the format of installations/*/access-rights/*/access-points/*
. For example: installations/surelock-homes-hq/access-rights/baskerville/access-points/baker-street-entrance
.
The access point resource name to bind as an association to the parent access right. For example: installations/surelock-homes-hq/access-points/baker-street-entrance
.
Display name of the associated entity. In this case an access point.
The access right's access point group association
Resource name of the access right's access point group association. It must have the format of installations/*/access-rights/*/access-point-groups/*
. For example: installations/surelock-homes-hq/access-rights/baskerville/access-point-groups/common-accesses
.
The access point group resource name to bind as an association to the parent access right. For example: installations/surelock-homes-hq/access-point-groups/common-accesses
.
Display name of the associated entity. In this case an access point group.
The access right's destination association
Resource name of the access right's destination association. It must have the format of installations/*/access-rights/*/destinations/*
. For example: installations/surelock-homes-hq/access-rights/baskerville/destinations/elevator-floor-5
.
The destination resource name to bind as an association to the parent access right. For example: installations/surelock-homes-hq/destinations/elevator-floor-5
.
Display name of the associated entity. In this case a destination.
Create an access right
Creates a new access right.
Input
Resource name of the parent resource where the access right is to be created.
The access right resource to be created. Client must not set the AccessRight.name
field.
The access right ID to use for this access right. In case it's empty the server will autogenerate a unique identifier.
Output
Resource name of the access right. It must have the format of installations/*/access-rights/*
.
Display name of the access right.
Schedules in which this access right is applied.
Get an access right
Retrieves an existing access right.
Input
The name of the requested access right resource.
Output
Resource name of the access right. It must have the format of installations/*/access-rights/*
.
Display name of the access right.
Schedules in which this access right is applied.
List access rights
Returns a list of access rights that have been previously created.
Input
The parent resource name.
The maximum number of items to return.
The next_page_token
value returned from a previous List
request, if any.
A filter that chooses which access rights to return.
How the results should be sorted.
Output
The field name should match the noun access_rights
in the method name. There will be a maximum number of items returned based on the page_size
field in the request.
Token to retrieve the next page of results, or empty if there are no more results in the list.
Update an access right
Updates an existing access right.
Input
The access right resource which replaces the resource on the server.
The update mask applied to the resource.
Output
Resource name of the access right. It must have the format of installations/*/access-rights/*
.
Display name of the access right.
Schedules in which this access right is applied.
Delete an access right
Permanently deletes an access right. This cannot be undone.
Input
The resource name of the access point to be deleted.
Output
No return value.
Create an access point
Creates an access right's access point association.
Input
Resource name of the parent resource where the access right's access point association is to be created.
The access right's access point association resource to be created. Client must not set the AccessRightAccessPoint.name
field.
Output
Resource name of the access right's access point association. It must have the format of installations/*/access-rights/*/access-points/*
.
The access point resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case an access point.
Create a batch of access rights access points
Creates a batch of access rights access points associations. This method allows the creation of multiple access rights access points in a single operation.
Input
Resource name of the parent resource where the access right's access points associations are to be created.
The request message specifying the resources to create. A maximum of 100 access right access points can be created in a batch.
Output
Access right access points created.
Get an access point
Retrieves an existing access right's access point association.
Input
The name of the requested access right's access point association resource.
Output
Resource name of the access right's access point association. It must have the format of installations/*/access-rights/*/access-points/*
.
The access point resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case an access point.
List access points
Lists an existing access right's access point associations.
Input
The parent resource name.
The maximum number of items to return.
The next_page_token
value returned from a previous List
request, if any.
A filter that chooses which access right's access point associations to return.
How the results should be sorted.
Output
The field name should match the noun access_right_access_points
in the method name. There will be a maximum number of items returned based on the page_size
field in the request.
Token to retrieve the next page of results, or empty if there are no more results in the list.
Update an access point
Updates an existing access right's access point association.
Input
The access right's access point resource which replaces the resource on the server.
The update mask applied to the resource.
Output
Resource name of the access right's access point association. It must have the format of installations/*/access-rights/*/access-points/*
.
The access point resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case an access point.
Delete an access point
Deletes an access right's access point association.
Input
The resource name of the access right's access point association to be deleted.
Output
No return value.
Delete a batch of access points
Permanently deletes a batch of access right's access point associations. This cannot be undone.
Input
Resource name of the access point's access right relation to be deleted.
The request message specifying the resources to delete. A maximum of 100 access point's access rights associations can be deleted in a batch.
Output
Create an access point group
Creates an access right's access point group association.
Input
Resource name of the parent resource where the access right's access point group association is to be created.
The access right's access point group association resource to be created. Client must not set the AccessRightAccessPointGroup.name
field.
Output
Resource name of the access right's access point group association. It must have the format of installations/*/access-rights/*/access-point-groups/*
.
The access point group resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case an access point group.
Create a batch of access right's access point groups
Creates a batch of access right's access point groups associations. This method allows the creation of multiple access right's access point groups in a single operation.
Input
Resource name of the parent resource where the access right's access point groups associations are to be created.
The request message specifying the resources to create. A maximum of 100 access right's access point groups can be created in a batch.
Output
Access right's access point groups created.
Get an access point group
Retrieves an existing access right's access point group association.
Input
The name of the requested access right's access point group association resource.
Output
Resource name of the access right's access point group association. It must have the format of installations/*/access-rights/*/access-point-groups/*
.
The access point group resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case an access point group.
List access point groups
Lists an existing access right's access point group associations.
Input
The parent resource name.
The maximum number of items to return.
The next_page_token
value returned from a previous List
request, if any.
A filter that chooses which access right's access point group associations to return.
How the results should be sorted.
Output
The field name should match the noun access_right_access_point_groups
in the method name. There will be a maximum number of items returned based on the page_size
field in the request.
Token to retrieve the next page of results, or empty if there are no more results in the list.
Update an access point group
Updates an existing access right's access point group association.
Input
The access right's access point group resource which replaces the resource on the server.
The update mask applied to the resource.
Output
Resource name of the access right's access point group association. It must have the format of installations/*/access-rights/*/access-point-groups/*
.
The access point group resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case an access point group.
Delete an access point group
Deletes an access right's access point group association.
Input
The resource name of the access right's access point group association to be deleted.
Output
No return value.
Delete a batch of access point groups
Permanently deletes a batch access right's access point group associations. This cannot be undone.
Input
Resource name of the access right's access point group associations to be deleted.
The request message specifying the resources to delete. A maximum of 100 access right's access point group associations can be deleted in a batch.
Output
Create an access right destination
Creates an access right's destination association.
Input
Resource name of the parent resource where the access right's destination association is to be created.
The access right's destination association resource to be created. Client must not set the AccessRightDestination.name
field.
Output
Resource name of the access right's destination association. It must have the format of installations/*/access-rights/*/destinations/*
.
The destination resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case a destination.
Get an access right destination
Retrieves an existing access right's destination association.
Input
The name of the requested access right's destination association resource.
Output
Resource name of the access right's destination association. It must have the format of installations/*/access-rights/*/destinations/*
.
The destination resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case a destination.
List access right destinations
Lists an existing access right's destination associations.
Input
The parent resource name.
The maximum number of items to return.
The next_page_token
value returned from a previous List
request, if any.
A filter that chooses which access right's destination associations to return.
How the results should be sorted.
Output
The field name should match the noun access_right_destinations
in the method name. There will be a maximum number of items returned based on the page_size
field in the request.
Token to retrieve the next page of results, or empty if there are no more results in the list.
Update an access right destination
Updates an existing access right's destination association.
Input
The access right's destination resource which replaces the resource on the server.
The update mask applied to the resource.
Output
Resource name of the access right's destination association. It must have the format of installations/*/access-rights/*/destinations/*
.
The destination resource name to bind as an association to the parent access right.
Display name of the associated entity. In this case a destination.
Delete an access right destination
Deletes an access right's destination association.
Input
The resource name of the access right's destination association to be deleted.
Output
No return value.