public interface DatabaseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
The human readable name of the database the user connected to.
|
ByteString |
getDisplayNameBytes()
The human readable name of the database the user connected to.
|
String |
getGrantees(int index)
The target usernames/roles/groups of a SQL privilege grant (not an IAM
policy change).
|
ByteString |
getGranteesBytes(int index)
The target usernames/roles/groups of a SQL privilege grant (not an IAM
policy change).
|
int |
getGranteesCount()
The target usernames/roles/groups of a SQL privilege grant (not an IAM
policy change).
|
List<String> |
getGranteesList()
The target usernames/roles/groups of a SQL privilege grant (not an IAM
policy change).
|
String |
getName()
The full resource name of the database the user connected to, if it is
supported by CAI.
|
ByteString |
getNameBytes()
The full resource name of the database the user connected to, if it is
supported by CAI.
|
String |
getQuery()
The SQL statement associated with the relevant access.
|
ByteString |
getQueryBytes()
The SQL statement associated with the relevant access.
|
String |
getUserName()
The username used to connect to the DB.
|
ByteString |
getUserNameBytes()
The username used to connect to the DB.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
The full resource name of the database the user connected to, if it is supported by CAI. (https://google.aip.dev/122#full-resource-names)
string name = 1;
ByteString getNameBytes()
The full resource name of the database the user connected to, if it is supported by CAI. (https://google.aip.dev/122#full-resource-names)
string name = 1;
String getDisplayName()
The human readable name of the database the user connected to.
string display_name = 2;
ByteString getDisplayNameBytes()
The human readable name of the database the user connected to.
string display_name = 2;
String getUserName()
The username used to connect to the DB. This may not necessarily be an IAM principal, and has no required format.
string user_name = 3;
ByteString getUserNameBytes()
The username used to connect to the DB. This may not necessarily be an IAM principal, and has no required format.
string user_name = 3;
String getQuery()
The SQL statement associated with the relevant access.
string query = 4;
ByteString getQueryBytes()
The SQL statement associated with the relevant access.
string query = 4;
List<String> getGranteesList()
The target usernames/roles/groups of a SQL privilege grant (not an IAM policy change).
repeated string grantees = 5;
int getGranteesCount()
The target usernames/roles/groups of a SQL privilege grant (not an IAM policy change).
repeated string grantees = 5;
String getGrantees(int index)
The target usernames/roles/groups of a SQL privilege grant (not an IAM policy change).
repeated string grantees = 5;
index
- The index of the element to return.ByteString getGranteesBytes(int index)
The target usernames/roles/groups of a SQL privilege grant (not an IAM policy change).
repeated string grantees = 5;
index
- The index of the value to return.Copyright © 2022 Google LLC. All rights reserved.