- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- AccessPermissionProfileInfoOption
- UserProfileRole
- UserProfileType
- LegacyPlaybookSocRole
- LegacyPlaybookSocRoleAccess
- Try it!
Full name: projects.locations.instances.legacyPlaybooks.legacyPermissionsOptions
legacyPlaybooks.legacyPermissionsOptions return playbook access permission options. This should be used to fetch information when creating a new playbook, where we do not have yet workflow guid.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to get the permissions options for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "legacyPayload": [ string ] } |
Fields | |
---|---|
legacyPayload[] |
Required. The playbook environments. |
Response body
LegacyPlaybookPermissionsOptionsResponse is a response for getting the permissions options.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "userOptions": [ { object ( |
Fields | |
---|---|
userOptions[] |
Optional. UserOptions is a list of user options. |
socRolesOptions[] |
Optional. LegacyPlaybookSocRolesOptions is a list of soc roles options. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
AccessPermissionProfileInfoOption
AccessPermissionProfileInfoOption represents a user option for access permissions.
JSON representation |
---|
{ "firstName": string, "lastName": string, "fullName": string, "role": enum ( |
Fields | |
---|---|
firstName |
Required. FirstName is the first name of the user. |
lastName |
Required. LastName is the last name of the user. |
fullName |
Required. FullName is the full name of the user. |
role |
Required. Role is the role of the user. |
socRoleId |
Optional. SocRoleId is the identifier of the soc role. |
socRoleIds[] |
Optional. SocRoleIds is a list of identifiers of the soc roles. |
email |
Required. Email is the email of the user. |
userName |
Required. UserName is the user name of the user. |
imageBase64 |
Optional. ImageBase64 is the base64 image of the user. |
userType |
Required. UserType is the type of the user. |
allowEditOption |
Optional. AllowEditOption indicates if the user is allowed to edit. |
hasModuleEditPermissions |
Optional. HasModuleEditPermissions indicates if the user has module edit permissions. |
hasAllEnvsPermissions |
Optional. HasAllEnvsPermissions indicates if the user has all environments permissions. |
hasAllEnvsModulePermissions |
Optional. HasAllEnvsModulePermissions indicates if the user has all environments module permissions. |
UserProfileRole
UserProfileRole represents the role of a user.
Enums | |
---|---|
USER_PROFILE_ROLE_UNSPECIFIED |
The role is unspecified. |
ANALYST |
The role is analyst. |
ADMIN |
The role is admin. |
UserProfileType
UserProfileType represents the type of a user profile.
Enums | |
---|---|
USER_PROFILE_TYPE_UNSPECIFIED |
The user profile type is unspecified. |
WINDOWS |
The user profile type is windows. |
INTERNAL |
The user profile type is internal. |
EXTERNAL |
The user profile type is external. |
SUPPORT |
The user profile type is support. |
INCIDENT_MANAGER |
The user profile type is incident manager. |
LegacyPlaybookSocRole
LegacyPlaybookSocRole represents a soc role.
JSON representation |
---|
{
"name": string,
"displayName": string,
"additionalRolesAccess": [
{
object ( |
Fields | |
---|---|
name |
Required. Name is the name of the soc role. |
displayName |
Optional. DisplayName is the display name of the soc role. |
additionalRolesAccess[] |
Optional. AdditionalRolesAccess is a list of additional roles access. |
id |
Optional. Id is the unique identifier of the soc role. |
tenantId |
Optional. TenantId is the tenant id of the soc role. |
creationTimeUnixTimeInMs |
Optional. CreationTimeUnixTimeInMs is the creation time of the soc role in milliseconds. |
modificationTimeUnixTimeInMs |
Optional. ModificationTimeUnixTimeInMs is the modification time of the soc role in milliseconds. |
isDefault |
Optional. IsDefault indicates if the soc role is default. |
LegacyPlaybookSocRoleAccess
LegacyPlaybookSocRoleAccess represents a soc role access.
JSON representation |
---|
{ "id": string, "name": string } |
Fields | |
---|---|
id |
Required. Id is the unique identifier of the soc role access. |
name |
Required. Name is the name of the soc role access. |