Package ai.chalk.protos.chalk.auth.v1
Enum Class Permission
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Permission>,Constable
Protobuf enum
chalk.auth.v1.Permission-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUser is authenticated FOR THE ENVIRONMENT.Administer ChalkTrigger a new scheduled run.Read the scheduled runs.Create a new deployment.Create a new preview deployment.Read information about deployments.Redeploy an existing deployment.Only used for creating a new tokenRead logs from resolvers.Execute a migration plan.Create a migration plan.View information about migrations.Create a new chart or alertSee charts and alertsCreate a new projectQuery offline features.Query online features.Decrypt secret values.See the list of available secrets.Create, modify, or delete secret values.Add team members to your organizationConfigure authentication options for your organizationRemove a team memberSee the team members in your organizationList the service tokens and see client ids, but not client secrets.Create, modify, or delete service tokens.Default value -- should never be set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUser is authenticated FOR THE ENVIRONMENT.static final intAdminister Chalkstatic final intTrigger a new scheduled run.static final intRead the scheduled runs.static final intCreate a new deployment.static final intCreate a new preview deployment.static final intRead information about deployments.static final intRedeploy an existing deployment.static final intOnly used for creating a new tokenstatic final intRead logs from resolvers.static final intExecute a migration plan.static final intCreate a migration plan.static final intView information about migrations.static final intCreate a new chart or alertstatic final intSee charts and alertsstatic final intCreate a new projectstatic final intQuery offline features.static final intQuery online features.static final intDecrypt secret values.static final intSee the list of available secrets.static final intCreate, modify, or delete secret values.static final intAdd team members to your organizationstatic final intConfigure authentication options for your organizationstatic final intRemove a team memberstatic final intSee the team members in your organizationstatic final intList the service tokens and see client ids, but not client secrets.static final intCreate, modify, or delete service tokens.static final intDefault value -- should never be set. -
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Permission>static PermissionvalueOf(int value) Deprecated.static PermissionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PermissionReturns the enum constant of this class with the specified name.static Permission[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PERMISSION_UNSPECIFIED
Default value -- should never be set.
PERMISSION_UNSPECIFIED = 0; -
PERMISSION_INSECURE_UNAUTHENTICATED
Only used for creating a new token
PERMISSION_INSECURE_UNAUTHENTICATED = 1; -
PERMISSION_AUTHENTICATED
User is authenticated FOR THE ENVIRONMENT. This permissions should be used sparingly (e.g. for ping checks that shouldn't be exposed to the public)
PERMISSION_AUTHENTICATED = 2; -
PERMISSION_QUERY_ONLINE
Query online features.
PERMISSION_QUERY_ONLINE = 3; -
PERMISSION_QUERY_OFFLINE
Query offline features.
PERMISSION_QUERY_OFFLINE = 4; -
PERMISSION_MONITORING_CREATE
Create a new chart or alert
PERMISSION_MONITORING_CREATE = 5; -
PERMISSION_MONITORING_READ
See charts and alerts
PERMISSION_MONITORING_READ = 6; -
PERMISSION_TEAM_ADD
Add team members to your organization
PERMISSION_TEAM_ADD = 7; -
PERMISSION_TEAM_DELETE
Remove a team member
PERMISSION_TEAM_DELETE = 8; -
PERMISSION_TEAM_LIST
See the team members in your organization
PERMISSION_TEAM_LIST = 9; -
PERMISSION_TEAM_ADMIN
Configure authentication options for your organization
PERMISSION_TEAM_ADMIN = 10; -
PERMISSION_DEPLOY_READ
Read information about deployments.
PERMISSION_DEPLOY_READ = 11; -
PERMISSION_DEPLOY_CREATE
Create a new deployment.
PERMISSION_DEPLOY_CREATE = 12; -
PERMISSION_DEPLOY_PREVIEW
Create a new preview deployment.
PERMISSION_DEPLOY_PREVIEW = 13; -
PERMISSION_DEPLOY_REDEPLOY
Redeploy an existing deployment.
PERMISSION_DEPLOY_REDEPLOY = 14; -
PERMISSION_LOGS_LIST
Read logs from resolvers.
PERMISSION_LOGS_LIST = 15; -
PERMISSION_CRON_READ
Read the scheduled runs.
PERMISSION_CRON_READ = 16; -
PERMISSION_CRON_CREATE
Trigger a new scheduled run.
PERMISSION_CRON_CREATE = 17; -
PERMISSION_SECRETS_WRITE
Create, modify, or delete secret values.
PERMISSION_SECRETS_WRITE = 18; -
PERMISSION_SECRETS_DECRYPT
Decrypt secret values.
PERMISSION_SECRETS_DECRYPT = 19; -
PERMISSION_SECRETS_LIST
See the list of available secrets. Reading secrets is not allowed with this permission.
PERMISSION_SECRETS_LIST = 20; -
PERMISSION_TOKENS_WRITE
Create, modify, or delete service tokens.
PERMISSION_TOKENS_WRITE = 21; -
PERMISSION_TOKENS_LIST
List the service tokens and see client ids, but not client secrets.
PERMISSION_TOKENS_LIST = 22; -
PERMISSION_MIGRATE_READ
View information about migrations.
PERMISSION_MIGRATE_READ = 23; -
PERMISSION_MIGRATE_PLAN
Create a migration plan.
PERMISSION_MIGRATE_PLAN = 24; -
PERMISSION_MIGRATE_EXECUTE
Execute a migration plan.
PERMISSION_MIGRATE_EXECUTE = 25; -
PERMISSION_PROJECT_CREATE
Create a new project
PERMISSION_PROJECT_CREATE = 26; -
PERMISSION_CHALK_ADMIN
Administer Chalk
PERMISSION_CHALK_ADMIN = 27; -
UNRECOGNIZED
-
-
Field Details
-
PERMISSION_UNSPECIFIED_VALUE
public static final int PERMISSION_UNSPECIFIED_VALUEDefault value -- should never be set.
PERMISSION_UNSPECIFIED = 0;- See Also:
-
PERMISSION_INSECURE_UNAUTHENTICATED_VALUE
public static final int PERMISSION_INSECURE_UNAUTHENTICATED_VALUEOnly used for creating a new token
PERMISSION_INSECURE_UNAUTHENTICATED = 1;- See Also:
-
PERMISSION_AUTHENTICATED_VALUE
public static final int PERMISSION_AUTHENTICATED_VALUEUser is authenticated FOR THE ENVIRONMENT. This permissions should be used sparingly (e.g. for ping checks that shouldn't be exposed to the public)
PERMISSION_AUTHENTICATED = 2;- See Also:
-
PERMISSION_QUERY_ONLINE_VALUE
public static final int PERMISSION_QUERY_ONLINE_VALUEQuery online features.
PERMISSION_QUERY_ONLINE = 3;- See Also:
-
PERMISSION_QUERY_OFFLINE_VALUE
public static final int PERMISSION_QUERY_OFFLINE_VALUEQuery offline features.
PERMISSION_QUERY_OFFLINE = 4;- See Also:
-
PERMISSION_MONITORING_CREATE_VALUE
public static final int PERMISSION_MONITORING_CREATE_VALUECreate a new chart or alert
PERMISSION_MONITORING_CREATE = 5;- See Also:
-
PERMISSION_MONITORING_READ_VALUE
public static final int PERMISSION_MONITORING_READ_VALUESee charts and alerts
PERMISSION_MONITORING_READ = 6;- See Also:
-
PERMISSION_TEAM_ADD_VALUE
public static final int PERMISSION_TEAM_ADD_VALUEAdd team members to your organization
PERMISSION_TEAM_ADD = 7;- See Also:
-
PERMISSION_TEAM_DELETE_VALUE
public static final int PERMISSION_TEAM_DELETE_VALUERemove a team member
PERMISSION_TEAM_DELETE = 8;- See Also:
-
PERMISSION_TEAM_LIST_VALUE
public static final int PERMISSION_TEAM_LIST_VALUESee the team members in your organization
PERMISSION_TEAM_LIST = 9;- See Also:
-
PERMISSION_TEAM_ADMIN_VALUE
public static final int PERMISSION_TEAM_ADMIN_VALUEConfigure authentication options for your organization
PERMISSION_TEAM_ADMIN = 10;- See Also:
-
PERMISSION_DEPLOY_READ_VALUE
public static final int PERMISSION_DEPLOY_READ_VALUERead information about deployments.
PERMISSION_DEPLOY_READ = 11;- See Also:
-
PERMISSION_DEPLOY_CREATE_VALUE
public static final int PERMISSION_DEPLOY_CREATE_VALUECreate a new deployment.
PERMISSION_DEPLOY_CREATE = 12;- See Also:
-
PERMISSION_DEPLOY_PREVIEW_VALUE
public static final int PERMISSION_DEPLOY_PREVIEW_VALUECreate a new preview deployment.
PERMISSION_DEPLOY_PREVIEW = 13;- See Also:
-
PERMISSION_DEPLOY_REDEPLOY_VALUE
public static final int PERMISSION_DEPLOY_REDEPLOY_VALUERedeploy an existing deployment.
PERMISSION_DEPLOY_REDEPLOY = 14;- See Also:
-
PERMISSION_LOGS_LIST_VALUE
public static final int PERMISSION_LOGS_LIST_VALUERead logs from resolvers.
PERMISSION_LOGS_LIST = 15;- See Also:
-
PERMISSION_CRON_READ_VALUE
public static final int PERMISSION_CRON_READ_VALUERead the scheduled runs.
PERMISSION_CRON_READ = 16;- See Also:
-
PERMISSION_CRON_CREATE_VALUE
public static final int PERMISSION_CRON_CREATE_VALUETrigger a new scheduled run.
PERMISSION_CRON_CREATE = 17;- See Also:
-
PERMISSION_SECRETS_WRITE_VALUE
public static final int PERMISSION_SECRETS_WRITE_VALUECreate, modify, or delete secret values.
PERMISSION_SECRETS_WRITE = 18;- See Also:
-
PERMISSION_SECRETS_DECRYPT_VALUE
public static final int PERMISSION_SECRETS_DECRYPT_VALUEDecrypt secret values.
PERMISSION_SECRETS_DECRYPT = 19;- See Also:
-
PERMISSION_SECRETS_LIST_VALUE
public static final int PERMISSION_SECRETS_LIST_VALUESee the list of available secrets. Reading secrets is not allowed with this permission.
PERMISSION_SECRETS_LIST = 20;- See Also:
-
PERMISSION_TOKENS_WRITE_VALUE
public static final int PERMISSION_TOKENS_WRITE_VALUECreate, modify, or delete service tokens.
PERMISSION_TOKENS_WRITE = 21;- See Also:
-
PERMISSION_TOKENS_LIST_VALUE
public static final int PERMISSION_TOKENS_LIST_VALUEList the service tokens and see client ids, but not client secrets.
PERMISSION_TOKENS_LIST = 22;- See Also:
-
PERMISSION_MIGRATE_READ_VALUE
public static final int PERMISSION_MIGRATE_READ_VALUEView information about migrations.
PERMISSION_MIGRATE_READ = 23;- See Also:
-
PERMISSION_MIGRATE_PLAN_VALUE
public static final int PERMISSION_MIGRATE_PLAN_VALUECreate a migration plan.
PERMISSION_MIGRATE_PLAN = 24;- See Also:
-
PERMISSION_MIGRATE_EXECUTE_VALUE
public static final int PERMISSION_MIGRATE_EXECUTE_VALUEExecute a migration plan.
PERMISSION_MIGRATE_EXECUTE = 25;- See Also:
-
PERMISSION_PROJECT_CREATE_VALUE
public static final int PERMISSION_PROJECT_CREATE_VALUECreate a new project
PERMISSION_PROJECT_CREATE = 26;- See Also:
-
PERMISSION_CHALK_ADMIN_VALUE
public static final int PERMISSION_CHALK_ADMIN_VALUEAdminister Chalk
PERMISSION_CHALK_ADMIN = 27;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-