Mise à jour des librairies
This commit is contained in:
@@ -31,6 +31,8 @@ class Google_Service_WebSecurityScanner_Finding extends Google_Model
|
||||
public $trackingId;
|
||||
protected $violatingResourceType = 'Google_Service_WebSecurityScanner_ViolatingResource';
|
||||
protected $violatingResourceDataType = '';
|
||||
protected $vulnerableHeadersType = 'Google_Service_WebSecurityScanner_VulnerableHeaders';
|
||||
protected $vulnerableHeadersDataType = '';
|
||||
protected $vulnerableParametersType = 'Google_Service_WebSecurityScanner_VulnerableParameters';
|
||||
protected $vulnerableParametersDataType = '';
|
||||
protected $xssType = 'Google_Service_WebSecurityScanner_Xss';
|
||||
@@ -144,6 +146,20 @@ class Google_Service_WebSecurityScanner_Finding extends Google_Model
|
||||
{
|
||||
return $this->violatingResource;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_VulnerableHeaders
|
||||
*/
|
||||
public function setVulnerableHeaders(Google_Service_WebSecurityScanner_VulnerableHeaders $vulnerableHeaders)
|
||||
{
|
||||
$this->vulnerableHeaders = $vulnerableHeaders;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_VulnerableHeaders
|
||||
*/
|
||||
public function getVulnerableHeaders()
|
||||
{
|
||||
return $this->vulnerableHeaders;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_VulnerableParameters
|
||||
*/
|
||||
|
||||
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Header.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/Header.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_Header extends Google_Model
|
||||
{
|
||||
public $name;
|
||||
public $value;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -79,12 +79,12 @@ class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigs extends Goo
|
||||
* 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.
|
||||
* @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.
|
||||
* @return Google_Service_WebSecurityScanner_ListScanConfigsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigs($parent, $optParams = array())
|
||||
|
||||
@@ -49,14 +49,14 @@ class Google_Service_WebSecurityScanner_Resource_ProjectsScanConfigsScanRunsFind
|
||||
* '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.
|
||||
* @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.
|
||||
* @return Google_Service_WebSecurityScanner_ListFindingsResponse
|
||||
*/
|
||||
public function listProjectsScanConfigsScanRunsFindings($parent, $optParams = array())
|
||||
|
||||
@@ -22,6 +22,8 @@ class Google_Service_WebSecurityScanner_ScanConfig extends Google_Collection
|
||||
protected $authenticationDataType = '';
|
||||
public $blacklistPatterns;
|
||||
public $displayName;
|
||||
protected $latestRunType = 'Google_Service_WebSecurityScanner_ScanRun';
|
||||
protected $latestRunDataType = '';
|
||||
public $maxQps;
|
||||
public $name;
|
||||
protected $scheduleType = 'Google_Service_WebSecurityScanner_Schedule';
|
||||
@@ -60,6 +62,20 @@ class Google_Service_WebSecurityScanner_ScanConfig extends Google_Collection
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function setLatestRun(Google_Service_WebSecurityScanner_ScanRun $latestRun)
|
||||
{
|
||||
$this->latestRun = $latestRun;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_ScanRun
|
||||
*/
|
||||
public function getLatestRun()
|
||||
{
|
||||
return $this->latestRun;
|
||||
}
|
||||
public function setMaxQps($maxQps)
|
||||
{
|
||||
$this->maxQps = $maxQps;
|
||||
|
||||
54
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/VulnerableHeaders.php
vendored
Normal file
54
vendor/google/apiclient-services/src/Google/Service/WebSecurityScanner/VulnerableHeaders.php
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
<?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_VulnerableHeaders extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'missingHeaders';
|
||||
protected $headersType = 'Google_Service_WebSecurityScanner_Header';
|
||||
protected $headersDataType = 'array';
|
||||
protected $missingHeadersType = 'Google_Service_WebSecurityScanner_Header';
|
||||
protected $missingHeadersDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_Header
|
||||
*/
|
||||
public function setHeaders($headers)
|
||||
{
|
||||
$this->headers = $headers;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_Header
|
||||
*/
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_WebSecurityScanner_Header
|
||||
*/
|
||||
public function setMissingHeaders($missingHeaders)
|
||||
{
|
||||
$this->missingHeaders = $missingHeaders;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_WebSecurityScanner_Header
|
||||
*/
|
||||
public function getMissingHeaders()
|
||||
{
|
||||
return $this->missingHeaders;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user