class MockRequest extends Message (View source)

internal  
 

Generated from protobuf message google.apicore.testing.MockRequest

Properties

protected $page_token

Generated from protobuf field string page_token = 1;

protected $page_size

Generated from protobuf field uint64 page_size = 2;

Methods

__construct(array $data = NULL)

Constructor.

string
getPageToken()

Generated from protobuf field string page_token = 1;

$this
setPageToken(string $var)

Generated from protobuf field string page_token = 1;

int|string
getPageSize()

Generated from protobuf field uint64 page_size = 2;

$this
setPageSize(int|string $var)

Generated from protobuf field uint64 page_size = 2;

Details

__construct(array $data = NULL)

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $page_token
@type int|string $page_size

}

string getPageToken()

Generated from protobuf field string page_token = 1;

Return Value

string

$this setPageToken(string $var)

Generated from protobuf field string page_token = 1;

Parameters

string $var

Return Value

$this

int|string getPageSize()

Generated from protobuf field uint64 page_size = 2;

Return Value

int|string

$this setPageSize(int|string $var)

Generated from protobuf field uint64 page_size = 2;

Parameters

int|string $var

Return Value

$this