Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class AnalyzePrivacyPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $privacyPolicyPageContent;
/**
* @var string
*/
public $privacyPolicyUri;
/**
* @param string
*/
public function setPrivacyPolicyPageContent($privacyPolicyPageContent)
{
$this->privacyPolicyPageContent = $privacyPolicyPageContent;
}
/**
* @return string
*/
public function getPrivacyPolicyPageContent()
{
return $this->privacyPolicyPageContent;
}
/**
* @param string
*/
public function setPrivacyPolicyUri($privacyPolicyUri)
{
$this->privacyPolicyUri = $privacyPolicyUri;
}
/**
* @return string
*/
public function getPrivacyPolicyUri()
{
return $this->privacyPolicyUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyzePrivacyPolicyRequest::class, 'Google_Service_ChecksService_AnalyzePrivacyPolicyRequest');
@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class AnalyzePrivacyPolicyResponse extends \Google\Collection
{
protected $collection_key = 'sectionAnnotations';
protected $dataPurposeAnnotationsType = PolicyPurposeOfUseAnnotation::class;
protected $dataPurposeAnnotationsDataType = 'array';
protected $dataTypeAnnotationsType = PolicyDataTypeAnnotation::class;
protected $dataTypeAnnotationsDataType = 'array';
/**
* @var string
*/
public $htmlContent;
protected $lastUpdatedDateInfoType = LastUpdatedDate::class;
protected $lastUpdatedDateInfoDataType = '';
protected $sectionAnnotationsType = PolicySectionAnnotation::class;
protected $sectionAnnotationsDataType = 'array';
/**
* @param PolicyPurposeOfUseAnnotation[]
*/
public function setDataPurposeAnnotations($dataPurposeAnnotations)
{
$this->dataPurposeAnnotations = $dataPurposeAnnotations;
}
/**
* @return PolicyPurposeOfUseAnnotation[]
*/
public function getDataPurposeAnnotations()
{
return $this->dataPurposeAnnotations;
}
/**
* @param PolicyDataTypeAnnotation[]
*/
public function setDataTypeAnnotations($dataTypeAnnotations)
{
$this->dataTypeAnnotations = $dataTypeAnnotations;
}
/**
* @return PolicyDataTypeAnnotation[]
*/
public function getDataTypeAnnotations()
{
return $this->dataTypeAnnotations;
}
/**
* @param string
*/
public function setHtmlContent($htmlContent)
{
$this->htmlContent = $htmlContent;
}
/**
* @return string
*/
public function getHtmlContent()
{
return $this->htmlContent;
}
/**
* @param LastUpdatedDate
*/
public function setLastUpdatedDateInfo(LastUpdatedDate $lastUpdatedDateInfo)
{
$this->lastUpdatedDateInfo = $lastUpdatedDateInfo;
}
/**
* @return LastUpdatedDate
*/
public function getLastUpdatedDateInfo()
{
return $this->lastUpdatedDateInfo;
}
/**
* @param PolicySectionAnnotation[]
*/
public function setSectionAnnotations($sectionAnnotations)
{
$this->sectionAnnotations = $sectionAnnotations;
}
/**
* @return PolicySectionAnnotation[]
*/
public function getSectionAnnotations()
{
return $this->sectionAnnotations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyzePrivacyPolicyResponse::class, 'Google_Service_ChecksService_AnalyzePrivacyPolicyResponse');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_ChecksService_CancelOperationRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class ChecksEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChecksEmpty::class, 'Google_Service_ChecksService_ChecksEmpty');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_ChecksService_Date');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class FindPrivacyPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $websiteUri;
/**
* @param string
*/
public function setWebsiteUri($websiteUri)
{
$this->websiteUri = $websiteUri;
}
/**
* @return string
*/
public function getWebsiteUri()
{
return $this->websiteUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FindPrivacyPolicyRequest::class, 'Google_Service_ChecksService_FindPrivacyPolicyRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class FindPrivacyPolicyResponse extends \Google\Model
{
/**
* @var string
*/
public $privacyPolicy;
/**
* @param string
*/
public function setPrivacyPolicy($privacyPolicy)
{
$this->privacyPolicy = $privacyPolicy;
}
/**
* @return string
*/
public function getPrivacyPolicy()
{
return $this->privacyPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FindPrivacyPolicyResponse::class, 'Google_Service_ChecksService_FindPrivacyPolicyResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAccountV1alphaApp extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAccountV1alphaApp::class, 'Google_Service_ChecksService_GoogleChecksAccountV1alphaApp');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAccountV1alphaListAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = GoogleChecksAccountV1alphaApp::class;
protected $appsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleChecksAccountV1alphaApp[]
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return GoogleChecksAccountV1alphaApp[]
*/
public function getApps()
{
return $this->apps;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAccountV1alphaListAppsResponse::class, 'Google_Service_ChecksService_GoogleChecksAccountV1alphaListAppsResponse');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentRequest extends \Google\Collection
{
protected $collection_key = 'policies';
/**
* @var string
*/
public $classifierVersion;
protected $contextType = GoogleChecksAisafetyV1alphaClassifyContentRequestContext::class;
protected $contextDataType = '';
protected $inputType = GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent::class;
protected $inputDataType = '';
protected $policiesType = GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig::class;
protected $policiesDataType = 'array';
/**
* @param string
*/
public function setClassifierVersion($classifierVersion)
{
$this->classifierVersion = $classifierVersion;
}
/**
* @return string
*/
public function getClassifierVersion()
{
return $this->classifierVersion;
}
/**
* @param GoogleChecksAisafetyV1alphaClassifyContentRequestContext
*/
public function setContext(GoogleChecksAisafetyV1alphaClassifyContentRequestContext $context)
{
$this->context = $context;
}
/**
* @return GoogleChecksAisafetyV1alphaClassifyContentRequestContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent
*/
public function setInput(GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent $input)
{
$this->input = $input;
}
/**
* @return GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent
*/
public function getInput()
{
return $this->input;
}
/**
* @param GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig[]
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig[]
*/
public function getPolicies()
{
return $this->policies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaClassifyContentRequest::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentRequestContext extends \Google\Model
{
/**
* @var string
*/
public $prompt;
/**
* @param string
*/
public function setPrompt($prompt)
{
$this->prompt = $prompt;
}
/**
* @return string
*/
public function getPrompt()
{
return $this->prompt;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaClassifyContentRequestContext::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestContext');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent extends \Google\Model
{
protected $textInputType = GoogleChecksAisafetyV1alphaTextInput::class;
protected $textInputDataType = '';
/**
* @param GoogleChecksAisafetyV1alphaTextInput
*/
public function setTextInput(GoogleChecksAisafetyV1alphaTextInput $textInput)
{
$this->textInput = $textInput;
}
/**
* @return GoogleChecksAisafetyV1alphaTextInput
*/
public function getTextInput()
{
return $this->textInput;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig extends \Google\Model
{
/**
* @var string
*/
public $policyType;
/**
* @var float
*/
public $threshold;
/**
* @param string
*/
public function setPolicyType($policyType)
{
$this->policyType = $policyType;
}
/**
* @return string
*/
public function getPolicyType()
{
return $this->policyType;
}
/**
* @param float
*/
public function setThreshold($threshold)
{
$this->threshold = $threshold;
}
/**
* @return float
*/
public function getThreshold()
{
return $this->threshold;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentResponse extends \Google\Collection
{
protected $collection_key = 'policyResults';
protected $policyResultsType = GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult::class;
protected $policyResultsDataType = 'array';
/**
* @param GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult[]
*/
public function setPolicyResults($policyResults)
{
$this->policyResults = $policyResults;
}
/**
* @return GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult[]
*/
public function getPolicyResults()
{
return $this->policyResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaClassifyContentResponse::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponse');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult extends \Google\Model
{
/**
* @var string
*/
public $policyType;
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $violationResult;
/**
* @param string
*/
public function setPolicyType($policyType)
{
$this->policyType = $policyType;
}
/**
* @return string
*/
public function getPolicyType()
{
return $this->policyType;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setViolationResult($violationResult)
{
$this->violationResult = $violationResult;
}
/**
* @return string
*/
public function getViolationResult()
{
return $this->violationResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaTextInput extends \Google\Model
{
/**
* @var string
*/
public $content;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksAisafetyV1alphaTextInput::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaTextInput');
@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaCliAnalysis extends \Google\Collection
{
protected $collection_key = 'sources';
protected $codeScansType = GoogleChecksRepoScanV1alphaCodeScan::class;
protected $codeScansDataType = 'array';
protected $sourcesType = GoogleChecksRepoScanV1alphaSource::class;
protected $sourcesDataType = 'array';
/**
* @param GoogleChecksRepoScanV1alphaCodeScan[]
*/
public function setCodeScans($codeScans)
{
$this->codeScans = $codeScans;
}
/**
* @return GoogleChecksRepoScanV1alphaCodeScan[]
*/
public function getCodeScans()
{
return $this->codeScans;
}
/**
* @param GoogleChecksRepoScanV1alphaSource[]
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return GoogleChecksRepoScanV1alphaSource[]
*/
public function getSources()
{
return $this->sources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaCliAnalysis::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaCliAnalysis');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaCodeAttribution extends \Google\Model
{
/**
* @var string
*/
public $codeExcerpt;
/**
* @var int
*/
public $lineNumber;
/**
* @var string
*/
public $path;
/**
* @var int
*/
public $startLineNumber;
/**
* @param string
*/
public function setCodeExcerpt($codeExcerpt)
{
$this->codeExcerpt = $codeExcerpt;
}
/**
* @return string
*/
public function getCodeExcerpt()
{
return $this->codeExcerpt;
}
/**
* @param int
*/
public function setLineNumber($lineNumber)
{
$this->lineNumber = $lineNumber;
}
/**
* @return int
*/
public function getLineNumber()
{
return $this->lineNumber;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param int
*/
public function setStartLineNumber($startLineNumber)
{
$this->startLineNumber = $startLineNumber;
}
/**
* @return int
*/
public function getStartLineNumber()
{
return $this->startLineNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaCodeAttribution::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaCodeAttribution');
@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaCodeScan extends \Google\Collection
{
protected $collection_key = 'dataTypeClassifications';
protected $dataTypeClassificationsType = GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification::class;
protected $dataTypeClassificationsDataType = 'array';
protected $sourceCodeType = GoogleChecksRepoScanV1alphaSourceCode::class;
protected $sourceCodeDataType = '';
/**
* @param GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification[]
*/
public function setDataTypeClassifications($dataTypeClassifications)
{
$this->dataTypeClassifications = $dataTypeClassifications;
}
/**
* @return GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification[]
*/
public function getDataTypeClassifications()
{
return $this->dataTypeClassifications;
}
/**
* @param GoogleChecksRepoScanV1alphaSourceCode
*/
public function setSourceCode(GoogleChecksRepoScanV1alphaSourceCode $sourceCode)
{
$this->sourceCode = $sourceCode;
}
/**
* @return GoogleChecksRepoScanV1alphaSourceCode
*/
public function getSourceCode()
{
return $this->sourceCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaCodeScan::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaCodeScan');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification extends \Google\Model
{
/**
* @var string
*/
public $dataType;
/**
* @var int
*/
public $lineNumber;
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param int
*/
public function setLineNumber($lineNumber)
{
$this->lineNumber = $lineNumber;
}
/**
* @return int
*/
public function getLineNumber()
{
return $this->lineNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaGenerateScanRequest extends \Google\Model
{
protected $cliAnalysisType = GoogleChecksRepoScanV1alphaCliAnalysis::class;
protected $cliAnalysisDataType = '';
/**
* @var string
*/
public $cliVersion;
/**
* @var string
*/
public $localScanPath;
protected $scmMetadataType = GoogleChecksRepoScanV1alphaScmMetadata::class;
protected $scmMetadataDataType = '';
/**
* @param GoogleChecksRepoScanV1alphaCliAnalysis
*/
public function setCliAnalysis(GoogleChecksRepoScanV1alphaCliAnalysis $cliAnalysis)
{
$this->cliAnalysis = $cliAnalysis;
}
/**
* @return GoogleChecksRepoScanV1alphaCliAnalysis
*/
public function getCliAnalysis()
{
return $this->cliAnalysis;
}
/**
* @param string
*/
public function setCliVersion($cliVersion)
{
$this->cliVersion = $cliVersion;
}
/**
* @return string
*/
public function getCliVersion()
{
return $this->cliVersion;
}
/**
* @param string
*/
public function setLocalScanPath($localScanPath)
{
$this->localScanPath = $localScanPath;
}
/**
* @return string
*/
public function getLocalScanPath()
{
return $this->localScanPath;
}
/**
* @param GoogleChecksRepoScanV1alphaScmMetadata
*/
public function setScmMetadata(GoogleChecksRepoScanV1alphaScmMetadata $scmMetadata)
{
$this->scmMetadata = $scmMetadata;
}
/**
* @return GoogleChecksRepoScanV1alphaScmMetadata
*/
public function getScmMetadata()
{
return $this->scmMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaGenerateScanRequest::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaGenerateScanRequest');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaListRepoScansResponse extends \Google\Collection
{
protected $collection_key = 'repoScans';
/**
* @var string
*/
public $nextPageToken;
protected $repoScansType = GoogleChecksRepoScanV1alphaRepoScan::class;
protected $repoScansDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleChecksRepoScanV1alphaRepoScan[]
*/
public function setRepoScans($repoScans)
{
$this->repoScans = $repoScans;
}
/**
* @return GoogleChecksRepoScanV1alphaRepoScan[]
*/
public function getRepoScans()
{
return $this->repoScans;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaListRepoScansResponse::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaListRepoScansResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaPullRequest extends \Google\Model
{
/**
* @var string
*/
public $baseBranch;
/**
* @var string
*/
public $prNumber;
/**
* @param string
*/
public function setBaseBranch($baseBranch)
{
$this->baseBranch = $baseBranch;
}
/**
* @return string
*/
public function getBaseBranch()
{
return $this->baseBranch;
}
/**
* @param string
*/
public function setPrNumber($prNumber)
{
$this->prNumber = $prNumber;
}
/**
* @return string
*/
public function getPrNumber()
{
return $this->prNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaPullRequest::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaPullRequest');
@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaRepoScan extends \Google\Collection
{
protected $collection_key = 'sources';
/**
* @var string
*/
public $cliVersion;
/**
* @var string
*/
public $localScanPath;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resultsUri;
protected $scmMetadataType = GoogleChecksRepoScanV1alphaScmMetadata::class;
protected $scmMetadataDataType = '';
protected $sourcesType = GoogleChecksRepoScanV1alphaSource::class;
protected $sourcesDataType = 'array';
/**
* @param string
*/
public function setCliVersion($cliVersion)
{
$this->cliVersion = $cliVersion;
}
/**
* @return string
*/
public function getCliVersion()
{
return $this->cliVersion;
}
/**
* @param string
*/
public function setLocalScanPath($localScanPath)
{
$this->localScanPath = $localScanPath;
}
/**
* @return string
*/
public function getLocalScanPath()
{
return $this->localScanPath;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResultsUri($resultsUri)
{
$this->resultsUri = $resultsUri;
}
/**
* @return string
*/
public function getResultsUri()
{
return $this->resultsUri;
}
/**
* @param GoogleChecksRepoScanV1alphaScmMetadata
*/
public function setScmMetadata(GoogleChecksRepoScanV1alphaScmMetadata $scmMetadata)
{
$this->scmMetadata = $scmMetadata;
}
/**
* @return GoogleChecksRepoScanV1alphaScmMetadata
*/
public function getScmMetadata()
{
return $this->scmMetadata;
}
/**
* @param GoogleChecksRepoScanV1alphaSource[]
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return GoogleChecksRepoScanV1alphaSource[]
*/
public function getSources()
{
return $this->sources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaRepoScan::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaRepoScan');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaScmMetadata extends \Google\Model
{
/**
* @var string
*/
public $branch;
protected $pullRequestType = GoogleChecksRepoScanV1alphaPullRequest::class;
protected $pullRequestDataType = '';
/**
* @var string
*/
public $remoteUri;
/**
* @var string
*/
public $revisionId;
/**
* @param string
*/
public function setBranch($branch)
{
$this->branch = $branch;
}
/**
* @return string
*/
public function getBranch()
{
return $this->branch;
}
/**
* @param GoogleChecksRepoScanV1alphaPullRequest
*/
public function setPullRequest(GoogleChecksRepoScanV1alphaPullRequest $pullRequest)
{
$this->pullRequest = $pullRequest;
}
/**
* @return GoogleChecksRepoScanV1alphaPullRequest
*/
public function getPullRequest()
{
return $this->pullRequest;
}
/**
* @param string
*/
public function setRemoteUri($remoteUri)
{
$this->remoteUri = $remoteUri;
}
/**
* @return string
*/
public function getRemoteUri()
{
return $this->remoteUri;
}
/**
* @param string
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaScmMetadata::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaScmMetadata');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaSource extends \Google\Model
{
protected $codeAttributionType = GoogleChecksRepoScanV1alphaCodeAttribution::class;
protected $codeAttributionDataType = '';
/**
* @var string
*/
public $dataType;
/**
* @var bool
*/
public $falsePositive;
/**
* @param GoogleChecksRepoScanV1alphaCodeAttribution
*/
public function setCodeAttribution(GoogleChecksRepoScanV1alphaCodeAttribution $codeAttribution)
{
$this->codeAttribution = $codeAttribution;
}
/**
* @return GoogleChecksRepoScanV1alphaCodeAttribution
*/
public function getCodeAttribution()
{
return $this->codeAttribution;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param bool
*/
public function setFalsePositive($falsePositive)
{
$this->falsePositive = $falsePositive;
}
/**
* @return bool
*/
public function getFalsePositive()
{
return $this->falsePositive;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaSource::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaSource');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaSourceCode extends \Google\Model
{
/**
* @var string
*/
public $code;
/**
* @var int
*/
public $endLine;
/**
* @var string
*/
public $path;
/**
* @var int
*/
public $startLine;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param int
*/
public function setEndLine($endLine)
{
$this->endLine = $endLine;
}
/**
* @return int
*/
public function getEndLine()
{
return $this->endLine;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param int
*/
public function setStartLine($startLine)
{
$this->startLine = $startLine;
}
/**
* @return int
*/
public function getStartLine()
{
return $this->startLine;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksRepoScanV1alphaSourceCode::class, 'Google_Service_ChecksService_GoogleChecksRepoScanV1alphaSourceCode');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaAnalyzeUploadRequest extends \Google\Model
{
/**
* @var string
*/
public $appBinaryFileType;
/**
* @var string
*/
public $codeReferenceId;
/**
* @param string
*/
public function setAppBinaryFileType($appBinaryFileType)
{
$this->appBinaryFileType = $appBinaryFileType;
}
/**
* @return string
*/
public function getAppBinaryFileType()
{
return $this->appBinaryFileType;
}
/**
* @param string
*/
public function setCodeReferenceId($codeReferenceId)
{
$this->codeReferenceId = $codeReferenceId;
}
/**
* @return string
*/
public function getCodeReferenceId()
{
return $this->codeReferenceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaAnalyzeUploadRequest::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaAppBundle extends \Google\Model
{
/**
* @var string
*/
public $bundleId;
/**
* @var string
*/
public $codeReferenceId;
/**
* @var string
*/
public $releaseType;
/**
* @var string
*/
public $version;
/**
* @var string
*/
public $versionId;
/**
* @param string
*/
public function setBundleId($bundleId)
{
$this->bundleId = $bundleId;
}
/**
* @return string
*/
public function getBundleId()
{
return $this->bundleId;
}
/**
* @param string
*/
public function setCodeReferenceId($codeReferenceId)
{
$this->codeReferenceId = $codeReferenceId;
}
/**
* @return string
*/
public function getCodeReferenceId()
{
return $this->codeReferenceId;
}
/**
* @param string
*/
public function setReleaseType($releaseType)
{
$this->releaseType = $releaseType;
}
/**
* @return string
*/
public function getReleaseType()
{
return $this->releaseType;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* @param string
*/
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
/**
* @return string
*/
public function getVersionId()
{
return $this->versionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaAppBundle::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaAppBundle');
@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheck extends \Google\Collection
{
protected $collection_key = 'regionCodes';
protected $citationsType = GoogleChecksReportV1alphaCheckCitation::class;
protected $citationsDataType = 'array';
protected $evidenceType = GoogleChecksReportV1alphaCheckEvidence::class;
protected $evidenceDataType = '';
/**
* @var string[]
*/
public $regionCodes;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $state;
protected $stateMetadataType = GoogleChecksReportV1alphaCheckStateMetadata::class;
protected $stateMetadataDataType = '';
/**
* @var string
*/
public $type;
/**
* @param GoogleChecksReportV1alphaCheckCitation[]
*/
public function setCitations($citations)
{
$this->citations = $citations;
}
/**
* @return GoogleChecksReportV1alphaCheckCitation[]
*/
public function getCitations()
{
return $this->citations;
}
/**
* @param GoogleChecksReportV1alphaCheckEvidence
*/
public function setEvidence(GoogleChecksReportV1alphaCheckEvidence $evidence)
{
$this->evidence = $evidence;
}
/**
* @return GoogleChecksReportV1alphaCheckEvidence
*/
public function getEvidence()
{
return $this->evidence;
}
/**
* @param string[]
*/
public function setRegionCodes($regionCodes)
{
$this->regionCodes = $regionCodes;
}
/**
* @return string[]
*/
public function getRegionCodes()
{
return $this->regionCodes;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleChecksReportV1alphaCheckStateMetadata
*/
public function setStateMetadata(GoogleChecksReportV1alphaCheckStateMetadata $stateMetadata)
{
$this->stateMetadata = $stateMetadata;
}
/**
* @return GoogleChecksReportV1alphaCheckStateMetadata
*/
public function getStateMetadata()
{
return $this->stateMetadata;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheck::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheck');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckCitation extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckCitation::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckCitation');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckDataSecurityEvidence extends \Google\Collection
{
protected $collection_key = 'dataInTransitInfo';
protected $dataInTransitInfoType = GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo::class;
protected $dataInTransitInfoDataType = 'array';
/**
* @param GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo[]
*/
public function setDataInTransitInfo($dataInTransitInfo)
{
$this->dataInTransitInfo = $dataInTransitInfo;
}
/**
* @return GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo[]
*/
public function getDataInTransitInfo()
{
return $this->dataInTransitInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckDataSecurityEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckDataSecurityEvidence');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckDataTypeEvidence extends \Google\Model
{
/**
* @var string
*/
public $dataType;
protected $dataTypeEvidenceType = GoogleChecksReportV1alphaDataTypeEvidence::class;
protected $dataTypeEvidenceDataType = '';
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param GoogleChecksReportV1alphaDataTypeEvidence
*/
public function setDataTypeEvidence(GoogleChecksReportV1alphaDataTypeEvidence $dataTypeEvidence)
{
$this->dataTypeEvidence = $dataTypeEvidence;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEvidence
*/
public function getDataTypeEvidence()
{
return $this->dataTypeEvidence;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckDataTypeEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckDataTypeEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckEndpointEvidence extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* @param GoogleChecksReportV1alphaEndpoint
*/
public function setEndpoint(GoogleChecksReportV1alphaEndpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return GoogleChecksReportV1alphaEndpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckEndpointEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckEndpointEvidence');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence extends \Google\Collection
{
protected $collection_key = 'endpointDetails';
protected $endpointDetailsType = GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails::class;
protected $endpointDetailsDataType = 'array';
/**
* @param GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails[]
*/
public function setEndpointDetails($endpointDetails)
{
$this->endpointDetails = $endpointDetails;
}
/**
* @return GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails[]
*/
public function getEndpointDetails()
{
return $this->endpointDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* @param GoogleChecksReportV1alphaEndpoint
*/
public function setEndpoint(GoogleChecksReportV1alphaEndpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return GoogleChecksReportV1alphaEndpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails');
@@ -0,0 +1,187 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckEvidence extends \Google\Collection
{
protected $collection_key = 'sdks';
protected $dataSecurityType = GoogleChecksReportV1alphaCheckDataSecurityEvidence::class;
protected $dataSecurityDataType = '';
protected $dataTypesType = GoogleChecksReportV1alphaCheckDataTypeEvidence::class;
protected $dataTypesDataType = 'array';
protected $endpointRestrictionViolationsType = GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence::class;
protected $endpointRestrictionViolationsDataType = 'array';
protected $endpointsType = GoogleChecksReportV1alphaCheckEndpointEvidence::class;
protected $endpointsDataType = 'array';
protected $permissionRestrictionViolationsType = GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence::class;
protected $permissionRestrictionViolationsDataType = 'array';
protected $permissionsType = GoogleChecksReportV1alphaCheckPermissionEvidence::class;
protected $permissionsDataType = 'array';
protected $privacyPolicyTextsType = GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence::class;
protected $privacyPolicyTextsDataType = 'array';
protected $sdkIssuesType = GoogleChecksReportV1alphaCheckSdkIssueEvidence::class;
protected $sdkIssuesDataType = 'array';
protected $sdkRestrictionViolationsType = GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence::class;
protected $sdkRestrictionViolationsDataType = 'array';
protected $sdksType = GoogleChecksReportV1alphaCheckSdkEvidence::class;
protected $sdksDataType = 'array';
/**
* @param GoogleChecksReportV1alphaCheckDataSecurityEvidence
*/
public function setDataSecurity(GoogleChecksReportV1alphaCheckDataSecurityEvidence $dataSecurity)
{
$this->dataSecurity = $dataSecurity;
}
/**
* @return GoogleChecksReportV1alphaCheckDataSecurityEvidence
*/
public function getDataSecurity()
{
return $this->dataSecurity;
}
/**
* @param GoogleChecksReportV1alphaCheckDataTypeEvidence[]
*/
public function setDataTypes($dataTypes)
{
$this->dataTypes = $dataTypes;
}
/**
* @return GoogleChecksReportV1alphaCheckDataTypeEvidence[]
*/
public function getDataTypes()
{
return $this->dataTypes;
}
/**
* @param GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence[]
*/
public function setEndpointRestrictionViolations($endpointRestrictionViolations)
{
$this->endpointRestrictionViolations = $endpointRestrictionViolations;
}
/**
* @return GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence[]
*/
public function getEndpointRestrictionViolations()
{
return $this->endpointRestrictionViolations;
}
/**
* @param GoogleChecksReportV1alphaCheckEndpointEvidence[]
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleChecksReportV1alphaCheckEndpointEvidence[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence[]
*/
public function setPermissionRestrictionViolations($permissionRestrictionViolations)
{
$this->permissionRestrictionViolations = $permissionRestrictionViolations;
}
/**
* @return GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence[]
*/
public function getPermissionRestrictionViolations()
{
return $this->permissionRestrictionViolations;
}
/**
* @param GoogleChecksReportV1alphaCheckPermissionEvidence[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleChecksReportV1alphaCheckPermissionEvidence[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence[]
*/
public function setPrivacyPolicyTexts($privacyPolicyTexts)
{
$this->privacyPolicyTexts = $privacyPolicyTexts;
}
/**
* @return GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence[]
*/
public function getPrivacyPolicyTexts()
{
return $this->privacyPolicyTexts;
}
/**
* @param GoogleChecksReportV1alphaCheckSdkIssueEvidence[]
*/
public function setSdkIssues($sdkIssues)
{
$this->sdkIssues = $sdkIssues;
}
/**
* @return GoogleChecksReportV1alphaCheckSdkIssueEvidence[]
*/
public function getSdkIssues()
{
return $this->sdkIssues;
}
/**
* @param GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence[]
*/
public function setSdkRestrictionViolations($sdkRestrictionViolations)
{
$this->sdkRestrictionViolations = $sdkRestrictionViolations;
}
/**
* @return GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence[]
*/
public function getSdkRestrictionViolations()
{
return $this->sdkRestrictionViolations;
}
/**
* @param GoogleChecksReportV1alphaCheckSdkEvidence[]
*/
public function setSdks($sdks)
{
$this->sdks = $sdks;
}
/**
* @return GoogleChecksReportV1alphaCheckSdkEvidence[]
*/
public function getSdks()
{
return $this->sdks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckPermissionEvidence extends \Google\Model
{
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* @param GoogleChecksReportV1alphaPermission
*/
public function setPermission(GoogleChecksReportV1alphaPermission $permission)
{
$this->permission = $permission;
}
/**
* @return GoogleChecksReportV1alphaPermission
*/
public function getPermission()
{
return $this->permission;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckPermissionEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckPermissionEvidence');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence extends \Google\Collection
{
protected $collection_key = 'permissionDetails';
protected $permissionDetailsType = GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails::class;
protected $permissionDetailsDataType = 'array';
/**
* @param GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails[]
*/
public function setPermissionDetails($permissionDetails)
{
$this->permissionDetails = $permissionDetails;
}
/**
* @return GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails[]
*/
public function getPermissionDetails()
{
return $this->permissionDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails extends \Google\Model
{
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* @param GoogleChecksReportV1alphaPermission
*/
public function setPermission(GoogleChecksReportV1alphaPermission $permission)
{
$this->permission = $permission;
}
/**
* @return GoogleChecksReportV1alphaPermission
*/
public function getPermission()
{
return $this->permission;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence extends \Google\Model
{
protected $policyFragmentType = GoogleChecksReportV1alphaPolicyFragment::class;
protected $policyFragmentDataType = '';
/**
* @param GoogleChecksReportV1alphaPolicyFragment
*/
public function setPolicyFragment(GoogleChecksReportV1alphaPolicyFragment $policyFragment)
{
$this->policyFragment = $policyFragment;
}
/**
* @return GoogleChecksReportV1alphaPolicyFragment
*/
public function getPolicyFragment()
{
return $this->policyFragment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckSdkEvidence extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* @param GoogleChecksReportV1alphaSdk
*/
public function setSdk(GoogleChecksReportV1alphaSdk $sdk)
{
$this->sdk = $sdk;
}
/**
* @return GoogleChecksReportV1alphaSdk
*/
public function getSdk()
{
return $this->sdk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckSdkEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckSdkEvidence');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckSdkIssueEvidence extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* @var string
*/
public $sdkVersion;
/**
* @param GoogleChecksReportV1alphaSdk
*/
public function setSdk(GoogleChecksReportV1alphaSdk $sdk)
{
$this->sdk = $sdk;
}
/**
* @return GoogleChecksReportV1alphaSdk
*/
public function getSdk()
{
return $this->sdk;
}
/**
* @param string
*/
public function setSdkVersion($sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return string
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckSdkIssueEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckSdkIssueEvidence');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence extends \Google\Collection
{
protected $collection_key = 'sdkDetails';
protected $sdkDetailsType = GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails::class;
protected $sdkDetailsDataType = 'array';
/**
* @param GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails[]
*/
public function setSdkDetails($sdkDetails)
{
$this->sdkDetails = $sdkDetails;
}
/**
* @return GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails[]
*/
public function getSdkDetails()
{
return $this->sdkDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* @param GoogleChecksReportV1alphaSdk
*/
public function setSdk(GoogleChecksReportV1alphaSdk $sdk)
{
$this->sdk = $sdk;
}
/**
* @return GoogleChecksReportV1alphaSdk
*/
public function getSdk()
{
return $this->sdk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaCheckStateMetadata extends \Google\Collection
{
protected $collection_key = 'badges';
/**
* @var string[]
*/
public $badges;
/**
* @var string
*/
public $firstFailingTime;
/**
* @var string
*/
public $lastFailingTime;
/**
* @param string[]
*/
public function setBadges($badges)
{
$this->badges = $badges;
}
/**
* @return string[]
*/
public function getBadges()
{
return $this->badges;
}
/**
* @param string
*/
public function setFirstFailingTime($firstFailingTime)
{
$this->firstFailingTime = $firstFailingTime;
}
/**
* @return string
*/
public function getFirstFailingTime()
{
return $this->firstFailingTime;
}
/**
* @param string
*/
public function setLastFailingTime($lastFailingTime)
{
$this->lastFailingTime = $lastFailingTime;
}
/**
* @return string
*/
public function getLastFailingTime()
{
return $this->lastFailingTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaCheckStateMetadata::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaCheckStateMetadata');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataMonitoring extends \Google\Collection
{
protected $collection_key = 'sdks';
protected $dataTypesType = GoogleChecksReportV1alphaDataMonitoringDataTypeResult::class;
protected $dataTypesDataType = 'array';
protected $endpointsType = GoogleChecksReportV1alphaDataMonitoringEndpointResult::class;
protected $endpointsDataType = 'array';
protected $permissionsType = GoogleChecksReportV1alphaDataMonitoringPermissionResult::class;
protected $permissionsDataType = 'array';
protected $sdksType = GoogleChecksReportV1alphaDataMonitoringSdkResult::class;
protected $sdksDataType = 'array';
/**
* @param GoogleChecksReportV1alphaDataMonitoringDataTypeResult[]
*/
public function setDataTypes($dataTypes)
{
$this->dataTypes = $dataTypes;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringDataTypeResult[]
*/
public function getDataTypes()
{
return $this->dataTypes;
}
/**
* @param GoogleChecksReportV1alphaDataMonitoringEndpointResult[]
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringEndpointResult[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param GoogleChecksReportV1alphaDataMonitoringPermissionResult[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringPermissionResult[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param GoogleChecksReportV1alphaDataMonitoringSdkResult[]
*/
public function setSdks($sdks)
{
$this->sdks = $sdks;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringSdkResult[]
*/
public function getSdks()
{
return $this->sdks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataMonitoring::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataMonitoring');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataMonitoringDataTypeResult extends \Google\Model
{
/**
* @var string
*/
public $dataType;
protected $dataTypeEvidenceType = GoogleChecksReportV1alphaDataTypeEvidence::class;
protected $dataTypeEvidenceDataType = '';
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param GoogleChecksReportV1alphaDataTypeEvidence
*/
public function setDataTypeEvidence(GoogleChecksReportV1alphaDataTypeEvidence $dataTypeEvidence)
{
$this->dataTypeEvidence = $dataTypeEvidence;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEvidence
*/
public function getDataTypeEvidence()
{
return $this->dataTypeEvidence;
}
/**
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function setMetadata(GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataMonitoringDataTypeResult::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataMonitoringDataTypeResult');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataMonitoringEndpointResult extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* @var int
*/
public $hitCount;
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
/**
* @param GoogleChecksReportV1alphaEndpoint
*/
public function setEndpoint(GoogleChecksReportV1alphaEndpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return GoogleChecksReportV1alphaEndpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* @param int
*/
public function setHitCount($hitCount)
{
$this->hitCount = $hitCount;
}
/**
* @return int
*/
public function getHitCount()
{
return $this->hitCount;
}
/**
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function setMetadata(GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataMonitoringEndpointResult::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataMonitoringEndpointResult');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataMonitoringPermissionResult extends \Google\Model
{
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function setMetadata(GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleChecksReportV1alphaPermission
*/
public function setPermission(GoogleChecksReportV1alphaPermission $permission)
{
$this->permission = $permission;
}
/**
* @return GoogleChecksReportV1alphaPermission
*/
public function getPermission()
{
return $this->permission;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataMonitoringPermissionResult::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataMonitoringPermissionResult');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataMonitoringResultMetadata extends \Google\Collection
{
protected $collection_key = 'badges';
/**
* @var string[]
*/
public $badges;
/**
* @var string
*/
public $firstDetectedTime;
/**
* @var string
*/
public $lastDetectedAppVersion;
/**
* @var string
*/
public $lastDetectedTime;
/**
* @param string[]
*/
public function setBadges($badges)
{
$this->badges = $badges;
}
/**
* @return string[]
*/
public function getBadges()
{
return $this->badges;
}
/**
* @param string
*/
public function setFirstDetectedTime($firstDetectedTime)
{
$this->firstDetectedTime = $firstDetectedTime;
}
/**
* @return string
*/
public function getFirstDetectedTime()
{
return $this->firstDetectedTime;
}
/**
* @param string
*/
public function setLastDetectedAppVersion($lastDetectedAppVersion)
{
$this->lastDetectedAppVersion = $lastDetectedAppVersion;
}
/**
* @return string
*/
public function getLastDetectedAppVersion()
{
return $this->lastDetectedAppVersion;
}
/**
* @param string
*/
public function setLastDetectedTime($lastDetectedTime)
{
$this->lastDetectedTime = $lastDetectedTime;
}
/**
* @return string
*/
public function getLastDetectedTime()
{
return $this->lastDetectedTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataMonitoringResultMetadata::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataMonitoringResultMetadata');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataMonitoringSdkResult extends \Google\Model
{
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function setMetadata(GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleChecksReportV1alphaSdk
*/
public function setSdk(GoogleChecksReportV1alphaSdk $sdk)
{
$this->sdk = $sdk;
}
/**
* @return GoogleChecksReportV1alphaSdk
*/
public function getSdk()
{
return $this->sdk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataMonitoringSdkResult::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataMonitoringSdkResult');
@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypeEndpointEvidence extends \Google\Collection
{
protected $collection_key = 'endpointDetails';
protected $attributedSdksType = GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk::class;
protected $attributedSdksDataType = 'array';
protected $endpointDetailsType = GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails::class;
protected $endpointDetailsDataType = 'array';
/**
* @var string
*/
public $exfiltratedDataType;
/**
* @param GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk[]
*/
public function setAttributedSdks($attributedSdks)
{
$this->attributedSdks = $attributedSdks;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk[]
*/
public function getAttributedSdks()
{
return $this->attributedSdks;
}
/**
* @param GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails[]
*/
public function setEndpointDetails($endpointDetails)
{
$this->endpointDetails = $endpointDetails;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails[]
*/
public function getEndpointDetails()
{
return $this->endpointDetails;
}
/**
* @param string
*/
public function setExfiltratedDataType($exfiltratedDataType)
{
$this->exfiltratedDataType = $exfiltratedDataType;
}
/**
* @return string
*/
public function getExfiltratedDataType()
{
return $this->exfiltratedDataType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataTypeEndpointEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataTypeEndpointEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* @param GoogleChecksReportV1alphaSdk
*/
public function setSdk(GoogleChecksReportV1alphaSdk $sdk)
{
$this->sdk = $sdk;
}
/**
* @return GoogleChecksReportV1alphaSdk
*/
public function getSdk()
{
return $this->sdk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* @param GoogleChecksReportV1alphaEndpoint
*/
public function setEndpoint(GoogleChecksReportV1alphaEndpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return GoogleChecksReportV1alphaEndpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypeEvidence extends \Google\Collection
{
protected $collection_key = 'privacyPolicyTexts';
protected $endpointsType = GoogleChecksReportV1alphaDataTypeEndpointEvidence::class;
protected $endpointsDataType = 'array';
protected $permissionsType = GoogleChecksReportV1alphaDataTypePermissionEvidence::class;
protected $permissionsDataType = 'array';
protected $privacyPolicyTextsType = GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence::class;
protected $privacyPolicyTextsDataType = 'array';
/**
* @param GoogleChecksReportV1alphaDataTypeEndpointEvidence[]
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEndpointEvidence[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param GoogleChecksReportV1alphaDataTypePermissionEvidence[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleChecksReportV1alphaDataTypePermissionEvidence[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence[]
*/
public function setPrivacyPolicyTexts($privacyPolicyTexts)
{
$this->privacyPolicyTexts = $privacyPolicyTexts;
}
/**
* @return GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence[]
*/
public function getPrivacyPolicyTexts()
{
return $this->privacyPolicyTexts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataTypeEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataTypeEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypePermissionEvidence extends \Google\Model
{
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* @param GoogleChecksReportV1alphaPermission
*/
public function setPermission(GoogleChecksReportV1alphaPermission $permission)
{
$this->permission = $permission;
}
/**
* @return GoogleChecksReportV1alphaPermission
*/
public function getPermission()
{
return $this->permission;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataTypePermissionEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataTypePermissionEvidence');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence extends \Google\Model
{
protected $policyFragmentType = GoogleChecksReportV1alphaPolicyFragment::class;
protected $policyFragmentDataType = '';
/**
* @param GoogleChecksReportV1alphaPolicyFragment
*/
public function setPolicyFragment(GoogleChecksReportV1alphaPolicyFragment $policyFragment)
{
$this->policyFragment = $policyFragment;
}
/**
* @return GoogleChecksReportV1alphaPolicyFragment
*/
public function getPolicyFragment()
{
return $this->policyFragment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaEndpoint extends \Google\Model
{
/**
* @var string
*/
public $domain;
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaEndpoint::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaEndpoint');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaListReportsResponse extends \Google\Collection
{
protected $collection_key = 'reports';
/**
* @var string
*/
public $nextPageToken;
protected $reportsType = GoogleChecksReportV1alphaReport::class;
protected $reportsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleChecksReportV1alphaReport[]
*/
public function setReports($reports)
{
$this->reports = $reports;
}
/**
* @return GoogleChecksReportV1alphaReport[]
*/
public function getReports()
{
return $this->reports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaListReportsResponse::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaListReportsResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaPermission extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaPermission::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaPermission');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaPolicyFragment extends \Google\Model
{
/**
* @var string
*/
public $htmlContent;
/**
* @var string
*/
public $sourceUri;
/**
* @param string
*/
public function setHtmlContent($htmlContent)
{
$this->htmlContent = $htmlContent;
}
/**
* @return string
*/
public function getHtmlContent()
{
return $this->htmlContent;
}
/**
* @param string
*/
public function setSourceUri($sourceUri)
{
$this->sourceUri = $sourceUri;
}
/**
* @return string
*/
public function getSourceUri()
{
return $this->sourceUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaPolicyFragment::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaPolicyFragment');
@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaReport extends \Google\Collection
{
protected $collection_key = 'checks';
protected $appBundleType = GoogleChecksReportV1alphaAppBundle::class;
protected $appBundleDataType = '';
protected $checksType = GoogleChecksReportV1alphaCheck::class;
protected $checksDataType = 'array';
protected $dataMonitoringType = GoogleChecksReportV1alphaDataMonitoring::class;
protected $dataMonitoringDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resultsUri;
/**
* @param GoogleChecksReportV1alphaAppBundle
*/
public function setAppBundle(GoogleChecksReportV1alphaAppBundle $appBundle)
{
$this->appBundle = $appBundle;
}
/**
* @return GoogleChecksReportV1alphaAppBundle
*/
public function getAppBundle()
{
return $this->appBundle;
}
/**
* @param GoogleChecksReportV1alphaCheck[]
*/
public function setChecks($checks)
{
$this->checks = $checks;
}
/**
* @return GoogleChecksReportV1alphaCheck[]
*/
public function getChecks()
{
return $this->checks;
}
/**
* @param GoogleChecksReportV1alphaDataMonitoring
*/
public function setDataMonitoring(GoogleChecksReportV1alphaDataMonitoring $dataMonitoring)
{
$this->dataMonitoring = $dataMonitoring;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoring
*/
public function getDataMonitoring()
{
return $this->dataMonitoring;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResultsUri($resultsUri)
{
$this->resultsUri = $resultsUri;
}
/**
* @return string
*/
public function getResultsUri()
{
return $this->resultsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaReport::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaReport');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaSdk extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChecksReportV1alphaSdk::class, 'Google_Service_ChecksService_GoogleChecksReportV1alphaSdk');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class LastUpdatedDate extends \Google\Model
{
/**
* @var string
*/
public $endOffset;
protected $lastUpdatedDateType = Date::class;
protected $lastUpdatedDateDataType = '';
/**
* @var string
*/
public $startOffset;
/**
* @var string
*/
public $textContent;
/**
* @param string
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return string
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param Date
*/
public function setLastUpdatedDate(Date $lastUpdatedDate)
{
$this->lastUpdatedDate = $lastUpdatedDate;
}
/**
* @return Date
*/
public function getLastUpdatedDate()
{
return $this->lastUpdatedDate;
}
/**
* @param string
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return string
*/
public function getStartOffset()
{
return $this->startOffset;
}
/**
* @param string
*/
public function setTextContent($textContent)
{
$this->textContent = $textContent;
}
/**
* @return string
*/
public function getTextContent()
{
return $this->textContent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LastUpdatedDate::class, 'Google_Service_ChecksService_LastUpdatedDate');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_ChecksService_ListOperationsResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class ListPrivacyPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'privacyPolicies';
/**
* @var string
*/
public $nextPageToken;
protected $privacyPoliciesType = PrivacyPolicy::class;
protected $privacyPoliciesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PrivacyPolicy[]
*/
public function setPrivacyPolicies($privacyPolicies)
{
$this->privacyPolicies = $privacyPolicies;
}
/**
* @return PrivacyPolicy[]
*/
public function getPrivacyPolicies()
{
return $this->privacyPolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrivacyPoliciesResponse::class, 'Google_Service_ChecksService_ListPrivacyPoliciesResponse');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_ChecksService_Operation');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class PolicyDataTypeAnnotation extends \Google\Model
{
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $endOffset;
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $startOffset;
/**
* @var string
*/
public $textContent;
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return string
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return string
*/
public function getStartOffset()
{
return $this->startOffset;
}
/**
* @param string
*/
public function setTextContent($textContent)
{
$this->textContent = $textContent;
}
/**
* @return string
*/
public function getTextContent()
{
return $this->textContent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyDataTypeAnnotation::class, 'Google_Service_ChecksService_PolicyDataTypeAnnotation');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class PolicyPurposeOfUseAnnotation extends \Google\Model
{
/**
* @var string
*/
public $endOffset;
/**
* @var string
*/
public $purposeOfUse;
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $startOffset;
/**
* @var string
*/
public $textContent;
/**
* @param string
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return string
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param string
*/
public function setPurposeOfUse($purposeOfUse)
{
$this->purposeOfUse = $purposeOfUse;
}
/**
* @return string
*/
public function getPurposeOfUse()
{
return $this->purposeOfUse;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return string
*/
public function getStartOffset()
{
return $this->startOffset;
}
/**
* @param string
*/
public function setTextContent($textContent)
{
$this->textContent = $textContent;
}
/**
* @return string
*/
public function getTextContent()
{
return $this->textContent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyPurposeOfUseAnnotation::class, 'Google_Service_ChecksService_PolicyPurposeOfUseAnnotation');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class PolicySectionAnnotation extends \Google\Model
{
/**
* @var string
*/
public $endOffset;
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $sectionType;
/**
* @var string
*/
public $startOffset;
/**
* @var string
*/
public $textContent;
/**
* @param string
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return string
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
/**
* @return string
*/
public function getSectionType()
{
return $this->sectionType;
}
/**
* @param string
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return string
*/
public function getStartOffset()
{
return $this->startOffset;
}
/**
* @param string
*/
public function setTextContent($textContent)
{
$this->textContent = $textContent;
}
/**
* @return string
*/
public function getTextContent()
{
return $this->textContent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicySectionAnnotation::class, 'Google_Service_ChecksService_PolicySectionAnnotation');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class PrivacyPolicy extends \Google\Model
{
/**
* @var string
*/
public $htmlContent;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $privacyPolicyUri;
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $websiteUri;
/**
* @param string
*/
public function setHtmlContent($htmlContent)
{
$this->htmlContent = $htmlContent;
}
/**
* @return string
*/
public function getHtmlContent()
{
return $this->htmlContent;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrivacyPolicyUri($privacyPolicyUri)
{
$this->privacyPolicyUri = $privacyPolicyUri;
}
/**
* @return string
*/
public function getPrivacyPolicyUri()
{
return $this->privacyPolicyUri;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setWebsiteUri($websiteUri)
{
$this->websiteUri = $websiteUri;
}
/**
* @return string
*/
public function getWebsiteUri()
{
return $this->websiteUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivacyPolicy::class, 'Google_Service_ChecksService_PrivacyPolicy');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $accounts = $checksService->accounts;
* </code>
*/
class Accounts extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Accounts::class, 'Google_Service_ChecksService_Resource_Accounts');
@@ -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.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\GoogleChecksAccountV1alphaApp;
use Google\Service\ChecksService\GoogleChecksAccountV1alphaListAppsResponse;
/**
* The "apps" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $apps = $checksService->accounts_apps;
* </code>
*/
class AccountsApps extends \Google\Service\Resource
{
/**
* Gets an app. (apps.get)
*
* @param string $name Required. Resource name of the app. Example:
* `accounts/123/apps/456`
* @param array $optParams Optional parameters.
* @return GoogleChecksAccountV1alphaApp
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleChecksAccountV1alphaApp::class);
}
/**
* Lists the apps under the given account. (apps.listAccountsApps)
*
* @param string $parent Required. The parent account. Example: `accounts/123`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of results to return.
* The server may further constrain the maximum number of results returned in a
* single page. If unspecified, the server will decide the number of results to
* be returned.
* @opt_param string pageToken Optional. A page token received from a previous
* `ListApps` call. Provide this to retrieve the subsequent page.
* @return GoogleChecksAccountV1alphaListAppsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleChecksAccountV1alphaListAppsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsApps::class, 'Google_Service_ChecksService_Resource_AccountsApps');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\CancelOperationRequest;
use Google\Service\ChecksService\ChecksEmpty;
use Google\Service\ChecksService\ListOperationsResponse;
use Google\Service\ChecksService\Operation;
use Google\Service\ChecksService\WaitOperationRequest;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $operations = $checksService->accounts_apps_operations;
* </code>
*/
class AccountsAppsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return ChecksEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ChecksEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ChecksEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ChecksEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listAccountsAppsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAppsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
/**
* Waits until the specified long-running operation is done or reaches at most a
* specified timeout, returning the latest state. If the operation is already
* done, the latest state is immediately returned. If the timeout specified is
* greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
* the server does not support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort
* basis. It may return the latest state before the specified timeout (including
* immediately), meaning even an immediate response is no guarantee that the
* operation is done. (operations.wait)
*
* @param string $name The name of the operation resource to wait on.
* @param WaitOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function wait($name, WaitOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('wait', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsAppsOperations::class, 'Google_Service_ChecksService_Resource_AccountsAppsOperations');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\GoogleChecksReportV1alphaListReportsResponse;
use Google\Service\ChecksService\GoogleChecksReportV1alphaReport;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $reports = $checksService->accounts_apps_reports;
* </code>
*/
class AccountsAppsReports extends \Google\Service\Resource
{
/**
* Gets a report. By default, only the name and results_uri fields are returned.
* You can include other fields by listing them in the `fields` URL query
* parameter. For example, `?fields=name,checks` will return the name and checks
* fields. (reports.get)
*
* @param string $name Required. Resource name of the report. Example:
* `accounts/123/apps/456/reports/789`
* @param array $optParams Optional parameters.
*
* @opt_param string checksFilter Optional. An
* [AIP-160](https://google.aip.dev/160) filter string to filter checks within
* the report. Only checks that match the filter string are included in the
* response. Example: `state = FAILED`
* @return GoogleChecksReportV1alphaReport
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleChecksReportV1alphaReport::class);
}
/**
* Lists reports for the specified app. By default, only the name and
* results_uri fields are returned. You can include other fields by listing them
* in the `fields` URL query parameter. For example,
* `?fields=reports(name,checks)` will return the name and checks fields.
* (reports.listAccountsAppsReports)
*
* @param string $parent Required. Resource name of the app. Example:
* `accounts/123/apps/456`
* @param array $optParams Optional parameters.
*
* @opt_param string checksFilter Optional. An
* [AIP-160](https://google.aip.dev/160) filter string to filter checks within
* reports. Only checks that match the filter string are included in the
* response. Example: `state = FAILED`
* @opt_param string filter Optional. An [AIP-160](https://google.aip.dev/160)
* filter string to filter reports. Example: `appBundle.releaseType =
* PRE_RELEASE`
* @opt_param int pageSize Optional. The maximum number of reports to return. If
* unspecified, at most 10 reports will be returned. The maximum value is 50;
* values above 50 will be coerced to 50.
* @opt_param string pageToken Optional. A page token received from a previous
* `ListReports` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListReports` must match the
* call that provided the page token.
* @return GoogleChecksReportV1alphaListReportsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAppsReports($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleChecksReportV1alphaListReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsAppsReports::class, 'Google_Service_ChecksService_Resource_AccountsAppsReports');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
/**
* The "repos" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $repos = $checksService->accounts_repos;
* </code>
*/
class AccountsRepos extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsRepos::class, 'Google_Service_ChecksService_Resource_AccountsRepos');
@@ -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.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $operations = $checksService->accounts_repos_operations;
* </code>
*/
class AccountsReposOperations extends \Google\Service\Resource
{
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsReposOperations::class, 'Google_Service_ChecksService_Resource_AccountsReposOperations');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\GoogleChecksRepoScanV1alphaGenerateScanRequest;
use Google\Service\ChecksService\GoogleChecksRepoScanV1alphaListRepoScansResponse;
use Google\Service\ChecksService\GoogleChecksRepoScanV1alphaRepoScan;
use Google\Service\ChecksService\Operation;
/**
* The "scans" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $scans = $checksService->accounts_repos_scans;
* </code>
*/
class AccountsReposScans extends \Google\Service\Resource
{
/**
* Uploads the results of local Code Compliance analysis and generates a scan of
* privacy issues. Returns a google.longrunning.Operation containing analysis
* and findings. (scans.generate)
*
* @param string $parent Required. Resource name of the repo. Example:
* `accounts/123/repos/456`
* @param GoogleChecksRepoScanV1alphaGenerateScanRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function generate($parent, GoogleChecksRepoScanV1alphaGenerateScanRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generate', [$params], Operation::class);
}
/**
* Gets a repo scan. By default, only the name and results_uri fields are
* returned. You can include other fields by listing them in the `fields` URL
* query parameter. For example, `?fields=name,sources` will return the name and
* sources fields. (scans.get)
*
* @param string $name Required. Resource name of the repo scan. Example:
* `accounts/123/repos/456/scans/789`
* @param array $optParams Optional parameters.
* @return GoogleChecksRepoScanV1alphaRepoScan
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleChecksRepoScanV1alphaRepoScan::class);
}
/**
* Lists repo scans for the specified repo. (scans.listAccountsReposScans)
*
* @param string $parent Required. Resource name of the repo. Example:
* `accounts/123/repos/456`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. An [AIP-160](https://google.aip.dev/160)
* filter string to filter repo scans. Example: `scmMetadata.branch = main`
* @opt_param int pageSize Optional. The maximum number of repo scans to return.
* If unspecified, at most 10 repo scans will be returned. The maximum value is
* 50; values above 50 will be coerced to 50.
* @opt_param string pageToken Optional. A page token received from a previous
* `ListRepoScans` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListRepoScans` must match the
* call that provided the page token.
* @return GoogleChecksRepoScanV1alphaListRepoScansResponse
* @throws \Google\Service\Exception
*/
public function listAccountsReposScans($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleChecksRepoScanV1alphaListRepoScansResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsReposScans::class, 'Google_Service_ChecksService_Resource_AccountsReposScans');
@@ -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.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\GoogleChecksAisafetyV1alphaClassifyContentRequest;
use Google\Service\ChecksService\GoogleChecksAisafetyV1alphaClassifyContentResponse;
/**
* The "aisafety" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $aisafety = $checksService->aisafety;
* </code>
*/
class Aisafety extends \Google\Service\Resource
{
/**
* Analyze a piece of content with the provided set of policies.
* (aisafety.classifyContent)
*
* @param GoogleChecksAisafetyV1alphaClassifyContentRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChecksAisafetyV1alphaClassifyContentResponse
* @throws \Google\Service\Exception
*/
public function classifyContent(GoogleChecksAisafetyV1alphaClassifyContentRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('classifyContent', [$params], GoogleChecksAisafetyV1alphaClassifyContentResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Aisafety::class, 'Google_Service_ChecksService_Resource_Aisafety');
@@ -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.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\GoogleChecksReportV1alphaAnalyzeUploadRequest;
use Google\Service\ChecksService\Operation;
/**
* The "media" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $media = $checksService->media;
* </code>
*/
class Media extends \Google\Service\Resource
{
/**
* Analyzes the uploaded app bundle and returns a google.longrunning.Operation
* containing the generated Report. ## Example (upload only) Send a regular POST
* request with the header `X-Goog-Upload-Protocol: raw`. ``` POST https://check
* s.googleapis.com/upload/v1alpha/{parent=accounts/apps}/reports:analyzeUpload
* HTTP/1.1 X-Goog-Upload-Protocol: raw Content-Length: Content-Type:
* application/octet-stream ``` ## Example (upload with metadata) Send a
* multipart POST request where the first body part contains the metadata JSON
* and the second body part contains the binary upload. Include the header
* `X-Goog-Upload-Protocol: multipart`. ``` POST https://checks.googleapis.com/u
* pload/v1alpha/{parent=accounts/apps}/reports:analyzeUpload HTTP/1.1 X-Goog-
* Upload-Protocol: multipart Content-Length: ? Content-Type: multipart/related;
* boundary=BOUNDARY --BOUNDARY Content-Type: application/json
* {"code_reference_id":"db5bcc20f94055fb5bc08cbb9b0e7a5530308786"} --BOUNDARY
* --BOUNDARY-- ``` *Note:* Metadata-only requests are not supported.
* (media.upload)
*
* @param string $parent Required. Resource name of the app. Example:
* `accounts/123/apps/456`
* @param GoogleChecksReportV1alphaAnalyzeUploadRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function upload($parent, GoogleChecksReportV1alphaAnalyzeUploadRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('upload', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Media::class, 'Google_Service_ChecksService_Resource_Media');
@@ -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.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\AnalyzePrivacyPolicyRequest;
use Google\Service\ChecksService\AnalyzePrivacyPolicyResponse;
/**
* The "privacypolicy" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $privacypolicy = $checksService->privacypolicy;
* </code>
*/
class Privacypolicy extends \Google\Service\Resource
{
/**
* Performs a synchronous analysis of a privacy policy, where the policy content
* is mapped to privacy categories, data types, and purposes.
* (privacypolicy.analyze)
*
* @param AnalyzePrivacyPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return AnalyzePrivacyPolicyResponse
*/
public function analyze(AnalyzePrivacyPolicyRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('analyze', [$params], AnalyzePrivacyPolicyResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Privacypolicy::class, 'Google_Service_ChecksService_Resource_Privacypolicy');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $projects = $checksService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_ChecksService_Resource_Projects');
@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\ChecksEmpty;
use Google\Service\ChecksService\FindPrivacyPolicyRequest;
use Google\Service\ChecksService\ListPrivacyPoliciesResponse;
use Google\Service\ChecksService\Operation;
use Google\Service\ChecksService\PrivacyPolicy;
/**
* The "privacyPolicies" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $privacyPolicies = $checksService->projects_privacyPolicies;
* </code>
*/
class ProjectsPrivacyPolicies extends \Google\Service\Resource
{
/**
* Deletes a privacy policy. (privacyPolicies.delete)
*
* @param string $name Required. Resource name of the privacy policy.
* @param array $optParams Optional parameters.
* @return ChecksEmpty
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ChecksEmpty::class);
}
/**
* Finds the privacy policy of a given website. (privacyPolicies.find)
*
* @param string $parent Required. Resource name of the GCP project to which
* PrivacyPolicy resources will be added, in the format:
* `projects/{projectNumber}`.
* @param FindPrivacyPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
*/
public function find($parent, FindPrivacyPolicyRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('find', [$params], Operation::class);
}
/**
* Gets a privacy policy. (privacyPolicies.get)
*
* @param string $name Required. Resource name of the privacy policy.
* @param array $optParams Optional parameters.
* @return PrivacyPolicy
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PrivacyPolicy::class);
}
/**
* Lists privacy policies. (privacyPolicies.listProjectsPrivacyPolicies)
*
* @param string $parent Required. Resource name of the parent project, in the
* format `projects/{projectNumber}`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A filter string to filters results. The
* filter syntax is defined by AIP-160 (https://google.aip.dev/160).
* @opt_param int pageSize Optional. The maximum number of results to return. If
* unspecified, at most 50 results will be returned. The maximum value is 1000;
* values above 1000 will be coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListPrivacyPoliciesRequest` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListPrivacyPoliciesRequest` must match the call that provided the page
* token.
* @return ListPrivacyPoliciesResponse
*/
public function listProjectsPrivacyPolicies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrivacyPoliciesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsPrivacyPolicies::class, 'Google_Service_ChecksService_Resource_ProjectsPrivacyPolicies');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
/**
* The "privacypolicy" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $privacypolicy = $checksService->projects_privacypolicy;
* </code>
*/
class ProjectsPrivacypolicy extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsPrivacypolicy::class, 'Google_Service_ChecksService_Resource_ProjectsPrivacypolicy');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService\Resource;
use Google\Service\ChecksService\ChecksEmpty;
use Google\Service\ChecksService\ListOperationsResponse;
use Google\Service\ChecksService\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $checksService = new Google\Service\ChecksService(...);
* $operations = $checksService->projects_privacypolicy_operations;
* </code>
*/
class ProjectsPrivacypolicyOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param array $optParams Optional parameters.
* @return ChecksEmpty
*/
public function cancel($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ChecksEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ChecksEmpty
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ChecksEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsPrivacypolicyOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
*/
public function listProjectsPrivacypolicyOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
/**
* Waits until the specified long-running operation is done or reaches at most a
* specified timeout, returning the latest state. If the operation is already
* done, the latest state is immediately returned. If the timeout specified is
* greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
* the server does not support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort
* basis. It may return the latest state before the specified timeout (including
* immediately), meaning even an immediate response is no guarantee that the
* operation is done. (operations.wait)
*
* @param string $name The name of the operation resource to wait on.
* @param array $optParams Optional parameters.
*
* @opt_param string timeout The maximum duration to wait before timing out. If
* left blank, the wait will be at most the time permitted by the underlying
* HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one
* will be used.
* @return Operation
*/
public function wait($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('wait', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsPrivacypolicyOperations::class, 'Google_Service_ChecksService_Resource_ProjectsPrivacypolicyOperations');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_ChecksService_Status');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class WaitOperationRequest extends \Google\Model
{
/**
* @var string
*/
public $timeout;
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WaitOperationRequest::class, 'Google_Service_ChecksService_WaitOperationRequest');