class ListTopicsRequest extends Message

Request for the ListTopics method.

Protobuf type Google\Pubsub\V1\ListTopicsRequest

Methods

__construct()

No description

string
getProject()

The name of the cloud project that topics belong to.

setProject(string $var)

The name of the cloud project that topics belong to.

int
getPageSize()

Maximum number of topics to return.

setPageSize(int $var)

Maximum number of topics to return.

string
getPageToken()

The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.

setPageToken(string $var)

The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.

Details

at line 40
__construct()

at line 52
string getProject()

The name of the cloud project that topics belong to.

Format is projects/{project}.

Generated from protobuf field string project = 1;

Return Value

string

at line 64
setProject(string $var)

The name of the cloud project that topics belong to.

Format is projects/{project}.

Generated from protobuf field string project = 1;

Parameters

string $var

at line 76
int getPageSize()

Maximum number of topics to return.

Generated from protobuf field int32 page_size = 2;

Return Value

int

at line 87
setPageSize(int $var)

Maximum number of topics to return.

Generated from protobuf field int32 page_size = 2;

Parameters

int $var

at line 101
string getPageToken()

The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.

Generated from protobuf field string page_token = 3;

Return Value

string

at line 114
setPageToken(string $var)

The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.

Generated from protobuf field string page_token = 3;

Parameters

string $var