compute
v1
|
#include <usage_export_location.h>
Public Member Functions | |
UsageExportLocation (const Json::Value &storage) | |
UsageExportLocation (Json::Value *storage) | |
virtual | ~UsageExportLocation () |
const StringPiece | GetTypeName () const |
bool | has_bucket_name () const |
void | clear_bucket_name () |
const StringPiece | get_bucket_name () const |
void | set_bucket_name (const StringPiece &value) |
bool | has_report_name_prefix () const |
void | clear_report_name_prefix () |
const StringPiece | get_report_name_prefix () const |
void | set_report_name_prefix (const StringPiece &value) |
Static Public Member Functions | |
static UsageExportLocation * | New () |
The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'bucketName
' attribute.
|
inline |
Clears the 'reportNamePrefix
' attribute.
|
inline |
Get the value of the 'bucketName
' attribute.
|
inline |
Get the value of the 'reportNamePrefix
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'bucketName
' attribute was set.
bucketName
' attribute was set.
|
inline |
Determine if the 'reportNamePrefix
' attribute was set.
reportNamePrefix
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'bucketName
' attribute.
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example- bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
[in] | value | The new value. |
|
inline |
Change the 'reportNamePrefix
' attribute.
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
[in] | value | The new value. |