Cloud SQL Admin V1BETA4 API - Class Google::Cloud::Sql::V1beta4::SqlUsersUpdateRequest (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::SqlUsersUpdateRequest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#body

def body() -> ::Google::Cloud::Sql::V1beta4::User

#body=

def body=(value) -> ::Google::Cloud::Sql::V1beta4::User

#database_roles

def database_roles() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.

#database_roles=

def database_roles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.
Returns
  • (::Array<::String>) — Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.

#host

def host() -> ::String
Returns
  • (::String) — Optional. Host of the user in the instance.

#host=

def host=(value) -> ::String
Parameter
  • value (::String) — Optional. Host of the user in the instance.
Returns
  • (::String) — Optional. Host of the user in the instance.

#instance

def instance() -> ::String
Returns
  • (::String) — Database instance ID. This does not include the project ID.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — Database instance ID. This does not include the project ID.
Returns
  • (::String) — Database instance ID. This does not include the project ID.

#name

def name() -> ::String
Returns
  • (::String) — Name of the user in the instance.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the user in the instance.
Returns
  • (::String) — Name of the user in the instance.

#project

def project() -> ::String
Returns
  • (::String) — Project ID of the project that contains the instance.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project ID of the project that contains the instance.
Returns
  • (::String) — Project ID of the project that contains the instance.

#revoke_existing_roles

def revoke_existing_roles() -> ::Boolean
Returns
  • (::Boolean) — Optional. Specifies whether to revoke existing roles that are not present in the database_roles field. If false or unset, the database roles specified in database_roles are added to the user's existing roles.

#revoke_existing_roles=

def revoke_existing_roles=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Specifies whether to revoke existing roles that are not present in the database_roles field. If false or unset, the database roles specified in database_roles are added to the user's existing roles.
Returns
  • (::Boolean) — Optional. Specifies whether to revoke existing roles that are not present in the database_roles field. If false or unset, the database roles specified in database_roles are added to the user's existing roles.

#revoke_existing_server_roles

def revoke_existing_server_roles() -> ::Boolean
Returns
  • (::Boolean) — Optional. Specifies whether to revoke existing roles that are not present in the server_roles field. If false or unset, the server roles specified in server_roles are added to the user's existing server roles.

#revoke_existing_server_roles=

def revoke_existing_server_roles=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Specifies whether to revoke existing roles that are not present in the server_roles field. If false or unset, the server roles specified in server_roles are added to the user's existing server roles.
Returns
  • (::Boolean) — Optional. Specifies whether to revoke existing roles that are not present in the server_roles field. If false or unset, the server roles specified in server_roles are added to the user's existing server roles.

#server_roles

def server_roles() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.

#server_roles=

def server_roles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.
Returns
  • (::Array<::String>) — Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.