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

#include <ssl_policy.h>

Inheritance diagram for google_compute_api::SslPolicy:

Classes

class  SslPolicyWarnings
 

Public Member Functions

 SslPolicy (const Json::Value &storage)
 
 SslPolicy (Json::Value *storage)
 
virtual ~SslPolicy ()
 
const StringPiece GetTypeName () const
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_custom_features () const
 
void clear_custom_features ()
 
const client::JsonCppArray< string > get_custom_features () const
 
client::JsonCppArray< string > mutable_customFeatures ()
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_enabled_features () const
 
void clear_enabled_features ()
 
const client::JsonCppArray< string > get_enabled_features () const
 
client::JsonCppArray< string > mutable_enabledFeatures ()
 
bool has_fingerprint () const
 
void clear_fingerprint ()
 
const StringPiece get_fingerprint () const
 
void set_fingerprint (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_min_tls_version () const
 
void clear_min_tls_version ()
 
const StringPiece get_min_tls_version () const
 
void set_min_tls_version (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_profile () const
 
void clear_profile ()
 
const StringPiece get_profile () const
 
void set_profile (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_warnings () const
 
void clear_warnings ()
 
const client::JsonCppArray< SslPolicyWarningsget_warnings () const
 
client::JsonCppArray< SslPolicyWarningsmutable_warnings ()
 

Static Public Member Functions

static SslPolicyNew ()
 

Detailed Description

A SSL policy specifies the server-side support for SSL features. This can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or SSL proxy load balancer. They do not affect the connection between the load balancers and the backends.

Constructor & Destructor Documentation

◆ SslPolicy() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SslPolicy() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SslPolicy()

google_compute_api::SslPolicy::~SslPolicy ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::SslPolicy::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_custom_features()

void google_compute_api::SslPolicy::clear_custom_features ( )
inline

Clears the 'customFeatures' attribute.

◆ clear_description()

void google_compute_api::SslPolicy::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_enabled_features()

void google_compute_api::SslPolicy::clear_enabled_features ( )
inline

Clears the 'enabledFeatures' attribute.

◆ clear_fingerprint()

void google_compute_api::SslPolicy::clear_fingerprint ( )
inline

Clears the 'fingerprint' attribute.

◆ clear_id()

void google_compute_api::SslPolicy::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::SslPolicy::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_min_tls_version()

void google_compute_api::SslPolicy::clear_min_tls_version ( )
inline

Clears the 'minTlsVersion' attribute.

◆ clear_name()

void google_compute_api::SslPolicy::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_profile()

void google_compute_api::SslPolicy::clear_profile ( )
inline

Clears the 'profile' attribute.

◆ clear_self_link()

void google_compute_api::SslPolicy::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_warnings()

void google_compute_api::SslPolicy::clear_warnings ( )
inline

Clears the 'warnings' attribute.

◆ get_creation_timestamp()

const StringPiece google_compute_api::SslPolicy::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_custom_features()

const client::JsonCppArray<string > google_compute_api::SslPolicy::get_custom_features ( ) const
inline

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

◆ get_description()

const StringPiece google_compute_api::SslPolicy::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_enabled_features()

const client::JsonCppArray<string > google_compute_api::SslPolicy::get_enabled_features ( ) const
inline

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

◆ get_fingerprint()

const StringPiece google_compute_api::SslPolicy::get_fingerprint ( ) const
inline

Get the value of the 'fingerprint' attribute.

◆ get_id()

uint64 google_compute_api::SslPolicy::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::SslPolicy::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_min_tls_version()

const StringPiece google_compute_api::SslPolicy::get_min_tls_version ( ) const
inline

Get the value of the 'minTlsVersion' attribute.

◆ get_name()

const StringPiece google_compute_api::SslPolicy::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_profile()

const StringPiece google_compute_api::SslPolicy::get_profile ( ) const
inline

Get the value of the 'profile' attribute.

◆ get_self_link()

const StringPiece google_compute_api::SslPolicy::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_warnings()

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

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::SslPolicy

◆ has_creation_timestamp()

bool google_compute_api::SslPolicy::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_custom_features()

bool google_compute_api::SslPolicy::has_custom_features ( ) const
inline

Determine if the 'customFeatures' attribute was set.

Returns
true if the 'customFeatures' attribute was set.

◆ has_description()

bool google_compute_api::SslPolicy::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_enabled_features()

bool google_compute_api::SslPolicy::has_enabled_features ( ) const
inline

Determine if the 'enabledFeatures' attribute was set.

Returns
true if the 'enabledFeatures' attribute was set.

◆ has_fingerprint()

bool google_compute_api::SslPolicy::has_fingerprint ( ) const
inline

Determine if the 'fingerprint' attribute was set.

Returns
true if the 'fingerprint' attribute was set.

◆ has_id()

bool google_compute_api::SslPolicy::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_compute_api::SslPolicy::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_min_tls_version()

bool google_compute_api::SslPolicy::has_min_tls_version ( ) const
inline

Determine if the 'minTlsVersion' attribute was set.

Returns
true if the 'minTlsVersion' attribute was set.

◆ has_name()

bool google_compute_api::SslPolicy::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_profile()

bool google_compute_api::SslPolicy::has_profile ( ) const
inline

Determine if the 'profile' attribute was set.

Returns
true if the 'profile' attribute was set.

◆ has_self_link()

bool google_compute_api::SslPolicy::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_warnings()

bool google_compute_api::SslPolicy::has_warnings ( ) const
inline

Determine if the 'warnings' attribute was set.

Returns
true if the 'warnings' attribute was set.

◆ mutable_customFeatures()

client::JsonCppArray<string > google_compute_api::SslPolicy::mutable_customFeatures ( )
inline

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

A list of features enabled when the selected profile is CUSTOM. The

  • method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
Returns
The result can be modified to change the attribute value.

◆ mutable_enabledFeatures()

client::JsonCppArray<string > google_compute_api::SslPolicy::mutable_enabledFeatures ( )
inline

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

[Output Only] The list of features enabled in the SSL policy.

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

◆ mutable_warnings()

client::JsonCppArray<SslPolicyWarnings > google_compute_api::SslPolicy::mutable_warnings ( )
inline

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

[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.

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

◆ New()

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

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::SslPolicy::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::SslPolicy::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

An optional description of this resource. Provide this property when you create the resource.

Parameters
[in]valueThe new value.

◆ set_fingerprint()

void google_compute_api::SslPolicy::set_fingerprint ( const StringPiece &  value)
inline

Change the 'fingerprint' attribute.

Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet.

To see the latest fingerprint, make a get() request to retrieve an SslPolicy.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::SslPolicy::set_id ( uint64  value)
inline

Change the 'id' attribute.

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::SslPolicy::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output only] Type of the resource. Always compute::sslPolicyfor SSL policies.

Parameters
[in]valueThe new value.

◆ set_min_tls_version()

void google_compute_api::SslPolicy::set_min_tls_version ( const StringPiece &  value)
inline

Change the 'minTlsVersion' attribute.

The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::SslPolicy::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Name of the resource. 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_profile()

void google_compute_api::SslPolicy::set_profile ( const StringPiece &  value)
inline

Change the 'profile' attribute.

Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::SslPolicy::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

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