Class CheckOnboardingStatusResponse.Finding.IAMAccessDenied (0.2.0)

public static final class CheckOnboardingStatusResponse.Finding.IAMAccessDenied extends GeneratedMessageV3 implements CheckOnboardingStatusResponse.Finding.IAMAccessDeniedOrBuilder

PAM's service account is being denied access by Cloud IAM. This can be fixed by granting a role that contains the missing permissions to the service account or exempting it from deny policies if they are blocking the access.

Protobuf type google.cloud.privilegedaccessmanager.v1.CheckOnboardingStatusResponse.Finding.IAMAccessDenied

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CheckOnboardingStatusResponse.Finding.IAMAccessDenied

Static Fields

MISSING_PERMISSIONS_FIELD_NUMBER

public static final int MISSING_PERMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied getDefaultInstance()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder newBuilder()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

newBuilder(CheckOnboardingStatusResponse.Finding.IAMAccessDenied prototype)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder newBuilder(CheckOnboardingStatusResponse.Finding.IAMAccessDenied prototype)
Parameter
Name Description
prototype CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

parseDelimitedFrom(InputStream input)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckOnboardingStatusResponse.Finding.IAMAccessDenied parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CheckOnboardingStatusResponse.Finding.IAMAccessDenied> parser()
Returns
Type Description
Parser<IAMAccessDenied>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied getDefaultInstanceForType()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied

getMissingPermissions(int index)

public String getMissingPermissions(int index)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The missingPermissions at the given index.

getMissingPermissionsBytes(int index)

public ByteString getMissingPermissionsBytes(int index)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the missingPermissions at the given index.

getMissingPermissionsCount()

public int getMissingPermissionsCount()

List of permissions that are being denied.

repeated string missing_permissions = 1;

Returns
Type Description
int

The count of missingPermissions.

getMissingPermissionsList()

public ProtocolStringList getMissingPermissionsList()

List of permissions that are being denied.

repeated string missing_permissions = 1;

Returns
Type Description
ProtocolStringList

A list containing the missingPermissions.

getParserForType()

public Parser<CheckOnboardingStatusResponse.Finding.IAMAccessDenied> getParserForType()
Returns
Type Description
Parser<IAMAccessDenied>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder newBuilderForType()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder toBuilder()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException