google.iam.admin.v1.QueryTestablePermissionsRequest */ class QueryTestablePermissionsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The full resource name to query from the list of testable * permissions. * The name follows the Google Cloud Platform resource format. * For example, a Cloud Platform project with id `my-project` will be named * `//cloudresourcemanager.googleapis.com/projects/my-project`. * * Generated from protobuf field string full_resource_name = 1; */ private $full_resource_name = ''; /** * Optional limit on the number of permissions to include in the response. * * Generated from protobuf field int32 page_size = 2; */ private $page_size = 0; /** * Optional pagination token returned in an earlier * QueryTestablePermissionsRequest. * * Generated from protobuf field string page_token = 3; */ private $page_token = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $full_resource_name * Required. The full resource name to query from the list of testable * permissions. * The name follows the Google Cloud Platform resource format. * For example, a Cloud Platform project with id `my-project` will be named * `//cloudresourcemanager.googleapis.com/projects/my-project`. * @type int $page_size * Optional limit on the number of permissions to include in the response. * @type string $page_token * Optional pagination token returned in an earlier * QueryTestablePermissionsRequest. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Iam\Admin\V1\Iam::initOnce(); parent::__construct($data); } /** * Required. The full resource name to query from the list of testable * permissions. * The name follows the Google Cloud Platform resource format. * For example, a Cloud Platform project with id `my-project` will be named * `//cloudresourcemanager.googleapis.com/projects/my-project`. * * Generated from protobuf field string full_resource_name = 1; * @return string */ public function getFullResourceName() { return $this->full_resource_name; } /** * Required. The full resource name to query from the list of testable * permissions. * The name follows the Google Cloud Platform resource format. * For example, a Cloud Platform project with id `my-project` will be named * `//cloudresourcemanager.googleapis.com/projects/my-project`. * * Generated from protobuf field string full_resource_name = 1; * @param string $var * @return $this */ public function setFullResourceName($var) { GPBUtil::checkString($var, True); $this->full_resource_name = $var; return $this; } /** * Optional limit on the number of permissions to include in the response. * * Generated from protobuf field int32 page_size = 2; * @return int */ public function getPageSize() { return $this->page_size; } /** * Optional limit on the number of permissions to include in the response. * * Generated from protobuf field int32 page_size = 2; * @param int $var * @return $this */ public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; } /** * Optional pagination token returned in an earlier * QueryTestablePermissionsRequest. * * Generated from protobuf field string page_token = 3; * @return string */ public function getPageToken() { return $this->page_token; } /** * Optional pagination token returned in an earlier * QueryTestablePermissionsRequest. * * Generated from protobuf field string page_token = 3; * @param string $var * @return $this */ public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; } }