google.iam.admin.v1.ListServiceAccountsRequest */ class ListServiceAccountsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the project associated with the service * accounts, such as `projects/my-project-123`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** * Optional limit on the number of service accounts to include in the * response. Further accounts can subsequently be obtained by including the * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token] * in a subsequent request. * * Generated from protobuf field int32 page_size = 2; */ private $page_size = 0; /** * Optional pagination token returned in an earlier * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]. * * Generated from protobuf field string page_token = 3; */ private $page_token = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * Required. The resource name of the project associated with the service * accounts, such as `projects/my-project-123`. * @type int $page_size * Optional limit on the number of service accounts to include in the * response. Further accounts can subsequently be obtained by including the * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token] * in a subsequent request. * @type string $page_token * Optional pagination token returned in an earlier * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Iam\Admin\V1\Iam::initOnce(); parent::__construct($data); } /** * Required. The resource name of the project associated with the service * accounts, such as `projects/my-project-123`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() { return $this->name; } /** * Required. The resource name of the project associated with the service * accounts, such as `projects/my-project-123`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Optional limit on the number of service accounts to include in the * response. Further accounts can subsequently be obtained by including the * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token] * in a subsequent request. * * Generated from protobuf field int32 page_size = 2; * @return int */ public function getPageSize() { return $this->page_size; } /** * Optional limit on the number of service accounts to include in the * response. Further accounts can subsequently be obtained by including the * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token] * in a subsequent request. * * 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 * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]. * * Generated from protobuf field string page_token = 3; * @return string */ public function getPageToken() { return $this->page_token; } /** * Optional pagination token returned in an earlier * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]. * * 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; } }