Nouveaux fichier suite maj librairies vendor
This commit is contained in:
53
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Authentication.php
vendored
Normal file
53
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Authentication.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_WebSecurityScanner_Authentication extends Google_Model
|
||||
{
|
||||
protected $customAccountType = 'Google_Service_WebSecurityScanner_CustomAccount';
|
||||
protected $customAccountDataType = '';
|
||||
protected $googleAccountType = 'Google_Service_WebSecurityScanner_GoogleAccount';
|
||||
protected $googleAccountDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_CustomAccount
|
||||
*/
|
||||
public function setCustomAccount(Google_Service_WebSecurityScanner_CustomAccount $customAccount)
|
||||
{
|
||||
$this->customAccount = $customAccount;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_CustomAccount
|
||||
*/
|
||||
public function getCustomAccount()
|
||||
{
|
||||
return $this->customAccount;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_GoogleAccount
|
||||
*/
|
||||
public function setGoogleAccount(Google_Service_WebSecurityScanner_GoogleAccount $googleAccount)
|
||||
{
|
||||
$this->googleAccount = $googleAccount;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_GoogleAccount
|
||||
*/
|
||||
public function getGoogleAccount()
|
||||
{
|
||||
return $this->googleAccount;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/CrawledUrl.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/CrawledUrl.php
vendored
Normal 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_WebSecurityScanner_CrawledUrl extends Google_Model
|
||||
{
|
||||
public $body;
|
||||
public $httpMethod;
|
||||
public $url;
|
||||
|
||||
public function setBody($body)
|
||||
{
|
||||
$this->body = $body;
|
||||
}
|
||||
public function getBody()
|
||||
{
|
||||
return $this->body;
|
||||
}
|
||||
public function setHttpMethod($httpMethod)
|
||||
{
|
||||
$this->httpMethod = $httpMethod;
|
||||
}
|
||||
public function getHttpMethod()
|
||||
{
|
||||
return $this->httpMethod;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/CustomAccount.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/CustomAccount.php
vendored
Normal 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_WebSecurityScanner_CustomAccount extends Google_Model
|
||||
{
|
||||
public $loginUrl;
|
||||
public $password;
|
||||
public $username;
|
||||
|
||||
public function setLoginUrl($loginUrl)
|
||||
{
|
||||
$this->loginUrl = $loginUrl;
|
||||
}
|
||||
public function getLoginUrl()
|
||||
{
|
||||
return $this->loginUrl;
|
||||
}
|
||||
public function setPassword($password)
|
||||
{
|
||||
$this->password = $password;
|
||||
}
|
||||
public function getPassword()
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
175
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Finding.php
vendored
Normal file
175
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Finding.php
vendored
Normal file
@@ -0,0 +1,175 @@
|
||||
<?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_WebSecurityScanner_Finding extends Google_Model
|
||||
{
|
||||
public $body;
|
||||
public $description;
|
||||
public $finalUrl;
|
||||
public $findingType;
|
||||
public $frameUrl;
|
||||
public $fuzzedUrl;
|
||||
public $httpMethod;
|
||||
public $name;
|
||||
protected $outdatedLibraryType = 'Google_Service_WebSecurityScanner_OutdatedLibrary';
|
||||
protected $outdatedLibraryDataType = '';
|
||||
public $reproductionUrl;
|
||||
public $trackingId;
|
||||
protected $violatingResourceType = 'Google_Service_WebSecurityScanner_ViolatingResource';
|
||||
protected $violatingResourceDataType = '';
|
||||
protected $vulnerableParametersType = 'Google_Service_WebSecurityScanner_VulnerableParameters';
|
||||
protected $vulnerableParametersDataType = '';
|
||||
protected $xssType = 'Google_Service_WebSecurityScanner_Xss';
|
||||
protected $xssDataType = '';
|
||||
|
||||
public function setBody($body)
|
||||
{
|
||||
$this->body = $body;
|
||||
}
|
||||
public function getBody()
|
||||
{
|
||||
return $this->body;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setFinalUrl($finalUrl)
|
||||
{
|
||||
$this->finalUrl = $finalUrl;
|
||||
}
|
||||
public function getFinalUrl()
|
||||
{
|
||||
return $this->finalUrl;
|
||||
}
|
||||
public function setFindingType($findingType)
|
||||
{
|
||||
$this->findingType = $findingType;
|
||||
}
|
||||
public function getFindingType()
|
||||
{
|
||||
return $this->findingType;
|
||||
}
|
||||
public function setFrameUrl($frameUrl)
|
||||
{
|
||||
$this->frameUrl = $frameUrl;
|
||||
}
|
||||
public function getFrameUrl()
|
||||
{
|
||||
return $this->frameUrl;
|
||||
}
|
||||
public function setFuzzedUrl($fuzzedUrl)
|
||||
{
|
||||
$this->fuzzedUrl = $fuzzedUrl;
|
||||
}
|
||||
public function getFuzzedUrl()
|
||||
{
|
||||
return $this->fuzzedUrl;
|
||||
}
|
||||
public function setHttpMethod($httpMethod)
|
||||
{
|
||||
$this->httpMethod = $httpMethod;
|
||||
}
|
||||
public function getHttpMethod()
|
||||
{
|
||||
return $this->httpMethod;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_OutdatedLibrary
|
||||
*/
|
||||
public function setOutdatedLibrary(Google_Service_WebSecurityScanner_OutdatedLibrary $outdatedLibrary)
|
||||
{
|
||||
$this->outdatedLibrary = $outdatedLibrary;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_OutdatedLibrary
|
||||
*/
|
||||
public function getOutdatedLibrary()
|
||||
{
|
||||
return $this->outdatedLibrary;
|
||||
}
|
||||
public function setReproductionUrl($reproductionUrl)
|
||||
{
|
||||
$this->reproductionUrl = $reproductionUrl;
|
||||
}
|
||||
public function getReproductionUrl()
|
||||
{
|
||||
return $this->reproductionUrl;
|
||||
}
|
||||
public function setTrackingId($trackingId)
|
||||
{
|
||||
$this->trackingId = $trackingId;
|
||||
}
|
||||
public function getTrackingId()
|
||||
{
|
||||
return $this->trackingId;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_ViolatingResource
|
||||
*/
|
||||
public function setViolatingResource(Google_Service_WebSecurityScanner_ViolatingResource $violatingResource)
|
||||
{
|
||||
$this->violatingResource = $violatingResource;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_ViolatingResource
|
||||
*/
|
||||
public function getViolatingResource()
|
||||
{
|
||||
return $this->violatingResource;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_VulnerableParameters
|
||||
*/
|
||||
public function setVulnerableParameters(Google_Service_WebSecurityScanner_VulnerableParameters $vulnerableParameters)
|
||||
{
|
||||
$this->vulnerableParameters = $vulnerableParameters;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_VulnerableParameters
|
||||
*/
|
||||
public function getVulnerableParameters()
|
||||
{
|
||||
return $this->vulnerableParameters;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_Xss
|
||||
*/
|
||||
public function setXss(Google_Service_WebSecurityScanner_Xss $xss)
|
||||
{
|
||||
$this->xss = $xss;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_Xss
|
||||
*/
|
||||
public function getXss()
|
||||
{
|
||||
return $this->xss;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/FindingTypeStats.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/FindingTypeStats.php
vendored
Normal 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_WebSecurityScanner_FindingTypeStats extends Google_Model
|
||||
{
|
||||
public $findingCount;
|
||||
public $findingType;
|
||||
|
||||
public function setFindingCount($findingCount)
|
||||
{
|
||||
$this->findingCount = $findingCount;
|
||||
}
|
||||
public function getFindingCount()
|
||||
{
|
||||
return $this->findingCount;
|
||||
}
|
||||
public function setFindingType($findingType)
|
||||
{
|
||||
$this->findingType = $findingType;
|
||||
}
|
||||
public function getFindingType()
|
||||
{
|
||||
return $this->findingType;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/GoogleAccount.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/GoogleAccount.php
vendored
Normal 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_WebSecurityScanner_GoogleAccount extends Google_Model
|
||||
{
|
||||
public $password;
|
||||
public $username;
|
||||
|
||||
public function setPassword($password)
|
||||
{
|
||||
$this->password = $password;
|
||||
}
|
||||
public function getPassword()
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
@@ -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_WebSecurityScanner_ListCrawledUrlsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'crawledUrls';
|
||||
protected $crawledUrlsType = 'Google_Service_WebSecurityScanner_CrawledUrl';
|
||||
protected $crawledUrlsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_CrawledUrl
|
||||
*/
|
||||
public function setCrawledUrls($crawledUrls)
|
||||
{
|
||||
$this->crawledUrls = $crawledUrls;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_CrawledUrl
|
||||
*/
|
||||
public function getCrawledUrls()
|
||||
{
|
||||
return $this->crawledUrls;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -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_WebSecurityScanner_ListFindingTypeStatsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'findingTypeStats';
|
||||
protected $findingTypeStatsType = 'Google_Service_WebSecurityScanner_FindingTypeStats';
|
||||
protected $findingTypeStatsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_FindingTypeStats
|
||||
*/
|
||||
public function setFindingTypeStats($findingTypeStats)
|
||||
{
|
||||
$this->findingTypeStats = $findingTypeStats;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_FindingTypeStats
|
||||
*/
|
||||
public function getFindingTypeStats()
|
||||
{
|
||||
return $this->findingTypeStats;
|
||||
}
|
||||
}
|
||||
47
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ListFindingsResponse.php
vendored
Normal file
47
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ListFindingsResponse.php
vendored
Normal 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_WebSecurityScanner_ListFindingsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'findings';
|
||||
protected $findingsType = 'Google_Service_WebSecurityScanner_Finding';
|
||||
protected $findingsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_Finding
|
||||
*/
|
||||
public function setFindings($findings)
|
||||
{
|
||||
$this->findings = $findings;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_Finding
|
||||
*/
|
||||
public function getFindings()
|
||||
{
|
||||
return $this->findings;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -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_WebSecurityScanner_ListScanConfigsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'scanConfigs';
|
||||
public $nextPageToken;
|
||||
protected $scanConfigsType = 'Google_Service_WebSecurityScanner_ScanConfig';
|
||||
protected $scanConfigsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_ScanConfig
|
||||
*/
|
||||
public function setScanConfigs($scanConfigs)
|
||||
{
|
||||
$this->scanConfigs = $scanConfigs;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_ScanConfig
|
||||
*/
|
||||
public function getScanConfigs()
|
||||
{
|
||||
return $this->scanConfigs;
|
||||
}
|
||||
}
|
||||
47
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ListScanRunsResponse.php
vendored
Normal file
47
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ListScanRunsResponse.php
vendored
Normal 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_WebSecurityScanner_ListScanRunsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'scanRuns';
|
||||
public $nextPageToken;
|
||||
protected $scanRunsType = 'Google_Service_WebSecurityScanner_ScanRun';
|
||||
protected $scanRunsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function setScanRuns($scanRuns)
|
||||
{
|
||||
$this->scanRuns = $scanRuns;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function getScanRuns()
|
||||
{
|
||||
return $this->scanRuns;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/OutdatedLibrary.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/OutdatedLibrary.php
vendored
Normal 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_WebSecurityScanner_OutdatedLibrary extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'learnMoreUrls';
|
||||
public $learnMoreUrls;
|
||||
public $libraryName;
|
||||
public $version;
|
||||
|
||||
public function setLearnMoreUrls($learnMoreUrls)
|
||||
{
|
||||
$this->learnMoreUrls = $learnMoreUrls;
|
||||
}
|
||||
public function getLearnMoreUrls()
|
||||
{
|
||||
return $this->learnMoreUrls;
|
||||
}
|
||||
public function setLibraryName($libraryName)
|
||||
{
|
||||
$this->libraryName = $libraryName;
|
||||
}
|
||||
public function getLibraryName()
|
||||
{
|
||||
return $this->libraryName;
|
||||
}
|
||||
public function setVersion($version)
|
||||
{
|
||||
$this->version = $version;
|
||||
}
|
||||
public function getVersion()
|
||||
{
|
||||
return $this->version;
|
||||
}
|
||||
}
|
||||
28
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Resource/Projects.php
vendored
Normal file
28
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Resource/Projects.php
vendored
Normal 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>
|
||||
* $websecurityscannerService = new Google_Service_WebSecurityScanner(...);
|
||||
* $projects = $websecurityscannerService->projects;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_WebSecurityScanner_Resource_Projects extends Google_Service_Resource
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
<?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>
|
||||
* $websecurityscannerService = new Google_Service_WebSecurityScanner(...);
|
||||
* $scanConfigs = $websecurityscannerService->scanConfigs;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigs extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new ScanConfig. (scanConfigs.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource name where the scan is
|
||||
* created, which should be a project resource name in the format
|
||||
* 'projects/{projectId}'.
|
||||
* @param Google_Service_WebSecurityScanner_ScanConfig $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_ScanConfig
|
||||
*/
|
||||
public function create($parent, Google_Service_WebSecurityScanner_ScanConfig $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_WebSecurityScanner_ScanConfig");
|
||||
}
|
||||
/**
|
||||
* Deletes an existing ScanConfig and its child resources. (scanConfigs.delete)
|
||||
*
|
||||
* @param string $name Required. The resource name of the ScanConfig to be
|
||||
* deleted. The name follows the format of
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_WebsecurityscannerEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_WebSecurityScanner_WebsecurityscannerEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets a ScanConfig. (scanConfigs.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of the ScanConfig to be
|
||||
* returned. The name follows the format of
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_ScanConfig
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_WebSecurityScanner_ScanConfig");
|
||||
}
|
||||
/**
|
||||
* Lists ScanConfigs under a given project.
|
||||
* (scanConfigs.listProjectsScanConfigs)
|
||||
*
|
||||
* @param string $parent Required. The parent resource name, which should be a
|
||||
* project resource name in the format 'projects/{projectId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize The maximum number of ScanConfigs to return, can be
|
||||
* limited by server. If not specified or not positive, the implementation will
|
||||
* select a reasonable value.
|
||||
* @opt_param string pageToken A token identifying a page of results to be
|
||||
* returned. This should be a `next_page_token` value returned from a previous
|
||||
* List request. If unspecified, the first page of results is returned.
|
||||
* @return Google_Service_WebSecurityScanner_ListScanConfigsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigs($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_WebSecurityScanner_ListScanConfigsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates a ScanConfig. This method support partial update of a ScanConfig.
|
||||
* (scanConfigs.patch)
|
||||
*
|
||||
* @param string $name The resource name of the ScanConfig. The name follows the
|
||||
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig
|
||||
* IDs are generated by the system.
|
||||
* @param Google_Service_WebSecurityScanner_ScanConfig $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask Required. The update mask applies to the
|
||||
* resource. For the `FieldMask` definition, see https://developers.google.com
|
||||
* /protocol-buffers/docs/reference/google.protobuf#fieldmask
|
||||
* @return Google_Service_WebSecurityScanner_ScanConfig
|
||||
*/
|
||||
public function patch($name, Google_Service_WebSecurityScanner_ScanConfig $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_WebSecurityScanner_ScanConfig");
|
||||
}
|
||||
/**
|
||||
* Start a ScanRun according to the given ScanConfig. (scanConfigs.start)
|
||||
*
|
||||
* @param string $name Required. The resource name of the ScanConfig to be used.
|
||||
* The name follows the format of
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}'.
|
||||
* @param Google_Service_WebSecurityScanner_StartScanRunRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function start($name, Google_Service_WebSecurityScanner_StartScanRunRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('start', array($params), "Google_Service_WebSecurityScanner_ScanRun");
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "scanRuns" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $websecurityscannerService = new Google_Service_WebSecurityScanner(...);
|
||||
* $scanRuns = $websecurityscannerService->scanRuns;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigsScanRuns extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets a ScanRun. (scanRuns.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of the ScanRun to be
|
||||
* returned. The name follows the format of
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_WebSecurityScanner_ScanRun");
|
||||
}
|
||||
/**
|
||||
* Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop
|
||||
* time. (scanRuns.listProjectsScanConfigsScanRuns)
|
||||
*
|
||||
* @param string $parent Required. The parent resource name, which should be a
|
||||
* scan resource name in the format
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken A token identifying a page of results to be
|
||||
* returned. This should be a `next_page_token` value returned from a previous
|
||||
* List request. If unspecified, the first page of results is returned.
|
||||
* @opt_param int pageSize The maximum number of ScanRuns to return, can be
|
||||
* limited by server. If not specified or not positive, the implementation will
|
||||
* select a reasonable value.
|
||||
* @return Google_Service_WebSecurityScanner_ListScanRunsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigsScanRuns($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_WebSecurityScanner_ListScanRunsResponse");
|
||||
}
|
||||
/**
|
||||
* Stops a ScanRun. The stopped ScanRun is returned. (scanRuns.stop)
|
||||
*
|
||||
* @param string $name Required. The resource name of the ScanRun to be stopped.
|
||||
* The name follows the format of
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
|
||||
* @param Google_Service_WebSecurityScanner_StopScanRunRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function stop($name, Google_Service_WebSecurityScanner_StopScanRunRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('stop', array($params), "Google_Service_WebSecurityScanner_ScanRun");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?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 "crawledUrls" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $websecurityscannerService = new Google_Service_WebSecurityScanner(...);
|
||||
* $crawledUrls = $websecurityscannerService->crawledUrls;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigsScanRunsCrawledUrls extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List CrawledUrls under a given ScanRun.
|
||||
* (crawledUrls.listProjectsScanConfigsScanRunsCrawledUrls)
|
||||
*
|
||||
* @param string $parent Required. The parent resource name, which should be a
|
||||
* scan run resource name in the format
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken A token identifying a page of results to be
|
||||
* returned. This should be a `next_page_token` value returned from a previous
|
||||
* List request. If unspecified, the first page of results is returned.
|
||||
* @opt_param int pageSize The maximum number of CrawledUrls to return, can be
|
||||
* limited by server. If not specified or not positive, the implementation will
|
||||
* select a reasonable value.
|
||||
* @return Google_Service_WebSecurityScanner_ListCrawledUrlsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigsScanRunsCrawledUrls($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_WebSecurityScanner_ListCrawledUrlsResponse");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "findingTypeStats" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $websecurityscannerService = new Google_Service_WebSecurityScanner(...);
|
||||
* $findingTypeStats = $websecurityscannerService->findingTypeStats;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigsScanRunsFindingTypeStats extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all FindingTypeStats under a given ScanRun.
|
||||
* (findingTypeStats.listProjectsScanConfigsScanRunsFindingTypeStats)
|
||||
*
|
||||
* @param string $parent Required. The parent resource name, which should be a
|
||||
* scan run resource name in the format
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_ListFindingTypeStatsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigsScanRunsFindingTypeStats($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_WebSecurityScanner_ListFindingTypeStatsResponse");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?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 "findings" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $websecurityscannerService = new Google_Service_WebSecurityScanner(...);
|
||||
* $findings = $websecurityscannerService->findings;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigsScanRunsFindings extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets a Finding. (findings.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of the Finding to be
|
||||
* returned. The name follows the format of 'projects/{projectId}/scanConfigs/{s
|
||||
* canConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_WebSecurityScanner_Finding
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_WebSecurityScanner_Finding");
|
||||
}
|
||||
/**
|
||||
* List Findings under a given ScanRun.
|
||||
* (findings.listProjectsScanConfigsScanRunsFindings)
|
||||
*
|
||||
* @param string $parent Required. The parent resource name, which should be a
|
||||
* scan run resource name in the format
|
||||
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize The maximum number of Findings to return, can be
|
||||
* limited by server. If not specified or not positive, the implementation will
|
||||
* select a reasonable value.
|
||||
* @opt_param string filter The filter expression. The expression must be in the
|
||||
* format: . Supported field: 'finding_type'. Supported operator: '='.
|
||||
* @opt_param string pageToken A token identifying a page of results to be
|
||||
* returned. This should be a `next_page_token` value returned from a previous
|
||||
* List request. If unspecified, the first page of results is returned.
|
||||
* @return Google_Service_WebSecurityScanner_ListFindingsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigsScanRunsFindings($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_WebSecurityScanner_ListFindingsResponse");
|
||||
}
|
||||
}
|
||||
117
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ScanConfig.php
vendored
Normal file
117
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ScanConfig.php
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
<?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_WebSecurityScanner_ScanConfig extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'targetPlatforms';
|
||||
protected $authenticationType = 'Google_Service_WebSecurityScanner_Authentication';
|
||||
protected $authenticationDataType = '';
|
||||
public $blacklistPatterns;
|
||||
public $displayName;
|
||||
public $maxQps;
|
||||
public $name;
|
||||
protected $scheduleType = 'Google_Service_WebSecurityScanner_Schedule';
|
||||
protected $scheduleDataType = '';
|
||||
public $startingUrls;
|
||||
public $targetPlatforms;
|
||||
public $userAgent;
|
||||
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_Authentication
|
||||
*/
|
||||
public function setAuthentication(Google_Service_WebSecurityScanner_Authentication $authentication)
|
||||
{
|
||||
$this->authentication = $authentication;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_Authentication
|
||||
*/
|
||||
public function getAuthentication()
|
||||
{
|
||||
return $this->authentication;
|
||||
}
|
||||
public function setBlacklistPatterns($blacklistPatterns)
|
||||
{
|
||||
$this->blacklistPatterns = $blacklistPatterns;
|
||||
}
|
||||
public function getBlacklistPatterns()
|
||||
{
|
||||
return $this->blacklistPatterns;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setMaxQps($maxQps)
|
||||
{
|
||||
$this->maxQps = $maxQps;
|
||||
}
|
||||
public function getMaxQps()
|
||||
{
|
||||
return $this->maxQps;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_Schedule
|
||||
*/
|
||||
public function setSchedule(Google_Service_WebSecurityScanner_Schedule $schedule)
|
||||
{
|
||||
$this->schedule = $schedule;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_Schedule
|
||||
*/
|
||||
public function getSchedule()
|
||||
{
|
||||
return $this->schedule;
|
||||
}
|
||||
public function setStartingUrls($startingUrls)
|
||||
{
|
||||
$this->startingUrls = $startingUrls;
|
||||
}
|
||||
public function getStartingUrls()
|
||||
{
|
||||
return $this->startingUrls;
|
||||
}
|
||||
public function setTargetPlatforms($targetPlatforms)
|
||||
{
|
||||
$this->targetPlatforms = $targetPlatforms;
|
||||
}
|
||||
public function getTargetPlatforms()
|
||||
{
|
||||
return $this->targetPlatforms;
|
||||
}
|
||||
public function setUserAgent($userAgent)
|
||||
{
|
||||
$this->userAgent = $userAgent;
|
||||
}
|
||||
public function getUserAgent()
|
||||
{
|
||||
return $this->userAgent;
|
||||
}
|
||||
}
|
||||
102
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ScanRun.php
vendored
Normal file
102
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ScanRun.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<?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_WebSecurityScanner_ScanRun extends Google_Model
|
||||
{
|
||||
public $endTime;
|
||||
public $executionState;
|
||||
public $hasVulnerabilities;
|
||||
public $name;
|
||||
public $progressPercent;
|
||||
public $resultState;
|
||||
public $startTime;
|
||||
public $urlsCrawledCount;
|
||||
public $urlsTestedCount;
|
||||
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
public function setExecutionState($executionState)
|
||||
{
|
||||
$this->executionState = $executionState;
|
||||
}
|
||||
public function getExecutionState()
|
||||
{
|
||||
return $this->executionState;
|
||||
}
|
||||
public function setHasVulnerabilities($hasVulnerabilities)
|
||||
{
|
||||
$this->hasVulnerabilities = $hasVulnerabilities;
|
||||
}
|
||||
public function getHasVulnerabilities()
|
||||
{
|
||||
return $this->hasVulnerabilities;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setProgressPercent($progressPercent)
|
||||
{
|
||||
$this->progressPercent = $progressPercent;
|
||||
}
|
||||
public function getProgressPercent()
|
||||
{
|
||||
return $this->progressPercent;
|
||||
}
|
||||
public function setResultState($resultState)
|
||||
{
|
||||
$this->resultState = $resultState;
|
||||
}
|
||||
public function getResultState()
|
||||
{
|
||||
return $this->resultState;
|
||||
}
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
public function setUrlsCrawledCount($urlsCrawledCount)
|
||||
{
|
||||
$this->urlsCrawledCount = $urlsCrawledCount;
|
||||
}
|
||||
public function getUrlsCrawledCount()
|
||||
{
|
||||
return $this->urlsCrawledCount;
|
||||
}
|
||||
public function setUrlsTestedCount($urlsTestedCount)
|
||||
{
|
||||
$this->urlsTestedCount = $urlsTestedCount;
|
||||
}
|
||||
public function getUrlsTestedCount()
|
||||
{
|
||||
return $this->urlsTestedCount;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Schedule.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Schedule.php
vendored
Normal 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_WebSecurityScanner_Schedule extends Google_Model
|
||||
{
|
||||
public $intervalDurationDays;
|
||||
public $scheduleTime;
|
||||
|
||||
public function setIntervalDurationDays($intervalDurationDays)
|
||||
{
|
||||
$this->intervalDurationDays = $intervalDurationDays;
|
||||
}
|
||||
public function getIntervalDurationDays()
|
||||
{
|
||||
return $this->intervalDurationDays;
|
||||
}
|
||||
public function setScheduleTime($scheduleTime)
|
||||
{
|
||||
$this->scheduleTime = $scheduleTime;
|
||||
}
|
||||
public function getScheduleTime()
|
||||
{
|
||||
return $this->scheduleTime;
|
||||
}
|
||||
}
|
||||
20
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/StartScanRunRequest.php
vendored
Normal file
20
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/StartScanRunRequest.php
vendored
Normal 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_WebSecurityScanner_StartScanRunRequest extends Google_Model
|
||||
{
|
||||
}
|
||||
20
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/StopScanRunRequest.php
vendored
Normal file
20
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/StopScanRunRequest.php
vendored
Normal 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_WebSecurityScanner_StopScanRunRequest extends Google_Model
|
||||
{
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ViolatingResource.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/ViolatingResource.php
vendored
Normal 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_WebSecurityScanner_ViolatingResource extends Google_Model
|
||||
{
|
||||
public $contentType;
|
||||
public $resourceUrl;
|
||||
|
||||
public function setContentType($contentType)
|
||||
{
|
||||
$this->contentType = $contentType;
|
||||
}
|
||||
public function getContentType()
|
||||
{
|
||||
return $this->contentType;
|
||||
}
|
||||
public function setResourceUrl($resourceUrl)
|
||||
{
|
||||
$this->resourceUrl = $resourceUrl;
|
||||
}
|
||||
public function getResourceUrl()
|
||||
{
|
||||
return $this->resourceUrl;
|
||||
}
|
||||
}
|
||||
31
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/VulnerableParameters.php
vendored
Normal file
31
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/VulnerableParameters.php
vendored
Normal 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_WebSecurityScanner_VulnerableParameters extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'parameterNames';
|
||||
public $parameterNames;
|
||||
|
||||
public function setParameterNames($parameterNames)
|
||||
{
|
||||
$this->parameterNames = $parameterNames;
|
||||
}
|
||||
public function getParameterNames()
|
||||
{
|
||||
return $this->parameterNames;
|
||||
}
|
||||
}
|
||||
@@ -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_WebSecurityScanner_WebsecurityscannerEmpty extends Google_Model
|
||||
{
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Xss.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Xss.php
vendored
Normal 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_WebSecurityScanner_Xss extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'stackTraces';
|
||||
public $errorMessage;
|
||||
public $stackTraces;
|
||||
|
||||
public function setErrorMessage($errorMessage)
|
||||
{
|
||||
$this->errorMessage = $errorMessage;
|
||||
}
|
||||
public function getErrorMessage()
|
||||
{
|
||||
return $this->errorMessage;
|
||||
}
|
||||
public function setStackTraces($stackTraces)
|
||||
{
|
||||
$this->stackTraces = $stackTraces;
|
||||
}
|
||||
public function getStackTraces()
|
||||
{
|
||||
return $this->stackTraces;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user