Class AuditConfigDelta (1.25.0)

public final class AuditConfigDelta extends GeneratedMessageV3 implements AuditConfigDeltaOrBuilder

One delta entry for AuditConfig. Each individual change (only one exempted_member in each entry) to a AuditConfig will be a separate entry.

Protobuf type google.iam.v1.AuditConfigDelta

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

EXEMPTED_MEMBER_FIELD_NUMBER

public static final int EXEMPTED_MEMBER_FIELD_NUMBER
Field Value
TypeDescription
int

LOG_TYPE_FIELD_NUMBER

public static final int LOG_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuditConfigDelta getDefaultInstance()
Returns
TypeDescription
AuditConfigDelta

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuditConfigDelta.Builder newBuilder()
Returns
TypeDescription
AuditConfigDelta.Builder

newBuilder(AuditConfigDelta prototype)

public static AuditConfigDelta.Builder newBuilder(AuditConfigDelta prototype)
Parameter
NameDescription
prototypeAuditConfigDelta
Returns
TypeDescription
AuditConfigDelta.Builder

parseDelimitedFrom(InputStream input)

public static AuditConfigDelta parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuditConfigDelta parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuditConfigDelta parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuditConfigDelta parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuditConfigDelta parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuditConfigDelta parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuditConfigDelta> parser()
Returns
TypeDescription
Parser<AuditConfigDelta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAction()

public AuditConfigDelta.Action getAction()

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Returns
TypeDescription
AuditConfigDelta.Action

The action.

getActionValue()

public int getActionValue()

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getDefaultInstanceForType()

public AuditConfigDelta getDefaultInstanceForType()
Returns
TypeDescription
AuditConfigDelta

getExemptedMember()

public String getExemptedMember()

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Returns
TypeDescription
String

The exemptedMember.

getExemptedMemberBytes()

public ByteString getExemptedMemberBytes()

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Returns
TypeDescription
ByteString

The bytes for exemptedMember.

getLogType()

public String getLogType()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Returns
TypeDescription
String

The logType.

getLogTypeBytes()

public ByteString getLogTypeBytes()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Returns
TypeDescription
ByteString

The bytes for logType.

getParserForType()

public Parser<AuditConfigDelta> getParserForType()
Returns
TypeDescription
Parser<AuditConfigDelta>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getService()

public String getService()

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Returns
TypeDescription
ByteString

The bytes for service.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AuditConfigDelta.Builder newBuilderForType()
Returns
TypeDescription
AuditConfigDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuditConfigDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuditConfigDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AuditConfigDelta.Builder toBuilder()
Returns
TypeDescription
AuditConfigDelta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException