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,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\Genomics;
class Accelerator extends \Google\Model
{
/**
* @var string
*/
public $count;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @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(Accelerator::class, 'Google_Service_Genomics_Accelerator');

View File

@@ -0,0 +1,255 @@
<?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\Genomics;
class Action extends \Google\Collection
{
protected $collection_key = 'mounts';
/**
* @var string[]
*/
public $commands;
protected $credentialsType = Secret::class;
protected $credentialsDataType = '';
protected $encryptedEnvironmentType = Secret::class;
protected $encryptedEnvironmentDataType = '';
/**
* @var string
*/
public $entrypoint;
/**
* @var string[]
*/
public $environment;
/**
* @var string[]
*/
public $flags;
/**
* @var string
*/
public $imageUri;
/**
* @var string[]
*/
public $labels;
protected $mountsType = Mount::class;
protected $mountsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $pidNamespace;
/**
* @var int[]
*/
public $portMappings;
/**
* @var string
*/
public $timeout;
/**
* @param string[]
*/
public function setCommands($commands)
{
$this->commands = $commands;
}
/**
* @return string[]
*/
public function getCommands()
{
return $this->commands;
}
/**
* @param Secret
*/
public function setCredentials(Secret $credentials)
{
$this->credentials = $credentials;
}
/**
* @return Secret
*/
public function getCredentials()
{
return $this->credentials;
}
/**
* @param Secret
*/
public function setEncryptedEnvironment(Secret $encryptedEnvironment)
{
$this->encryptedEnvironment = $encryptedEnvironment;
}
/**
* @return Secret
*/
public function getEncryptedEnvironment()
{
return $this->encryptedEnvironment;
}
/**
* @param string
*/
public function setEntrypoint($entrypoint)
{
$this->entrypoint = $entrypoint;
}
/**
* @return string
*/
public function getEntrypoint()
{
return $this->entrypoint;
}
/**
* @param string[]
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string[]
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string[]
*/
public function setFlags($flags)
{
$this->flags = $flags;
}
/**
* @return string[]
*/
public function getFlags()
{
return $this->flags;
}
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param Mount[]
*/
public function setMounts($mounts)
{
$this->mounts = $mounts;
}
/**
* @return Mount[]
*/
public function getMounts()
{
return $this->mounts;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPidNamespace($pidNamespace)
{
$this->pidNamespace = $pidNamespace;
}
/**
* @return string
*/
public function getPidNamespace()
{
return $this->pidNamespace;
}
/**
* @param int[]
*/
public function setPortMappings($portMappings)
{
$this->portMappings = $portMappings;
}
/**
* @return int[]
*/
public function getPortMappings()
{
return $this->portMappings;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Action::class, 'Google_Service_Genomics_Action');

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\Genomics;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Genomics_CancelOperationRequest');

View File

@@ -0,0 +1,127 @@
<?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\Genomics;
class CheckInRequest extends \Google\Collection
{
protected $collection_key = 'events';
protected $deadlineExpiredType = GenomicsEmpty::class;
protected $deadlineExpiredDataType = '';
/**
* @var array[]
*/
public $event;
protected $eventsType = TimestampedEvent::class;
protected $eventsDataType = 'array';
protected $resultType = Status::class;
protected $resultDataType = '';
/**
* @var string
*/
public $sosReport;
protected $workerStatusType = WorkerStatus::class;
protected $workerStatusDataType = '';
/**
* @param GenomicsEmpty
*/
public function setDeadlineExpired(GenomicsEmpty $deadlineExpired)
{
$this->deadlineExpired = $deadlineExpired;
}
/**
* @return GenomicsEmpty
*/
public function getDeadlineExpired()
{
return $this->deadlineExpired;
}
/**
* @param array[]
*/
public function setEvent($event)
{
$this->event = $event;
}
/**
* @return array[]
*/
public function getEvent()
{
return $this->event;
}
/**
* @param TimestampedEvent[]
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return TimestampedEvent[]
*/
public function getEvents()
{
return $this->events;
}
/**
* @param Status
*/
public function setResult(Status $result)
{
$this->result = $result;
}
/**
* @return Status
*/
public function getResult()
{
return $this->result;
}
/**
* @param string
*/
public function setSosReport($sosReport)
{
$this->sosReport = $sosReport;
}
/**
* @return string
*/
public function getSosReport()
{
return $this->sosReport;
}
/**
* @param WorkerStatus
*/
public function setWorkerStatus(WorkerStatus $workerStatus)
{
$this->workerStatus = $workerStatus;
}
/**
* @return WorkerStatus
*/
public function getWorkerStatus()
{
return $this->workerStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckInRequest::class, 'Google_Service_Genomics_CheckInRequest');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class CheckInResponse extends \Google\Model
{
/**
* @var string
*/
public $deadline;
/**
* @var array[]
*/
public $features;
/**
* @var array[]
*/
public $metadata;
/**
* @param string
*/
public function setDeadline($deadline)
{
$this->deadline = $deadline;
}
/**
* @return string
*/
public function getDeadline()
{
return $this->deadline;
}
/**
* @param array[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return array[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckInResponse::class, 'Google_Service_Genomics_CheckInResponse');

View File

@@ -0,0 +1,44 @@
<?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\Genomics;
class ContainerKilledEvent extends \Google\Model
{
/**
* @var int
*/
public $actionId;
/**
* @param int
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return int
*/
public function getActionId()
{
return $this->actionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerKilledEvent::class, 'Google_Service_Genomics_ContainerKilledEvent');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class ContainerStartedEvent extends \Google\Model
{
/**
* @var int
*/
public $actionId;
/**
* @var string
*/
public $ipAddress;
/**
* @var int[]
*/
public $portMappings;
/**
* @param int
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return int
*/
public function getActionId()
{
return $this->actionId;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param int[]
*/
public function setPortMappings($portMappings)
{
$this->portMappings = $portMappings;
}
/**
* @return int[]
*/
public function getPortMappings()
{
return $this->portMappings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerStartedEvent::class, 'Google_Service_Genomics_ContainerStartedEvent');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class ContainerStoppedEvent extends \Google\Model
{
/**
* @var int
*/
public $actionId;
/**
* @var int
*/
public $exitStatus;
/**
* @var string
*/
public $stderr;
/**
* @param int
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return int
*/
public function getActionId()
{
return $this->actionId;
}
/**
* @param int
*/
public function setExitStatus($exitStatus)
{
$this->exitStatus = $exitStatus;
}
/**
* @return int
*/
public function getExitStatus()
{
return $this->exitStatus;
}
/**
* @param string
*/
public function setStderr($stderr)
{
$this->stderr = $stderr;
}
/**
* @return string
*/
public function getStderr()
{
return $this->stderr;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerStoppedEvent::class, 'Google_Service_Genomics_ContainerStoppedEvent');

View File

@@ -0,0 +1,63 @@
<?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\Genomics;
class DelayedEvent extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string
*/
public $cause;
/**
* @var string[]
*/
public $metrics;
/**
* @param string
*/
public function setCause($cause)
{
$this->cause = $cause;
}
/**
* @return string
*/
public function getCause()
{
return $this->cause;
}
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DelayedEvent::class, 'Google_Service_Genomics_DelayedEvent');

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\Genomics;
class Disk extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $sizeGb;
/**
* @var string
*/
public $sourceImage;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param string
*/
public function setSourceImage($sourceImage)
{
$this->sourceImage = $sourceImage;
}
/**
* @return string
*/
public function getSourceImage()
{
return $this->sourceImage;
}
/**
* @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(Disk::class, 'Google_Service_Genomics_Disk');

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\Genomics;
class DiskStatus extends \Google\Model
{
/**
* @var string
*/
public $freeSpaceBytes;
/**
* @var string
*/
public $totalSpaceBytes;
/**
* @param string
*/
public function setFreeSpaceBytes($freeSpaceBytes)
{
$this->freeSpaceBytes = $freeSpaceBytes;
}
/**
* @return string
*/
public function getFreeSpaceBytes()
{
return $this->freeSpaceBytes;
}
/**
* @param string
*/
public function setTotalSpaceBytes($totalSpaceBytes)
{
$this->totalSpaceBytes = $totalSpaceBytes;
}
/**
* @return string
*/
public function getTotalSpaceBytes()
{
return $this->totalSpaceBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskStatus::class, 'Google_Service_Genomics_DiskStatus');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class Event extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $timestamp;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Event::class, 'Google_Service_Genomics_Event');

View File

@@ -0,0 +1,44 @@
<?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\Genomics;
class ExistingDisk extends \Google\Model
{
/**
* @var string
*/
public $disk;
/**
* @param string
*/
public function setDisk($disk)
{
$this->disk = $disk;
}
/**
* @return string
*/
public function getDisk()
{
return $this->disk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExistingDisk::class, 'Google_Service_Genomics_ExistingDisk');

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\Genomics;
class FailedEvent extends \Google\Model
{
/**
* @var string
*/
public $cause;
/**
* @var string
*/
public $code;
/**
* @param string
*/
public function setCause($cause)
{
$this->cause = $cause;
}
/**
* @return string
*/
public function getCause()
{
return $this->cause;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailedEvent::class, 'Google_Service_Genomics_FailedEvent');

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\Genomics;
class GenomicsEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenomicsEmpty::class, 'Google_Service_Genomics_GenomicsEmpty');

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\Genomics;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_Genomics_ListOperationsResponse');

View File

@@ -0,0 +1,131 @@
<?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\Genomics;
class Metadata extends \Google\Collection
{
protected $collection_key = 'events';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
protected $eventsType = Event::class;
protected $eventsDataType = 'array';
/**
* @var string[]
*/
public $labels;
protected $pipelineType = Pipeline::class;
protected $pipelineDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Event[]
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return Event[]
*/
public function getEvents()
{
return $this->events;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param Pipeline
*/
public function setPipeline(Pipeline $pipeline)
{
$this->pipeline = $pipeline;
}
/**
* @return Pipeline
*/
public function getPipeline()
{
return $this->pipeline;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_Genomics_Metadata');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class Mount extends \Google\Model
{
/**
* @var string
*/
public $disk;
/**
* @var string
*/
public $path;
/**
* @var bool
*/
public $readOnly;
/**
* @param string
*/
public function setDisk($disk)
{
$this->disk = $disk;
}
/**
* @return string
*/
public function getDisk()
{
return $this->disk;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param bool
*/
public function setReadOnly($readOnly)
{
$this->readOnly = $readOnly;
}
/**
* @return bool
*/
public function getReadOnly()
{
return $this->readOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Mount::class, 'Google_Service_Genomics_Mount');

View File

@@ -0,0 +1,44 @@
<?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\Genomics;
class NFSMount extends \Google\Model
{
/**
* @var string
*/
public $target;
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NFSMount::class, 'Google_Service_Genomics_NFSMount');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class Network extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $subnetwork;
/**
* @var bool
*/
public $usePrivateAddress;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
/**
* @param bool
*/
public function setUsePrivateAddress($usePrivateAddress)
{
$this->usePrivateAddress = $usePrivateAddress;
}
/**
* @return bool
*/
public function getUsePrivateAddress()
{
return $this->usePrivateAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Network::class, 'Google_Service_Genomics_Network');

View File

@@ -0,0 +1,114 @@
<?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\Genomics;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Genomics_Operation');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class PersistentDisk extends \Google\Model
{
/**
* @var int
*/
public $sizeGb;
/**
* @var string
*/
public $sourceImage;
/**
* @var string
*/
public $type;
/**
* @param int
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param string
*/
public function setSourceImage($sourceImage)
{
$this->sourceImage = $sourceImage;
}
/**
* @return string
*/
public function getSourceImage()
{
return $this->sourceImage;
}
/**
* @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(PersistentDisk::class, 'Google_Service_Genomics_PersistentDisk');

View File

@@ -0,0 +1,111 @@
<?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\Genomics;
class Pipeline extends \Google\Collection
{
protected $collection_key = 'actions';
protected $actionsType = Action::class;
protected $actionsDataType = 'array';
protected $encryptedEnvironmentType = Secret::class;
protected $encryptedEnvironmentDataType = '';
/**
* @var string[]
*/
public $environment;
protected $resourcesType = Resources::class;
protected $resourcesDataType = '';
/**
* @var string
*/
public $timeout;
/**
* @param Action[]
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return Action[]
*/
public function getActions()
{
return $this->actions;
}
/**
* @param Secret
*/
public function setEncryptedEnvironment(Secret $encryptedEnvironment)
{
$this->encryptedEnvironment = $encryptedEnvironment;
}
/**
* @return Secret
*/
public function getEncryptedEnvironment()
{
return $this->encryptedEnvironment;
}
/**
* @param string[]
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string[]
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param Resources
*/
public function setResources(Resources $resources)
{
$this->resources = $resources;
}
/**
* @return Resources
*/
public function getResources()
{
return $this->resources;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Pipeline::class, 'Google_Service_Genomics_Pipeline');

View File

@@ -0,0 +1,44 @@
<?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\Genomics;
class PullStartedEvent extends \Google\Model
{
/**
* @var string
*/
public $imageUri;
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PullStartedEvent::class, 'Google_Service_Genomics_PullStartedEvent');

View File

@@ -0,0 +1,44 @@
<?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\Genomics;
class PullStoppedEvent extends \Google\Model
{
/**
* @var string
*/
public $imageUri;
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PullStoppedEvent::class, 'Google_Service_Genomics_PullStoppedEvent');

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\Genomics\Resource;
use Google\Service\Genomics\Operation;
use Google\Service\Genomics\RunPipelineRequest;
/**
* The "pipelines" collection of methods.
* Typical usage is:
* <code>
* $genomicsService = new Google\Service\Genomics(...);
* $pipelines = $genomicsService->pipelines;
* </code>
*/
class Pipelines extends \Google\Service\Resource
{
/**
* Runs a pipeline. The returned Operation's metadata field will contain a
* google.genomics.v2alpha1.Metadata object describing the status of the
* pipeline execution. The [response] field will contain a
* google.genomics.v2alpha1.RunPipelineResponse object if the pipeline completes
* successfully. **Note:** Before you can use this method, the Genomics Service
* Agent must have access to your project. This is done automatically when the
* Cloud Genomics API is first enabled, but if you delete this permission, or if
* you enabled the Cloud Genomics API before the v2alpha1 API launch, you must
* disable and re-enable the API to grant the Genomics Service Agent the
* required permissions. Authorization requires the following [Google
* IAM](https://cloud.google.com/iam/) permission: *
* `genomics.operations.create` [1]: /genomics/gsa (pipelines.run)
*
* @param RunPipelineRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
*/
public function run(RunPipelineRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('run', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Pipelines::class, 'Google_Service_Genomics_Resource_Pipelines');

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\Genomics\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $genomicsService = new Google\Service\Genomics(...);
* $projects = $genomicsService->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_Genomics_Resource_Projects');

View File

@@ -0,0 +1,107 @@
<?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\Genomics\Resource;
use Google\Service\Genomics\CancelOperationRequest;
use Google\Service\Genomics\GenomicsEmpty;
use Google\Service\Genomics\ListOperationsResponse;
use Google\Service\Genomics\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $genomicsService = new Google\Service\Genomics(...);
* $operations = $genomicsService->projects_operations;
* </code>
*/
class ProjectsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* Clients may use Operations.GetOperation or Operations.ListOperations to check
* whether the cancellation succeeded or the operation completed despite
* cancellation. Authorization requires the following [Google
* IAM](https://cloud.google.com/iam) permission: * `genomics.operations.cancel`
* (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return GenomicsEmpty
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GenomicsEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. Authorization requires the following [Google
* IAM](https://cloud.google.com/iam) permission: * `genomics.operations.get`
* (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request.
* Authorization requires the following [Google
* IAM](https://cloud.google.com/iam) permission: * `genomics.operations.list`
* (operations.listProjectsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A string for filtering Operations. In v2alpha1, the
* following filter fields are supported: * createTime: The time this job was
* created * events: The set of event (names) that have occurred while running
* the pipeline. The : operator can be used to determine if a particular event
* has occurred. * error: If the pipeline is running, this value is NULL. Once
* the pipeline finishes, the value is the standard Google error code. *
* labels.key or labels."key with space" where key is a label key. * done: If
* the pipeline is running, this value is false. Once the pipeline finishes, the
* value is true. Examples: * `projectId = my-project AND createTime >=
* 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND
* createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND
* labels.color = *` * `projectId = my-project AND labels.color = red`
* @opt_param int pageSize The maximum number of results to return. The maximum
* value is 256.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
*/
public function listProjectsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsOperations::class, 'Google_Service_Genomics_Resource_ProjectsOperations');

View File

@@ -0,0 +1,52 @@
<?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\Genomics\Resource;
use Google\Service\Genomics\CheckInRequest;
use Google\Service\Genomics\CheckInResponse;
/**
* The "workers" collection of methods.
* Typical usage is:
* <code>
* $genomicsService = new Google\Service\Genomics(...);
* $workers = $genomicsService->projects_workers;
* </code>
*/
class ProjectsWorkers extends \Google\Service\Resource
{
/**
* The worker uses this method to retrieve the assigned operation and provide
* periodic status updates. (workers.checkIn)
*
* @param string $id The VM identity token for authenticating the VM instance.
* https://cloud.google.com/compute/docs/instances/verifying-instance-identity
* @param CheckInRequest $postBody
* @param array $optParams Optional parameters.
* @return CheckInResponse
*/
public function checkIn($id, CheckInRequest $postBody, $optParams = [])
{
$params = ['id' => $id, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('checkIn', [$params], CheckInResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsWorkers::class, 'Google_Service_Genomics_Resource_ProjectsWorkers');

View File

@@ -0,0 +1,52 @@
<?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\Genomics\Resource;
use Google\Service\Genomics\CheckInRequest;
use Google\Service\Genomics\CheckInResponse;
/**
* The "workers" collection of methods.
* Typical usage is:
* <code>
* $genomicsService = new Google\Service\Genomics(...);
* $workers = $genomicsService->workers;
* </code>
*/
class Workers extends \Google\Service\Resource
{
/**
* The worker uses this method to retrieve the assigned operation and provide
* periodic status updates. (workers.checkIn)
*
* @param string $id The VM identity token for authenticating the VM instance.
* https://cloud.google.com/compute/docs/instances/verifying-instance-identity
* @param CheckInRequest $postBody
* @param array $optParams Optional parameters.
* @return CheckInResponse
*/
public function checkIn($id, CheckInRequest $postBody, $optParams = [])
{
$params = ['id' => $id, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('checkIn', [$params], CheckInResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Workers::class, 'Google_Service_Genomics_Resource_Workers');

View File

@@ -0,0 +1,97 @@
<?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\Genomics;
class Resources extends \Google\Collection
{
protected $collection_key = 'zones';
/**
* @var string
*/
public $projectId;
/**
* @var string[]
*/
public $regions;
protected $virtualMachineType = VirtualMachine::class;
protected $virtualMachineDataType = '';
/**
* @var string[]
*/
public $zones;
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string[]
*/
public function setRegions($regions)
{
$this->regions = $regions;
}
/**
* @return string[]
*/
public function getRegions()
{
return $this->regions;
}
/**
* @param VirtualMachine
*/
public function setVirtualMachine(VirtualMachine $virtualMachine)
{
$this->virtualMachine = $virtualMachine;
}
/**
* @return VirtualMachine
*/
public function getVirtualMachine()
{
return $this->virtualMachine;
}
/**
* @param string[]
*/
public function setZones($zones)
{
$this->zones = $zones;
}
/**
* @return string[]
*/
public function getZones()
{
return $this->zones;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Resources::class, 'Google_Service_Genomics_Resources');

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\Genomics;
class RunPipelineRequest extends \Google\Model
{
/**
* @var string[]
*/
public $labels;
protected $pipelineType = Pipeline::class;
protected $pipelineDataType = '';
/**
* @var string
*/
public $pubSubTopic;
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param Pipeline
*/
public function setPipeline(Pipeline $pipeline)
{
$this->pipeline = $pipeline;
}
/**
* @return Pipeline
*/
public function getPipeline()
{
return $this->pipeline;
}
/**
* @param string
*/
public function setPubSubTopic($pubSubTopic)
{
$this->pubSubTopic = $pubSubTopic;
}
/**
* @return string
*/
public function getPubSubTopic()
{
return $this->pubSubTopic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunPipelineRequest::class, 'Google_Service_Genomics_RunPipelineRequest');

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\Genomics;
class RunPipelineResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunPipelineResponse::class, 'Google_Service_Genomics_RunPipelineResponse');

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\Genomics;
class Secret extends \Google\Model
{
/**
* @var string
*/
public $cipherText;
/**
* @var string
*/
public $keyName;
/**
* @param string
*/
public function setCipherText($cipherText)
{
$this->cipherText = $cipherText;
}
/**
* @return string
*/
public function getCipherText()
{
return $this->cipherText;
}
/**
* @param string
*/
public function setKeyName($keyName)
{
$this->keyName = $keyName;
}
/**
* @return string
*/
public function getKeyName()
{
return $this->keyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Secret::class, 'Google_Service_Genomics_Secret');

View File

@@ -0,0 +1,63 @@
<?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\Genomics;
class ServiceAccount extends \Google\Collection
{
protected $collection_key = 'scopes';
/**
* @var string
*/
public $email;
/**
* @var string[]
*/
public $scopes;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string[]
*/
public function setScopes($scopes)
{
$this->scopes = $scopes;
}
/**
* @return string[]
*/
public function getScopes()
{
return $this->scopes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAccount::class, 'Google_Service_Genomics_ServiceAccount');

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\Genomics;
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_Genomics_Status');

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\Genomics;
class TimestampedEvent extends \Google\Model
{
/**
* @var array[]
*/
public $data;
/**
* @var string
*/
public $timestamp;
/**
* @param array[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return array[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimestampedEvent::class, 'Google_Service_Genomics_TimestampedEvent');

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\Genomics;
class UnexpectedExitStatusEvent extends \Google\Model
{
/**
* @var int
*/
public $actionId;
/**
* @var int
*/
public $exitStatus;
/**
* @param int
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return int
*/
public function getActionId()
{
return $this->actionId;
}
/**
* @param int
*/
public function setExitStatus($exitStatus)
{
$this->exitStatus = $exitStatus;
}
/**
* @return int
*/
public function getExitStatus()
{
return $this->exitStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UnexpectedExitStatusEvent::class, 'Google_Service_Genomics_UnexpectedExitStatusEvent');

View File

@@ -0,0 +1,287 @@
<?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\Genomics;
class VirtualMachine extends \Google\Collection
{
protected $collection_key = 'volumes';
protected $acceleratorsType = Accelerator::class;
protected $acceleratorsDataType = 'array';
/**
* @var int
*/
public $bootDiskSizeGb;
/**
* @var string
*/
public $bootImage;
/**
* @var string
*/
public $cpuPlatform;
protected $disksType = Disk::class;
protected $disksDataType = 'array';
/**
* @var string[]
*/
public $dockerCacheImages;
/**
* @var bool
*/
public $enableStackdriverMonitoring;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $machineType;
protected $networkType = Network::class;
protected $networkDataType = '';
/**
* @var string
*/
public $nvidiaDriverVersion;
/**
* @var bool
*/
public $preemptible;
/**
* @var string
*/
public $reservation;
protected $serviceAccountType = ServiceAccount::class;
protected $serviceAccountDataType = '';
protected $volumesType = Volume::class;
protected $volumesDataType = 'array';
/**
* @param Accelerator[]
*/
public function setAccelerators($accelerators)
{
$this->accelerators = $accelerators;
}
/**
* @return Accelerator[]
*/
public function getAccelerators()
{
return $this->accelerators;
}
/**
* @param int
*/
public function setBootDiskSizeGb($bootDiskSizeGb)
{
$this->bootDiskSizeGb = $bootDiskSizeGb;
}
/**
* @return int
*/
public function getBootDiskSizeGb()
{
return $this->bootDiskSizeGb;
}
/**
* @param string
*/
public function setBootImage($bootImage)
{
$this->bootImage = $bootImage;
}
/**
* @return string
*/
public function getBootImage()
{
return $this->bootImage;
}
/**
* @param string
*/
public function setCpuPlatform($cpuPlatform)
{
$this->cpuPlatform = $cpuPlatform;
}
/**
* @return string
*/
public function getCpuPlatform()
{
return $this->cpuPlatform;
}
/**
* @param Disk[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return Disk[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param string[]
*/
public function setDockerCacheImages($dockerCacheImages)
{
$this->dockerCacheImages = $dockerCacheImages;
}
/**
* @return string[]
*/
public function getDockerCacheImages()
{
return $this->dockerCacheImages;
}
/**
* @param bool
*/
public function setEnableStackdriverMonitoring($enableStackdriverMonitoring)
{
$this->enableStackdriverMonitoring = $enableStackdriverMonitoring;
}
/**
* @return bool
*/
public function getEnableStackdriverMonitoring()
{
return $this->enableStackdriverMonitoring;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param Network
*/
public function setNetwork(Network $network)
{
$this->network = $network;
}
/**
* @return Network
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNvidiaDriverVersion($nvidiaDriverVersion)
{
$this->nvidiaDriverVersion = $nvidiaDriverVersion;
}
/**
* @return string
*/
public function getNvidiaDriverVersion()
{
return $this->nvidiaDriverVersion;
}
/**
* @param bool
*/
public function setPreemptible($preemptible)
{
$this->preemptible = $preemptible;
}
/**
* @return bool
*/
public function getPreemptible()
{
return $this->preemptible;
}
/**
* @param string
*/
public function setReservation($reservation)
{
$this->reservation = $reservation;
}
/**
* @return string
*/
public function getReservation()
{
return $this->reservation;
}
/**
* @param ServiceAccount
*/
public function setServiceAccount(ServiceAccount $serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return ServiceAccount
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VirtualMachine::class, 'Google_Service_Genomics_VirtualMachine');

View File

@@ -0,0 +1,92 @@
<?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\Genomics;
class Volume extends \Google\Model
{
protected $existingDiskType = ExistingDisk::class;
protected $existingDiskDataType = '';
protected $nfsMountType = NFSMount::class;
protected $nfsMountDataType = '';
protected $persistentDiskType = PersistentDisk::class;
protected $persistentDiskDataType = '';
/**
* @var string
*/
public $volume;
/**
* @param ExistingDisk
*/
public function setExistingDisk(ExistingDisk $existingDisk)
{
$this->existingDisk = $existingDisk;
}
/**
* @return ExistingDisk
*/
public function getExistingDisk()
{
return $this->existingDisk;
}
/**
* @param NFSMount
*/
public function setNfsMount(NFSMount $nfsMount)
{
$this->nfsMount = $nfsMount;
}
/**
* @return NFSMount
*/
public function getNfsMount()
{
return $this->nfsMount;
}
/**
* @param PersistentDisk
*/
public function setPersistentDisk(PersistentDisk $persistentDisk)
{
$this->persistentDisk = $persistentDisk;
}
/**
* @return PersistentDisk
*/
public function getPersistentDisk()
{
return $this->persistentDisk;
}
/**
* @param string
*/
public function setVolume($volume)
{
$this->volume = $volume;
}
/**
* @return string
*/
public function getVolume()
{
return $this->volume;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Volume::class, 'Google_Service_Genomics_Volume');

View File

@@ -0,0 +1,80 @@
<?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\Genomics;
class WorkerAssignedEvent extends \Google\Model
{
/**
* @var string
*/
public $instance;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setInstance($instance)
{
$this->instance = $instance;
}
/**
* @return string
*/
public function getInstance()
{
return $this->instance;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkerAssignedEvent::class, 'Google_Service_Genomics_WorkerAssignedEvent');

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\Genomics;
class WorkerReleasedEvent extends \Google\Model
{
/**
* @var string
*/
public $instance;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setInstance($instance)
{
$this->instance = $instance;
}
/**
* @return string
*/
public function getInstance()
{
return $this->instance;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkerReleasedEvent::class, 'Google_Service_Genomics_WorkerReleasedEvent');

View File

@@ -0,0 +1,112 @@
<?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\Genomics;
class WorkerStatus extends \Google\Model
{
protected $attachedDisksType = DiskStatus::class;
protected $attachedDisksDataType = 'map';
protected $bootDiskType = DiskStatus::class;
protected $bootDiskDataType = '';
/**
* @var string
*/
public $freeRamBytes;
/**
* @var string
*/
public $totalRamBytes;
/**
* @var string
*/
public $uptimeSeconds;
/**
* @param DiskStatus[]
*/
public function setAttachedDisks($attachedDisks)
{
$this->attachedDisks = $attachedDisks;
}
/**
* @return DiskStatus[]
*/
public function getAttachedDisks()
{
return $this->attachedDisks;
}
/**
* @param DiskStatus
*/
public function setBootDisk(DiskStatus $bootDisk)
{
$this->bootDisk = $bootDisk;
}
/**
* @return DiskStatus
*/
public function getBootDisk()
{
return $this->bootDisk;
}
/**
* @param string
*/
public function setFreeRamBytes($freeRamBytes)
{
$this->freeRamBytes = $freeRamBytes;
}
/**
* @return string
*/
public function getFreeRamBytes()
{
return $this->freeRamBytes;
}
/**
* @param string
*/
public function setTotalRamBytes($totalRamBytes)
{
$this->totalRamBytes = $totalRamBytes;
}
/**
* @return string
*/
public function getTotalRamBytes()
{
return $this->totalRamBytes;
}
/**
* @param string
*/
public function setUptimeSeconds($uptimeSeconds)
{
$this->uptimeSeconds = $uptimeSeconds;
}
/**
* @return string
*/
public function getUptimeSeconds()
{
return $this->uptimeSeconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkerStatus::class, 'Google_Service_Genomics_WorkerStatus');