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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#body

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

#body=

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

#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.