public enum OperationAccessDeniedReason extends Enum<OperationAccessDeniedReason>
Java class for OperationAccessDenied.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OperationAccessDenied.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTION_NOT_PERMITTED"/>
<enumeration value="ADD_OPERATION_NOT_PERMITTED"/>
<enumeration value="REMOVE_OPERATION_NOT_PERMITTED"/>
<enumeration value="SET_OPERATION_NOT_PERMITTED"/>
<enumeration value="MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT"/>
<enumeration value="OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE"/>
<enumeration value="ADD_AS_REMOVED_NOT_PERMITTED"/>
<enumeration value="OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY"/>
<enumeration value="OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTION_NOT_PERMITTED
Unauthorized invocation of a service's method (get, mutate, etc.)
|
ADD_AS_REMOVED_NOT_PERMITTED
An ADD operation may not set status to REMOVED.
|
ADD_OPERATION_NOT_PERMITTED
Unauthorized ADD operation in invoking a service's mutate method.
|
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
A mutate action is not allowed on this campaign, from this client.
|
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE
This operation is not permitted on this ad group type.
|
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
This operation is not permitted on this campaign type
|
OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY
This operation is not allowed because the campaign or adgroup is removed.
|
REMOVE_OPERATION_NOT_PERMITTED
Unauthorized REMOVE operation in invoking a service's mutate method.
|
SET_OPERATION_NOT_PERMITTED
Unauthorized SET operation in invoking a service's mutate method.
|
UNKNOWN
The reason the invoked method or operation is prohibited is not known
(the client may be of an older version than the server).
|
| Modifier and Type | Method and Description |
|---|---|
static OperationAccessDeniedReason |
fromValue(String v) |
String |
value() |
static OperationAccessDeniedReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationAccessDeniedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationAccessDeniedReason ACTION_NOT_PERMITTED
public static final OperationAccessDeniedReason ADD_OPERATION_NOT_PERMITTED
public static final OperationAccessDeniedReason REMOVE_OPERATION_NOT_PERMITTED
public static final OperationAccessDeniedReason SET_OPERATION_NOT_PERMITTED
public static final OperationAccessDeniedReason MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
public static final OperationAccessDeniedReason OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
public static final OperationAccessDeniedReason ADD_AS_REMOVED_NOT_PERMITTED
public static final OperationAccessDeniedReason OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY
public static final OperationAccessDeniedReason OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE
public static final OperationAccessDeniedReason UNKNOWN
public static OperationAccessDeniedReason[] values()
for (OperationAccessDeniedReason c : OperationAccessDeniedReason.values()) System.out.println(c);
public static OperationAccessDeniedReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static OperationAccessDeniedReason fromValue(String v)
Copyright © 2023. All rights reserved.