|
storage
v1
|
#include <channel.h>
Public Member Functions | |
| Channel (const Json::Value &storage) | |
| Channel (Json::Value *storage) | |
| virtual | ~Channel () |
| const StringPiece | GetTypeName () const |
| bool | has_address () const |
| void | clear_address () |
| const StringPiece | get_address () const |
| void | set_address (const StringPiece &value) |
| bool | has_expiration () const |
| void | clear_expiration () |
| int64 | get_expiration () const |
| void | set_expiration (int64 value) |
| bool | has_id () const |
| void | clear_id () |
| const StringPiece | get_id () const |
| void | set_id (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_params () const |
| void | clear_params () |
| const client::JsonCppAssociativeArray< string > | get_params () const |
| client::JsonCppAssociativeArray< string > | mutable_params () |
| bool | has_payload () const |
| void | clear_payload () |
| bool | get_payload () const |
| void | set_payload (bool value) |
| bool | has_resource_id () const |
| void | clear_resource_id () |
| const StringPiece | get_resource_id () const |
| void | set_resource_id (const StringPiece &value) |
| bool | has_resource_uri () const |
| void | clear_resource_uri () |
| const StringPiece | get_resource_uri () const |
| void | set_resource_uri (const StringPiece &value) |
| bool | has_token () const |
| void | clear_token () |
| const StringPiece | get_token () const |
| void | set_token (const StringPiece &value) |
| bool | has_type () const |
| void | clear_type () |
| const StringPiece | get_type () const |
| void | set_type (const StringPiece &value) |
Static Public Member Functions | |
| static Channel * | New () |
An notification channel used to watch for resource changes.
|
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 'address' attribute.
|
inline |
Clears the 'expiration' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'params' attribute.
|
inline |
Clears the 'payload' attribute.
|
inline |
Clears the 'resourceId' attribute.
|
inline |
Clears the 'resourceUri' attribute.
|
inline |
Clears the 'token' attribute.
|
inline |
Clears the 'type' attribute.
|
inline |
Get the value of the 'address' attribute.
|
inline |
Get the value of the 'expiration' attribute.
|
inline |
Get the value of the 'id' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get a reference to the value of the 'params' attribute.
|
inline |
Get the value of the 'payload' attribute.
|
inline |
Get the value of the 'resourceId' attribute.
|
inline |
Get the value of the 'resourceUri' attribute.
|
inline |
Get the value of the 'token' attribute.
|
inline |
Get the value of the 'type' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_storage_api::Channel
|
inline |
Determine if the 'address' attribute was set.
address' attribute was set.
|
inline |
Determine if the 'expiration' attribute was set.
expiration' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'params' attribute was set.
params' attribute was set.
|
inline |
Determine if the 'payload' attribute was set.
payload' attribute was set.
|
inline |
Determine if the 'resourceId' attribute was set.
resourceId' attribute was set.
|
inline |
Determine if the 'resourceUri' attribute was set.
resourceUri' attribute was set.
|
inline |
Determine if the 'token' attribute was set.
token' attribute was set.
|
inline |
Determine if the 'type' attribute was set.
type' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'params' property.
Additional parameters controlling delivery channel behavior. Optional.
|
static |
Creates a new default instance.
|
inline |
Change the 'address' attribute.
The address where notifications are delivered for this channel.
| [in] | value | The new value. |
|
inline |
Change the 'expiration' attribute.
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
| [in] | value | The new value. |
|
inline |
Change the 'id' attribute.
A UUID or similar unique string that identifies this channel.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel".
| [in] | value | The new value. |
|
inline |
Change the 'payload' attribute.
A Boolean value to indicate whether payload is wanted. Optional.
| [in] | value | The new value. |
|
inline |
Change the 'resourceId' attribute.
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
| [in] | value | The new value. |
|
inline |
Change the 'resourceUri' attribute.
A version-specific identifier for the watched resource.
| [in] | value | The new value. |
|
inline |
Change the 'token' attribute.
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
| [in] | value | The new value. |
|
inline |
Change the 'type' attribute.
The type of delivery mechanism used for this channel.
| [in] | value | The new value. |