compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::SignedUrlKey Class Reference

#include <signed_url_key.h>

Inheritance diagram for google_compute_api::SignedUrlKey:

Public Member Functions

 SignedUrlKey (const Json::Value &storage)
 
 SignedUrlKey (Json::Value *storage)
 
virtual ~SignedUrlKey ()
 
const StringPiece GetTypeName () const
 
bool has_key_name () const
 
void clear_key_name ()
 
const StringPiece get_key_name () const
 
void set_key_name (const StringPiece &value)
 
bool has_key_value () const
 
void clear_key_value ()
 
const StringPiece get_key_value () const
 
void set_key_value (const StringPiece &value)
 

Static Public Member Functions

static SignedUrlKeyNew ()
 

Detailed Description

Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs.

Constructor & Destructor Documentation

◆ SignedUrlKey() [1/2]

google_compute_api::SignedUrlKey::SignedUrlKey ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~SignedUrlKey()

google_compute_api::SignedUrlKey::~SignedUrlKey ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_compute_api::SignedUrlKey

◆ 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()

SignedUrlKey * google_compute_api::SignedUrlKey::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: