Package com.google.iam.v1
Class AuditConfigDelta.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AuditConfigDelta,AuditConfigDelta.Builder>
com.google.iam.v1.AuditConfigDelta.Builder
- All Implemented Interfaces:
AuditConfigDeltaOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- AuditConfigDelta
public static final class AuditConfigDelta.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AuditConfigDelta,AuditConfigDelta.Builder>
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe action that was performed on an audit configuration in a policy.A single identity that is exempted from "data access" audit logging for the `service` specified above.Specifies the log_type that was be enabled.Specifies a service that was configured for Cloud Audit Logging.The action that was performed on an audit configuration in a policy.intThe action that was performed on an audit configuration in a policy.A single identity that is exempted from "data access" audit logging for the `service` specified above.com.google.protobuf.ByteStringA single identity that is exempted from "data access" audit logging for the `service` specified above.Specifies the log_type that was be enabled.com.google.protobuf.ByteStringSpecifies the log_type that was be enabled.Specifies a service that was configured for Cloud Audit Logging.com.google.protobuf.ByteStringSpecifies a service that was configured for Cloud Audit Logging.setAction(AuditConfigDelta.Action value) The action that was performed on an audit configuration in a policy.setActionValue(int value) The action that was performed on an audit configuration in a policy.setExemptedMember(String value) A single identity that is exempted from "data access" audit logging for the `service` specified above.setExemptedMemberBytes(com.google.protobuf.ByteString value) A single identity that is exempted from "data access" audit logging for the `service` specified above.setLogType(String value) Specifies the log_type that was be enabled.setLogTypeBytes(com.google.protobuf.ByteString value) Specifies the log_type that was be enabled.setService(String value) Specifies a service that was configured for Cloud Audit Logging.setServiceBytes(com.google.protobuf.ByteString value) Specifies a service that was configured for Cloud Audit Logging.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getActionValue
public int getActionValue()The action that was performed on an audit configuration in a policy. Required
.google.iam.v1.AuditConfigDelta.Action action = 1 [json_name = "action"];- Specified by:
getActionValuein interfaceAuditConfigDeltaOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
The action that was performed on an audit configuration in a policy. Required
.google.iam.v1.AuditConfigDelta.Action action = 1 [json_name = "action"];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
getAction
The action that was performed on an audit configuration in a policy. Required
.google.iam.v1.AuditConfigDelta.Action action = 1 [json_name = "action"];- Specified by:
getActionin interfaceAuditConfigDeltaOrBuilder- Returns:
- The action.
-
setAction
The action that was performed on an audit configuration in a policy. Required
.google.iam.v1.AuditConfigDelta.Action action = 1 [json_name = "action"];- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
clearAction
The action that was performed on an audit configuration in a policy. Required
.google.iam.v1.AuditConfigDelta.Action action = 1 [json_name = "action"];- Returns:
- This builder for chaining.
-
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 [json_name = "service"];- Specified by:
getServicein interfaceAuditConfigDeltaOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.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 [json_name = "service"];- Specified by:
getServiceBytesin interfaceAuditConfigDeltaOrBuilder- Returns:
- The bytes for service.
-
setService
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 [json_name = "service"];- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
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 [json_name = "service"];- Returns:
- This builder for chaining.
-
setServiceBytes
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 [json_name = "service"];- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
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 [json_name = "exemptedMember"];- Specified by:
getExemptedMemberin interfaceAuditConfigDeltaOrBuilder- Returns:
- The exemptedMember.
-
getExemptedMemberBytes
public com.google.protobuf.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 [json_name = "exemptedMember"];- Specified by:
getExemptedMemberBytesin interfaceAuditConfigDeltaOrBuilder- Returns:
- The bytes for exemptedMember.
-
setExemptedMember
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 [json_name = "exemptedMember"];- Parameters:
value- The exemptedMember to set.- Returns:
- This builder for chaining.
-
clearExemptedMember
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 [json_name = "exemptedMember"];- Returns:
- This builder for chaining.
-
setExemptedMemberBytes
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 [json_name = "exemptedMember"];- Parameters:
value- The bytes for exemptedMember to set.- Returns:
- This builder for chaining.
-
getLogType
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
string log_type = 4 [json_name = "logType"];- Specified by:
getLogTypein interfaceAuditConfigDeltaOrBuilder- Returns:
- The logType.
-
getLogTypeBytes
public com.google.protobuf.ByteString getLogTypeBytes()Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
string log_type = 4 [json_name = "logType"];- Specified by:
getLogTypeBytesin interfaceAuditConfigDeltaOrBuilder- Returns:
- The bytes for logType.
-
setLogType
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
string log_type = 4 [json_name = "logType"];- Parameters:
value- The logType to set.- Returns:
- This builder for chaining.
-
clearLogType
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
string log_type = 4 [json_name = "logType"];- Returns:
- This builder for chaining.
-
setLogTypeBytes
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
string log_type = 4 [json_name = "logType"];- Parameters:
value- The bytes for logType to set.- Returns:
- This builder for chaining.
-