• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/iam/v1/policy.proto
18 
19 package com.google.iam.v1;
20 
21 public interface AuditConfigDeltaOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditConfigDelta)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The action that was performed on an audit configuration in a policy.
31    * Required
32    * </pre>
33    *
34    * <code>.google.iam.v1.AuditConfigDelta.Action action = 1;</code>
35    *
36    * @return The enum numeric value on the wire for action.
37    */
getActionValue()38   int getActionValue();
39   /**
40    *
41    *
42    * <pre>
43    * The action that was performed on an audit configuration in a policy.
44    * Required
45    * </pre>
46    *
47    * <code>.google.iam.v1.AuditConfigDelta.Action action = 1;</code>
48    *
49    * @return The action.
50    */
getAction()51   com.google.iam.v1.AuditConfigDelta.Action getAction();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Specifies a service that was configured for Cloud Audit Logging.
58    * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
59    * `allServices` is a special value that covers all services.
60    * Required
61    * </pre>
62    *
63    * <code>string service = 2;</code>
64    *
65    * @return The service.
66    */
getService()67   java.lang.String getService();
68   /**
69    *
70    *
71    * <pre>
72    * Specifies a service that was configured for Cloud Audit Logging.
73    * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
74    * `allServices` is a special value that covers all services.
75    * Required
76    * </pre>
77    *
78    * <code>string service = 2;</code>
79    *
80    * @return The bytes for service.
81    */
getServiceBytes()82   com.google.protobuf.ByteString getServiceBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * A single identity that is exempted from "data access" audit
89    * logging for the `service` specified above.
90    * Follows the same format of Binding.members.
91    * </pre>
92    *
93    * <code>string exempted_member = 3;</code>
94    *
95    * @return The exemptedMember.
96    */
getExemptedMember()97   java.lang.String getExemptedMember();
98   /**
99    *
100    *
101    * <pre>
102    * A single identity that is exempted from "data access" audit
103    * logging for the `service` specified above.
104    * Follows the same format of Binding.members.
105    * </pre>
106    *
107    * <code>string exempted_member = 3;</code>
108    *
109    * @return The bytes for exemptedMember.
110    */
getExemptedMemberBytes()111   com.google.protobuf.ByteString getExemptedMemberBytes();
112 
113   /**
114    *
115    *
116    * <pre>
117    * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
118    * enabled, and cannot be configured.
119    * Required
120    * </pre>
121    *
122    * <code>string log_type = 4;</code>
123    *
124    * @return The logType.
125    */
getLogType()126   java.lang.String getLogType();
127   /**
128    *
129    *
130    * <pre>
131    * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
132    * enabled, and cannot be configured.
133    * Required
134    * </pre>
135    *
136    * <code>string log_type = 4;</code>
137    *
138    * @return The bytes for logType.
139    */
getLogTypeBytes()140   com.google.protobuf.ByteString getLogTypeBytes();
141 }
142