drive  v2
Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::File::FileIndexableText Class Reference

#include <file.h>

Inheritance diagram for google_drive_api::File::FileIndexableText:

Public Member Functions

 FileIndexableText (const Json::Value &storage)
 
 FileIndexableText (Json::Value *storage)
 
virtual ~FileIndexableText ()
 
const StringPiece GetTypeName () const
 
bool has_text () const
 
void clear_text ()
 
const StringPiece get_text () const
 
void set_text (const StringPiece &value)
 

Static Public Member Functions

static FileIndexableTextNew ()
 

Detailed Description

Indexable text attributes for the file (can only be written).

Constructor & Destructor Documentation

◆ FileIndexableText() [1/2]

google_drive_api::File::FileIndexableText::FileIndexableText ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ FileIndexableText() [2/2]

google_drive_api::File::FileIndexableText::FileIndexableText ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~FileIndexableText()

google_drive_api::File::FileIndexableText::~FileIndexableText ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_text()

void google_drive_api::File::FileIndexableText::clear_text ( )
inline

Clears the 'text' attribute.

◆ get_text()

const StringPiece google_drive_api::File::FileIndexableText::get_text ( ) const
inline

Get the value of the 'text' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::File::FileIndexableText::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::FileIndexableText

◆ has_text()

bool google_drive_api::File::FileIndexableText::has_text ( ) const
inline

Determine if the 'text' attribute was set.

Returns
true if the 'text' attribute was set.

◆ New()

File::FileIndexableText * google_drive_api::File::FileIndexableText::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_text()

void google_drive_api::File::FileIndexableText::set_text ( const StringPiece &  value)
inline

Change the 'text' attribute.

The text to be indexed for this file.

Parameters
[in]valueThe new value.

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