compute  v1
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::SslPolicy::SslPolicyWarnings Class Reference

#include <ssl_policy.h>

Inheritance diagram for google_compute_api::SslPolicy::SslPolicyWarnings:

Classes

class  SslPolicyWarningsData
 

Public Member Functions

 SslPolicyWarnings (const Json::Value &storage)
 
 SslPolicyWarnings (Json::Value *storage)
 
virtual ~SslPolicyWarnings ()
 
const StringPiece GetTypeName () const
 
bool has_code () const
 
void clear_code ()
 
const StringPiece get_code () const
 
void set_code (const StringPiece &value)
 
bool has_data () const
 
void clear_data ()
 
const client::JsonCppArray< SslPolicyWarningsDataget_data () const
 
client::JsonCppArray< SslPolicyWarningsDatamutable_data ()
 
bool has_message () const
 
void clear_message ()
 
const StringPiece get_message () const
 
void set_message (const StringPiece &value)
 

Static Public Member Functions

static SslPolicyWarningsNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ SslPolicyWarnings() [1/2]

google_compute_api::SslPolicy::SslPolicyWarnings::SslPolicyWarnings ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ SslPolicyWarnings() [2/2]

google_compute_api::SslPolicy::SslPolicyWarnings::SslPolicyWarnings ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~SslPolicyWarnings()

google_compute_api::SslPolicy::SslPolicyWarnings::~SslPolicyWarnings ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_code()

void google_compute_api::SslPolicy::SslPolicyWarnings::clear_code ( )
inline

Clears the 'code' attribute.

◆ clear_data()

void google_compute_api::SslPolicy::SslPolicyWarnings::clear_data ( )
inline

Clears the 'data' attribute.

◆ clear_message()

void google_compute_api::SslPolicy::SslPolicyWarnings::clear_message ( )
inline

Clears the 'message' attribute.

◆ get_code()

const StringPiece google_compute_api::SslPolicy::SslPolicyWarnings::get_code ( ) const
inline

Get the value of the 'code' attribute.

◆ get_data()

const client::JsonCppArray<SslPolicyWarningsData > google_compute_api::SslPolicy::SslPolicyWarnings::get_data ( ) const
inline

Get a reference to the value of the 'data' attribute.

◆ get_message()

const StringPiece google_compute_api::SslPolicy::SslPolicyWarnings::get_message ( ) const
inline

Get the value of the 'message' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::SslPolicy::SslPolicyWarnings::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::SslPolicyWarnings

◆ has_code()

bool google_compute_api::SslPolicy::SslPolicyWarnings::has_code ( ) const
inline

Determine if the 'code' attribute was set.

Returns
true if the 'code' attribute was set.

◆ has_data()

bool google_compute_api::SslPolicy::SslPolicyWarnings::has_data ( ) const
inline

Determine if the 'data' attribute was set.

Returns
true if the 'data' attribute was set.

◆ has_message()

bool google_compute_api::SslPolicy::SslPolicyWarnings::has_message ( ) const
inline

Determine if the 'message' attribute was set.

Returns
true if the 'message' attribute was set.

◆ mutable_data()

client::JsonCppArray<SslPolicyWarningsData > google_compute_api::SslPolicy::SslPolicyWarnings::mutable_data ( )
inline

Gets a reference to a mutable value of the 'data' property.

[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }.

Returns
The result can be modified to change the attribute value.

◆ New()

SslPolicy::SslPolicyWarnings * google_compute_api::SslPolicy::SslPolicyWarnings::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_code()

void google_compute_api::SslPolicy::SslPolicyWarnings::set_code ( const StringPiece &  value)
inline

Change the 'code' attribute.

[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.

Parameters
[in]valueThe new value.

◆ set_message()

void google_compute_api::SslPolicy::SslPolicyWarnings::set_message ( const StringPiece &  value)
inline

Change the 'message' attribute.

[Output Only] A human-readable description of the warning code.

Parameters
[in]valueThe new value.

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