classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::CloudPubsubTopic Class Reference

#include <cloud_pubsub_topic.h>

Inheritance diagram for google_classroom_api::CloudPubsubTopic:

Public Member Functions

 CloudPubsubTopic (const Json::Value &storage)
 
 CloudPubsubTopic (Json::Value *storage)
 
virtual ~CloudPubsubTopic ()
 
const StringPiece GetTypeName () const
 
bool has_topic_name () const
 
void clear_topic_name ()
 
const StringPiece get_topic_name () const
 
void set_topic_name (const StringPiece &value)
 

Static Public Member Functions

static CloudPubsubTopicNew ()
 

Detailed Description

A reference to a Cloud Pub/Sub topic.

To register for notifications, the owner of the topic must grant classroom-notifications@system.gserviceaccount.com the projects.topics.publish permission.

Constructor & Destructor Documentation

◆ CloudPubsubTopic() [1/2]

google_classroom_api::CloudPubsubTopic::CloudPubsubTopic ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ CloudPubsubTopic() [2/2]

google_classroom_api::CloudPubsubTopic::CloudPubsubTopic ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~CloudPubsubTopic()

google_classroom_api::CloudPubsubTopic::~CloudPubsubTopic ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_topic_name()

void google_classroom_api::CloudPubsubTopic::clear_topic_name ( )
inline

Clears the 'topicName' attribute.

◆ get_topic_name()

const StringPiece google_classroom_api::CloudPubsubTopic::get_topic_name ( ) const
inline

Get the value of the 'topicName' attribute.

◆ GetTypeName()

const StringPiece google_classroom_api::CloudPubsubTopic::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::CloudPubsubTopic

◆ has_topic_name()

bool google_classroom_api::CloudPubsubTopic::has_topic_name ( ) const
inline

Determine if the 'topicName' attribute was set.

Returns
true if the 'topicName' attribute was set.

◆ New()

CloudPubsubTopic * google_classroom_api::CloudPubsubTopic::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_topic_name()

void google_classroom_api::CloudPubsubTopic::set_topic_name ( const StringPiece &  value)
inline

Change the 'topicName' attribute.

The name field of a Cloud Pub/Sub Topic.

Parameters
[in]valueThe new value.

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