google.api.servicemanagement.v1.ListServiceRolloutsRequest
*/
class ListServiceRolloutsRequest extends \Google\Protobuf\Internal\Message
{
/**
* Required. The name of the service. See the [overview](/service-management/overview)
* for naming requirements. For example: `example.googleapis.com`.
*
* Generated from protobuf field string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
*/
private $service_name = '';
/**
* The token of the page to retrieve.
*
* Generated from protobuf field string page_token = 2;
*/
private $page_token = '';
/**
* The max number of items to include in the response list. Page size is 50
* if not specified. Maximum value is 100.
*
* Generated from protobuf field int32 page_size = 3;
*/
private $page_size = 0;
/**
* Required. Use `filter` to return subset of rollouts.
* The following filters are supported:
* -- To limit the results to only those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
* use filter='status=SUCCESS'
* -- To limit the results to those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
* or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
*
* Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = REQUIRED];
*/
private $filter = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $service_name
* Required. The name of the service. See the [overview](/service-management/overview)
* for naming requirements. For example: `example.googleapis.com`.
* @type string $page_token
* The token of the page to retrieve.
* @type int $page_size
* The max number of items to include in the response list. Page size is 50
* if not specified. Maximum value is 100.
* @type string $filter
* Required. Use `filter` to return subset of rollouts.
* The following filters are supported:
* -- To limit the results to only those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
* use filter='status=SUCCESS'
* -- To limit the results to those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
* or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Api\Servicemanagement\V1\Servicemanager::initOnce();
parent::__construct($data);
}
/**
* Required. The name of the service. See the [overview](/service-management/overview)
* for naming requirements. For example: `example.googleapis.com`.
*
* Generated from protobuf field string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getServiceName()
{
return $this->service_name;
}
/**
* Required. The name of the service. See the [overview](/service-management/overview)
* for naming requirements. For example: `example.googleapis.com`.
*
* Generated from protobuf field string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
public function setServiceName($var)
{
GPBUtil::checkString($var, True);
$this->service_name = $var;
return $this;
}
/**
* The token of the page to retrieve.
*
* Generated from protobuf field string page_token = 2;
* @return string
*/
public function getPageToken()
{
return $this->page_token;
}
/**
* The token of the page to retrieve.
*
* Generated from protobuf field string page_token = 2;
* @param string $var
* @return $this
*/
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
}
/**
* The max number of items to include in the response list. Page size is 50
* if not specified. Maximum value is 100.
*
* Generated from protobuf field int32 page_size = 3;
* @return int
*/
public function getPageSize()
{
return $this->page_size;
}
/**
* The max number of items to include in the response list. Page size is 50
* if not specified. Maximum value is 100.
*
* Generated from protobuf field int32 page_size = 3;
* @param int $var
* @return $this
*/
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
}
/**
* Required. Use `filter` to return subset of rollouts.
* The following filters are supported:
* -- To limit the results to only those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
* use filter='status=SUCCESS'
* -- To limit the results to those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
* or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
*
* Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Required. Use `filter` to return subset of rollouts.
* The following filters are supported:
* -- To limit the results to only those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
* use filter='status=SUCCESS'
* -- To limit the results to those in
* [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
* or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
*
* Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
}
}