Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?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\CloudTrace;
class Annotation extends \Google\Model
{
protected $attributesType = Attributes::class;
protected $attributesDataType = '';
protected $descriptionType = TruncatableString::class;
protected $descriptionDataType = '';
/**
* @param Attributes
*/
public function setAttributes(Attributes $attributes)
{
$this->attributes = $attributes;
}
/**
* @return Attributes
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param TruncatableString
*/
public function setDescription(TruncatableString $description)
{
$this->description = $description;
}
/**
* @return TruncatableString
*/
public function getDescription()
{
return $this->description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Annotation::class, 'Google_Service_CloudTrace_Annotation');

View File

@@ -0,0 +1,78 @@
<?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\CloudTrace;
class AttributeValue extends \Google\Model
{
/**
* @var bool
*/
public $boolValue;
/**
* @var string
*/
public $intValue;
protected $stringValueType = TruncatableString::class;
protected $stringValueDataType = '';
/**
* @param bool
*/
public function setBoolValue($boolValue)
{
$this->boolValue = $boolValue;
}
/**
* @return bool
*/
public function getBoolValue()
{
return $this->boolValue;
}
/**
* @param string
*/
public function setIntValue($intValue)
{
$this->intValue = $intValue;
}
/**
* @return string
*/
public function getIntValue()
{
return $this->intValue;
}
/**
* @param TruncatableString
*/
public function setStringValue(TruncatableString $stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return TruncatableString
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttributeValue::class, 'Google_Service_CloudTrace_AttributeValue');

View File

@@ -0,0 +1,60 @@
<?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\CloudTrace;
class Attributes extends \Google\Model
{
protected $attributeMapType = AttributeValue::class;
protected $attributeMapDataType = 'map';
/**
* @var int
*/
public $droppedAttributesCount;
/**
* @param AttributeValue[]
*/
public function setAttributeMap($attributeMap)
{
$this->attributeMap = $attributeMap;
}
/**
* @return AttributeValue[]
*/
public function getAttributeMap()
{
return $this->attributeMap;
}
/**
* @param int
*/
public function setDroppedAttributesCount($droppedAttributesCount)
{
$this->droppedAttributesCount = $droppedAttributesCount;
}
/**
* @return int
*/
public function getDroppedAttributesCount()
{
return $this->droppedAttributesCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Attributes::class, 'Google_Service_CloudTrace_Attributes');

View File

@@ -0,0 +1,43 @@
<?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\CloudTrace;
class BatchWriteSpansRequest extends \Google\Collection
{
protected $collection_key = 'spans';
protected $spansType = Span::class;
protected $spansDataType = 'array';
/**
* @param Span[]
*/
public function setSpans($spans)
{
$this->spans = $spans;
}
/**
* @return Span[]
*/
public function getSpans()
{
return $this->spans;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchWriteSpansRequest::class, 'Google_Service_CloudTrace_BatchWriteSpansRequest');

View File

@@ -0,0 +1,25 @@
<?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\CloudTrace;
class CloudtraceEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudtraceEmpty::class, 'Google_Service_CloudTrace_CloudtraceEmpty');

View File

@@ -0,0 +1,96 @@
<?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\CloudTrace;
class Link extends \Google\Model
{
protected $attributesType = Attributes::class;
protected $attributesDataType = '';
/**
* @var string
*/
public $spanId;
/**
* @var string
*/
public $traceId;
/**
* @var string
*/
public $type;
/**
* @param Attributes
*/
public function setAttributes(Attributes $attributes)
{
$this->attributes = $attributes;
}
/**
* @return Attributes
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setSpanId($spanId)
{
$this->spanId = $spanId;
}
/**
* @return string
*/
public function getSpanId()
{
return $this->spanId;
}
/**
* @param string
*/
public function setTraceId($traceId)
{
$this->traceId = $traceId;
}
/**
* @return string
*/
public function getTraceId()
{
return $this->traceId;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Link::class, 'Google_Service_CloudTrace_Link');

View File

@@ -0,0 +1,61 @@
<?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\CloudTrace;
class Links extends \Google\Collection
{
protected $collection_key = 'link';
/**
* @var int
*/
public $droppedLinksCount;
protected $linkType = Link::class;
protected $linkDataType = 'array';
/**
* @param int
*/
public function setDroppedLinksCount($droppedLinksCount)
{
$this->droppedLinksCount = $droppedLinksCount;
}
/**
* @return int
*/
public function getDroppedLinksCount()
{
return $this->droppedLinksCount;
}
/**
* @param Link[]
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return Link[]
*/
public function getLink()
{
return $this->link;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Links::class, 'Google_Service_CloudTrace_Links');

View File

@@ -0,0 +1,98 @@
<?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\CloudTrace;
class MessageEvent extends \Google\Model
{
/**
* @var string
*/
public $compressedSizeBytes;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uncompressedSizeBytes;
/**
* @param string
*/
public function setCompressedSizeBytes($compressedSizeBytes)
{
$this->compressedSizeBytes = $compressedSizeBytes;
}
/**
* @return string
*/
public function getCompressedSizeBytes()
{
return $this->compressedSizeBytes;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUncompressedSizeBytes($uncompressedSizeBytes)
{
$this->uncompressedSizeBytes = $uncompressedSizeBytes;
}
/**
* @return string
*/
public function getUncompressedSizeBytes()
{
return $this->uncompressedSizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MessageEvent::class, 'Google_Service_CloudTrace_MessageEvent');

View File

@@ -0,0 +1,58 @@
<?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\CloudTrace;
class Module extends \Google\Model
{
protected $buildIdType = TruncatableString::class;
protected $buildIdDataType = '';
protected $moduleType = TruncatableString::class;
protected $moduleDataType = '';
/**
* @param TruncatableString
*/
public function setBuildId(TruncatableString $buildId)
{
$this->buildId = $buildId;
}
/**
* @return TruncatableString
*/
public function getBuildId()
{
return $this->buildId;
}
/**
* @param TruncatableString
*/
public function setModule(TruncatableString $module)
{
$this->module = $module;
}
/**
* @return TruncatableString
*/
public function getModule()
{
return $this->module;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Module::class, 'Google_Service_CloudTrace_Module');

View File

@@ -0,0 +1,33 @@
<?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\CloudTrace\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $cloudtraceService = new Google\Service\CloudTrace(...);
* $projects = $cloudtraceService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_CloudTrace_Resource_Projects');

View File

@@ -0,0 +1,53 @@
<?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\CloudTrace\Resource;
use Google\Service\CloudTrace\BatchWriteSpansRequest;
use Google\Service\CloudTrace\CloudtraceEmpty;
/**
* The "traces" collection of methods.
* Typical usage is:
* <code>
* $cloudtraceService = new Google\Service\CloudTrace(...);
* $traces = $cloudtraceService->projects_traces;
* </code>
*/
class ProjectsTraces extends \Google\Service\Resource
{
/**
* Batch writes new spans to new or existing traces. You cannot update existing
* spans. (traces.batchWrite)
*
* @param string $name Required. The name of the project where the spans belong.
* The format is `projects/[PROJECT_ID]`.
* @param BatchWriteSpansRequest $postBody
* @param array $optParams Optional parameters.
* @return CloudtraceEmpty
* @throws \Google\Service\Exception
*/
public function batchWrite($name, BatchWriteSpansRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchWrite', [$params], CloudtraceEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsTraces::class, 'Google_Service_CloudTrace_Resource_ProjectsTraces');

View File

@@ -0,0 +1,56 @@
<?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\CloudTrace\Resource;
use Google\Service\CloudTrace\Span;
/**
* The "spans" collection of methods.
* Typical usage is:
* <code>
* $cloudtraceService = new Google\Service\CloudTrace(...);
* $spans = $cloudtraceService->projects_traces_spans;
* </code>
*/
class ProjectsTracesSpans extends \Google\Service\Resource
{
/**
* Creates a new span. (spans.createSpan)
*
* @param string $name Required. The resource name of the span in the following
* format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
* `[TRACE_ID]` is a unique identifier for a trace within a project; it is a
* 32-character hexadecimal encoding of a 16-byte array. It should not be zero.
* `[SPAN_ID]` is a unique identifier for a span within a trace; it is a
* 16-character hexadecimal encoding of an 8-byte array. It should not be zero.
* .
* @param Span $postBody
* @param array $optParams Optional parameters.
* @return Span
* @throws \Google\Service\Exception
*/
public function createSpan($name, Span $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSpan', [$params], Span::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsTracesSpans::class, 'Google_Service_CloudTrace_Resource_ProjectsTracesSpans');

View File

@@ -0,0 +1,266 @@
<?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\CloudTrace;
class Span extends \Google\Model
{
protected $attributesType = Attributes::class;
protected $attributesDataType = '';
/**
* @var int
*/
public $childSpanCount;
protected $displayNameType = TruncatableString::class;
protected $displayNameDataType = '';
/**
* @var string
*/
public $endTime;
protected $linksType = Links::class;
protected $linksDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $parentSpanId;
/**
* @var bool
*/
public $sameProcessAsParentSpan;
/**
* @var string
*/
public $spanId;
/**
* @var string
*/
public $spanKind;
protected $stackTraceType = StackTrace::class;
protected $stackTraceDataType = '';
/**
* @var string
*/
public $startTime;
protected $statusType = Status::class;
protected $statusDataType = '';
protected $timeEventsType = TimeEvents::class;
protected $timeEventsDataType = '';
/**
* @param Attributes
*/
public function setAttributes(Attributes $attributes)
{
$this->attributes = $attributes;
}
/**
* @return Attributes
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param int
*/
public function setChildSpanCount($childSpanCount)
{
$this->childSpanCount = $childSpanCount;
}
/**
* @return int
*/
public function getChildSpanCount()
{
return $this->childSpanCount;
}
/**
* @param TruncatableString
*/
public function setDisplayName(TruncatableString $displayName)
{
$this->displayName = $displayName;
}
/**
* @return TruncatableString
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Links
*/
public function setLinks(Links $links)
{
$this->links = $links;
}
/**
* @return Links
*/
public function getLinks()
{
return $this->links;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setParentSpanId($parentSpanId)
{
$this->parentSpanId = $parentSpanId;
}
/**
* @return string
*/
public function getParentSpanId()
{
return $this->parentSpanId;
}
/**
* @param bool
*/
public function setSameProcessAsParentSpan($sameProcessAsParentSpan)
{
$this->sameProcessAsParentSpan = $sameProcessAsParentSpan;
}
/**
* @return bool
*/
public function getSameProcessAsParentSpan()
{
return $this->sameProcessAsParentSpan;
}
/**
* @param string
*/
public function setSpanId($spanId)
{
$this->spanId = $spanId;
}
/**
* @return string
*/
public function getSpanId()
{
return $this->spanId;
}
/**
* @param string
*/
public function setSpanKind($spanKind)
{
$this->spanKind = $spanKind;
}
/**
* @return string
*/
public function getSpanKind()
{
return $this->spanKind;
}
/**
* @param StackTrace
*/
public function setStackTrace(StackTrace $stackTrace)
{
$this->stackTrace = $stackTrace;
}
/**
* @return StackTrace
*/
public function getStackTrace()
{
return $this->stackTrace;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param Status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
/**
* @param TimeEvents
*/
public function setTimeEvents(TimeEvents $timeEvents)
{
$this->timeEvents = $timeEvents;
}
/**
* @return TimeEvents
*/
public function getTimeEvents()
{
return $this->timeEvents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Span::class, 'Google_Service_CloudTrace_Span');

View File

@@ -0,0 +1,142 @@
<?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\CloudTrace;
class StackFrame extends \Google\Model
{
/**
* @var string
*/
public $columnNumber;
protected $fileNameType = TruncatableString::class;
protected $fileNameDataType = '';
protected $functionNameType = TruncatableString::class;
protected $functionNameDataType = '';
/**
* @var string
*/
public $lineNumber;
protected $loadModuleType = Module::class;
protected $loadModuleDataType = '';
protected $originalFunctionNameType = TruncatableString::class;
protected $originalFunctionNameDataType = '';
protected $sourceVersionType = TruncatableString::class;
protected $sourceVersionDataType = '';
/**
* @param string
*/
public function setColumnNumber($columnNumber)
{
$this->columnNumber = $columnNumber;
}
/**
* @return string
*/
public function getColumnNumber()
{
return $this->columnNumber;
}
/**
* @param TruncatableString
*/
public function setFileName(TruncatableString $fileName)
{
$this->fileName = $fileName;
}
/**
* @return TruncatableString
*/
public function getFileName()
{
return $this->fileName;
}
/**
* @param TruncatableString
*/
public function setFunctionName(TruncatableString $functionName)
{
$this->functionName = $functionName;
}
/**
* @return TruncatableString
*/
public function getFunctionName()
{
return $this->functionName;
}
/**
* @param string
*/
public function setLineNumber($lineNumber)
{
$this->lineNumber = $lineNumber;
}
/**
* @return string
*/
public function getLineNumber()
{
return $this->lineNumber;
}
/**
* @param Module
*/
public function setLoadModule(Module $loadModule)
{
$this->loadModule = $loadModule;
}
/**
* @return Module
*/
public function getLoadModule()
{
return $this->loadModule;
}
/**
* @param TruncatableString
*/
public function setOriginalFunctionName(TruncatableString $originalFunctionName)
{
$this->originalFunctionName = $originalFunctionName;
}
/**
* @return TruncatableString
*/
public function getOriginalFunctionName()
{
return $this->originalFunctionName;
}
/**
* @param TruncatableString
*/
public function setSourceVersion(TruncatableString $sourceVersion)
{
$this->sourceVersion = $sourceVersion;
}
/**
* @return TruncatableString
*/
public function getSourceVersion()
{
return $this->sourceVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StackFrame::class, 'Google_Service_CloudTrace_StackFrame');

View File

@@ -0,0 +1,61 @@
<?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\CloudTrace;
class StackFrames extends \Google\Collection
{
protected $collection_key = 'frame';
/**
* @var int
*/
public $droppedFramesCount;
protected $frameType = StackFrame::class;
protected $frameDataType = 'array';
/**
* @param int
*/
public function setDroppedFramesCount($droppedFramesCount)
{
$this->droppedFramesCount = $droppedFramesCount;
}
/**
* @return int
*/
public function getDroppedFramesCount()
{
return $this->droppedFramesCount;
}
/**
* @param StackFrame[]
*/
public function setFrame($frame)
{
$this->frame = $frame;
}
/**
* @return StackFrame[]
*/
public function getFrame()
{
return $this->frame;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StackFrames::class, 'Google_Service_CloudTrace_StackFrames');

View File

@@ -0,0 +1,60 @@
<?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\CloudTrace;
class StackTrace extends \Google\Model
{
protected $stackFramesType = StackFrames::class;
protected $stackFramesDataType = '';
/**
* @var string
*/
public $stackTraceHashId;
/**
* @param StackFrames
*/
public function setStackFrames(StackFrames $stackFrames)
{
$this->stackFrames = $stackFrames;
}
/**
* @return StackFrames
*/
public function getStackFrames()
{
return $this->stackFrames;
}
/**
* @param string
*/
public function setStackTraceHashId($stackTraceHashId)
{
$this->stackTraceHashId = $stackTraceHashId;
}
/**
* @return string
*/
public function getStackTraceHashId()
{
return $this->stackTraceHashId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StackTrace::class, 'Google_Service_CloudTrace_StackTrace');

View File

@@ -0,0 +1,81 @@
<?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\CloudTrace;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_CloudTrace_Status');

View File

@@ -0,0 +1,76 @@
<?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\CloudTrace;
class TimeEvent extends \Google\Model
{
protected $annotationType = Annotation::class;
protected $annotationDataType = '';
protected $messageEventType = MessageEvent::class;
protected $messageEventDataType = '';
/**
* @var string
*/
public $time;
/**
* @param Annotation
*/
public function setAnnotation(Annotation $annotation)
{
$this->annotation = $annotation;
}
/**
* @return Annotation
*/
public function getAnnotation()
{
return $this->annotation;
}
/**
* @param MessageEvent
*/
public function setMessageEvent(MessageEvent $messageEvent)
{
$this->messageEvent = $messageEvent;
}
/**
* @return MessageEvent
*/
public function getMessageEvent()
{
return $this->messageEvent;
}
/**
* @param string
*/
public function setTime($time)
{
$this->time = $time;
}
/**
* @return string
*/
public function getTime()
{
return $this->time;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeEvent::class, 'Google_Service_CloudTrace_TimeEvent');

View File

@@ -0,0 +1,79 @@
<?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\CloudTrace;
class TimeEvents extends \Google\Collection
{
protected $collection_key = 'timeEvent';
/**
* @var int
*/
public $droppedAnnotationsCount;
/**
* @var int
*/
public $droppedMessageEventsCount;
protected $timeEventType = TimeEvent::class;
protected $timeEventDataType = 'array';
/**
* @param int
*/
public function setDroppedAnnotationsCount($droppedAnnotationsCount)
{
$this->droppedAnnotationsCount = $droppedAnnotationsCount;
}
/**
* @return int
*/
public function getDroppedAnnotationsCount()
{
return $this->droppedAnnotationsCount;
}
/**
* @param int
*/
public function setDroppedMessageEventsCount($droppedMessageEventsCount)
{
$this->droppedMessageEventsCount = $droppedMessageEventsCount;
}
/**
* @return int
*/
public function getDroppedMessageEventsCount()
{
return $this->droppedMessageEventsCount;
}
/**
* @param TimeEvent[]
*/
public function setTimeEvent($timeEvent)
{
$this->timeEvent = $timeEvent;
}
/**
* @return TimeEvent[]
*/
public function getTimeEvent()
{
return $this->timeEvent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeEvents::class, 'Google_Service_CloudTrace_TimeEvents');

View File

@@ -0,0 +1,62 @@
<?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\CloudTrace;
class TruncatableString extends \Google\Model
{
/**
* @var int
*/
public $truncatedByteCount;
/**
* @var string
*/
public $value;
/**
* @param int
*/
public function setTruncatedByteCount($truncatedByteCount)
{
$this->truncatedByteCount = $truncatedByteCount;
}
/**
* @return int
*/
public function getTruncatedByteCount()
{
return $this->truncatedByteCount;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TruncatableString::class, 'Google_Service_CloudTrace_TruncatableString');