Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 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.
*/
class Google_Service_ContainerAnalysis_Artifact extends Google_Collection
{
protected $collection_key = 'names';
public $checksum;
public $id;
public $name;
public $names;
public function setChecksum($checksum)
{
$this->checksum = $checksum;
}
public function getChecksum()
{
return $this->checksum;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNames($names)
{
$this->names = $names;
}
public function getNames()
{
return $this->names;
}
}

View File

@@ -0,0 +1,37 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Attestation extends Google_Model
{
protected $pgpSignedAttestationType = 'Google_Service_ContainerAnalysis_PgpSignedAttestation';
protected $pgpSignedAttestationDataType = '';
/**
* @param Google_Service_ContainerAnalysis_PgpSignedAttestation
*/
public function setPgpSignedAttestation(Google_Service_ContainerAnalysis_PgpSignedAttestation $pgpSignedAttestation)
{
$this->pgpSignedAttestation = $pgpSignedAttestation;
}
/**
* @return Google_Service_ContainerAnalysis_PgpSignedAttestation
*/
public function getPgpSignedAttestation()
{
return $this->pgpSignedAttestation;
}
}

View File

@@ -0,0 +1,37 @@
<?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.
*/
class Google_Service_ContainerAnalysis_AttestationAuthority extends Google_Model
{
protected $hintType = 'Google_Service_ContainerAnalysis_AttestationAuthorityHint';
protected $hintDataType = '';
/**
* @param Google_Service_ContainerAnalysis_AttestationAuthorityHint
*/
public function setHint(Google_Service_ContainerAnalysis_AttestationAuthorityHint $hint)
{
$this->hint = $hint;
}
/**
* @return Google_Service_ContainerAnalysis_AttestationAuthorityHint
*/
public function getHint()
{
return $this->hint;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_ContainerAnalysis_AttestationAuthorityHint extends Google_Model
{
public $humanReadableName;
public function setHumanReadableName($humanReadableName)
{
$this->humanReadableName = $humanReadableName;
}
public function getHumanReadableName()
{
return $this->humanReadableName;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_AuditConfig extends Google_Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = 'Google_Service_ContainerAnalysis_AuditLogConfig';
protected $auditLogConfigsDataType = 'array';
public $service;
/**
* @param Google_Service_ContainerAnalysis_AuditLogConfig
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return Google_Service_ContainerAnalysis_AuditLogConfig
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
public function setService($service)
{
$this->service = $service;
}
public function getService()
{
return $this->service;
}
}

View File

@@ -0,0 +1,40 @@
<?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.
*/
class Google_Service_ContainerAnalysis_AuditLogConfig extends Google_Collection
{
protected $collection_key = 'exemptedMembers';
public $exemptedMembers;
public $logType;
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
public function setLogType($logType)
{
$this->logType = $logType;
}
public function getLogType()
{
return $this->logType;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Basis extends Google_Model
{
protected $fingerprintType = 'Google_Service_ContainerAnalysis_Fingerprint';
protected $fingerprintDataType = '';
public $resourceUrl;
/**
* @param Google_Service_ContainerAnalysis_Fingerprint
*/
public function setFingerprint(Google_Service_ContainerAnalysis_Fingerprint $fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return Google_Service_ContainerAnalysis_Fingerprint
*/
public function getFingerprint()
{
return $this->fingerprint;
}
public function setResourceUrl($resourceUrl)
{
$this->resourceUrl = $resourceUrl;
}
public function getResourceUrl()
{
return $this->resourceUrl;
}
}

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.
*/
class Google_Service_ContainerAnalysis_Binding extends Google_Collection
{
protected $collection_key = 'members';
protected $conditionType = 'Google_Service_ContainerAnalysis_Expr';
protected $conditionDataType = '';
public $members;
public $role;
/**
* @param Google_Service_ContainerAnalysis_Expr
*/
public function setCondition(Google_Service_ContainerAnalysis_Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Google_Service_ContainerAnalysis_Expr
*/
public function getCondition()
{
return $this->condition;
}
public function setMembers($members)
{
$this->members = $members;
}
public function getMembers()
{
return $this->members;
}
public function setRole($role)
{
$this->role = $role;
}
public function getRole()
{
return $this->role;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_BuildDetails extends Google_Model
{
protected $provenanceType = 'Google_Service_ContainerAnalysis_BuildProvenance';
protected $provenanceDataType = '';
public $provenanceBytes;
/**
* @param Google_Service_ContainerAnalysis_BuildProvenance
*/
public function setProvenance(Google_Service_ContainerAnalysis_BuildProvenance $provenance)
{
$this->provenance = $provenance;
}
/**
* @return Google_Service_ContainerAnalysis_BuildProvenance
*/
public function getProvenance()
{
return $this->provenance;
}
public function setProvenanceBytes($provenanceBytes)
{
$this->provenanceBytes = $provenanceBytes;
}
public function getProvenanceBytes()
{
return $this->provenanceBytes;
}
}

View File

@@ -0,0 +1,160 @@
<?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.
*/
class Google_Service_ContainerAnalysis_BuildProvenance extends Google_Collection
{
protected $collection_key = 'commands';
public $buildOptions;
public $builderVersion;
protected $builtArtifactsType = 'Google_Service_ContainerAnalysis_Artifact';
protected $builtArtifactsDataType = 'array';
protected $commandsType = 'Google_Service_ContainerAnalysis_Command';
protected $commandsDataType = 'array';
public $createTime;
public $creator;
public $finishTime;
public $id;
public $logsBucket;
public $projectId;
protected $sourceProvenanceType = 'Google_Service_ContainerAnalysis_Source';
protected $sourceProvenanceDataType = '';
public $startTime;
public $triggerId;
public function setBuildOptions($buildOptions)
{
$this->buildOptions = $buildOptions;
}
public function getBuildOptions()
{
return $this->buildOptions;
}
public function setBuilderVersion($builderVersion)
{
$this->builderVersion = $builderVersion;
}
public function getBuilderVersion()
{
return $this->builderVersion;
}
/**
* @param Google_Service_ContainerAnalysis_Artifact
*/
public function setBuiltArtifacts($builtArtifacts)
{
$this->builtArtifacts = $builtArtifacts;
}
/**
* @return Google_Service_ContainerAnalysis_Artifact
*/
public function getBuiltArtifacts()
{
return $this->builtArtifacts;
}
/**
* @param Google_Service_ContainerAnalysis_Command
*/
public function setCommands($commands)
{
$this->commands = $commands;
}
/**
* @return Google_Service_ContainerAnalysis_Command
*/
public function getCommands()
{
return $this->commands;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCreator($creator)
{
$this->creator = $creator;
}
public function getCreator()
{
return $this->creator;
}
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
public function getFinishTime()
{
return $this->finishTime;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setLogsBucket($logsBucket)
{
$this->logsBucket = $logsBucket;
}
public function getLogsBucket()
{
return $this->logsBucket;
}
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
public function getProjectId()
{
return $this->projectId;
}
/**
* @param Google_Service_ContainerAnalysis_Source
*/
public function setSourceProvenance(Google_Service_ContainerAnalysis_Source $sourceProvenance)
{
$this->sourceProvenance = $sourceProvenance;
}
/**
* @return Google_Service_ContainerAnalysis_Source
*/
public function getSourceProvenance()
{
return $this->sourceProvenance;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
public function setTriggerId($triggerId)
{
$this->triggerId = $triggerId;
}
public function getTriggerId()
{
return $this->triggerId;
}
}

View File

@@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_ContainerAnalysis_BuildSignature extends Google_Model
{
public $keyId;
public $keyType;
public $publicKey;
public $signature;
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
public function getKeyId()
{
return $this->keyId;
}
public function setKeyType($keyType)
{
$this->keyType = $keyType;
}
public function getKeyType()
{
return $this->keyType;
}
public function setPublicKey($publicKey)
{
$this->publicKey = $publicKey;
}
public function getPublicKey()
{
return $this->publicKey;
}
public function setSignature($signature)
{
$this->signature = $signature;
}
public function getSignature()
{
return $this->signature;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_BuildType extends Google_Model
{
public $builderVersion;
protected $signatureType = 'Google_Service_ContainerAnalysis_BuildSignature';
protected $signatureDataType = '';
public function setBuilderVersion($builderVersion)
{
$this->builderVersion = $builderVersion;
}
public function getBuilderVersion()
{
return $this->builderVersion;
}
/**
* @param Google_Service_ContainerAnalysis_BuildSignature
*/
public function setSignature(Google_Service_ContainerAnalysis_BuildSignature $signature)
{
$this->signature = $signature;
}
/**
* @return Google_Service_ContainerAnalysis_BuildSignature
*/
public function getSignature()
{
return $this->signature;
}
}

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.
*/
class Google_Service_ContainerAnalysis_Command extends Google_Collection
{
protected $collection_key = 'waitFor';
public $args;
public $dir;
public $env;
public $id;
public $name;
public $waitFor;
public function setArgs($args)
{
$this->args = $args;
}
public function getArgs()
{
return $this->args;
}
public function setDir($dir)
{
$this->dir = $dir;
}
public function getDir()
{
return $this->dir;
}
public function setEnv($env)
{
$this->env = $env;
}
public function getEnv()
{
return $this->env;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setWaitFor($waitFor)
{
$this->waitFor = $waitFor;
}
public function getWaitFor()
{
return $this->waitFor;
}
}

View File

@@ -0,0 +1,20 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ContaineranalysisEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ContaineranalysisResource extends Google_Model
{
protected $contentHashType = 'Google_Service_ContainerAnalysis_Hash';
protected $contentHashDataType = '';
public $name;
public $uri;
/**
* @param Google_Service_ContainerAnalysis_Hash
*/
public function setContentHash(Google_Service_ContainerAnalysis_Hash $contentHash)
{
$this->contentHash = $contentHash;
}
/**
* @return Google_Service_ContainerAnalysis_Hash
*/
public function getContentHash()
{
return $this->contentHash;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_CreateOperationRequest extends Google_Model
{
protected $operationType = 'Google_Service_ContainerAnalysis_Operation';
protected $operationDataType = '';
public $operationId;
/**
* @param Google_Service_ContainerAnalysis_Operation
*/
public function setOperation(Google_Service_ContainerAnalysis_Operation $operation)
{
$this->operation = $operation;
}
/**
* @return Google_Service_ContainerAnalysis_Operation
*/
public function getOperation()
{
return $this->operation;
}
public function setOperationId($operationId)
{
$this->operationId = $operationId;
}
public function getOperationId()
{
return $this->operationId;
}
}

View File

@@ -0,0 +1,31 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Deployable extends Google_Collection
{
protected $collection_key = 'resourceUri';
public $resourceUri;
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
public function getResourceUri()
{
return $this->resourceUri;
}
}

View File

@@ -0,0 +1,85 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Deployment extends Google_Collection
{
protected $collection_key = 'resourceUri';
public $address;
public $config;
public $deployTime;
public $platform;
public $resourceUri;
public $undeployTime;
public $userEmail;
public function setAddress($address)
{
$this->address = $address;
}
public function getAddress()
{
return $this->address;
}
public function setConfig($config)
{
$this->config = $config;
}
public function getConfig()
{
return $this->config;
}
public function setDeployTime($deployTime)
{
$this->deployTime = $deployTime;
}
public function getDeployTime()
{
return $this->deployTime;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
public function getResourceUri()
{
return $this->resourceUri;
}
public function setUndeployTime($undeployTime)
{
$this->undeployTime = $undeployTime;
}
public function getUndeployTime()
{
return $this->undeployTime;
}
public function setUserEmail($userEmail)
{
$this->userEmail = $userEmail;
}
public function getUserEmail()
{
return $this->userEmail;
}
}

View File

@@ -0,0 +1,72 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Derived extends Google_Collection
{
protected $collection_key = 'layerInfo';
public $baseResourceUrl;
public $distance;
protected $fingerprintType = 'Google_Service_ContainerAnalysis_Fingerprint';
protected $fingerprintDataType = '';
protected $layerInfoType = 'Google_Service_ContainerAnalysis_Layer';
protected $layerInfoDataType = 'array';
public function setBaseResourceUrl($baseResourceUrl)
{
$this->baseResourceUrl = $baseResourceUrl;
}
public function getBaseResourceUrl()
{
return $this->baseResourceUrl;
}
public function setDistance($distance)
{
$this->distance = $distance;
}
public function getDistance()
{
return $this->distance;
}
/**
* @param Google_Service_ContainerAnalysis_Fingerprint
*/
public function setFingerprint(Google_Service_ContainerAnalysis_Fingerprint $fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return Google_Service_ContainerAnalysis_Fingerprint
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* @param Google_Service_ContainerAnalysis_Layer
*/
public function setLayerInfo($layerInfo)
{
$this->layerInfo = $layerInfo;
}
/**
* @return Google_Service_ContainerAnalysis_Layer
*/
public function getLayerInfo()
{
return $this->layerInfo;
}
}

View File

@@ -0,0 +1,123 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Detail extends Google_Model
{
public $cpeUri;
public $description;
protected $fixedLocationType = 'Google_Service_ContainerAnalysis_VulnerabilityLocation';
protected $fixedLocationDataType = '';
public $isObsolete;
protected $maxAffectedVersionType = 'Google_Service_ContainerAnalysis_Version';
protected $maxAffectedVersionDataType = '';
protected $minAffectedVersionType = 'Google_Service_ContainerAnalysis_Version';
protected $minAffectedVersionDataType = '';
public $package;
public $packageType;
public $severityName;
public function setCpeUri($cpeUri)
{
$this->cpeUri = $cpeUri;
}
public function getCpeUri()
{
return $this->cpeUri;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_ContainerAnalysis_VulnerabilityLocation
*/
public function setFixedLocation(Google_Service_ContainerAnalysis_VulnerabilityLocation $fixedLocation)
{
$this->fixedLocation = $fixedLocation;
}
/**
* @return Google_Service_ContainerAnalysis_VulnerabilityLocation
*/
public function getFixedLocation()
{
return $this->fixedLocation;
}
public function setIsObsolete($isObsolete)
{
$this->isObsolete = $isObsolete;
}
public function getIsObsolete()
{
return $this->isObsolete;
}
/**
* @param Google_Service_ContainerAnalysis_Version
*/
public function setMaxAffectedVersion(Google_Service_ContainerAnalysis_Version $maxAffectedVersion)
{
$this->maxAffectedVersion = $maxAffectedVersion;
}
/**
* @return Google_Service_ContainerAnalysis_Version
*/
public function getMaxAffectedVersion()
{
return $this->maxAffectedVersion;
}
/**
* @param Google_Service_ContainerAnalysis_Version
*/
public function setMinAffectedVersion(Google_Service_ContainerAnalysis_Version $minAffectedVersion)
{
$this->minAffectedVersion = $minAffectedVersion;
}
/**
* @return Google_Service_ContainerAnalysis_Version
*/
public function getMinAffectedVersion()
{
return $this->minAffectedVersion;
}
public function setPackage($package)
{
$this->package = $package;
}
public function getPackage()
{
return $this->package;
}
public function setPackageType($packageType)
{
$this->packageType = $packageType;
}
public function getPackageType()
{
return $this->packageType;
}
public function setSeverityName($severityName)
{
$this->severityName = $severityName;
}
public function getSeverityName()
{
return $this->severityName;
}
}

View File

@@ -0,0 +1,71 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Discovered extends Google_Model
{
public $analysisStatus;
protected $analysisStatusErrorType = 'Google_Service_ContainerAnalysis_Status';
protected $analysisStatusErrorDataType = '';
public $continuousAnalysis;
protected $operationType = 'Google_Service_ContainerAnalysis_Operation';
protected $operationDataType = '';
public function setAnalysisStatus($analysisStatus)
{
$this->analysisStatus = $analysisStatus;
}
public function getAnalysisStatus()
{
return $this->analysisStatus;
}
/**
* @param Google_Service_ContainerAnalysis_Status
*/
public function setAnalysisStatusError(Google_Service_ContainerAnalysis_Status $analysisStatusError)
{
$this->analysisStatusError = $analysisStatusError;
}
/**
* @return Google_Service_ContainerAnalysis_Status
*/
public function getAnalysisStatusError()
{
return $this->analysisStatusError;
}
public function setContinuousAnalysis($continuousAnalysis)
{
$this->continuousAnalysis = $continuousAnalysis;
}
public function getContinuousAnalysis()
{
return $this->continuousAnalysis;
}
/**
* @param Google_Service_ContainerAnalysis_Operation
*/
public function setOperation(Google_Service_ContainerAnalysis_Operation $operation)
{
$this->operation = $operation;
}
/**
* @return Google_Service_ContainerAnalysis_Operation
*/
public function getOperation()
{
return $this->operation;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Discovery extends Google_Model
{
public $analysisKind;
public function setAnalysisKind($analysisKind)
{
$this->analysisKind = $analysisKind;
}
public function getAnalysisKind()
{
return $this->analysisKind;
}
}

View File

@@ -0,0 +1,82 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Distribution extends Google_Model
{
public $architecture;
public $cpeUri;
public $description;
protected $latestVersionType = 'Google_Service_ContainerAnalysis_Version';
protected $latestVersionDataType = '';
public $maintainer;
public $url;
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
public function getArchitecture()
{
return $this->architecture;
}
public function setCpeUri($cpeUri)
{
$this->cpeUri = $cpeUri;
}
public function getCpeUri()
{
return $this->cpeUri;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_ContainerAnalysis_Version
*/
public function setLatestVersion(Google_Service_ContainerAnalysis_Version $latestVersion)
{
$this->latestVersion = $latestVersion;
}
/**
* @return Google_Service_ContainerAnalysis_Version
*/
public function getLatestVersion()
{
return $this->latestVersion;
}
public function setMaintainer($maintainer)
{
$this->maintainer = $maintainer;
}
public function getMaintainer()
{
return $this->maintainer;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Expr extends Google_Model
{
public $description;
public $expression;
public $location;
public $title;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setExpression($expression)
{
$this->expression = $expression;
}
public function getExpression()
{
return $this->expression;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,38 @@
<?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.
*/
class Google_Service_ContainerAnalysis_FileHashes extends Google_Collection
{
protected $collection_key = 'fileHash';
protected $fileHashType = 'Google_Service_ContainerAnalysis_Hash';
protected $fileHashDataType = 'array';
/**
* @param Google_Service_ContainerAnalysis_Hash
*/
public function setFileHash($fileHash)
{
$this->fileHash = $fileHash;
}
/**
* @return Google_Service_ContainerAnalysis_Hash
*/
public function getFileHash()
{
return $this->fileHash;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Fingerprint extends Google_Collection
{
protected $collection_key = 'v2Blob';
public $v1Name;
public $v2Blob;
public $v2Name;
public function setV1Name($v1Name)
{
$this->v1Name = $v1Name;
}
public function getV1Name()
{
return $this->v1Name;
}
public function setV2Blob($v2Blob)
{
$this->v2Blob = $v2Blob;
}
public function getV2Blob()
{
return $this->v2Blob;
}
public function setV2Name($v2Name)
{
$this->v2Name = $v2Name;
}
public function getV2Name()
{
return $this->v2Name;
}
}

View File

@@ -0,0 +1,20 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GetIamPolicyRequest extends Google_Model
{
}

View File

@@ -0,0 +1,38 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GetVulnzOccurrencesSummaryResponse extends Google_Collection
{
protected $collection_key = 'counts';
protected $countsType = 'Google_Service_ContainerAnalysis_SeverityCount';
protected $countsDataType = 'array';
/**
* @param Google_Service_ContainerAnalysis_SeverityCount
*/
public function setCounts($counts)
{
$this->counts = $counts;
}
/**
* @return Google_Service_ContainerAnalysis_SeverityCount
*/
public function getCounts()
{
return $this->counts;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext extends Google_Model
{
public $kind;
public $name;
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext extends Google_Model
{
protected $aliasContextType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext';
protected $aliasContextDataType = '';
protected $repoIdType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1RepoId';
protected $repoIdDataType = '';
public $revisionId;
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext
*/
public function setAliasContext(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext $aliasContext)
{
$this->aliasContext = $aliasContext;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext
*/
public function getAliasContext()
{
return $this->aliasContext;
}
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1RepoId
*/
public function setRepoId(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1RepoId $repoId)
{
$this->repoId = $repoId;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1RepoId
*/
public function getRepoId()
{
return $this->repoId;
}
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
public function getRevisionId()
{
return $this->revisionId;
}
}

View File

@@ -0,0 +1,64 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext extends Google_Model
{
protected $aliasContextType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext';
protected $aliasContextDataType = '';
public $gerritProject;
public $hostUri;
public $revisionId;
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext
*/
public function setAliasContext(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext $aliasContext)
{
$this->aliasContext = $aliasContext;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1AliasContext
*/
public function getAliasContext()
{
return $this->aliasContext;
}
public function setGerritProject($gerritProject)
{
$this->gerritProject = $gerritProject;
}
public function getGerritProject()
{
return $this->gerritProject;
}
public function setHostUri($hostUri)
{
$this->hostUri = $hostUri;
}
public function getHostUri()
{
return $this->hostUri;
}
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
public function getRevisionId()
{
return $this->revisionId;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext extends Google_Model
{
public $revisionId;
public $url;
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
public function getRevisionId()
{
return $this->revisionId;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata extends Google_Model
{
public $createTime;
public $endTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId extends Google_Model
{
public $projectId;
public $repoName;
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
public function getProjectId()
{
return $this->projectId;
}
public function setRepoName($repoName)
{
$this->repoName = $repoName;
}
public function getRepoName()
{
return $this->repoName;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1RepoId extends Google_Model
{
protected $projectRepoIdType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId';
protected $projectRepoIdDataType = '';
public $uid;
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId
*/
public function setProjectRepoId(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId $projectRepoId)
{
$this->projectRepoId = $projectRepoId;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId
*/
public function getProjectRepoId()
{
return $this->projectRepoId;
}
public function setUid($uid)
{
$this->uid = $uid;
}
public function getUid()
{
return $this->uid;
}
}

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.
*/
class Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext extends Google_Model
{
protected $cloudRepoType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext';
protected $cloudRepoDataType = '';
protected $gerritType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext';
protected $gerritDataType = '';
protected $gitType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext';
protected $gitDataType = '';
public $labels;
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
*/
public function setCloudRepo(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext $cloudRepo)
{
$this->cloudRepo = $cloudRepo;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
*/
public function getCloudRepo()
{
return $this->cloudRepo;
}
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext
*/
public function setGerrit(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext $gerrit)
{
$this->gerrit = $gerrit;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext
*/
public function getGerrit()
{
return $this->gerrit;
}
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext
*/
public function setGit(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext $git)
{
$this->git = $git;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext
*/
public function getGit()
{
return $this->git;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Hash extends Google_Model
{
public $type;
public $value;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Installation extends Google_Collection
{
protected $collection_key = 'location';
protected $locationType = 'Google_Service_ContainerAnalysis_Location';
protected $locationDataType = 'array';
public $name;
/**
* @param Google_Service_ContainerAnalysis_Location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return Google_Service_ContainerAnalysis_Location
*/
public function getLocation()
{
return $this->location;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Layer extends Google_Model
{
public $arguments;
public $directive;
public function setArguments($arguments)
{
$this->arguments = $arguments;
}
public function getArguments()
{
return $this->arguments;
}
public function setDirective($directive)
{
$this->directive = $directive;
}
public function getDirective()
{
return $this->directive;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ListNoteOccurrencesResponse extends Google_Collection
{
protected $collection_key = 'occurrences';
public $nextPageToken;
protected $occurrencesType = 'Google_Service_ContainerAnalysis_Occurrence';
protected $occurrencesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_ContainerAnalysis_Occurrence
*/
public function setOccurrences($occurrences)
{
$this->occurrences = $occurrences;
}
/**
* @return Google_Service_ContainerAnalysis_Occurrence
*/
public function getOccurrences()
{
return $this->occurrences;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ListNotesResponse extends Google_Collection
{
protected $collection_key = 'notes';
public $nextPageToken;
protected $notesType = 'Google_Service_ContainerAnalysis_Note';
protected $notesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_ContainerAnalysis_Note
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_ContainerAnalysis_Note
*/
public function getNotes()
{
return $this->notes;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ListOccurrencesResponse extends Google_Collection
{
protected $collection_key = 'occurrences';
public $nextPageToken;
protected $occurrencesType = 'Google_Service_ContainerAnalysis_Occurrence';
protected $occurrencesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_ContainerAnalysis_Occurrence
*/
public function setOccurrences($occurrences)
{
$this->occurrences = $occurrences;
}
/**
* @return Google_Service_ContainerAnalysis_Occurrence
*/
public function getOccurrences()
{
return $this->occurrences;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ListScanConfigsResponse extends Google_Collection
{
protected $collection_key = 'scanConfigs';
public $nextPageToken;
protected $scanConfigsType = 'Google_Service_ContainerAnalysis_ScanConfig';
protected $scanConfigsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_ContainerAnalysis_ScanConfig
*/
public function setScanConfigs($scanConfigs)
{
$this->scanConfigs = $scanConfigs;
}
/**
* @return Google_Service_ContainerAnalysis_ScanConfig
*/
public function getScanConfigs()
{
return $this->scanConfigs;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Location extends Google_Model
{
public $cpeUri;
public $path;
protected $versionType = 'Google_Service_ContainerAnalysis_Version';
protected $versionDataType = '';
public function setCpeUri($cpeUri)
{
$this->cpeUri = $cpeUri;
}
public function getCpeUri()
{
return $this->cpeUri;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
/**
* @param Google_Service_ContainerAnalysis_Version
*/
public function setVersion(Google_Service_ContainerAnalysis_Version $version)
{
$this->version = $version;
}
/**
* @return Google_Service_ContainerAnalysis_Version
*/
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,213 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Note extends Google_Collection
{
protected $collection_key = 'relatedUrl';
protected $attestationAuthorityType = 'Google_Service_ContainerAnalysis_AttestationAuthority';
protected $attestationAuthorityDataType = '';
protected $baseImageType = 'Google_Service_ContainerAnalysis_Basis';
protected $baseImageDataType = '';
protected $buildTypeType = 'Google_Service_ContainerAnalysis_BuildType';
protected $buildTypeDataType = '';
public $createTime;
protected $deployableType = 'Google_Service_ContainerAnalysis_Deployable';
protected $deployableDataType = '';
protected $discoveryType = 'Google_Service_ContainerAnalysis_Discovery';
protected $discoveryDataType = '';
public $expirationTime;
public $kind;
public $longDescription;
public $name;
protected $packageType = 'Google_Service_ContainerAnalysis_Package';
protected $packageDataType = '';
protected $relatedUrlType = 'Google_Service_ContainerAnalysis_RelatedUrl';
protected $relatedUrlDataType = 'array';
public $shortDescription;
public $updateTime;
protected $vulnerabilityTypeType = 'Google_Service_ContainerAnalysis_VulnerabilityType';
protected $vulnerabilityTypeDataType = '';
/**
* @param Google_Service_ContainerAnalysis_AttestationAuthority
*/
public function setAttestationAuthority(Google_Service_ContainerAnalysis_AttestationAuthority $attestationAuthority)
{
$this->attestationAuthority = $attestationAuthority;
}
/**
* @return Google_Service_ContainerAnalysis_AttestationAuthority
*/
public function getAttestationAuthority()
{
return $this->attestationAuthority;
}
/**
* @param Google_Service_ContainerAnalysis_Basis
*/
public function setBaseImage(Google_Service_ContainerAnalysis_Basis $baseImage)
{
$this->baseImage = $baseImage;
}
/**
* @return Google_Service_ContainerAnalysis_Basis
*/
public function getBaseImage()
{
return $this->baseImage;
}
/**
* @param Google_Service_ContainerAnalysis_BuildType
*/
public function setBuildType(Google_Service_ContainerAnalysis_BuildType $buildType)
{
$this->buildType = $buildType;
}
/**
* @return Google_Service_ContainerAnalysis_BuildType
*/
public function getBuildType()
{
return $this->buildType;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Google_Service_ContainerAnalysis_Deployable
*/
public function setDeployable(Google_Service_ContainerAnalysis_Deployable $deployable)
{
$this->deployable = $deployable;
}
/**
* @return Google_Service_ContainerAnalysis_Deployable
*/
public function getDeployable()
{
return $this->deployable;
}
/**
* @param Google_Service_ContainerAnalysis_Discovery
*/
public function setDiscovery(Google_Service_ContainerAnalysis_Discovery $discovery)
{
$this->discovery = $discovery;
}
/**
* @return Google_Service_ContainerAnalysis_Discovery
*/
public function getDiscovery()
{
return $this->discovery;
}
public function setExpirationTime($expirationTime)
{
$this->expirationTime = $expirationTime;
}
public function getExpirationTime()
{
return $this->expirationTime;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLongDescription($longDescription)
{
$this->longDescription = $longDescription;
}
public function getLongDescription()
{
return $this->longDescription;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ContainerAnalysis_Package
*/
public function setPackage(Google_Service_ContainerAnalysis_Package $package)
{
$this->package = $package;
}
/**
* @return Google_Service_ContainerAnalysis_Package
*/
public function getPackage()
{
return $this->package;
}
/**
* @param Google_Service_ContainerAnalysis_RelatedUrl
*/
public function setRelatedUrl($relatedUrl)
{
$this->relatedUrl = $relatedUrl;
}
/**
* @return Google_Service_ContainerAnalysis_RelatedUrl
*/
public function getRelatedUrl()
{
return $this->relatedUrl;
}
public function setShortDescription($shortDescription)
{
$this->shortDescription = $shortDescription;
}
public function getShortDescription()
{
return $this->shortDescription;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param Google_Service_ContainerAnalysis_VulnerabilityType
*/
public function setVulnerabilityType(Google_Service_ContainerAnalysis_VulnerabilityType $vulnerabilityType)
{
$this->vulnerabilityType = $vulnerabilityType;
}
/**
* @return Google_Service_ContainerAnalysis_VulnerabilityType
*/
public function getVulnerabilityType()
{
return $this->vulnerabilityType;
}
}

View File

@@ -0,0 +1,212 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Occurrence extends Google_Model
{
protected $attestationType = 'Google_Service_ContainerAnalysis_Attestation';
protected $attestationDataType = '';
protected $buildDetailsType = 'Google_Service_ContainerAnalysis_BuildDetails';
protected $buildDetailsDataType = '';
public $createTime;
protected $deploymentType = 'Google_Service_ContainerAnalysis_Deployment';
protected $deploymentDataType = '';
protected $derivedImageType = 'Google_Service_ContainerAnalysis_Derived';
protected $derivedImageDataType = '';
protected $discoveredType = 'Google_Service_ContainerAnalysis_Discovered';
protected $discoveredDataType = '';
protected $installationType = 'Google_Service_ContainerAnalysis_Installation';
protected $installationDataType = '';
public $kind;
public $name;
public $noteName;
public $remediation;
protected $resourceType = 'Google_Service_ContainerAnalysis_ContaineranalysisResource';
protected $resourceDataType = '';
public $resourceUrl;
public $updateTime;
protected $vulnerabilityDetailsType = 'Google_Service_ContainerAnalysis_VulnerabilityDetails';
protected $vulnerabilityDetailsDataType = '';
/**
* @param Google_Service_ContainerAnalysis_Attestation
*/
public function setAttestation(Google_Service_ContainerAnalysis_Attestation $attestation)
{
$this->attestation = $attestation;
}
/**
* @return Google_Service_ContainerAnalysis_Attestation
*/
public function getAttestation()
{
return $this->attestation;
}
/**
* @param Google_Service_ContainerAnalysis_BuildDetails
*/
public function setBuildDetails(Google_Service_ContainerAnalysis_BuildDetails $buildDetails)
{
$this->buildDetails = $buildDetails;
}
/**
* @return Google_Service_ContainerAnalysis_BuildDetails
*/
public function getBuildDetails()
{
return $this->buildDetails;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Google_Service_ContainerAnalysis_Deployment
*/
public function setDeployment(Google_Service_ContainerAnalysis_Deployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return Google_Service_ContainerAnalysis_Deployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* @param Google_Service_ContainerAnalysis_Derived
*/
public function setDerivedImage(Google_Service_ContainerAnalysis_Derived $derivedImage)
{
$this->derivedImage = $derivedImage;
}
/**
* @return Google_Service_ContainerAnalysis_Derived
*/
public function getDerivedImage()
{
return $this->derivedImage;
}
/**
* @param Google_Service_ContainerAnalysis_Discovered
*/
public function setDiscovered(Google_Service_ContainerAnalysis_Discovered $discovered)
{
$this->discovered = $discovered;
}
/**
* @return Google_Service_ContainerAnalysis_Discovered
*/
public function getDiscovered()
{
return $this->discovered;
}
/**
* @param Google_Service_ContainerAnalysis_Installation
*/
public function setInstallation(Google_Service_ContainerAnalysis_Installation $installation)
{
$this->installation = $installation;
}
/**
* @return Google_Service_ContainerAnalysis_Installation
*/
public function getInstallation()
{
return $this->installation;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNoteName($noteName)
{
$this->noteName = $noteName;
}
public function getNoteName()
{
return $this->noteName;
}
public function setRemediation($remediation)
{
$this->remediation = $remediation;
}
public function getRemediation()
{
return $this->remediation;
}
/**
* @param Google_Service_ContainerAnalysis_ContaineranalysisResource
*/
public function setResource(Google_Service_ContainerAnalysis_ContaineranalysisResource $resource)
{
$this->resource = $resource;
}
/**
* @return Google_Service_ContainerAnalysis_ContaineranalysisResource
*/
public function getResource()
{
return $this->resource;
}
public function setResourceUrl($resourceUrl)
{
$this->resourceUrl = $resourceUrl;
}
public function getResourceUrl()
{
return $this->resourceUrl;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param Google_Service_ContainerAnalysis_VulnerabilityDetails
*/
public function setVulnerabilityDetails(Google_Service_ContainerAnalysis_VulnerabilityDetails $vulnerabilityDetails)
{
$this->vulnerabilityDetails = $vulnerabilityDetails;
}
/**
* @return Google_Service_ContainerAnalysis_VulnerabilityDetails
*/
public function getVulnerabilityDetails()
{
return $this->vulnerabilityDetails;
}
}

View File

@@ -0,0 +1,73 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_ContainerAnalysis_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_ContainerAnalysis_Status
*/
public function setError(Google_Service_ContainerAnalysis_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_ContainerAnalysis_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Package extends Google_Collection
{
protected $collection_key = 'distribution';
protected $distributionType = 'Google_Service_ContainerAnalysis_Distribution';
protected $distributionDataType = 'array';
public $name;
/**
* @param Google_Service_ContainerAnalysis_Distribution
*/
public function setDistribution($distribution)
{
$this->distribution = $distribution;
}
/**
* @return Google_Service_ContainerAnalysis_Distribution
*/
public function getDistribution()
{
return $this->distribution;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

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.
*/
class Google_Service_ContainerAnalysis_PackageIssue extends Google_Model
{
protected $affectedLocationType = 'Google_Service_ContainerAnalysis_VulnerabilityLocation';
protected $affectedLocationDataType = '';
protected $fixedLocationType = 'Google_Service_ContainerAnalysis_VulnerabilityLocation';
protected $fixedLocationDataType = '';
public $severityName;
/**
* @param Google_Service_ContainerAnalysis_VulnerabilityLocation
*/
public function setAffectedLocation(Google_Service_ContainerAnalysis_VulnerabilityLocation $affectedLocation)
{
$this->affectedLocation = $affectedLocation;
}
/**
* @return Google_Service_ContainerAnalysis_VulnerabilityLocation
*/
public function getAffectedLocation()
{
return $this->affectedLocation;
}
/**
* @param Google_Service_ContainerAnalysis_VulnerabilityLocation
*/
public function setFixedLocation(Google_Service_ContainerAnalysis_VulnerabilityLocation $fixedLocation)
{
$this->fixedLocation = $fixedLocation;
}
/**
* @return Google_Service_ContainerAnalysis_VulnerabilityLocation
*/
public function getFixedLocation()
{
return $this->fixedLocation;
}
public function setSeverityName($severityName)
{
$this->severityName = $severityName;
}
public function getSeverityName()
{
return $this->severityName;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_ContainerAnalysis_PgpSignedAttestation extends Google_Model
{
public $contentType;
public $pgpKeyId;
public $signature;
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
public function getContentType()
{
return $this->contentType;
}
public function setPgpKeyId($pgpKeyId)
{
$this->pgpKeyId = $pgpKeyId;
}
public function getPgpKeyId()
{
return $this->pgpKeyId;
}
public function setSignature($signature)
{
$this->signature = $signature;
}
public function getSignature()
{
return $this->signature;
}
}

View File

@@ -0,0 +1,72 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Policy extends Google_Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = 'Google_Service_ContainerAnalysis_AuditConfig';
protected $auditConfigsDataType = 'array';
protected $bindingsType = 'Google_Service_ContainerAnalysis_Binding';
protected $bindingsDataType = 'array';
public $etag;
public $version;
/**
* @param Google_Service_ContainerAnalysis_AuditConfig
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return Google_Service_ContainerAnalysis_AuditConfig
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Google_Service_ContainerAnalysis_Binding
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Google_Service_ContainerAnalysis_Binding
*/
public function getBindings()
{
return $this->bindings;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_RelatedUrl extends Google_Model
{
public $label;
public $url;
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,66 @@
<?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.
*/
class Google_Service_ContainerAnalysis_RepoSource extends Google_Model
{
public $branchName;
public $commitSha;
public $projectId;
public $repoName;
public $tagName;
public function setBranchName($branchName)
{
$this->branchName = $branchName;
}
public function getBranchName()
{
return $this->branchName;
}
public function setCommitSha($commitSha)
{
$this->commitSha = $commitSha;
}
public function getCommitSha()
{
return $this->commitSha;
}
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
public function getProjectId()
{
return $this->projectId;
}
public function setRepoName($repoName)
{
$this->repoName = $repoName;
}
public function getRepoName()
{
return $this->repoName;
}
public function setTagName($tagName)
{
$this->tagName = $tagName;
}
public function getTagName()
{
return $this->tagName;
}
}

View File

@@ -0,0 +1,28 @@
<?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.
*/
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $projects = $containeranalysisService->projects;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_Projects extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,188 @@
<?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.
*/
/**
* The "notes" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $notes = $containeranalysisService->notes;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProjectsNotes extends Google_Service_Resource
{
/**
* Creates a new `Note`. (notes.create)
*
* @param string $parent This field contains the project Id for example:
* "projects/{project_id}
* @param Google_Service_ContainerAnalysis_Note $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string noteId The ID to use for this note.
* @opt_param string name The name of the project. Should be of the form
* "providers/{provider_id}". @Deprecated
* @return Google_Service_ContainerAnalysis_Note
*/
public function create($parent, Google_Service_ContainerAnalysis_Note $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Deletes the given `Note` from the system. (notes.delete)
*
* @param string $name The name of the note in the form of
* "providers/{provider_id}/notes/{NOTE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_ContaineranalysisEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_ContainerAnalysis_ContaineranalysisEmpty");
}
/**
* Returns the requested `Note`. (notes.get)
*
* @param string $name The name of the note in the form of
* "providers/{provider_id}/notes/{NOTE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Note
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Gets the access control policy for a note or an `Occurrence` resource.
* Requires `containeranalysis.notes.setIamPolicy` or
* `containeranalysis.occurrences.setIamPolicy` permission if the resource is a
* note or occurrence, respectively. Attempting to call this method on a
* resource without the required permission will result in a `PERMISSION_DENIED`
* error. Attempting to call this method on a non-existent resource will result
* in a `NOT_FOUND` error if the user has list permission on the project, or a
* `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences
* and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes (notes.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_ContainerAnalysis_GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Policy
*/
public function getIamPolicy($resource, Google_Service_ContainerAnalysis_GetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_ContainerAnalysis_Policy");
}
/**
* Lists all `Notes` for a given project. (notes.listProjectsNotes)
*
* @param string $parent This field contains the project Id for example:
* "projects/{PROJECT_ID}".
* @param array $optParams Optional parameters.
*
* @opt_param string name The name field will contain the project Id for
* example: "providers/{provider_id} @Deprecated
* @opt_param string pageToken Token to provide to skip to a particular spot in
* the list.
* @opt_param int pageSize Number of notes to return in the list.
* @opt_param string filter The filter expression.
* @return Google_Service_ContainerAnalysis_ListNotesResponse
*/
public function listProjectsNotes($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ContainerAnalysis_ListNotesResponse");
}
/**
* Updates an existing `Note`. (notes.patch)
*
* @param string $name The name of the note. Should be of the form
* "projects/{provider_id}/notes/{note_id}".
* @param Google_Service_ContainerAnalysis_Note $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The fields to update.
* @return Google_Service_ContainerAnalysis_Note
*/
public function patch($name, Google_Service_ContainerAnalysis_Note $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Sets the access control policy on the specified `Note` or `Occurrence`.
* Requires `containeranalysis.notes.setIamPolicy` or
* `containeranalysis.occurrences.setIamPolicy` permission if the resource is a
* `Note` or an `Occurrence`, respectively. Attempting to call this method
* without these permissions will result in a ` `PERMISSION_DENIED` error.
* Attempting to call this method on a non-existent resource will result in a
* `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
* on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a
* `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
* and projects/{projectid}/notes/{noteid} for notes (notes.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_ContainerAnalysis_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Policy
*/
public function setIamPolicy($resource, Google_Service_ContainerAnalysis_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_ContainerAnalysis_Policy");
}
/**
* Returns the permissions that a caller has on the specified note or occurrence
* resource. Requires list permission on the project (for example,
* "storage.objects.list" on the containing bucket for testing permission of an
* object). Attempting to call this method on a non-existent resource will
* result in a `NOT_FOUND` error if the user has list permission on the project,
* or a `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
* `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
* (notes.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_ContainerAnalysis_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_ContainerAnalysis_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_ContainerAnalysis_TestIamPermissionsResponse");
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
/**
* The "occurrences" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $occurrences = $containeranalysisService->occurrences;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProjectsNotesOccurrences extends Google_Service_Resource
{
/**
* Lists `Occurrences` referencing the specified `Note`. Use this method to get
* all occurrences referencing your `Note` across all your customer projects.
* (occurrences.listProjectsNotesOccurrences)
*
* @param string $name The name field will contain the note name for example:
* "provider/{provider_id}/notes/{note_id}"
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression.
* @opt_param string pageToken Token to provide to skip to a particular spot in
* the list.
* @opt_param int pageSize Number of notes to return in the list.
* @return Google_Service_ContainerAnalysis_ListNoteOccurrencesResponse
*/
public function listProjectsNotesOccurrences($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ContainerAnalysis_ListNoteOccurrencesResponse");
}
}

View File

@@ -0,0 +1,223 @@
<?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.
*/
/**
* The "occurrences" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $occurrences = $containeranalysisService->occurrences;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProjectsOccurrences extends Google_Service_Resource
{
/**
* Creates a new `Occurrence`. Use this method to create `Occurrences` for a
* resource. (occurrences.create)
*
* @param string $parent This field contains the project Id for example:
* "projects/{project_id}"
* @param Google_Service_ContainerAnalysis_Occurrence $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string name The name of the project. Should be of the form
* "projects/{project_id}". @Deprecated
* @return Google_Service_ContainerAnalysis_Occurrence
*/
public function create($parent, Google_Service_ContainerAnalysis_Occurrence $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ContainerAnalysis_Occurrence");
}
/**
* Deletes the given `Occurrence` from the system. Use this when an `Occurrence`
* is no longer applicable for the given resource. (occurrences.delete)
*
* @param string $name The name of the occurrence in the form of
* "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_ContaineranalysisEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_ContainerAnalysis_ContaineranalysisEmpty");
}
/**
* Returns the requested `Occurrence`. (occurrences.get)
*
* @param string $name The name of the occurrence of the form
* "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Occurrence
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ContainerAnalysis_Occurrence");
}
/**
* Gets the access control policy for a note or an `Occurrence` resource.
* Requires `containeranalysis.notes.setIamPolicy` or
* `containeranalysis.occurrences.setIamPolicy` permission if the resource is a
* note or occurrence, respectively. Attempting to call this method on a
* resource without the required permission will result in a `PERMISSION_DENIED`
* error. Attempting to call this method on a non-existent resource will result
* in a `NOT_FOUND` error if the user has list permission on the project, or a
* `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences
* and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
* (occurrences.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_ContainerAnalysis_GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Policy
*/
public function getIamPolicy($resource, Google_Service_ContainerAnalysis_GetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_ContainerAnalysis_Policy");
}
/**
* Gets the `Note` attached to the given `Occurrence`. (occurrences.getNotes)
*
* @param string $name The name of the occurrence in the form
* "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Note
*/
public function getNotes($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getNotes', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Gets a summary of the number and severity of occurrences.
* (occurrences.getVulnerabilitySummary)
*
* @param string $parent This contains the project Id for example:
* projects/{project_id}
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression.
* @return Google_Service_ContainerAnalysis_GetVulnzOccurrencesSummaryResponse
*/
public function getVulnerabilitySummary($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('getVulnerabilitySummary', array($params), "Google_Service_ContainerAnalysis_GetVulnzOccurrencesSummaryResponse");
}
/**
* Lists active `Occurrences` for a given project matching the filters.
* (occurrences.listProjectsOccurrences)
*
* @param string $parent This contains the project Id for example:
* projects/{project_id}.
* @param array $optParams Optional parameters.
*
* @opt_param string name The name field contains the project Id. For example:
* "projects/{project_id} @Deprecated
* @opt_param string filter The filter expression.
* @opt_param string pageToken Token to provide to skip to a particular spot in
* the list.
* @opt_param string kind The kind of occurrences to filter on.
* @opt_param int pageSize Number of occurrences to return in the list.
* @return Google_Service_ContainerAnalysis_ListOccurrencesResponse
*/
public function listProjectsOccurrences($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ContainerAnalysis_ListOccurrencesResponse");
}
/**
* Updates an existing occurrence. (occurrences.patch)
*
* @param string $name The name of the occurrence. Should be of the form
* "projects/{project_id}/occurrences/{OCCURRENCE_ID}".
* @param Google_Service_ContainerAnalysis_Occurrence $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The fields to update.
* @return Google_Service_ContainerAnalysis_Occurrence
*/
public function patch($name, Google_Service_ContainerAnalysis_Occurrence $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_ContainerAnalysis_Occurrence");
}
/**
* Sets the access control policy on the specified `Note` or `Occurrence`.
* Requires `containeranalysis.notes.setIamPolicy` or
* `containeranalysis.occurrences.setIamPolicy` permission if the resource is a
* `Note` or an `Occurrence`, respectively. Attempting to call this method
* without these permissions will result in a ` `PERMISSION_DENIED` error.
* Attempting to call this method on a non-existent resource will result in a
* `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
* on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a
* `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
* and projects/{projectid}/notes/{noteid} for notes (occurrences.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_ContainerAnalysis_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Policy
*/
public function setIamPolicy($resource, Google_Service_ContainerAnalysis_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_ContainerAnalysis_Policy");
}
/**
* Returns the permissions that a caller has on the specified note or occurrence
* resource. Requires list permission on the project (for example,
* "storage.objects.list" on the containing bucket for testing permission of an
* object). Attempting to call this method on a non-existent resource will
* result in a `NOT_FOUND` error if the user has list permission on the project,
* or a `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
* `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
* (occurrences.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_ContainerAnalysis_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_ContainerAnalysis_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_ContainerAnalysis_TestIamPermissionsResponse");
}
}

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.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $operations = $containeranalysisService->operations;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProjectsOperations extends Google_Service_Resource
{
/**
* Creates a new `Operation`. (operations.create)
*
* @param string $parent The project Id that this operation should be created
* under.
* @param Google_Service_ContainerAnalysis_CreateOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Operation
*/
public function create($parent, Google_Service_ContainerAnalysis_CreateOperationRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ContainerAnalysis_Operation");
}
/**
* Updates an existing operation returns an error if operation does not exist.
* The only valid operations are to update mark the done bit change the result.
* (operations.patch)
*
* @param string $name The name of the Operation. Should be of the form
* "projects/{provider_id}/operations/{operation_id}".
* @param Google_Service_ContainerAnalysis_UpdateOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Operation
*/
public function patch($name, Google_Service_ContainerAnalysis_UpdateOperationRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_ContainerAnalysis_Operation");
}
}

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.
*/
/**
* The "scanConfigs" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $scanConfigs = $containeranalysisService->scanConfigs;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProjectsScanConfigs extends Google_Service_Resource
{
/**
* Gets a specific scan configuration for a project. (scanConfigs.get)
*
* @param string $name The name of the ScanConfig in the form
* projects/{project_id}/scanConfigs/{scan_config_id}
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_ScanConfig
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ContainerAnalysis_ScanConfig");
}
/**
* Lists scan configurations for a project.
* (scanConfigs.listProjectsScanConfigs)
*
* @param string $parent This containers the project Id i.e.:
* projects/{project_id}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The number of items to return.
* @opt_param string filter The filter expression.
* @opt_param string pageToken The page token to use for the next request.
* @return Google_Service_ContainerAnalysis_ListScanConfigsResponse
*/
public function listProjectsScanConfigs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ContainerAnalysis_ListScanConfigsResponse");
}
/**
* Updates the scan configuration to a new value. (scanConfigs.patch)
*
* @param string $name The scan config to update of the form
* projects/{project_id}/scanConfigs/{scan_config_id}.
* @param Google_Service_ContainerAnalysis_ScanConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The fields to update.
* @return Google_Service_ContainerAnalysis_ScanConfig
*/
public function patch($name, Google_Service_ContainerAnalysis_ScanConfig $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_ContainerAnalysis_ScanConfig");
}
}

View File

@@ -0,0 +1,28 @@
<?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.
*/
/**
* The "providers" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $providers = $containeranalysisService->providers;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_Providers extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,188 @@
<?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.
*/
/**
* The "notes" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $notes = $containeranalysisService->notes;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProvidersNotes extends Google_Service_Resource
{
/**
* Creates a new `Note`. (notes.create)
*
* @param string $name The name of the project. Should be of the form
* "providers/{provider_id}". @Deprecated
* @param Google_Service_ContainerAnalysis_Note $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string parent This field contains the project Id for example:
* "projects/{project_id}
* @opt_param string noteId The ID to use for this note.
* @return Google_Service_ContainerAnalysis_Note
*/
public function create($name, Google_Service_ContainerAnalysis_Note $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Deletes the given `Note` from the system. (notes.delete)
*
* @param string $name The name of the note in the form of
* "providers/{provider_id}/notes/{NOTE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_ContaineranalysisEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_ContainerAnalysis_ContaineranalysisEmpty");
}
/**
* Returns the requested `Note`. (notes.get)
*
* @param string $name The name of the note in the form of
* "providers/{provider_id}/notes/{NOTE_ID}"
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Note
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Gets the access control policy for a note or an `Occurrence` resource.
* Requires `containeranalysis.notes.setIamPolicy` or
* `containeranalysis.occurrences.setIamPolicy` permission if the resource is a
* note or occurrence, respectively. Attempting to call this method on a
* resource without the required permission will result in a `PERMISSION_DENIED`
* error. Attempting to call this method on a non-existent resource will result
* in a `NOT_FOUND` error if the user has list permission on the project, or a
* `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences
* and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes (notes.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_ContainerAnalysis_GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Policy
*/
public function getIamPolicy($resource, Google_Service_ContainerAnalysis_GetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_ContainerAnalysis_Policy");
}
/**
* Lists all `Notes` for a given project. (notes.listProvidersNotes)
*
* @param string $name The name field will contain the project Id for example:
* "providers/{provider_id} @Deprecated
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression.
* @opt_param string pageToken Token to provide to skip to a particular spot in
* the list.
* @opt_param int pageSize Number of notes to return in the list.
* @opt_param string parent This field contains the project Id for example:
* "projects/{PROJECT_ID}".
* @return Google_Service_ContainerAnalysis_ListNotesResponse
*/
public function listProvidersNotes($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ContainerAnalysis_ListNotesResponse");
}
/**
* Updates an existing `Note`. (notes.patch)
*
* @param string $name The name of the note. Should be of the form
* "projects/{provider_id}/notes/{note_id}".
* @param Google_Service_ContainerAnalysis_Note $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The fields to update.
* @return Google_Service_ContainerAnalysis_Note
*/
public function patch($name, Google_Service_ContainerAnalysis_Note $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_ContainerAnalysis_Note");
}
/**
* Sets the access control policy on the specified `Note` or `Occurrence`.
* Requires `containeranalysis.notes.setIamPolicy` or
* `containeranalysis.occurrences.setIamPolicy` permission if the resource is a
* `Note` or an `Occurrence`, respectively. Attempting to call this method
* without these permissions will result in a ` `PERMISSION_DENIED` error.
* Attempting to call this method on a non-existent resource will result in a
* `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
* on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a
* `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
* and projects/{projectid}/notes/{noteid} for notes (notes.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_ContainerAnalysis_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_Policy
*/
public function setIamPolicy($resource, Google_Service_ContainerAnalysis_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_ContainerAnalysis_Policy");
}
/**
* Returns the permissions that a caller has on the specified note or occurrence
* resource. Requires list permission on the project (for example,
* "storage.objects.list" on the containing bucket for testing permission of an
* object). Attempting to call this method on a non-existent resource will
* result in a `NOT_FOUND` error if the user has list permission on the project,
* or a `PERMISSION_DENIED` error otherwise. The resource takes the following
* formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
* `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
* (notes.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_ContainerAnalysis_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ContainerAnalysis_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_ContainerAnalysis_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_ContainerAnalysis_TestIamPermissionsResponse");
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
/**
* The "occurrences" collection of methods.
* Typical usage is:
* <code>
* $containeranalysisService = new Google_Service_ContainerAnalysis(...);
* $occurrences = $containeranalysisService->occurrences;
* </code>
*/
class Google_Service_ContainerAnalysis_Resource_ProvidersNotesOccurrences extends Google_Service_Resource
{
/**
* Lists `Occurrences` referencing the specified `Note`. Use this method to get
* all occurrences referencing your `Note` across all your customer projects.
* (occurrences.listProvidersNotesOccurrences)
*
* @param string $name The name field will contain the note name for example:
* "provider/{provider_id}/notes/{note_id}"
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression.
* @opt_param string pageToken Token to provide to skip to a particular spot in
* the list.
* @opt_param int pageSize Number of notes to return in the list.
* @return Google_Service_ContainerAnalysis_ListNoteOccurrencesResponse
*/
public function listProvidersNotesOccurrences($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ContainerAnalysis_ListNoteOccurrencesResponse");
}
}

View File

@@ -0,0 +1,66 @@
<?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.
*/
class Google_Service_ContainerAnalysis_ScanConfig extends Google_Model
{
public $createTime;
public $description;
public $enabled;
public $name;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
public function getEnabled()
{
return $this->enabled;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_SetIamPolicyRequest extends Google_Model
{
protected $policyType = 'Google_Service_ContainerAnalysis_Policy';
protected $policyDataType = '';
public $updateMask;
/**
* @param Google_Service_ContainerAnalysis_Policy
*/
public function setPolicy(Google_Service_ContainerAnalysis_Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Google_Service_ContainerAnalysis_Policy
*/
public function getPolicy()
{
return $this->policy;
}
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
public function getUpdateMask()
{
return $this->updateMask;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_ContainerAnalysis_SeverityCount extends Google_Model
{
public $count;
public $severity;
public function setCount($count)
{
$this->count = $count;
}
public function getCount()
{
return $this->count;
}
public function setSeverity($severity)
{
$this->severity = $severity;
}
public function getSeverity()
{
return $this->severity;
}
}

View File

@@ -0,0 +1,118 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Source extends Google_Collection
{
protected $collection_key = 'additionalContexts';
protected $additionalContextsType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext';
protected $additionalContextsDataType = 'array';
protected $artifactStorageSourceType = 'Google_Service_ContainerAnalysis_StorageSource';
protected $artifactStorageSourceDataType = '';
protected $contextType = 'Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext';
protected $contextDataType = '';
protected $fileHashesType = 'Google_Service_ContainerAnalysis_FileHashes';
protected $fileHashesDataType = 'map';
protected $repoSourceType = 'Google_Service_ContainerAnalysis_RepoSource';
protected $repoSourceDataType = '';
protected $storageSourceType = 'Google_Service_ContainerAnalysis_StorageSource';
protected $storageSourceDataType = '';
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext
*/
public function setAdditionalContexts($additionalContexts)
{
$this->additionalContexts = $additionalContexts;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext
*/
public function getAdditionalContexts()
{
return $this->additionalContexts;
}
/**
* @param Google_Service_ContainerAnalysis_StorageSource
*/
public function setArtifactStorageSource(Google_Service_ContainerAnalysis_StorageSource $artifactStorageSource)
{
$this->artifactStorageSource = $artifactStorageSource;
}
/**
* @return Google_Service_ContainerAnalysis_StorageSource
*/
public function getArtifactStorageSource()
{
return $this->artifactStorageSource;
}
/**
* @param Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext
*/
public function setContext(Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext $context)
{
$this->context = $context;
}
/**
* @return Google_Service_ContainerAnalysis_GoogleDevtoolsContaineranalysisV1alpha1SourceContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_ContainerAnalysis_FileHashes
*/
public function setFileHashes($fileHashes)
{
$this->fileHashes = $fileHashes;
}
/**
* @return Google_Service_ContainerAnalysis_FileHashes
*/
public function getFileHashes()
{
return $this->fileHashes;
}
/**
* @param Google_Service_ContainerAnalysis_RepoSource
*/
public function setRepoSource(Google_Service_ContainerAnalysis_RepoSource $repoSource)
{
$this->repoSource = $repoSource;
}
/**
* @return Google_Service_ContainerAnalysis_RepoSource
*/
public function getRepoSource()
{
return $this->repoSource;
}
/**
* @param Google_Service_ContainerAnalysis_StorageSource
*/
public function setStorageSource(Google_Service_ContainerAnalysis_StorageSource $storageSource)
{
$this->storageSource = $storageSource;
}
/**
* @return Google_Service_ContainerAnalysis_StorageSource
*/
public function getStorageSource()
{
return $this->storageSource;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_ContainerAnalysis_StorageSource extends Google_Model
{
public $bucket;
public $generation;
public $object;
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
public function getBucket()
{
return $this->bucket;
}
public function setGeneration($generation)
{
$this->generation = $generation;
}
public function getGeneration()
{
return $this->generation;
}
public function setObject($object)
{
$this->object = $object;
}
public function getObject()
{
return $this->object;
}
}

View File

@@ -0,0 +1,31 @@
<?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.
*/
class Google_Service_ContainerAnalysis_TestIamPermissionsRequest extends Google_Collection
{
protected $collection_key = 'permissions';
public $permissions;
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
}

View File

@@ -0,0 +1,31 @@
<?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.
*/
class Google_Service_ContainerAnalysis_TestIamPermissionsResponse extends Google_Collection
{
protected $collection_key = 'permissions';
public $permissions;
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_ContainerAnalysis_UpdateOperationRequest extends Google_Model
{
protected $operationType = 'Google_Service_ContainerAnalysis_Operation';
protected $operationDataType = '';
public $updateMask;
/**
* @param Google_Service_ContainerAnalysis_Operation
*/
public function setOperation(Google_Service_ContainerAnalysis_Operation $operation)
{
$this->operation = $operation;
}
/**
* @return Google_Service_ContainerAnalysis_Operation
*/
public function getOperation()
{
return $this->operation;
}
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
public function getUpdateMask()
{
return $this->updateMask;
}
}

View File

@@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_ContainerAnalysis_Version extends Google_Model
{
public $epoch;
public $kind;
public $name;
public $revision;
public function setEpoch($epoch)
{
$this->epoch = $epoch;
}
public function getEpoch()
{
return $this->epoch;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setRevision($revision)
{
$this->revision = $revision;
}
public function getRevision()
{
return $this->revision;
}
}

View File

@@ -0,0 +1,65 @@
<?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.
*/
class Google_Service_ContainerAnalysis_VulnerabilityDetails extends Google_Collection
{
protected $collection_key = 'packageIssue';
public $cvssScore;
protected $packageIssueType = 'Google_Service_ContainerAnalysis_PackageIssue';
protected $packageIssueDataType = 'array';
public $severity;
public $type;
public function setCvssScore($cvssScore)
{
$this->cvssScore = $cvssScore;
}
public function getCvssScore()
{
return $this->cvssScore;
}
/**
* @param Google_Service_ContainerAnalysis_PackageIssue
*/
public function setPackageIssue($packageIssue)
{
$this->packageIssue = $packageIssue;
}
/**
* @return Google_Service_ContainerAnalysis_PackageIssue
*/
public function getPackageIssue()
{
return $this->packageIssue;
}
public function setSeverity($severity)
{
$this->severity = $severity;
}
public function getSeverity()
{
return $this->severity;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_ContainerAnalysis_VulnerabilityLocation extends Google_Model
{
public $cpeUri;
public $package;
protected $versionType = 'Google_Service_ContainerAnalysis_Version';
protected $versionDataType = '';
public function setCpeUri($cpeUri)
{
$this->cpeUri = $cpeUri;
}
public function getCpeUri()
{
return $this->cpeUri;
}
public function setPackage($package)
{
$this->package = $package;
}
public function getPackage()
{
return $this->package;
}
/**
* @param Google_Service_ContainerAnalysis_Version
*/
public function setVersion(Google_Service_ContainerAnalysis_Version $version)
{
$this->version = $version;
}
/**
* @return Google_Service_ContainerAnalysis_Version
*/
public function getVersion()
{
return $this->version;
}
}

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.
*/
class Google_Service_ContainerAnalysis_VulnerabilityType extends Google_Collection
{
protected $collection_key = 'details';
public $cvssScore;
protected $detailsType = 'Google_Service_ContainerAnalysis_Detail';
protected $detailsDataType = 'array';
public $severity;
public function setCvssScore($cvssScore)
{
$this->cvssScore = $cvssScore;
}
public function getCvssScore()
{
return $this->cvssScore;
}
/**
* @param Google_Service_ContainerAnalysis_Detail
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return Google_Service_ContainerAnalysis_Detail
*/
public function getDetails()
{
return $this->details;
}
public function setSeverity($severity)
{
$this->severity = $severity;
}
public function getSeverity()
{
return $this->severity;
}
}