Google Cloud Sql Admin V1beta4 Client - Class SqlServerUserDetails (0.6.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlServerUserDetails.

Represents a Sql Server user on the Cloud SQL instance.

Generated from protobuf message google.cloud.sql.v1beta4.SqlServerUserDetails

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disabled bool

If the user has been disabled

↳ server_roles array

The server roles for this user

getDisabled

If the user has been disabled

Returns
TypeDescription
bool

setDisabled

If the user has been disabled

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getServerRoles

The server roles for this user

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServerRoles

The server roles for this user

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this