Class: Google::Cloud::AlloyDB::V1::ExecuteSqlRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1/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.



811
812
813
814
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 811

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.



811
812
813
814
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 811

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.



811
812
813
814
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 811

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.



811
812
813
814
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 811

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.



811
812
813
814
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 811

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