Class: Google::Cloud::AlloyDB::V1beta::ExecuteSqlRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1beta/service.rb

Overview

Request for ExecuteSql rpc.

Instance Attribute Summary collapse

Instance Attribute Details

#database::String

Returns Required. Name of the database where the query will be executed. Note - Value provided should be the same as expected from SELECT current_database(); and NOT as a resource reference.

Returns:

  • (::String)

    Required. Name of the database where the query will be executed. Note - Value provided should be the same as expected from SELECT current_database(); and NOT as a resource reference.



977
978
979
980
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 977

class ExecuteSqlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#instance::String

Returns Required. The instance where the SQL will be executed. For the required format, see the comment on the Instance.name field.

Returns:

  • (::String)

    Required. The instance where the SQL will be executed. For the required format, see the comment on the Instance.name field.



977
978
979
980
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 977

class ExecuteSqlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#password::String

Returns Optional. The database native user’s password.

Returns:

  • (::String)

    Optional. The database native user’s password.



977
978
979
980
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 977

class ExecuteSqlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sql_statement::String

Returns Required. SQL statement to execute on database. Any valid statement is permitted, including DDL, DML, DQL statements.

Returns:

  • (::String)

    Required. SQL statement to execute on database. Any valid statement is permitted, including DDL, DML, DQL statements.



977
978
979
980
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 977

class ExecuteSqlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#user::String

Returns Required. Database user to be used for executing the SQL. Note - Value provided should be the same as expected from SELECT current_user; and NOT as a resource reference.

Returns:

  • (::String)

    Required. Database user to be used for executing the SQL. Note - Value provided should be the same as expected from SELECT current_user; and NOT as a resource reference.



977
978
979
980
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 977

class ExecuteSqlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end