bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::LocationMetadata Class Reference

#include <location_metadata.h>

Inheritance diagram for google_bigquery_api::LocationMetadata:

Public Member Functions

 LocationMetadata (const Json::Value &storage)
 
 LocationMetadata (Json::Value *storage)
 
virtual ~LocationMetadata ()
 
const StringPiece GetTypeName () const
 
bool has_legacy_location_id () const
 
void clear_legacy_location_id ()
 
const StringPiece get_legacy_location_id () const
 
void set_legacy_location_id (const StringPiece &value)
 

Static Public Member Functions

static LocationMetadataNew ()
 

Detailed Description

BigQuery-specific metadata about a location. This will be set on google.cloud.location.Location.metadata in Cloud Location API responses.

Constructor & Destructor Documentation

◆ LocationMetadata() [1/2]

google_bigquery_api::LocationMetadata::LocationMetadata ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ LocationMetadata() [2/2]

google_bigquery_api::LocationMetadata::LocationMetadata ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~LocationMetadata()

google_bigquery_api::LocationMetadata::~LocationMetadata ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_legacy_location_id()

void google_bigquery_api::LocationMetadata::clear_legacy_location_id ( )
inline

Clears the 'legacyLocationId' attribute.

◆ get_legacy_location_id()

const StringPiece google_bigquery_api::LocationMetadata::get_legacy_location_id ( ) const
inline

Get the value of the 'legacyLocationId' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::LocationMetadata::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::LocationMetadata

◆ has_legacy_location_id()

bool google_bigquery_api::LocationMetadata::has_legacy_location_id ( ) const
inline

Determine if the 'legacyLocationId' attribute was set.

Returns
true if the 'legacyLocationId' attribute was set.

◆ New()

LocationMetadata * google_bigquery_api::LocationMetadata::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_legacy_location_id()

void google_bigquery_api::LocationMetadata::set_legacy_location_id ( const StringPiece &  value)
inline

Change the 'legacyLocationId' attribute.

The legacy BigQuery location ID, e.g. “EU” for the “europe” location. This is for any API consumers that need the legacy “US” and “EU” locations.

Parameters
[in]valueThe new value.

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