#include <operation.h>
An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.
◆ Operation() [1/2]
| google_sqladmin_api::Operation::Operation |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Operation() [2/2]
| google_sqladmin_api::Operation::Operation |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Operation()
| google_sqladmin_api::Operation::~Operation |
( |
| ) |
|
|
virtual |
◆ clear_end_time()
| void google_sqladmin_api::Operation::clear_end_time |
( |
| ) |
|
|
inline |
Clears the 'endTime' attribute.
◆ clear_error()
| void google_sqladmin_api::Operation::clear_error |
( |
| ) |
|
|
inline |
Clears the 'error' attribute.
◆ clear_export_context()
| void google_sqladmin_api::Operation::clear_export_context |
( |
| ) |
|
|
inline |
Clears the 'exportContext' attribute.
◆ clear_import_context()
| void google_sqladmin_api::Operation::clear_import_context |
( |
| ) |
|
|
inline |
Clears the 'importContext' attribute.
◆ clear_insert_time()
| void google_sqladmin_api::Operation::clear_insert_time |
( |
| ) |
|
|
inline |
Clears the 'insertTime' attribute.
◆ clear_kind()
| void google_sqladmin_api::Operation::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_name()
| void google_sqladmin_api::Operation::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_operation_type()
| void google_sqladmin_api::Operation::clear_operation_type |
( |
| ) |
|
|
inline |
Clears the 'operationType' attribute.
◆ clear_self_link()
| void google_sqladmin_api::Operation::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink' attribute.
◆ clear_start_time()
| void google_sqladmin_api::Operation::clear_start_time |
( |
| ) |
|
|
inline |
Clears the 'startTime' attribute.
◆ clear_status()
| void google_sqladmin_api::Operation::clear_status |
( |
| ) |
|
|
inline |
Clears the 'status' attribute.
◆ clear_target_id()
| void google_sqladmin_api::Operation::clear_target_id |
( |
| ) |
|
|
inline |
Clears the 'targetId' attribute.
◆ clear_target_link()
| void google_sqladmin_api::Operation::clear_target_link |
( |
| ) |
|
|
inline |
Clears the 'targetLink' attribute.
◆ clear_target_project()
| void google_sqladmin_api::Operation::clear_target_project |
( |
| ) |
|
|
inline |
Clears the 'targetProject' attribute.
◆ clear_user()
| void google_sqladmin_api::Operation::clear_user |
( |
| ) |
|
|
inline |
Clears the 'user' attribute.
◆ get_end_time()
| client::DateTime google_sqladmin_api::Operation::get_end_time |
( |
| ) |
const |
|
inline |
Get the value of the 'endTime' attribute.
◆ get_error()
Get a reference to the value of the 'error' attribute.
◆ get_export_context()
| const ExportContext google_sqladmin_api::Operation::get_export_context |
( |
| ) |
const |
Get a reference to the value of the 'exportContext' attribute.
◆ get_import_context()
| const ImportContext google_sqladmin_api::Operation::get_import_context |
( |
| ) |
const |
Get a reference to the value of the 'importContext' attribute.
◆ get_insert_time()
| client::DateTime google_sqladmin_api::Operation::get_insert_time |
( |
| ) |
const |
|
inline |
Get the value of the 'insertTime' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::Operation::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_name()
| const StringPiece google_sqladmin_api::Operation::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_operation_type()
| const StringPiece google_sqladmin_api::Operation::get_operation_type |
( |
| ) |
const |
|
inline |
Get the value of the 'operationType' attribute.
◆ get_self_link()
| const StringPiece google_sqladmin_api::Operation::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink' attribute.
◆ get_start_time()
| client::DateTime google_sqladmin_api::Operation::get_start_time |
( |
| ) |
const |
|
inline |
Get the value of the 'startTime' attribute.
◆ get_status()
| const StringPiece google_sqladmin_api::Operation::get_status |
( |
| ) |
const |
|
inline |
Get the value of the 'status' attribute.
◆ get_target_id()
| const StringPiece google_sqladmin_api::Operation::get_target_id |
( |
| ) |
const |
|
inline |
Get the value of the 'targetId' attribute.
◆ get_target_link()
| const StringPiece google_sqladmin_api::Operation::get_target_link |
( |
| ) |
const |
|
inline |
Get the value of the 'targetLink' attribute.
◆ get_target_project()
| const StringPiece google_sqladmin_api::Operation::get_target_project |
( |
| ) |
const |
|
inline |
Get the value of the 'targetProject' attribute.
◆ get_user()
| const StringPiece google_sqladmin_api::Operation::get_user |
( |
| ) |
const |
|
inline |
Get the value of the 'user' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::Operation::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_end_time()
| bool google_sqladmin_api::Operation::has_end_time |
( |
| ) |
const |
|
inline |
Determine if the 'endTime' attribute was set.
- Returns
- true if the '
endTime' attribute was set.
◆ has_error()
| bool google_sqladmin_api::Operation::has_error |
( |
| ) |
const |
|
inline |
Determine if the 'error' attribute was set.
- Returns
- true if the '
error' attribute was set.
◆ has_export_context()
| bool google_sqladmin_api::Operation::has_export_context |
( |
| ) |
const |
|
inline |
Determine if the 'exportContext' attribute was set.
- Returns
- true if the '
exportContext' attribute was set.
◆ has_import_context()
| bool google_sqladmin_api::Operation::has_import_context |
( |
| ) |
const |
|
inline |
Determine if the 'importContext' attribute was set.
- Returns
- true if the '
importContext' attribute was set.
◆ has_insert_time()
| bool google_sqladmin_api::Operation::has_insert_time |
( |
| ) |
const |
|
inline |
Determine if the 'insertTime' attribute was set.
- Returns
- true if the '
insertTime' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::Operation::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_name()
| bool google_sqladmin_api::Operation::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_operation_type()
| bool google_sqladmin_api::Operation::has_operation_type |
( |
| ) |
const |
|
inline |
Determine if the 'operationType' attribute was set.
- Returns
- true if the '
operationType' attribute was set.
◆ has_self_link()
| bool google_sqladmin_api::Operation::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink' attribute was set.
- Returns
- true if the '
selfLink' attribute was set.
◆ has_start_time()
| bool google_sqladmin_api::Operation::has_start_time |
( |
| ) |
const |
|
inline |
Determine if the 'startTime' attribute was set.
- Returns
- true if the '
startTime' attribute was set.
◆ has_status()
| bool google_sqladmin_api::Operation::has_status |
( |
| ) |
const |
|
inline |
Determine if the 'status' attribute was set.
- Returns
- true if the '
status' attribute was set.
◆ has_target_id()
| bool google_sqladmin_api::Operation::has_target_id |
( |
| ) |
const |
|
inline |
Determine if the 'targetId' attribute was set.
- Returns
- true if the '
targetId' attribute was set.
◆ has_target_link()
| bool google_sqladmin_api::Operation::has_target_link |
( |
| ) |
const |
|
inline |
Determine if the 'targetLink' attribute was set.
- Returns
- true if the '
targetLink' attribute was set.
◆ has_target_project()
| bool google_sqladmin_api::Operation::has_target_project |
( |
| ) |
const |
|
inline |
Determine if the 'targetProject' attribute was set.
- Returns
- true if the '
targetProject' attribute was set.
◆ has_user()
| bool google_sqladmin_api::Operation::has_user |
( |
| ) |
const |
|
inline |
Determine if the 'user' attribute was set.
- Returns
- true if the '
user' attribute was set.
◆ mutable_error()
Gets a reference to a mutable value of the 'error' property.
If errors occurred during processing of this operation, this field will be populated.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_exportContext()
| ExportContext google_sqladmin_api::Operation::mutable_exportContext |
( |
| ) |
|
Gets a reference to a mutable value of the 'exportContext' property.
The context for export operation, if applicable.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_importContext()
| ImportContext google_sqladmin_api::Operation::mutable_importContext |
( |
| ) |
|
Gets a reference to a mutable value of the 'importContext' property.
The context for import operation, if applicable.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Operation * google_sqladmin_api::Operation::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_end_time()
| void google_sqladmin_api::Operation::set_end_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'endTime' attribute.
The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
◆ set_insert_time()
| void google_sqladmin_api::Operation::set_insert_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'insertTime' attribute.
The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::Operation::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::operation.
- Parameters
-
◆ set_name()
| void google_sqladmin_api::Operation::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
- Parameters
-
◆ set_operation_type()
| void google_sqladmin_api::Operation::set_operation_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'operationType' attribute.
The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART, IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME, CREATE_USER, DELETE_USER, CREATE_DATABASE, DELETE_DATABASE .
- Parameters
-
◆ set_self_link()
| void google_sqladmin_api::Operation::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink' attribute.
The URI of this resource.
- Parameters
-
◆ set_start_time()
| void google_sqladmin_api::Operation::set_start_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'startTime' attribute.
The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
◆ set_status()
| void google_sqladmin_api::Operation::set_status |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'status' attribute.
The status of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.
- Parameters
-
◆ set_target_id()
| void google_sqladmin_api::Operation::set_target_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'targetId' attribute.
Name of the database instance related to this operation.
- Parameters
-
◆ set_target_link()
| void google_sqladmin_api::Operation::set_target_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'targetLink' attribute.
- Parameters
-
◆ set_target_project()
| void google_sqladmin_api::Operation::set_target_project |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'targetProject' attribute.
The project ID of the target instance related to this operation.
- Parameters
-
◆ set_user()
| void google_sqladmin_api::Operation::set_user |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'user' attribute.
The email address of the user who initiated this operation.
- Parameters
-
The documentation for this class was generated from the following files:
- google/sqladmin_api/operation.h
- google/sqladmin_api/operation.cc