📄 Source: LogSplit.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Logging;
class LogSplit extends \Google\Model
{
/**
* The index of this LogEntry in the sequence of split log entries. Log
* entries are given |index| values 0, 1, ..., n-1 for a sequence of n log
* entries.
*
* @var int
*/
public $index;
/**
* The total number of log entries that the original LogEntry was split into.
*
* @var int
*/
public $totalSplits;
/**
* A globally unique identifier for all log entries in a sequence of split log
* entries. All log entries with the same |LogSplit.uid| are assumed to be
* part of the same sequence of split log entries.
*
* @var string
*/
public $uid;
/**
* The index of this LogEntry in the sequence of split log entries. Log
* entries are given |index| values 0, 1, ..., n-1 for a sequence of n log
* entries.
*
* @param int $index
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* The total number of log entries that the original LogEntry was split into.
*
* @param int $totalSplits
*/
public function setTotalSplits($totalSplits)
{
$this->totalSplits = $totalSplits;
}
/**
* @return int
*/
public function getTotalSplits()
{
return $this->totalSplits;
}
/**
* A globally unique identifier for all log entries in a sequence of split log
* entries. All log entries with the same |LogSplit.uid| are assumed to be
* part of the same sequence of split log entries.
*
* @param string $uid
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogSplit::class, 'Google_Service_Logging_LogSplit');
← Back