#include <signed_url_key.h>
Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs.
◆ SignedUrlKey() [1/2]
google_compute_api::SignedUrlKey::SignedUrlKey |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ SignedUrlKey() [2/2]
google_compute_api::SignedUrlKey::SignedUrlKey |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~SignedUrlKey()
google_compute_api::SignedUrlKey::~SignedUrlKey |
( |
| ) |
|
|
virtual |
◆ clear_key_name()
void google_compute_api::SignedUrlKey::clear_key_name |
( |
| ) |
|
|
inline |
Clears the 'keyName
' attribute.
◆ clear_key_value()
void google_compute_api::SignedUrlKey::clear_key_value |
( |
| ) |
|
|
inline |
Clears the 'keyValue
' attribute.
◆ get_key_name()
const StringPiece google_compute_api::SignedUrlKey::get_key_name |
( |
| ) |
const |
|
inline |
Get the value of the 'keyName
' attribute.
◆ get_key_value()
const StringPiece google_compute_api::SignedUrlKey::get_key_value |
( |
| ) |
const |
|
inline |
Get the value of the 'keyValue
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::SignedUrlKey::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_key_name()
bool google_compute_api::SignedUrlKey::has_key_name |
( |
| ) |
const |
|
inline |
Determine if the 'keyName
' attribute was set.
- Returns
- true if the '
keyName
' attribute was set.
◆ has_key_value()
bool google_compute_api::SignedUrlKey::has_key_value |
( |
| ) |
const |
|
inline |
Determine if the 'keyValue
' attribute was set.
- Returns
- true if the '
keyValue
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_key_name()
void google_compute_api::SignedUrlKey::set_key_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'keyName
' attribute.
Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Parameters
-
◆ set_key_value()
void google_compute_api::SignedUrlKey::set_key_value |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'keyValue
' attribute.
128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.
- Parameters
-
The documentation for this class was generated from the following files: