deploymentmanager
v2
|
#include <operation.h>
Classes | |
class | OperationError |
class | OperationWarnings |
Public Member Functions | |
Operation (const Json::Value &storage) | |
Operation (Json::Value *storage) | |
virtual | ~Operation () |
const StringPiece | GetTypeName () const |
bool | has_client_operation_id () const |
void | clear_client_operation_id () |
const StringPiece | get_client_operation_id () const |
void | set_client_operation_id (const StringPiece &value) |
bool | has_creation_timestamp () const |
void | clear_creation_timestamp () |
const StringPiece | get_creation_timestamp () const |
void | set_creation_timestamp (const StringPiece &value) |
bool | has_description () const |
void | clear_description () |
const StringPiece | get_description () const |
void | set_description (const StringPiece &value) |
bool | has_end_time () const |
void | clear_end_time () |
const StringPiece | get_end_time () const |
void | set_end_time (const StringPiece &value) |
bool | has_error () const |
void | clear_error () |
const OperationError | get_error () const |
OperationError | mutable_error () |
bool | has_http_error_message () const |
void | clear_http_error_message () |
const StringPiece | get_http_error_message () const |
void | set_http_error_message (const StringPiece &value) |
bool | has_http_error_status_code () const |
void | clear_http_error_status_code () |
int32 | get_http_error_status_code () const |
void | set_http_error_status_code (int32 value) |
bool | has_id () const |
void | clear_id () |
uint64 | get_id () const |
void | set_id (uint64 value) |
bool | has_insert_time () const |
void | clear_insert_time () |
const StringPiece | get_insert_time () const |
void | set_insert_time (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_operation_type () const |
void | clear_operation_type () |
const StringPiece | get_operation_type () const |
void | set_operation_type (const StringPiece &value) |
bool | has_progress () const |
void | clear_progress () |
int32 | get_progress () const |
void | set_progress (int32 value) |
bool | has_region () const |
void | clear_region () |
const StringPiece | get_region () const |
void | set_region (const StringPiece &value) |
bool | has_self_link () const |
void | clear_self_link () |
const StringPiece | get_self_link () const |
void | set_self_link (const StringPiece &value) |
bool | has_start_time () const |
void | clear_start_time () |
const StringPiece | get_start_time () const |
void | set_start_time (const StringPiece &value) |
bool | has_status () const |
void | clear_status () |
const StringPiece | get_status () const |
void | set_status (const StringPiece &value) |
bool | has_status_message () const |
void | clear_status_message () |
const StringPiece | get_status_message () const |
void | set_status_message (const StringPiece &value) |
bool | has_target_id () const |
void | clear_target_id () |
uint64 | get_target_id () const |
void | set_target_id (uint64 value) |
bool | has_target_link () const |
void | clear_target_link () |
const StringPiece | get_target_link () const |
void | set_target_link (const StringPiece &value) |
bool | has_user () const |
void | clear_user () |
const StringPiece | get_user () const |
void | set_user (const StringPiece &value) |
bool | has_warnings () const |
void | clear_warnings () |
const client::JsonCppArray< OperationWarnings > | get_warnings () const |
client::JsonCppArray< OperationWarnings > | mutable_warnings () |
bool | has_zone () const |
void | clear_zone () |
const StringPiece | get_zone () const |
void | set_zone (const StringPiece &value) |
Static Public Member Functions | |
static Operation * | New () |
An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'clientOperationId
' attribute.
|
inline |
Clears the 'creationTimestamp
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'endTime
' attribute.
|
inline |
Clears the 'error
' attribute.
|
inline |
Clears the 'httpErrorMessage
' attribute.
|
inline |
Clears the 'httpErrorStatusCode
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'insertTime
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'operationType
' attribute.
|
inline |
Clears the 'progress
' attribute.
|
inline |
Clears the 'region
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'startTime
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'statusMessage
' attribute.
|
inline |
Clears the 'targetId
' attribute.
|
inline |
Clears the 'targetLink
' attribute.
|
inline |
Clears the 'user
' attribute.
|
inline |
Clears the 'warnings
' attribute.
|
inline |
Clears the 'zone
' attribute.
|
inline |
Get the value of the 'clientOperationId
' attribute.
|
inline |
Get the value of the 'creationTimestamp
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'endTime
' attribute.
|
inline |
Get a reference to the value of the 'error
' attribute.
|
inline |
Get the value of the 'httpErrorMessage
' attribute.
|
inline |
Get the value of the 'httpErrorStatusCode
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'insertTime
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'operationType
' attribute.
|
inline |
Get the value of the 'progress
' attribute.
|
inline |
Get the value of the 'region
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'startTime
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'statusMessage
' attribute.
|
inline |
Get the value of the 'targetId
' attribute.
|
inline |
Get the value of the 'targetLink
' attribute.
|
inline |
Get the value of the 'user
' attribute.
|
inline |
Get a reference to the value of the 'warnings
' attribute.
|
inline |
Get the value of the 'zone
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'clientOperationId
' attribute was set.
clientOperationId
' attribute was set.
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
creationTimestamp
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'endTime
' attribute was set.
endTime
' attribute was set.
|
inline |
Determine if the 'error
' attribute was set.
error
' attribute was set.
|
inline |
Determine if the 'httpErrorMessage
' attribute was set.
httpErrorMessage
' attribute was set.
|
inline |
Determine if the 'httpErrorStatusCode
' attribute was set.
httpErrorStatusCode
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'insertTime
' attribute was set.
insertTime
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'operationType
' attribute was set.
operationType
' attribute was set.
|
inline |
Determine if the 'progress
' attribute was set.
progress
' attribute was set.
|
inline |
Determine if the 'region
' attribute was set.
region
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'startTime
' attribute was set.
startTime
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'statusMessage
' attribute was set.
statusMessage
' attribute was set.
|
inline |
Determine if the 'targetId
' attribute was set.
targetId
' attribute was set.
|
inline |
Determine if the 'targetLink
' attribute was set.
targetLink
' attribute was set.
|
inline |
Determine if the 'user
' attribute was set.
user
' attribute was set.
|
inline |
Determine if the 'warnings
' attribute was set.
warnings
' attribute was set.
|
inline |
Determine if the 'zone
' attribute was set.
zone
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'error
' property.
[Output Only] If errors are generated during processing of the operation, this field will be populated.
|
inline |
Gets a reference to a mutable value of the 'warnings
' property.
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
|
static |
Creates a new default instance.
|
inline |
Change the 'clientOperationId
' attribute.
[Output Only] The value of requestId
if you provided it in the request. Not present otherwise.
[in] | value | The new value. |
|
inline |
Change the 'creationTimestamp
' attribute.
[Deprecated] This field is deprecated.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
[Output Only] A textual description of the operation, which is set when the operation is created.
[in] | value | The new value. |
|
inline |
Change the 'endTime
' attribute.
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
[in] | value | The new value. |
|
inline |
Change the 'httpErrorMessage
' attribute.
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
[in] | value | The new value. |
|
inline |
Change the 'httpErrorStatusCode
' attribute.
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
[in] | value | The new value. |
|
inline |
Change the 'insertTime
' attribute.
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'name
' attribute.
[Output Only] Name of the resource.
[in] | value | The new value. |
|
inline |
Change the 'operationType
' attribute.
[Output Only] The type of operation, such as insert, update, or delete, and so on.
[in] | value | The new value. |
|
inline |
Change the 'progress
' attribute.
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
[in] | value | The new value. |
|
inline |
Change the 'region
' attribute.
[Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
[in] | value | The new value. |
|
inline |
Change the 'startTime
' attribute.
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
[in] | value | The new value. |
|
inline |
Change the 'statusMessage
' attribute.
[Output Only] An optional textual description of the current status of the operation.
[in] | value | The new value. |
|
inline |
Change the 'targetId
' attribute.
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
[in] | value | The new value. |
|
inline |
Change the 'targetLink
' attribute.
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
[in] | value | The new value. |
|
inline |
Change the 'user
' attribute.
[Output Only] User who requested the operation, for example: user@. exam ple.c om
[in] | value | The new value. |
|
inline |
Change the 'zone
' attribute.
[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
[in] | value | The new value. |