public interface DatabaseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
The human-readable name of the database that the user connected to.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The human-readable name of the database that the user connected to.
|
String |
getGrantees(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is
not an IAM policy change.
|
com.google.protobuf.ByteString |
getGranteesBytes(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is
not an IAM policy change.
|
int |
getGranteesCount()
The target usernames, roles, or groups of an SQL privilege grant, which is
not an IAM policy change.
|
List<String> |
getGranteesList()
The target usernames, roles, or groups of an SQL privilege grant, which is
not an IAM policy change.
|
String |
getName()
Some database resources may not have the [full resource
name](https://google.aip.dev/122#full-resource-names) populated because
these resource types are not yet supported by Cloud Asset Inventory (e.g.
|
com.google.protobuf.ByteString |
getNameBytes()
Some database resources may not have the [full resource
name](https://google.aip.dev/122#full-resource-names) populated because
these resource types are not yet supported by Cloud Asset Inventory (e.g.
|
String |
getQuery()
The SQL statement that is associated with the database access.
|
com.google.protobuf.ByteString |
getQueryBytes()
The SQL statement that is associated with the database access.
|
String |
getUserName()
The username used to connect to the database.
|
com.google.protobuf.ByteString |
getUserNameBytes()
The username used to connect to the database.
|
String |
getVersion()
The version of the database, for example, POSTGRES_14.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version of the database, for example, POSTGRES_14.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
string name = 1;com.google.protobuf.ByteString getNameBytes()
Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
string name = 1;String getDisplayName()
The human-readable name of the database that the user connected to.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the database that the user connected to.
string display_name = 2;String getUserName()
The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
string user_name = 3;com.google.protobuf.ByteString getUserNameBytes()
The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
string user_name = 3;String getQuery()
The SQL statement that is associated with the database access.
string query = 4;com.google.protobuf.ByteString getQueryBytes()
The SQL statement that is associated with the database access.
string query = 4;List<String> getGranteesList()
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;int getGranteesCount()
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;String getGrantees(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;index - The index of the element to return.com.google.protobuf.ByteString getGranteesBytes(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;index - The index of the value to return.String getVersion()
The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
string version = 6;com.google.protobuf.ByteString getVersionBytes()
The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
string version = 6;Copyright © 2024 Google LLC. All rights reserved.