Class AuditConfigDelta (1.37.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
Type Description
int

EXEMPTED_MEMBER_FIELD_NUMBER

public static final int EXEMPTED_MEMBER_FIELD_NUMBER
Field Value
Type Description
int

LOG_TYPE_FIELD_NUMBER

public static final int LOG_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuditConfigDelta getDefaultInstance()
Returns
Type Description
AuditConfigDelta

getDescriptor()

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

newBuilder()

public static AuditConfigDelta.Builder newBuilder()
Returns
Type Description
AuditConfigDelta.Builder

newBuilder(AuditConfigDelta prototype)

public static AuditConfigDelta.Builder newBuilder(AuditConfigDelta prototype)
Parameter
Name Description
prototype AuditConfigDelta
Returns
Type Description
AuditConfigDelta.Builder

parseDelimitedFrom(InputStream input)

public static AuditConfigDelta parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AuditConfigDelta parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuditConfigDelta parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuditConfigDelta parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AuditConfigDelta parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AuditConfigDelta parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuditConfigDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditConfigDelta
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AuditConfigDelta> parser()
Returns
Type Description
Parser<AuditConfigDelta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for action.

getDefaultInstanceForType()

public AuditConfigDelta getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for logType.

getParserForType()

public Parser<AuditConfigDelta> getParserForType()
Returns
Type Description
Parser<AuditConfigDelta>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for service.

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 AuditConfigDelta.Builder newBuilderForType()
Returns
Type Description
AuditConfigDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuditConfigDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AuditConfigDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AuditConfigDelta.Builder toBuilder()
Returns
Type Description
AuditConfigDelta.Builder

writeTo(CodedOutputStream output)

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