gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 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,70 @@
<?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
{
/**
* The resource name of the app. Example: `accounts/123/apps/456`
*
* @var string
*/
public $name;
/**
* The app's title.
*
* @var string
*/
public $title;
/**
* The resource name of the app. Example: `accounts/123/apps/456`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The app's title.
*
* @param string $title
*/
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,69 @@
<?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';
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The apps.
*
* @param GoogleChecksAccountV1alphaApp[] $apps
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return GoogleChecksAccountV1alphaApp[]
*/
public function getApps()
{
return $this->apps;
}
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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,120 @@
<?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
{
/**
* Unspecified version.
*/
public const CLASSIFIER_VERSION_CLASSIFIER_VERSION_UNSPECIFIED = 'CLASSIFIER_VERSION_UNSPECIFIED';
/**
* Stable version.
*/
public const CLASSIFIER_VERSION_STABLE = 'STABLE';
/**
* Latest version.
*/
public const CLASSIFIER_VERSION_LATEST = 'LATEST';
protected $collection_key = 'policies';
/**
* Optional. Version of the classifier to use. If not specified, the latest
* version will be used.
*
* @var string
*/
public $classifierVersion;
protected $contextType = GoogleChecksAisafetyV1alphaClassifyContentRequestContext::class;
protected $contextDataType = '';
protected $inputType = GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent::class;
protected $inputDataType = '';
protected $policiesType = GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig::class;
protected $policiesDataType = 'array';
/**
* Optional. Version of the classifier to use. If not specified, the latest
* version will be used.
*
* Accepted values: CLASSIFIER_VERSION_UNSPECIFIED, STABLE, LATEST
*
* @param self::CLASSIFIER_VERSION_* $classifierVersion
*/
public function setClassifierVersion($classifierVersion)
{
$this->classifierVersion = $classifierVersion;
}
/**
* @return self::CLASSIFIER_VERSION_*
*/
public function getClassifierVersion()
{
return $this->classifierVersion;
}
/**
* Optional. Context about the input that will be used to help on the
* classification.
*
* @param GoogleChecksAisafetyV1alphaClassifyContentRequestContext $context
*/
public function setContext(GoogleChecksAisafetyV1alphaClassifyContentRequestContext $context)
{
$this->context = $context;
}
/**
* @return GoogleChecksAisafetyV1alphaClassifyContentRequestContext
*/
public function getContext()
{
return $this->context;
}
/**
* Required. Content to be classified.
*
* @param GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent $input
*/
public function setInput(GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent $input)
{
$this->input = $input;
}
/**
* @return GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent
*/
public function getInput()
{
return $this->input;
}
/**
* Required. List of policies to classify against.
*
* @param GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig[] $policies
*/
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,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksAisafetyV1alphaClassifyContentRequestContext extends \Google\Model
{
/**
* Optional. Prompt that generated the model response.
*
* @var string
*/
public $prompt;
/**
* Optional. Prompt that generated the model response.
*
* @param string $prompt
*/
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,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 GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent extends \Google\Model
{
protected $textInputType = GoogleChecksAisafetyV1alphaTextInput::class;
protected $textInputDataType = '';
/**
* Content in text format.
*
* @param GoogleChecksAisafetyV1alphaTextInput $textInput
*/
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,119 @@
<?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
{
/**
* Default.
*/
public const POLICY_TYPE_POLICY_TYPE_UNSPECIFIED = 'POLICY_TYPE_UNSPECIFIED';
/**
* The model facilitates, promotes or enables access to harmful goods,
* services, and activities.
*/
public const POLICY_TYPE_DANGEROUS_CONTENT = 'DANGEROUS_CONTENT';
/**
* The model reveals an individuals personal information and data.
*/
public const POLICY_TYPE_PII_SOLICITING_RECITING = 'PII_SOLICITING_RECITING';
/**
* The model generates content that is malicious, intimidating, bullying, or
* abusive towards another individual.
*/
public const POLICY_TYPE_HARASSMENT = 'HARASSMENT';
/**
* The model generates content that is sexually explicit in nature.
*/
public const POLICY_TYPE_SEXUALLY_EXPLICIT = 'SEXUALLY_EXPLICIT';
/**
* The model promotes violence, hatred, discrimination on the basis of race,
* religion, etc.
*/
public const POLICY_TYPE_HATE_SPEECH = 'HATE_SPEECH';
/**
* The model provides or offers to facilitate access to medical advice or
* guidance.
*/
public const POLICY_TYPE_MEDICAL_INFO = 'MEDICAL_INFO';
/**
* The model generates content that contains gratuitous, realistic
* descriptions of violence or gore.
*/
public const POLICY_TYPE_VIOLENCE_AND_GORE = 'VIOLENCE_AND_GORE';
/**
* The model generates profanity and obscenities.
*/
public const POLICY_TYPE_OBSCENITY_AND_PROFANITY = 'OBSCENITY_AND_PROFANITY';
/**
* Required. Type of the policy.
*
* @var string
*/
public $policyType;
/**
* Optional. Score threshold to use when deciding if the content is violative
* or non-violative. If not specified, the default 0.5 threshold for the
* policy will be used.
*
* @var float
*/
public $threshold;
/**
* Required. Type of the policy.
*
* Accepted values: POLICY_TYPE_UNSPECIFIED, DANGEROUS_CONTENT,
* PII_SOLICITING_RECITING, HARASSMENT, SEXUALLY_EXPLICIT, HATE_SPEECH,
* MEDICAL_INFO, VIOLENCE_AND_GORE, OBSCENITY_AND_PROFANITY
*
* @param self::POLICY_TYPE_* $policyType
*/
public function setPolicyType($policyType)
{
$this->policyType = $policyType;
}
/**
* @return self::POLICY_TYPE_*
*/
public function getPolicyType()
{
return $this->policyType;
}
/**
* Optional. Score threshold to use when deciding if the content is violative
* or non-violative. If not specified, the default 0.5 threshold for the
* policy will be used.
*
* @param float $threshold
*/
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,45 @@
<?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';
/**
* Results of the classification for each policy.
*
* @param GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult[] $policyResults
*/
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,156 @@
<?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
{
/**
* Default.
*/
public const POLICY_TYPE_POLICY_TYPE_UNSPECIFIED = 'POLICY_TYPE_UNSPECIFIED';
/**
* The model facilitates, promotes or enables access to harmful goods,
* services, and activities.
*/
public const POLICY_TYPE_DANGEROUS_CONTENT = 'DANGEROUS_CONTENT';
/**
* The model reveals an individuals personal information and data.
*/
public const POLICY_TYPE_PII_SOLICITING_RECITING = 'PII_SOLICITING_RECITING';
/**
* The model generates content that is malicious, intimidating, bullying, or
* abusive towards another individual.
*/
public const POLICY_TYPE_HARASSMENT = 'HARASSMENT';
/**
* The model generates content that is sexually explicit in nature.
*/
public const POLICY_TYPE_SEXUALLY_EXPLICIT = 'SEXUALLY_EXPLICIT';
/**
* The model promotes violence, hatred, discrimination on the basis of race,
* religion, etc.
*/
public const POLICY_TYPE_HATE_SPEECH = 'HATE_SPEECH';
/**
* The model provides or offers to facilitate access to medical advice or
* guidance.
*/
public const POLICY_TYPE_MEDICAL_INFO = 'MEDICAL_INFO';
/**
* The model generates content that contains gratuitous, realistic
* descriptions of violence or gore.
*/
public const POLICY_TYPE_VIOLENCE_AND_GORE = 'VIOLENCE_AND_GORE';
/**
* The model generates profanity and obscenities.
*/
public const POLICY_TYPE_OBSCENITY_AND_PROFANITY = 'OBSCENITY_AND_PROFANITY';
/**
* Unspecified result.
*/
public const VIOLATION_RESULT_VIOLATION_RESULT_UNSPECIFIED = 'VIOLATION_RESULT_UNSPECIFIED';
/**
* The final score is greater or equal the input score threshold.
*/
public const VIOLATION_RESULT_VIOLATIVE = 'VIOLATIVE';
/**
* The final score is smaller than the input score threshold.
*/
public const VIOLATION_RESULT_NON_VIOLATIVE = 'NON_VIOLATIVE';
/**
* There was an error and the violation result could not be determined.
*/
public const VIOLATION_RESULT_CLASSIFICATION_ERROR = 'CLASSIFICATION_ERROR';
/**
* Type of the policy.
*
* @var string
*/
public $policyType;
/**
* Final score for the results of this policy.
*
* @var float
*/
public $score;
/**
* Result of the classification for the policy.
*
* @var string
*/
public $violationResult;
/**
* Type of the policy.
*
* Accepted values: POLICY_TYPE_UNSPECIFIED, DANGEROUS_CONTENT,
* PII_SOLICITING_RECITING, HARASSMENT, SEXUALLY_EXPLICIT, HATE_SPEECH,
* MEDICAL_INFO, VIOLENCE_AND_GORE, OBSCENITY_AND_PROFANITY
*
* @param self::POLICY_TYPE_* $policyType
*/
public function setPolicyType($policyType)
{
$this->policyType = $policyType;
}
/**
* @return self::POLICY_TYPE_*
*/
public function getPolicyType()
{
return $this->policyType;
}
/**
* Final score for the results of this policy.
*
* @param float $score
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* Result of the classification for the policy.
*
* Accepted values: VIOLATION_RESULT_UNSPECIFIED, VIOLATIVE, NON_VIOLATIVE,
* CLASSIFICATION_ERROR
*
* @param self::VIOLATION_RESULT_* $violationResult
*/
public function setViolationResult($violationResult)
{
$this->violationResult = $violationResult;
}
/**
* @return self::VIOLATION_RESULT_*
*/
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,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;
class GoogleChecksAisafetyV1alphaTextInput extends \Google\Model
{
/**
* Actual piece of text to be classified.
*
* @var string
*/
public $content;
/**
* Optional. Language of the text in ISO 639-1 format. If the language is
* invalid or not specified, the system will try to detect it.
*
* @var string
*/
public $languageCode;
/**
* Actual piece of text to be classified.
*
* @param string $content
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* Optional. Language of the text in ISO 639-1 format. If the language is
* invalid or not specified, the system will try to detect it.
*
* @param string $languageCode
*/
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,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaCliAnalysis extends \Google\Collection
{
protected $collection_key = 'sources';
protected $codeScansType = GoogleChecksRepoScanV1alphaCodeScan::class;
protected $codeScansDataType = 'array';
protected $sourcesType = GoogleChecksRepoScanV1alphaSource::class;
protected $sourcesDataType = 'array';
/**
* Optional. Requested code scans resulting from preliminary CLI analysis.
*
* @param GoogleChecksRepoScanV1alphaCodeScan[] $codeScans
*/
public function setCodeScans($codeScans)
{
$this->codeScans = $codeScans;
}
/**
* @return GoogleChecksRepoScanV1alphaCodeScan[]
*/
public function getCodeScans()
{
return $this->codeScans;
}
/**
* Optional. Data sources detected in the scan.
*
* @param GoogleChecksRepoScanV1alphaSource[] $sources
*/
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,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 GoogleChecksRepoScanV1alphaCodeAttribution extends \Google\Model
{
/**
* Optional. Code excerpt where the source was detected along with surrounding
* code.
*
* @var string
*/
public $codeExcerpt;
/**
* Required. Line number (1-based).
*
* @var int
*/
public $lineNumber;
/**
* Required. Path of the file.
*
* @var string
*/
public $path;
/**
* Optional. Start line number of the code excerpt (1-based).
*
* @var int
*/
public $startLineNumber;
/**
* Optional. Code excerpt where the source was detected along with surrounding
* code.
*
* @param string $codeExcerpt
*/
public function setCodeExcerpt($codeExcerpt)
{
$this->codeExcerpt = $codeExcerpt;
}
/**
* @return string
*/
public function getCodeExcerpt()
{
return $this->codeExcerpt;
}
/**
* Required. Line number (1-based).
*
* @param int $lineNumber
*/
public function setLineNumber($lineNumber)
{
$this->lineNumber = $lineNumber;
}
/**
* @return int
*/
public function getLineNumber()
{
return $this->lineNumber;
}
/**
* Required. Path of the file.
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* Optional. Start line number of the code excerpt (1-based).
*
* @param int $startLineNumber
*/
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,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksRepoScanV1alphaCodeScan extends \Google\Collection
{
protected $collection_key = 'dataTypeClassifications';
protected $dataTypeClassificationsType = GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification::class;
protected $dataTypeClassificationsDataType = 'array';
protected $sourceCodeType = GoogleChecksRepoScanV1alphaSourceCode::class;
protected $sourceCodeDataType = '';
/**
* Optional. Data type classification requests.
*
* @param GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification[] $dataTypeClassifications
*/
public function setDataTypeClassifications($dataTypeClassifications)
{
$this->dataTypeClassifications = $dataTypeClassifications;
}
/**
* @return GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification[]
*/
public function getDataTypeClassifications()
{
return $this->dataTypeClassifications;
}
/**
* Required. Source code to analyze.
*
* @param GoogleChecksRepoScanV1alphaSourceCode $sourceCode
*/
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,266 @@
<?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
{
/**
* Not specified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* User or device physical location to an area greater than or equal to 3
* square kilometers, such as the city a user is in, or location provided by
* Android's ACCESS_COARSE_LOCATION permission.
*/
public const DATA_TYPE_DATA_TYPE_APPROXIMATE_LOCATION = 'DATA_TYPE_APPROXIMATE_LOCATION';
/**
* User or device physical location within an area less than 3 square
* kilometers, such as location provided by Android's ACCESS_FINE_LOCATION
* permission.
*/
public const DATA_TYPE_DATA_TYPE_PRECISE_LOCATION = 'DATA_TYPE_PRECISE_LOCATION';
/**
* How a user refers to themselves, such as their first or last name, or
* nickname.
*/
public const DATA_TYPE_DATA_TYPE_PERSONAL_NAME = 'DATA_TYPE_PERSONAL_NAME';
/**
* A user's email address.
*/
public const DATA_TYPE_DATA_TYPE_EMAIL_ADDRESS = 'DATA_TYPE_EMAIL_ADDRESS';
/**
* Identifiers that relate to an identifiable person. For example, an account
* ID, account number, or account name.
*/
public const DATA_TYPE_DATA_TYPE_USER_IDS = 'DATA_TYPE_USER_IDS';
/**
* A user's address, such as a mailing or home address.
*/
public const DATA_TYPE_DATA_TYPE_PHYSICAL_ADDRESS = 'DATA_TYPE_PHYSICAL_ADDRESS';
/**
* A user's phone number.
*/
public const DATA_TYPE_DATA_TYPE_PHONE_NUMBER = 'DATA_TYPE_PHONE_NUMBER';
/**
* Information about a user's race or ethnicity.
*/
public const DATA_TYPE_DATA_TYPE_RACE_AND_ETHNICITY = 'DATA_TYPE_RACE_AND_ETHNICITY';
/**
* Information about a user's political or religious beliefs.
*/
public const DATA_TYPE_DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS = 'DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS';
/**
* Information about a user's sexual orientation.
*/
public const DATA_TYPE_DATA_TYPE_SEXUAL_ORIENTATION = 'DATA_TYPE_SEXUAL_ORIENTATION';
/**
* Any other personal information such as date of birth, gender identity,
* veteran status, etc.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_PERSONAL_INFO = 'DATA_TYPE_OTHER_PERSONAL_INFO';
/**
* Information about a user's financial accounts such as credit card number.
*/
public const DATA_TYPE_DATA_TYPE_PAYMENT_INFO = 'DATA_TYPE_PAYMENT_INFO';
/**
* Information about purchases or transactions a user has made.
*/
public const DATA_TYPE_DATA_TYPE_PURCHASE_HISTORY = 'DATA_TYPE_PURCHASE_HISTORY';
/**
* Information about a user's credit score.
*/
public const DATA_TYPE_DATA_TYPE_CREDIT_SCORE = 'DATA_TYPE_CREDIT_SCORE';
/**
* Any other financial information such as user salary or debts.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_FINANCIAL_INFO = 'DATA_TYPE_OTHER_FINANCIAL_INFO';
/**
* Information about a user's health, such as medical records or symptoms.
*/
public const DATA_TYPE_DATA_TYPE_HEALTH_INFO = 'DATA_TYPE_HEALTH_INFO';
/**
* Information about a user's fitness, such as exercise or other physical
* activity.
*/
public const DATA_TYPE_DATA_TYPE_FITNESS_INFO = 'DATA_TYPE_FITNESS_INFO';
/**
* A user's emails including the email subject line, sender, recipients, and
* the content of the email.
*/
public const DATA_TYPE_DATA_TYPE_EMAILS = 'DATA_TYPE_EMAILS';
/**
* A user's text messages including the sender, recipients, and the content of
* the message.
*/
public const DATA_TYPE_DATA_TYPE_TEXT_MESSAGES = 'DATA_TYPE_TEXT_MESSAGES';
/**
* Any other types of messages. For example, instant messages or chat content.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_IN_APP_MESSAGES = 'DATA_TYPE_OTHER_IN_APP_MESSAGES';
/**
* A user's photos.
*/
public const DATA_TYPE_DATA_TYPE_PHOTOS = 'DATA_TYPE_PHOTOS';
/**
* A user's videos.
*/
public const DATA_TYPE_DATA_TYPE_VIDEOS = 'DATA_TYPE_VIDEOS';
/**
* A user's voice such as a voicemail or a sound recording.
*/
public const DATA_TYPE_DATA_TYPE_VOICE_OR_SOUND_RECORDINGS = 'DATA_TYPE_VOICE_OR_SOUND_RECORDINGS';
/**
* A user's music files.
*/
public const DATA_TYPE_DATA_TYPE_MUSIC_FILES = 'DATA_TYPE_MUSIC_FILES';
/**
* Any other user-created or user-provided audio files.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_AUDIO_FILES = 'DATA_TYPE_OTHER_AUDIO_FILES';
/**
* A user's files or documents, or information about their files or documents
* such as file names.
*/
public const DATA_TYPE_DATA_TYPE_FILES_AND_DOCS = 'DATA_TYPE_FILES_AND_DOCS';
/**
* Information from a user's calendar such as events, event notes, and
* attendees.
*/
public const DATA_TYPE_DATA_TYPE_CALENDAR_EVENTS = 'DATA_TYPE_CALENDAR_EVENTS';
/**
* Information about the users contacts such as contact names, message
* history, and social graph information like usernames, contact recency,
* contact frequency, interaction duration and call history.
*/
public const DATA_TYPE_DATA_TYPE_CONTACTS = 'DATA_TYPE_CONTACTS';
/**
* Information about how a user interacts with your app, such as the number of
* page views or taps.
*/
public const DATA_TYPE_DATA_TYPE_APP_INTERACTIONS = 'DATA_TYPE_APP_INTERACTIONS';
/**
* Information about what a user has searched for in your app.
*/
public const DATA_TYPE_DATA_TYPE_IN_APP_SEARCH_HISTORY = 'DATA_TYPE_IN_APP_SEARCH_HISTORY';
/**
* Inventory of apps or packages installed on the users device.
*/
public const DATA_TYPE_DATA_TYPE_INSTALLED_APPS = 'DATA_TYPE_INSTALLED_APPS';
/**
* Any other user-generated content not listed here, or in any other section.
* For example, user bios, notes, or open-ended responses.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_USER_GENERATED_CONTENT = 'DATA_TYPE_OTHER_USER_GENERATED_CONTENT';
/**
* Any other user activity or actions in-app not listed here such as gameplay,
* likes, and dialog options.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_ACTIONS = 'DATA_TYPE_OTHER_ACTIONS';
/**
* Information about the websites a user has visited.
*/
public const DATA_TYPE_DATA_TYPE_WEB_BROWSING_HISTORY = 'DATA_TYPE_WEB_BROWSING_HISTORY';
/**
* Crash log data from your app. For example, the number of times your app has
* crashed, stack traces, or other information directly related to a crash.
*/
public const DATA_TYPE_DATA_TYPE_CRASH_LOGS = 'DATA_TYPE_CRASH_LOGS';
/**
* Information about the performance of your app. For example battery life,
* loading time, latency, framerate, or any technical diagnostics.
*/
public const DATA_TYPE_DATA_TYPE_PERFORMANCE_DIAGNOSTICS = 'DATA_TYPE_PERFORMANCE_DIAGNOSTICS';
/**
* Any other app performance data not listed here.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_APP_PERFORMANCE_DATA = 'DATA_TYPE_OTHER_APP_PERFORMANCE_DATA';
/**
* Identifiers that relate to an individual device, browser or app. For
* example, an IMEI number, MAC address, Widevine Device ID, Firebase
* installation ID, or advertising identifier.
*/
public const DATA_TYPE_DATA_TYPE_DEVICE_OR_OTHER_IDS = 'DATA_TYPE_DEVICE_OR_OTHER_IDS';
/**
* Required. Candidate data type.
*
* @var string
*/
public $dataType;
/**
* Required. Line number (1-based).
*
* @var int
*/
public $lineNumber;
/**
* Required. Candidate data type.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, DATA_TYPE_APPROXIMATE_LOCATION,
* DATA_TYPE_PRECISE_LOCATION, DATA_TYPE_PERSONAL_NAME,
* DATA_TYPE_EMAIL_ADDRESS, DATA_TYPE_USER_IDS, DATA_TYPE_PHYSICAL_ADDRESS,
* DATA_TYPE_PHONE_NUMBER, DATA_TYPE_RACE_AND_ETHNICITY,
* DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS, DATA_TYPE_SEXUAL_ORIENTATION,
* DATA_TYPE_OTHER_PERSONAL_INFO, DATA_TYPE_PAYMENT_INFO,
* DATA_TYPE_PURCHASE_HISTORY, DATA_TYPE_CREDIT_SCORE,
* DATA_TYPE_OTHER_FINANCIAL_INFO, DATA_TYPE_HEALTH_INFO,
* DATA_TYPE_FITNESS_INFO, DATA_TYPE_EMAILS, DATA_TYPE_TEXT_MESSAGES,
* DATA_TYPE_OTHER_IN_APP_MESSAGES, DATA_TYPE_PHOTOS, DATA_TYPE_VIDEOS,
* DATA_TYPE_VOICE_OR_SOUND_RECORDINGS, DATA_TYPE_MUSIC_FILES,
* DATA_TYPE_OTHER_AUDIO_FILES, DATA_TYPE_FILES_AND_DOCS,
* DATA_TYPE_CALENDAR_EVENTS, DATA_TYPE_CONTACTS, DATA_TYPE_APP_INTERACTIONS,
* DATA_TYPE_IN_APP_SEARCH_HISTORY, DATA_TYPE_INSTALLED_APPS,
* DATA_TYPE_OTHER_USER_GENERATED_CONTENT, DATA_TYPE_OTHER_ACTIONS,
* DATA_TYPE_WEB_BROWSING_HISTORY, DATA_TYPE_CRASH_LOGS,
* DATA_TYPE_PERFORMANCE_DIAGNOSTICS, DATA_TYPE_OTHER_APP_PERFORMANCE_DATA,
* DATA_TYPE_DEVICE_OR_OTHER_IDS
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Required. Line number (1-based).
*
* @param int $lineNumber
*/
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,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;
class GoogleChecksRepoScanV1alphaGenerateScanRequest extends \Google\Model
{
protected $cliAnalysisType = GoogleChecksRepoScanV1alphaCliAnalysis::class;
protected $cliAnalysisDataType = '';
/**
* Required. CLI version.
*
* @var string
*/
public $cliVersion;
/**
* Required. Local scan path.
*
* @var string
*/
public $localScanPath;
protected $scmMetadataType = GoogleChecksRepoScanV1alphaScmMetadata::class;
protected $scmMetadataDataType = '';
/**
* Required. CLI analysis results.
*
* @param GoogleChecksRepoScanV1alphaCliAnalysis $cliAnalysis
*/
public function setCliAnalysis(GoogleChecksRepoScanV1alphaCliAnalysis $cliAnalysis)
{
$this->cliAnalysis = $cliAnalysis;
}
/**
* @return GoogleChecksRepoScanV1alphaCliAnalysis
*/
public function getCliAnalysis()
{
return $this->cliAnalysis;
}
/**
* Required. CLI version.
*
* @param string $cliVersion
*/
public function setCliVersion($cliVersion)
{
$this->cliVersion = $cliVersion;
}
/**
* @return string
*/
public function getCliVersion()
{
return $this->cliVersion;
}
/**
* Required. Local scan path.
*
* @param string $localScanPath
*/
public function setLocalScanPath($localScanPath)
{
$this->localScanPath = $localScanPath;
}
/**
* @return string
*/
public function getLocalScanPath()
{
return $this->localScanPath;
}
/**
* Required. SCM metadata.
*
* @param GoogleChecksRepoScanV1alphaScmMetadata $scmMetadata
*/
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,69 @@
<?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';
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $repoScansType = GoogleChecksRepoScanV1alphaRepoScan::class;
protected $repoScansDataType = 'array';
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The repo scans for the specified app.
*
* @param GoogleChecksRepoScanV1alphaRepoScan[] $repoScans
*/
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,74 @@
<?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
{
/**
* Required. For PR analysis, we compare against the most recent scan of the
* base branch to highlight new issues.
*
* @var string
*/
public $baseBranch;
/**
* Required. This can be supplied by the user or parsed automatically from
* predefined CI environment variables.
*
* @var string
*/
public $prNumber;
/**
* Required. For PR analysis, we compare against the most recent scan of the
* base branch to highlight new issues.
*
* @param string $baseBranch
*/
public function setBaseBranch($baseBranch)
{
$this->baseBranch = $baseBranch;
}
/**
* @return string
*/
public function getBaseBranch()
{
return $this->baseBranch;
}
/**
* Required. This can be supplied by the user or parsed automatically from
* predefined CI environment variables.
*
* @param string $prNumber
*/
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,151 @@
<?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';
/**
* CLI version.
*
* @var string
*/
public $cliVersion;
/**
* Local scan path.
*
* @var string
*/
public $localScanPath;
/**
* Identifier. Resource name of the scan.
*
* @var string
*/
public $name;
/**
* A URL to view results.
*
* @var string
*/
public $resultsUri;
protected $scmMetadataType = GoogleChecksRepoScanV1alphaScmMetadata::class;
protected $scmMetadataDataType = '';
protected $sourcesType = GoogleChecksRepoScanV1alphaSource::class;
protected $sourcesDataType = 'array';
/**
* CLI version.
*
* @param string $cliVersion
*/
public function setCliVersion($cliVersion)
{
$this->cliVersion = $cliVersion;
}
/**
* @return string
*/
public function getCliVersion()
{
return $this->cliVersion;
}
/**
* Local scan path.
*
* @param string $localScanPath
*/
public function setLocalScanPath($localScanPath)
{
$this->localScanPath = $localScanPath;
}
/**
* @return string
*/
public function getLocalScanPath()
{
return $this->localScanPath;
}
/**
* Identifier. Resource name of the scan.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* A URL to view results.
*
* @param string $resultsUri
*/
public function setResultsUri($resultsUri)
{
$this->resultsUri = $resultsUri;
}
/**
* @return string
*/
public function getResultsUri()
{
return $this->resultsUri;
}
/**
* SCM metadata.
*
* @param GoogleChecksRepoScanV1alphaScmMetadata $scmMetadata
*/
public function setScmMetadata(GoogleChecksRepoScanV1alphaScmMetadata $scmMetadata)
{
$this->scmMetadata = $scmMetadata;
}
/**
* @return GoogleChecksRepoScanV1alphaScmMetadata
*/
public function getScmMetadata()
{
return $this->scmMetadata;
}
/**
* Data sources detected.
*
* @param GoogleChecksRepoScanV1alphaSource[] $sources
*/
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,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 GoogleChecksRepoScanV1alphaScmMetadata extends \Google\Model
{
/**
* Required. Branch name.
*
* @var string
*/
public $branch;
protected $pullRequestType = GoogleChecksRepoScanV1alphaPullRequest::class;
protected $pullRequestDataType = '';
/**
* Required. Git remote URL.
*
* @var string
*/
public $remoteUri;
/**
* Required. Revision ID, e.g. Git commit hash.
*
* @var string
*/
public $revisionId;
/**
* Required. Branch name.
*
* @param string $branch
*/
public function setBranch($branch)
{
$this->branch = $branch;
}
/**
* @return string
*/
public function getBranch()
{
return $this->branch;
}
/**
* Optional. Contains info about the associated pull request. This is only
* populated for pull request scans.
*
* @param GoogleChecksRepoScanV1alphaPullRequest $pullRequest
*/
public function setPullRequest(GoogleChecksRepoScanV1alphaPullRequest $pullRequest)
{
$this->pullRequest = $pullRequest;
}
/**
* @return GoogleChecksRepoScanV1alphaPullRequest
*/
public function getPullRequest()
{
return $this->pullRequest;
}
/**
* Required. Git remote URL.
*
* @param string $remoteUri
*/
public function setRemoteUri($remoteUri)
{
$this->remoteUri = $remoteUri;
}
/**
* @return string
*/
public function getRemoteUri()
{
return $this->remoteUri;
}
/**
* Required. Revision ID, e.g. Git commit hash.
*
* @param string $revisionId
*/
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,284 @@
<?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
{
/**
* Not specified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* User or device physical location to an area greater than or equal to 3
* square kilometers, such as the city a user is in, or location provided by
* Android's ACCESS_COARSE_LOCATION permission.
*/
public const DATA_TYPE_DATA_TYPE_APPROXIMATE_LOCATION = 'DATA_TYPE_APPROXIMATE_LOCATION';
/**
* User or device physical location within an area less than 3 square
* kilometers, such as location provided by Android's ACCESS_FINE_LOCATION
* permission.
*/
public const DATA_TYPE_DATA_TYPE_PRECISE_LOCATION = 'DATA_TYPE_PRECISE_LOCATION';
/**
* How a user refers to themselves, such as their first or last name, or
* nickname.
*/
public const DATA_TYPE_DATA_TYPE_PERSONAL_NAME = 'DATA_TYPE_PERSONAL_NAME';
/**
* A user's email address.
*/
public const DATA_TYPE_DATA_TYPE_EMAIL_ADDRESS = 'DATA_TYPE_EMAIL_ADDRESS';
/**
* Identifiers that relate to an identifiable person. For example, an account
* ID, account number, or account name.
*/
public const DATA_TYPE_DATA_TYPE_USER_IDS = 'DATA_TYPE_USER_IDS';
/**
* A user's address, such as a mailing or home address.
*/
public const DATA_TYPE_DATA_TYPE_PHYSICAL_ADDRESS = 'DATA_TYPE_PHYSICAL_ADDRESS';
/**
* A user's phone number.
*/
public const DATA_TYPE_DATA_TYPE_PHONE_NUMBER = 'DATA_TYPE_PHONE_NUMBER';
/**
* Information about a user's race or ethnicity.
*/
public const DATA_TYPE_DATA_TYPE_RACE_AND_ETHNICITY = 'DATA_TYPE_RACE_AND_ETHNICITY';
/**
* Information about a user's political or religious beliefs.
*/
public const DATA_TYPE_DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS = 'DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS';
/**
* Information about a user's sexual orientation.
*/
public const DATA_TYPE_DATA_TYPE_SEXUAL_ORIENTATION = 'DATA_TYPE_SEXUAL_ORIENTATION';
/**
* Any other personal information such as date of birth, gender identity,
* veteran status, etc.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_PERSONAL_INFO = 'DATA_TYPE_OTHER_PERSONAL_INFO';
/**
* Information about a user's financial accounts such as credit card number.
*/
public const DATA_TYPE_DATA_TYPE_PAYMENT_INFO = 'DATA_TYPE_PAYMENT_INFO';
/**
* Information about purchases or transactions a user has made.
*/
public const DATA_TYPE_DATA_TYPE_PURCHASE_HISTORY = 'DATA_TYPE_PURCHASE_HISTORY';
/**
* Information about a user's credit score.
*/
public const DATA_TYPE_DATA_TYPE_CREDIT_SCORE = 'DATA_TYPE_CREDIT_SCORE';
/**
* Any other financial information such as user salary or debts.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_FINANCIAL_INFO = 'DATA_TYPE_OTHER_FINANCIAL_INFO';
/**
* Information about a user's health, such as medical records or symptoms.
*/
public const DATA_TYPE_DATA_TYPE_HEALTH_INFO = 'DATA_TYPE_HEALTH_INFO';
/**
* Information about a user's fitness, such as exercise or other physical
* activity.
*/
public const DATA_TYPE_DATA_TYPE_FITNESS_INFO = 'DATA_TYPE_FITNESS_INFO';
/**
* A user's emails including the email subject line, sender, recipients, and
* the content of the email.
*/
public const DATA_TYPE_DATA_TYPE_EMAILS = 'DATA_TYPE_EMAILS';
/**
* A user's text messages including the sender, recipients, and the content of
* the message.
*/
public const DATA_TYPE_DATA_TYPE_TEXT_MESSAGES = 'DATA_TYPE_TEXT_MESSAGES';
/**
* Any other types of messages. For example, instant messages or chat content.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_IN_APP_MESSAGES = 'DATA_TYPE_OTHER_IN_APP_MESSAGES';
/**
* A user's photos.
*/
public const DATA_TYPE_DATA_TYPE_PHOTOS = 'DATA_TYPE_PHOTOS';
/**
* A user's videos.
*/
public const DATA_TYPE_DATA_TYPE_VIDEOS = 'DATA_TYPE_VIDEOS';
/**
* A user's voice such as a voicemail or a sound recording.
*/
public const DATA_TYPE_DATA_TYPE_VOICE_OR_SOUND_RECORDINGS = 'DATA_TYPE_VOICE_OR_SOUND_RECORDINGS';
/**
* A user's music files.
*/
public const DATA_TYPE_DATA_TYPE_MUSIC_FILES = 'DATA_TYPE_MUSIC_FILES';
/**
* Any other user-created or user-provided audio files.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_AUDIO_FILES = 'DATA_TYPE_OTHER_AUDIO_FILES';
/**
* A user's files or documents, or information about their files or documents
* such as file names.
*/
public const DATA_TYPE_DATA_TYPE_FILES_AND_DOCS = 'DATA_TYPE_FILES_AND_DOCS';
/**
* Information from a user's calendar such as events, event notes, and
* attendees.
*/
public const DATA_TYPE_DATA_TYPE_CALENDAR_EVENTS = 'DATA_TYPE_CALENDAR_EVENTS';
/**
* Information about the users contacts such as contact names, message
* history, and social graph information like usernames, contact recency,
* contact frequency, interaction duration and call history.
*/
public const DATA_TYPE_DATA_TYPE_CONTACTS = 'DATA_TYPE_CONTACTS';
/**
* Information about how a user interacts with your app, such as the number of
* page views or taps.
*/
public const DATA_TYPE_DATA_TYPE_APP_INTERACTIONS = 'DATA_TYPE_APP_INTERACTIONS';
/**
* Information about what a user has searched for in your app.
*/
public const DATA_TYPE_DATA_TYPE_IN_APP_SEARCH_HISTORY = 'DATA_TYPE_IN_APP_SEARCH_HISTORY';
/**
* Inventory of apps or packages installed on the users device.
*/
public const DATA_TYPE_DATA_TYPE_INSTALLED_APPS = 'DATA_TYPE_INSTALLED_APPS';
/**
* Any other user-generated content not listed here, or in any other section.
* For example, user bios, notes, or open-ended responses.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_USER_GENERATED_CONTENT = 'DATA_TYPE_OTHER_USER_GENERATED_CONTENT';
/**
* Any other user activity or actions in-app not listed here such as gameplay,
* likes, and dialog options.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_ACTIONS = 'DATA_TYPE_OTHER_ACTIONS';
/**
* Information about the websites a user has visited.
*/
public const DATA_TYPE_DATA_TYPE_WEB_BROWSING_HISTORY = 'DATA_TYPE_WEB_BROWSING_HISTORY';
/**
* Crash log data from your app. For example, the number of times your app has
* crashed, stack traces, or other information directly related to a crash.
*/
public const DATA_TYPE_DATA_TYPE_CRASH_LOGS = 'DATA_TYPE_CRASH_LOGS';
/**
* Information about the performance of your app. For example battery life,
* loading time, latency, framerate, or any technical diagnostics.
*/
public const DATA_TYPE_DATA_TYPE_PERFORMANCE_DIAGNOSTICS = 'DATA_TYPE_PERFORMANCE_DIAGNOSTICS';
/**
* Any other app performance data not listed here.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_APP_PERFORMANCE_DATA = 'DATA_TYPE_OTHER_APP_PERFORMANCE_DATA';
/**
* Identifiers that relate to an individual device, browser or app. For
* example, an IMEI number, MAC address, Widevine Device ID, Firebase
* installation ID, or advertising identifier.
*/
public const DATA_TYPE_DATA_TYPE_DEVICE_OR_OTHER_IDS = 'DATA_TYPE_DEVICE_OR_OTHER_IDS';
protected $codeAttributionType = GoogleChecksRepoScanV1alphaCodeAttribution::class;
protected $codeAttributionDataType = '';
/**
* Required. Data type.
*
* @var string
*/
public $dataType;
/**
* Optional. Whether the finding was marked as a false positive.
*
* @var bool
*/
public $falsePositive;
/**
* Optional. Source code attribution for the finding.
*
* @param GoogleChecksRepoScanV1alphaCodeAttribution $codeAttribution
*/
public function setCodeAttribution(GoogleChecksRepoScanV1alphaCodeAttribution $codeAttribution)
{
$this->codeAttribution = $codeAttribution;
}
/**
* @return GoogleChecksRepoScanV1alphaCodeAttribution
*/
public function getCodeAttribution()
{
return $this->codeAttribution;
}
/**
* Required. Data type.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, DATA_TYPE_APPROXIMATE_LOCATION,
* DATA_TYPE_PRECISE_LOCATION, DATA_TYPE_PERSONAL_NAME,
* DATA_TYPE_EMAIL_ADDRESS, DATA_TYPE_USER_IDS, DATA_TYPE_PHYSICAL_ADDRESS,
* DATA_TYPE_PHONE_NUMBER, DATA_TYPE_RACE_AND_ETHNICITY,
* DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS, DATA_TYPE_SEXUAL_ORIENTATION,
* DATA_TYPE_OTHER_PERSONAL_INFO, DATA_TYPE_PAYMENT_INFO,
* DATA_TYPE_PURCHASE_HISTORY, DATA_TYPE_CREDIT_SCORE,
* DATA_TYPE_OTHER_FINANCIAL_INFO, DATA_TYPE_HEALTH_INFO,
* DATA_TYPE_FITNESS_INFO, DATA_TYPE_EMAILS, DATA_TYPE_TEXT_MESSAGES,
* DATA_TYPE_OTHER_IN_APP_MESSAGES, DATA_TYPE_PHOTOS, DATA_TYPE_VIDEOS,
* DATA_TYPE_VOICE_OR_SOUND_RECORDINGS, DATA_TYPE_MUSIC_FILES,
* DATA_TYPE_OTHER_AUDIO_FILES, DATA_TYPE_FILES_AND_DOCS,
* DATA_TYPE_CALENDAR_EVENTS, DATA_TYPE_CONTACTS, DATA_TYPE_APP_INTERACTIONS,
* DATA_TYPE_IN_APP_SEARCH_HISTORY, DATA_TYPE_INSTALLED_APPS,
* DATA_TYPE_OTHER_USER_GENERATED_CONTENT, DATA_TYPE_OTHER_ACTIONS,
* DATA_TYPE_WEB_BROWSING_HISTORY, DATA_TYPE_CRASH_LOGS,
* DATA_TYPE_PERFORMANCE_DIAGNOSTICS, DATA_TYPE_OTHER_APP_PERFORMANCE_DATA,
* DATA_TYPE_DEVICE_OR_OTHER_IDS
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Optional. Whether the finding was marked as a false positive.
*
* @param bool $falsePositive
*/
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,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 GoogleChecksRepoScanV1alphaSourceCode extends \Google\Model
{
/**
* Required. Source code.
*
* @var string
*/
public $code;
/**
* Required. End line number (1-based).
*
* @var int
*/
public $endLine;
/**
* Required. Path of the file.
*
* @var string
*/
public $path;
/**
* Required. Start line number (1-based).
*
* @var int
*/
public $startLine;
/**
* Required. Source code.
*
* @param string $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Required. End line number (1-based).
*
* @param int $endLine
*/
public function setEndLine($endLine)
{
$this->endLine = $endLine;
}
/**
* @return int
*/
public function getEndLine()
{
return $this->endLine;
}
/**
* Required. Path of the file.
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* Required. Start line number (1-based).
*
* @param int $startLine
*/
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,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 GoogleChecksReportV1alphaAnalyzeUploadRequest extends \Google\Model
{
/**
* Not specified.
*/
public const APP_BINARY_FILE_TYPE_APP_BINARY_FILE_TYPE_UNSPECIFIED = 'APP_BINARY_FILE_TYPE_UNSPECIFIED';
/**
* .apk file type.
*/
public const APP_BINARY_FILE_TYPE_ANDROID_APK = 'ANDROID_APK';
/**
* .aab (app bundle) file type.
*/
public const APP_BINARY_FILE_TYPE_ANDROID_AAB = 'ANDROID_AAB';
/**
* .ipa file type.
*/
public const APP_BINARY_FILE_TYPE_IOS_IPA = 'IOS_IPA';
/**
* Optional. The type of the uploaded app binary. If not provided, the server
* assumes APK file for Android and IPA file for iOS.
*
* @var string
*/
public $appBinaryFileType;
/**
* Optional. Git commit hash or changelist number associated with the upload.
*
* @var string
*/
public $codeReferenceId;
/**
* Optional. The type of the uploaded app binary. If not provided, the server
* assumes APK file for Android and IPA file for iOS.
*
* Accepted values: APP_BINARY_FILE_TYPE_UNSPECIFIED, ANDROID_APK,
* ANDROID_AAB, IOS_IPA
*
* @param self::APP_BINARY_FILE_TYPE_* $appBinaryFileType
*/
public function setAppBinaryFileType($appBinaryFileType)
{
$this->appBinaryFileType = $appBinaryFileType;
}
/**
* @return self::APP_BINARY_FILE_TYPE_*
*/
public function getAppBinaryFileType()
{
return $this->appBinaryFileType;
}
/**
* Optional. Git commit hash or changelist number associated with the upload.
*
* @param string $codeReferenceId
*/
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,154 @@
<?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
{
/**
* Not specified.
*/
public const RELEASE_TYPE_APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED = 'APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED';
/**
* Published production bundle.
*/
public const RELEASE_TYPE_PUBLIC = 'PUBLIC';
/**
* Pre-release bundle.
*/
public const RELEASE_TYPE_PRE_RELEASE = 'PRE_RELEASE';
/**
* Unique id of the bundle. For example: "com.google.Gmail".
*
* @var string
*/
public $bundleId;
/**
* Git commit hash or changelist number associated with the release.
*
* @var string
*/
public $codeReferenceId;
/**
* Identifies the type of release.
*
* @var string
*/
public $releaseType;
/**
* The user-visible version of the bundle such as the Android `versionName` or
* iOS `CFBundleShortVersionString`. For example: "7.21.1".
*
* @var string
*/
public $version;
/**
* The version used throughout the operating system and store to identify the
* build such as the Android `versionCode` or iOS `CFBundleVersion`.
*
* @var string
*/
public $versionId;
/**
* Unique id of the bundle. For example: "com.google.Gmail".
*
* @param string $bundleId
*/
public function setBundleId($bundleId)
{
$this->bundleId = $bundleId;
}
/**
* @return string
*/
public function getBundleId()
{
return $this->bundleId;
}
/**
* Git commit hash or changelist number associated with the release.
*
* @param string $codeReferenceId
*/
public function setCodeReferenceId($codeReferenceId)
{
$this->codeReferenceId = $codeReferenceId;
}
/**
* @return string
*/
public function getCodeReferenceId()
{
return $this->codeReferenceId;
}
/**
* Identifies the type of release.
*
* Accepted values: APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED, PUBLIC, PRE_RELEASE
*
* @param self::RELEASE_TYPE_* $releaseType
*/
public function setReleaseType($releaseType)
{
$this->releaseType = $releaseType;
}
/**
* @return self::RELEASE_TYPE_*
*/
public function getReleaseType()
{
return $this->releaseType;
}
/**
* The user-visible version of the bundle such as the Android `versionName` or
* iOS `CFBundleShortVersionString`. For example: "7.21.1".
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* The version used throughout the operating system and store to identify the
* build such as the Android `versionCode` or iOS `CFBundleVersion`.
*
* @param string $versionId
*/
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,736 @@
<?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
{
/**
* Not specified.
*/
public const SEVERITY_CHECK_SEVERITY_UNSPECIFIED = 'CHECK_SEVERITY_UNSPECIFIED';
/**
* Important privacy issue.
*/
public const SEVERITY_PRIORITY = 'PRIORITY';
/**
* Potential privacy issue.
*/
public const SEVERITY_POTENTIAL = 'POTENTIAL';
/**
* Opportunity to improve privacy coverage.
*/
public const SEVERITY_OPPORTUNITY = 'OPPORTUNITY';
/**
* Not specified.
*/
public const STATE_CHECK_STATE_UNSPECIFIED = 'CHECK_STATE_UNSPECIFIED';
/**
* The check passed.
*/
public const STATE_PASSED = 'PASSED';
/**
* The check failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* The check was not run.
*/
public const STATE_UNCHECKED = 'UNCHECKED';
/**
* Not specified.
*/
public const TYPE_CHECK_TYPE_UNSPECIFIED = 'CHECK_TYPE_UNSPECIFIED';
/**
* Checks that your store listing includes a working link to your privacy
* policy.
*/
public const TYPE_STORE_LISTING_PRIVACY_POLICY_LINK_PRESENT = 'STORE_LISTING_PRIVACY_POLICY_LINK_PRESENT';
/**
* Checks that your privacy policy has been updated recently.
*/
public const TYPE_PRIVACY_POLICY_UPDATE_DATE_RECENT = 'PRIVACY_POLICY_UPDATE_DATE_RECENT';
/**
* Checks if your privacy policy references rights under GDPR for users in the
* EU.
*/
public const TYPE_PRIVACY_POLICY_GDPR_GENERAL_RULES = 'PRIVACY_POLICY_GDPR_GENERAL_RULES';
/**
* Checks if your privacy policy references rights under the CCPA.
*/
public const TYPE_PRIVACY_POLICY_CCPA_GENERAL_RULES = 'PRIVACY_POLICY_CCPA_GENERAL_RULES';
/**
* Checks if your privacy policy mentions the categories of personal data that
* are collected.
*/
public const TYPE_PRIVACY_POLICY_COLLECTION_CATEGORIES_DATA_NOTICE = 'PRIVACY_POLICY_COLLECTION_CATEGORIES_DATA_NOTICE';
/**
* Checks if your privacy policy explains why personal data is processed.
*/
public const TYPE_PRIVACY_POLICY_PROCESSING_PURPOSE_DATA_NOTICE = 'PRIVACY_POLICY_PROCESSING_PURPOSE_DATA_NOTICE';
/**
* Checks if your privacy policy includes information about third-party
* sharing of personal data.
*/
public const TYPE_PRIVACY_POLICY_SHARING_CATEGORIES_DATA_NOTICE = 'PRIVACY_POLICY_SHARING_CATEGORIES_DATA_NOTICE';
/**
* Checks if your privacy policy describes your data retention practices.
*/
public const TYPE_PRIVACY_POLICY_DATA_RETENTION_NOTICE = 'PRIVACY_POLICY_DATA_RETENTION_NOTICE';
/**
* Checks if contact information is included in your privacy policy.
*/
public const TYPE_PRIVACY_POLICY_CONTACT_DETAILS_NOTICE = 'PRIVACY_POLICY_CONTACT_DETAILS_NOTICE';
/**
* Checks if information about requirements related to children is included in
* your privacy policy.
*/
public const TYPE_PRIVACY_POLICY_CHILDREN_GENERAL_RULES = 'PRIVACY_POLICY_CHILDREN_GENERAL_RULES';
/**
* Checks if the Phone Number data type declaration in your privacy policy
* matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_PHONE_NUMBER = 'PRIVACY_POLICY_DATA_TYPE_PHONE_NUMBER';
/**
* Checks if the User Account Info data type declaration in your privacy
* policy matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_USER_ACCOUNT_INFO = 'PRIVACY_POLICY_DATA_TYPE_USER_ACCOUNT_INFO';
/**
* Checks if the Precise Location data type declaration in your privacy policy
* matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_PRECISE_LOCATION = 'PRIVACY_POLICY_DATA_TYPE_PRECISE_LOCATION';
/**
* Checks if the Device ID data type declaration in your privacy policy
* matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_DEVICE_ID = 'PRIVACY_POLICY_DATA_TYPE_DEVICE_ID';
/**
* Checks if the Apps on Device data type declaration in your privacy policy
* matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_APPS_ON_DEVICE = 'PRIVACY_POLICY_DATA_TYPE_APPS_ON_DEVICE';
/**
* Checks if the Contacts data type declaration in your privacy policy matches
* usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_CONTACTS = 'PRIVACY_POLICY_DATA_TYPE_CONTACTS';
/**
* Checks if the Text Messages data type declaration in your privacy policy
* matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_TEXT_MESSAGES = 'PRIVACY_POLICY_DATA_TYPE_TEXT_MESSAGES';
/**
* Checks if the PII data type declaration in your privacy policy matches
* usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_PII = 'PRIVACY_POLICY_DATA_TYPE_PII';
/**
* Checks if the PII Categories data type declaration in your privacy policy
* matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_PII_CATEGORIES = 'PRIVACY_POLICY_DATA_TYPE_PII_CATEGORIES';
/**
* Checks if the Health and Biometric data type declaration in your privacy
* policy matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_HEALTH_AND_BIOMETRIC = 'PRIVACY_POLICY_DATA_TYPE_HEALTH_AND_BIOMETRIC';
/**
* Checks if your privacy policy references rights under LGPD for users in
* Brazil.
*/
public const TYPE_PRIVACY_POLICY_BRAZIL_LGPD_GENERAL_RULES = 'PRIVACY_POLICY_BRAZIL_LGPD_GENERAL_RULES';
/**
* Checks if your privacy policy references rights under VCDPA for users in
* Virginia.
*/
public const TYPE_PRIVACY_POLICY_VIRGINIA_VCDPA_GENERAL_RULES = 'PRIVACY_POLICY_VIRGINIA_VCDPA_GENERAL_RULES';
/**
* Checks if your privacy policy identifies your company or app name(s).
*/
public const TYPE_PRIVACY_POLICY_AFFILIATION_MENTION = 'PRIVACY_POLICY_AFFILIATION_MENTION';
/**
* Checks if your privacy policy mentions your users' right to delete their
* data.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_DELETE_NOTICE = 'PRIVACY_POLICY_RIGHT_TO_DELETE_NOTICE';
/**
* Checks if your privacy policy mentions your users' right to access the data
* held about them.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_ACCESS_NOTICE = 'PRIVACY_POLICY_RIGHT_TO_ACCESS_NOTICE';
/**
* Checks if your privacy policy mentions your users' right to correct
* inaccuracies within their data.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_RECTIFICATION_NOTICE = 'PRIVACY_POLICY_RIGHT_TO_RECTIFICATION_NOTICE';
/**
* Checks if your privacy policy mentions your users' right to know about
* information selling.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SELLING_NOTICE = 'PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SELLING_NOTICE';
/**
* Checks if your privacy policy mentions your users' right to know about
* information sharing.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SHARING_NOTICE = 'PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SHARING_NOTICE';
/**
* Checks if your privacy policy mentions your users' right to opt out from
* information selling.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_OPT_OUT_FROM_SELLING_NOTICE = 'PRIVACY_POLICY_RIGHT_TO_OPT_OUT_FROM_SELLING_NOTICE';
/**
* Checks if your privacy policy explains how your users opt out from the
* selling or sharing of their data.
*/
public const TYPE_PRIVACY_POLICY_METHOD_TO_OPT_OUT_FROM_SELLING_OR_SHARING_NOTICE = 'PRIVACY_POLICY_METHOD_TO_OPT_OUT_FROM_SELLING_OR_SHARING_NOTICE';
/**
* Checks if your privacy policy provides the name and contact information for
* your data controller.
*/
public const TYPE_PRIVACY_POLICY_DATA_CONTROLLER_IDENTITY = 'PRIVACY_POLICY_DATA_CONTROLLER_IDENTITY';
/**
* Checks if your privacy policy provides the name and contact information for
* your Data Protection Officer.
*/
public const TYPE_PRIVACY_POLICY_DPO_CONTACT_DETAILS = 'PRIVACY_POLICY_DPO_CONTACT_DETAILS';
/**
* Checks if your privacy policy mentions your users' right to lodge a
* complaint with a supervisory authority.
*/
public const TYPE_PRIVACY_POLICY_RIGHT_TO_LODGE_A_COMPLAINT = 'PRIVACY_POLICY_RIGHT_TO_LODGE_A_COMPLAINT';
/**
* Checks if your privacy policy mentions the legal basis you rely on for
* processing your users' data.
*/
public const TYPE_PRIVACY_POLICY_LEGAL_BASIS = 'PRIVACY_POLICY_LEGAL_BASIS';
/**
* Checks if your privacy policy mentions what personal information is
* collected from children.
*/
public const TYPE_PRIVACY_POLICY_CHILDREN_INFO_COLLECTION = 'PRIVACY_POLICY_CHILDREN_INFO_COLLECTION';
/**
* Checks if your privacy policy mentions why you collect personal information
* from children.
*/
public const TYPE_PRIVACY_POLICY_CHILDREN_INFO_USAGE_PURPOSES = 'PRIVACY_POLICY_CHILDREN_INFO_USAGE_PURPOSES';
/**
* Checks if your privacy policy mentions what personal information from
* children is shared with third parties.
*/
public const TYPE_PRIVACY_POLICY_CHILDREN_INFO_DISCLOSURE_PRACTICES = 'PRIVACY_POLICY_CHILDREN_INFO_DISCLOSURE_PRACTICES';
/**
* Checks if your privacy policy mentions whether your app allows children to
* make their personal information publicly available.
*/
public const TYPE_PRIVACY_POLICY_CHILDREN_INFO_PUBLICITY = 'PRIVACY_POLICY_CHILDREN_INFO_PUBLICITY';
/**
* Checks if your privacy policy mentions how parents/caregivers/guardians can
* request the deletion of their child's personal information.
*/
public const TYPE_PRIVACY_POLICY_PARENTS_METHOD_OF_INFO_DELETION = 'PRIVACY_POLICY_PARENTS_METHOD_OF_INFO_DELETION';
/**
* Checks if your privacy policy mentions how parents/caregivers/guardians can
* review their child's personal information.
*/
public const TYPE_PRIVACY_POLICY_PARENTS_METHOD_TO_INFO_REVIEW = 'PRIVACY_POLICY_PARENTS_METHOD_TO_INFO_REVIEW';
/**
* Checks if your privacy policy explains how a parent/caregiver/guardian can
* stop the collection/use from their child's personal information.
*/
public const TYPE_PRIVACY_POLICY_PARENTS_METHOD_TO_STOP_FURTHER_INFO_COLLECTION_USE = 'PRIVACY_POLICY_PARENTS_METHOD_TO_STOP_FURTHER_INFO_COLLECTION_USE';
/**
* Checks if your privacy policy mentions the right of a
* parent/caregiver/guardian to request the deletion of their child's personal
* information.
*/
public const TYPE_PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_DELETION = 'PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_DELETION';
/**
* Checks if your privacy policy mentions the right of a
* parent/caregiver/guardian to review their child's personal information.
*/
public const TYPE_PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_REVIEW = 'PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_REVIEW';
/**
* Checks if your privacy policy mentions the right of a
* parent/caregiver/guardian to stop collection/use from their child's
* personal information.
*/
public const TYPE_PRIVACY_POLICY_PARENTS_RIGHT_TO_STOP_FURTHER_INFO_COLLECTION_USE = 'PRIVACY_POLICY_PARENTS_RIGHT_TO_STOP_FURTHER_INFO_COLLECTION_USE';
/**
* Checks if your privacy policy mentions collection of your users'
* approximate location if this data type is declared in your Play Data Safety
* Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_APPROXIMATE_LOCATION = 'PRIVACY_POLICY_PSL_APPROXIMATE_LOCATION';
/**
* Checks if your privacy policy mentions collection of your users' precise
* location if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_PRECISE_LOCATION = 'PRIVACY_POLICY_PSL_PRECISE_LOCATION';
/**
* Checks if your privacy policy mentions collection of your users' personal
* names if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_NAME = 'PRIVACY_POLICY_PSL_NAME';
/**
* Checks if your privacy policy mentions collection of your users' email
* addresses if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_EMAIL_ADDRESS = 'PRIVACY_POLICY_PSL_EMAIL_ADDRESS';
/**
* Checks if your privacy policy mentions collection of your users' user IDs
* if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_USER_IDENTIFIERS = 'PRIVACY_POLICY_PSL_USER_IDENTIFIERS';
/**
* Checks if your privacy policy mentions collection of your users' physical
* addresses if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_ADDRESS = 'PRIVACY_POLICY_PSL_ADDRESS';
/**
* Checks if your privacy policy mentions collection of your users' phone
* numbers if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_PHONE_NUMBER = 'PRIVACY_POLICY_PSL_PHONE_NUMBER';
/**
* Checks if your privacy policy mentions collection of your users' race or
* ethnicity if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_RACE_AND_ETHNICITY = 'PRIVACY_POLICY_PSL_RACE_AND_ETHNICITY';
/**
* Checks if your privacy policy mentions collection of your users' credit
* score if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_CREDIT_SCORE = 'PRIVACY_POLICY_PSL_CREDIT_SCORE';
/**
* Checks if your privacy policy mentions collection of your users' purchase
* history if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_PURCHASE_HISTORY = 'PRIVACY_POLICY_PSL_PURCHASE_HISTORY';
/**
* Checks if your privacy policy mentions collection of your users' health
* info if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_HEALTH_INFO = 'PRIVACY_POLICY_PSL_HEALTH_INFO';
/**
* Checks if your privacy policy mentions collection of your users' fitness
* info if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_FITNESS_INFO = 'PRIVACY_POLICY_PSL_FITNESS_INFO';
/**
* Checks if your privacy policy mentions collection of your users' emails if
* this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_EMAIL_MESSAGES = 'PRIVACY_POLICY_PSL_EMAIL_MESSAGES';
/**
* Checks if your privacy policy mentions collection of your users' text
* messages if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_TEXT_MESSAGES = 'PRIVACY_POLICY_PSL_TEXT_MESSAGES';
/**
* Checks if your privacy policy mentions collection of your users' photos if
* this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_PHOTOS = 'PRIVACY_POLICY_PSL_PHOTOS';
/**
* Checks if your privacy policy mentions collection of your users' videos if
* this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_VIDEOS = 'PRIVACY_POLICY_PSL_VIDEOS';
/**
* Checks if your privacy policy mentions collection of your users' music
* files if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_MUSIC_FILES = 'PRIVACY_POLICY_PSL_MUSIC_FILES';
/**
* Checks if your privacy policy mentions collection of your users' voice or
* sound recordings if this data type is declared in your Play Data Safety
* Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_VOICE_OR_SOUND_RECORDINGS = 'PRIVACY_POLICY_PSL_VOICE_OR_SOUND_RECORDINGS';
/**
* Checks if your privacy policy mentions collection of your users' files or
* documents if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_FILES_AND_DOCS = 'PRIVACY_POLICY_PSL_FILES_AND_DOCS';
/**
* Checks if your privacy policy mentions collection of your users' calendar
* events if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_CALENDAR_EVENTS = 'PRIVACY_POLICY_PSL_CALENDAR_EVENTS';
/**
* Checks if your privacy policy mentions collection of your users' contacts
* if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_CONTACTS = 'PRIVACY_POLICY_PSL_CONTACTS';
/**
* Checks if your privacy policy mentions collection of your users' app
* interactions if this data type is declared in your Play Data Safety
* Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_APP_INTERACTIONS = 'PRIVACY_POLICY_PSL_APP_INTERACTIONS';
/**
* Checks if your privacy policy mentions collection of your users' in-app
* search history if this data type is declared in your Play Data Safety
* Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_IN_APP_SEARCH_HISTORY = 'PRIVACY_POLICY_PSL_IN_APP_SEARCH_HISTORY';
/**
* Checks if your privacy policy mentions collection of your users' web
* browsing history if this data type is declared in your Play Data Safety
* Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_WEB_BROWSING_HISTORY = 'PRIVACY_POLICY_PSL_WEB_BROWSING_HISTORY';
/**
* Checks if your privacy policy mentions collection of your users' installed
* apps if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_INSTALLED_APPS = 'PRIVACY_POLICY_PSL_INSTALLED_APPS';
/**
* Checks if your privacy policy mentions collection of your users' crash logs
* if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_CRASH_LOGS = 'PRIVACY_POLICY_PSL_CRASH_LOGS';
/**
* Checks if your privacy policy mentions collection of your users'
* performance diagnostics if this data type is declared in your Play Data
* Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_DIAGNOSTICS = 'PRIVACY_POLICY_PSL_DIAGNOSTICS';
/**
* Checks if your privacy policy mentions collection of your users' device or
* other IDs if this data type is declared in your Play Data Safety Section.
*/
public const TYPE_PRIVACY_POLICY_PSL_DEVICE_OR_OTHER_IDS = 'PRIVACY_POLICY_PSL_DEVICE_OR_OTHER_IDS';
/**
* Checks if there is a new endpoint we've recently detected. Because this
* check accounts for flakiness, it may fail for several weeks even if the
* endpoint is not detected in the current report.
*/
public const TYPE_DATA_MONITORING_NEW_ENDPOINT = 'DATA_MONITORING_NEW_ENDPOINT';
/**
* Checks if there is a new permission we've recently detected. Because this
* check accounts for flakiness, it may fail for several weeks even if the
* permission is not detected in the current report.
*/
public const TYPE_DATA_MONITORING_NEW_PERMISSION = 'DATA_MONITORING_NEW_PERMISSION';
/**
* Checks if there is a new data type we've recently detected. Because this
* check accounts for flakiness, it may fail for several weeks even if the
* data type is not detected in the current report.
*/
public const TYPE_DATA_MONITORING_NEW_DATA_TYPE = 'DATA_MONITORING_NEW_DATA_TYPE';
/**
* Checks if there is a new SDK we've recently detected. Because this check
* accounts for flakiness, it may fail for several weeks even if the SDK is
* not detected in the current report.
*/
public const TYPE_DATA_MONITORING_NEW_SDK = 'DATA_MONITORING_NEW_SDK';
/**
* Checks if there is any endpoint contacted using HTTP protocol instead of
* HTTPS. If no protocol is found in the URL, the endpoint is not considered
* for analysis.
*/
public const TYPE_DATA_MONITORING_ENCRYPTION = 'DATA_MONITORING_ENCRYPTION';
/**
* Checks if new data types have been detected since a specific app version.
*/
public const TYPE_DATA_MONITORING_NEW_DATA_TYPE_VERSION_DIFF = 'DATA_MONITORING_NEW_DATA_TYPE_VERSION_DIFF';
/**
* Checks if new endpoints have been detected since a specific app version.
*/
public const TYPE_DATA_MONITORING_NEW_ENDPOINT_VERSION_DIFF = 'DATA_MONITORING_NEW_ENDPOINT_VERSION_DIFF';
/**
* Checks if new permissions have been detected since a specific app version.
*/
public const TYPE_DATA_MONITORING_NEW_PERMISSION_VERSION_DIFF = 'DATA_MONITORING_NEW_PERMISSION_VERSION_DIFF';
/**
* Checks if new SDKs have been detected since a specific app version.
*/
public const TYPE_DATA_MONITORING_NEW_SDK_VERSION_DIFF = 'DATA_MONITORING_NEW_SDK_VERSION_DIFF';
/**
* Checks if any SDKs were detected that are specified in the denylist.
*/
public const TYPE_DATA_MONITORING_SDKS_DENYLIST_VIOLATION = 'DATA_MONITORING_SDKS_DENYLIST_VIOLATION';
/**
* Checks if any permissions were detected that are specified in the denylist.
*/
public const TYPE_DATA_MONITORING_PERMISSIONS_DENYLIST_VIOLATION = 'DATA_MONITORING_PERMISSIONS_DENYLIST_VIOLATION';
/**
* Checks if any endpoints were detected that are specified in the denylist.
*/
public const TYPE_DATA_MONITORING_ENDPOINTS_DENYLIST_VIOLATION = 'DATA_MONITORING_ENDPOINTS_DENYLIST_VIOLATION';
/**
* Checks if there are any outdated SDKs.
*/
public const TYPE_DATA_MONITORING_OUTDATED_SDK_VERSION = 'DATA_MONITORING_OUTDATED_SDK_VERSION';
/**
* Checks if there are any SDKs with critical issues.
*/
public const TYPE_DATA_MONITORING_CRITICAL_SDK_ISSUE = 'DATA_MONITORING_CRITICAL_SDK_ISSUE';
/**
* Checks if the Sensitive Information data type declaration matches usage.
*/
public const TYPE_PRIVACY_POLICY_DATA_TYPE_SENSITIVE_INFO = 'PRIVACY_POLICY_DATA_TYPE_SENSITIVE_INFO';
/**
* Checks if there were any PII leaked to device logs.
*/
public const TYPE_DATA_MONITORING_PII_LOGCAT_LEAK = 'DATA_MONITORING_PII_LOGCAT_LEAK';
/**
* Checks if there are media (photo and video) permissions that are considered
* sensitive and should be minimized for Android.
*/
public const TYPE_DATA_MONITORING_MINIMIZE_PERMISSION_MEDIA = 'DATA_MONITORING_MINIMIZE_PERMISSION_MEDIA';
/**
* Checks if there are camera use permissions that are considered sensitive
* and should be minimized for Android.
*/
public const TYPE_DATA_MONITORING_MINIMIZE_PERMISSION_CAMERA = 'DATA_MONITORING_MINIMIZE_PERMISSION_CAMERA';
/**
* Checks if there are documents and file permissions that are considered
* sensitive and should be minimized for Android.
*/
public const TYPE_DATA_MONITORING_MINIMIZE_PERMISSION_DOCUMENTS = 'DATA_MONITORING_MINIMIZE_PERMISSION_DOCUMENTS';
protected $collection_key = 'regionCodes';
protected $citationsType = GoogleChecksReportV1alphaCheckCitation::class;
protected $citationsDataType = 'array';
protected $evidenceType = GoogleChecksReportV1alphaCheckEvidence::class;
protected $evidenceDataType = '';
/**
* Regions that are impacted by the check. For more info, see
* https://google.aip.dev/143#countries-and-regions.
*
* @var string[]
*/
public $regionCodes;
/**
* The urgency or risk level of the check.
*
* @var string
*/
public $severity;
/**
* The result after running the check.
*
* @var string
*/
public $state;
protected $stateMetadataType = GoogleChecksReportV1alphaCheckStateMetadata::class;
protected $stateMetadataDataType = '';
/**
* The type of check that was run. A type will only appear once in a report's
* list of checks.
*
* @var string
*/
public $type;
/**
* Regulations and policies that serve as the legal basis for the check.
*
* @param GoogleChecksReportV1alphaCheckCitation[] $citations
*/
public function setCitations($citations)
{
$this->citations = $citations;
}
/**
* @return GoogleChecksReportV1alphaCheckCitation[]
*/
public function getCitations()
{
return $this->citations;
}
/**
* Evidence that substantiates the check result.
*
* @param GoogleChecksReportV1alphaCheckEvidence $evidence
*/
public function setEvidence(GoogleChecksReportV1alphaCheckEvidence $evidence)
{
$this->evidence = $evidence;
}
/**
* @return GoogleChecksReportV1alphaCheckEvidence
*/
public function getEvidence()
{
return $this->evidence;
}
/**
* Regions that are impacted by the check. For more info, see
* https://google.aip.dev/143#countries-and-regions.
*
* @param string[] $regionCodes
*/
public function setRegionCodes($regionCodes)
{
$this->regionCodes = $regionCodes;
}
/**
* @return string[]
*/
public function getRegionCodes()
{
return $this->regionCodes;
}
/**
* The urgency or risk level of the check.
*
* Accepted values: CHECK_SEVERITY_UNSPECIFIED, PRIORITY, POTENTIAL,
* OPPORTUNITY
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
/**
* The result after running the check.
*
* Accepted values: CHECK_STATE_UNSPECIFIED, PASSED, FAILED, UNCHECKED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Additional information about the check state in relation to past reports.
*
* @param GoogleChecksReportV1alphaCheckStateMetadata $stateMetadata
*/
public function setStateMetadata(GoogleChecksReportV1alphaCheckStateMetadata $stateMetadata)
{
$this->stateMetadata = $stateMetadata;
}
/**
* @return GoogleChecksReportV1alphaCheckStateMetadata
*/
public function getStateMetadata()
{
return $this->stateMetadata;
}
/**
* The type of check that was run. A type will only appear once in a report's
* list of checks.
*
* Accepted values: CHECK_TYPE_UNSPECIFIED,
* STORE_LISTING_PRIVACY_POLICY_LINK_PRESENT,
* PRIVACY_POLICY_UPDATE_DATE_RECENT, PRIVACY_POLICY_GDPR_GENERAL_RULES,
* PRIVACY_POLICY_CCPA_GENERAL_RULES,
* PRIVACY_POLICY_COLLECTION_CATEGORIES_DATA_NOTICE,
* PRIVACY_POLICY_PROCESSING_PURPOSE_DATA_NOTICE,
* PRIVACY_POLICY_SHARING_CATEGORIES_DATA_NOTICE,
* PRIVACY_POLICY_DATA_RETENTION_NOTICE,
* PRIVACY_POLICY_CONTACT_DETAILS_NOTICE,
* PRIVACY_POLICY_CHILDREN_GENERAL_RULES,
* PRIVACY_POLICY_DATA_TYPE_PHONE_NUMBER,
* PRIVACY_POLICY_DATA_TYPE_USER_ACCOUNT_INFO,
* PRIVACY_POLICY_DATA_TYPE_PRECISE_LOCATION,
* PRIVACY_POLICY_DATA_TYPE_DEVICE_ID,
* PRIVACY_POLICY_DATA_TYPE_APPS_ON_DEVICE, PRIVACY_POLICY_DATA_TYPE_CONTACTS,
* PRIVACY_POLICY_DATA_TYPE_TEXT_MESSAGES, PRIVACY_POLICY_DATA_TYPE_PII,
* PRIVACY_POLICY_DATA_TYPE_PII_CATEGORIES,
* PRIVACY_POLICY_DATA_TYPE_HEALTH_AND_BIOMETRIC,
* PRIVACY_POLICY_BRAZIL_LGPD_GENERAL_RULES,
* PRIVACY_POLICY_VIRGINIA_VCDPA_GENERAL_RULES,
* PRIVACY_POLICY_AFFILIATION_MENTION, PRIVACY_POLICY_RIGHT_TO_DELETE_NOTICE,
* PRIVACY_POLICY_RIGHT_TO_ACCESS_NOTICE,
* PRIVACY_POLICY_RIGHT_TO_RECTIFICATION_NOTICE,
* PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SELLING_NOTICE,
* PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SHARING_NOTICE,
* PRIVACY_POLICY_RIGHT_TO_OPT_OUT_FROM_SELLING_NOTICE,
* PRIVACY_POLICY_METHOD_TO_OPT_OUT_FROM_SELLING_OR_SHARING_NOTICE,
* PRIVACY_POLICY_DATA_CONTROLLER_IDENTITY,
* PRIVACY_POLICY_DPO_CONTACT_DETAILS,
* PRIVACY_POLICY_RIGHT_TO_LODGE_A_COMPLAINT, PRIVACY_POLICY_LEGAL_BASIS,
* PRIVACY_POLICY_CHILDREN_INFO_COLLECTION,
* PRIVACY_POLICY_CHILDREN_INFO_USAGE_PURPOSES,
* PRIVACY_POLICY_CHILDREN_INFO_DISCLOSURE_PRACTICES,
* PRIVACY_POLICY_CHILDREN_INFO_PUBLICITY,
* PRIVACY_POLICY_PARENTS_METHOD_OF_INFO_DELETION,
* PRIVACY_POLICY_PARENTS_METHOD_TO_INFO_REVIEW,
* PRIVACY_POLICY_PARENTS_METHOD_TO_STOP_FURTHER_INFO_COLLECTION_USE,
* PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_DELETION,
* PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_REVIEW,
* PRIVACY_POLICY_PARENTS_RIGHT_TO_STOP_FURTHER_INFO_COLLECTION_USE,
* PRIVACY_POLICY_PSL_APPROXIMATE_LOCATION,
* PRIVACY_POLICY_PSL_PRECISE_LOCATION, PRIVACY_POLICY_PSL_NAME,
* PRIVACY_POLICY_PSL_EMAIL_ADDRESS, PRIVACY_POLICY_PSL_USER_IDENTIFIERS,
* PRIVACY_POLICY_PSL_ADDRESS, PRIVACY_POLICY_PSL_PHONE_NUMBER,
* PRIVACY_POLICY_PSL_RACE_AND_ETHNICITY, PRIVACY_POLICY_PSL_CREDIT_SCORE,
* PRIVACY_POLICY_PSL_PURCHASE_HISTORY, PRIVACY_POLICY_PSL_HEALTH_INFO,
* PRIVACY_POLICY_PSL_FITNESS_INFO, PRIVACY_POLICY_PSL_EMAIL_MESSAGES,
* PRIVACY_POLICY_PSL_TEXT_MESSAGES, PRIVACY_POLICY_PSL_PHOTOS,
* PRIVACY_POLICY_PSL_VIDEOS, PRIVACY_POLICY_PSL_MUSIC_FILES,
* PRIVACY_POLICY_PSL_VOICE_OR_SOUND_RECORDINGS,
* PRIVACY_POLICY_PSL_FILES_AND_DOCS, PRIVACY_POLICY_PSL_CALENDAR_EVENTS,
* PRIVACY_POLICY_PSL_CONTACTS, PRIVACY_POLICY_PSL_APP_INTERACTIONS,
* PRIVACY_POLICY_PSL_IN_APP_SEARCH_HISTORY,
* PRIVACY_POLICY_PSL_WEB_BROWSING_HISTORY, PRIVACY_POLICY_PSL_INSTALLED_APPS,
* PRIVACY_POLICY_PSL_CRASH_LOGS, PRIVACY_POLICY_PSL_DIAGNOSTICS,
* PRIVACY_POLICY_PSL_DEVICE_OR_OTHER_IDS, DATA_MONITORING_NEW_ENDPOINT,
* DATA_MONITORING_NEW_PERMISSION, DATA_MONITORING_NEW_DATA_TYPE,
* DATA_MONITORING_NEW_SDK, DATA_MONITORING_ENCRYPTION,
* DATA_MONITORING_NEW_DATA_TYPE_VERSION_DIFF,
* DATA_MONITORING_NEW_ENDPOINT_VERSION_DIFF,
* DATA_MONITORING_NEW_PERMISSION_VERSION_DIFF,
* DATA_MONITORING_NEW_SDK_VERSION_DIFF,
* DATA_MONITORING_SDKS_DENYLIST_VIOLATION,
* DATA_MONITORING_PERMISSIONS_DENYLIST_VIOLATION,
* DATA_MONITORING_ENDPOINTS_DENYLIST_VIOLATION,
* DATA_MONITORING_OUTDATED_SDK_VERSION, DATA_MONITORING_CRITICAL_SDK_ISSUE,
* PRIVACY_POLICY_DATA_TYPE_SENSITIVE_INFO, DATA_MONITORING_PII_LOGCAT_LEAK,
* DATA_MONITORING_MINIMIZE_PERMISSION_MEDIA,
* DATA_MONITORING_MINIMIZE_PERMISSION_CAMERA,
* DATA_MONITORING_MINIMIZE_PERMISSION_DOCUMENTS
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
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,164 @@
<?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
{
/**
* Not specified.
*/
public const TYPE_CITATION_TYPE_UNSPECIFIED = 'CITATION_TYPE_UNSPECIFIED';
/**
* Children's Online Privacy Protection Act.
*/
public const TYPE_COPPA = 'COPPA';
/**
* General Data Protection Regulation.
*/
public const TYPE_GDPR = 'GDPR';
/**
* Family Educational Rights and Privacy Act.
*/
public const TYPE_FERPA = 'FERPA';
/**
* The California Online Privacy Protection Act.
*/
public const TYPE_CAL_OPPA = 'CAL_OPPA';
/**
* California Consumer Privacy Act.
*/
public const TYPE_CCPA = 'CCPA';
/**
* Student Online Personal Information Protection Act.
*/
public const TYPE_SOPIPA = 'SOPIPA';
/**
* Lei Geral de Proteção de Dados.
*/
public const TYPE_LGPD = 'LGPD';
/**
* California Consumer Privacy Act.
*/
public const TYPE_CPRA = 'CPRA';
/**
* Virginia Consumer Data Protection Act.
*/
public const TYPE_VCDPA = 'VCDPA';
/**
* Google Play Policy.
*/
public const TYPE_GOOGLE_PLAY_POLICY = 'GOOGLE_PLAY_POLICY';
/**
* App Store Policy.
*/
public const TYPE_APP_STORE_POLICY = 'APP_STORE_POLICY';
/**
* Colorado Privacy Act.
*/
public const TYPE_CPA = 'CPA';
/**
* Connecticut Data Privacy Act.
*/
public const TYPE_CTDPA = 'CTDPA';
/**
* Utah Consumer Privacy Act.
*/
public const TYPE_UCPA = 'UCPA';
/**
* Personal Information Protection and Electronic Documents Act.
*/
public const TYPE_PIPEDA = 'PIPEDA';
/**
* Alberta (Canada) Personal Information Protection Act.
*/
public const TYPE_ALBERTA_PIPA = 'ALBERTA_PIPA';
/**
* Quebec: Act Respecting the Protection of Personal Information in the
* Private Sector.
*/
public const TYPE_QUEBEC_ACT = 'QUEBEC_ACT';
/**
* Quebec Bill 64: An Act to Modernize Legislative Provisions as Regards the
* Protection of Personal Information.
*/
public const TYPE_QUEBEC_BILL_64 = 'QUEBEC_BILL_64';
/**
* China Personal Information Protection Law.
*/
public const TYPE_CHINA_PIPL = 'CHINA_PIPL';
/**
* South Korea Personal Information Protection Act.
*/
public const TYPE_SOUTH_KOREA_PIPA = 'SOUTH_KOREA_PIPA';
/**
* South Africa Protection of Personal Information Act.
*/
public const TYPE_SOUTH_AFRICA_POPIA = 'SOUTH_AFRICA_POPIA';
/**
* Japan Act on the Protection of Personal Information.
*/
public const TYPE_JAPAN_APPI = 'JAPAN_APPI';
/**
* India: The Digital Personal Data Protection Act, 2023.
*/
public const TYPE_INDIA_DPDPA = 'INDIA_DPDPA';
/**
* Oregon Consumer Privacy Act.
*/
public const TYPE_OCPA = 'OCPA';
/**
* Texas Data Privacy and Security Act.
*/
public const TYPE_TDPSA = 'TDPSA';
/**
* Montana Consumer Data Privacy Act.
*/
public const TYPE_MCDPA = 'MCDPA';
/**
* Citation type.
*
* @var string
*/
public $type;
/**
* Citation type.
*
* Accepted values: CITATION_TYPE_UNSPECIFIED, COPPA, GDPR, FERPA, CAL_OPPA,
* CCPA, SOPIPA, LGPD, CPRA, VCDPA, GOOGLE_PLAY_POLICY, APP_STORE_POLICY, CPA,
* CTDPA, UCPA, PIPEDA, ALBERTA_PIPA, QUEBEC_ACT, QUEBEC_BILL_64, CHINA_PIPL,
* SOUTH_KOREA_PIPA, SOUTH_AFRICA_POPIA, JAPAN_APPI, INDIA_DPDPA, OCPA, TDPSA,
* MCDPA
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
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,45 @@
<?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';
/**
* Evidence related to data in transit.
*
* @param GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo[] $dataInTransitInfo
*/
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,50 @@
<?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
{
/**
* The URL contacted by your app. This includes the protocol, domain, and URL
* parameters.
*
* @var string
*/
public $uri;
/**
* The URL contacted by your app. This includes the protocol, domain, and URL
* parameters.
*
* @param string $uri
*/
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,262 @@
<?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
{
/**
* Not specified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* User or device physical location to an area greater than or equal to 3
* square kilometers, such as the city a user is in, or location provided by
* Android's ACCESS_COARSE_LOCATION permission.
*/
public const DATA_TYPE_DATA_TYPE_APPROXIMATE_LOCATION = 'DATA_TYPE_APPROXIMATE_LOCATION';
/**
* User or device physical location within an area less than 3 square
* kilometers, such as location provided by Android's ACCESS_FINE_LOCATION
* permission.
*/
public const DATA_TYPE_DATA_TYPE_PRECISE_LOCATION = 'DATA_TYPE_PRECISE_LOCATION';
/**
* How a user refers to themselves, such as their first or last name, or
* nickname.
*/
public const DATA_TYPE_DATA_TYPE_PERSONAL_NAME = 'DATA_TYPE_PERSONAL_NAME';
/**
* A user's email address.
*/
public const DATA_TYPE_DATA_TYPE_EMAIL_ADDRESS = 'DATA_TYPE_EMAIL_ADDRESS';
/**
* Identifiers that relate to an identifiable person. For example, an account
* ID, account number, or account name.
*/
public const DATA_TYPE_DATA_TYPE_USER_IDS = 'DATA_TYPE_USER_IDS';
/**
* A user's address, such as a mailing or home address.
*/
public const DATA_TYPE_DATA_TYPE_PHYSICAL_ADDRESS = 'DATA_TYPE_PHYSICAL_ADDRESS';
/**
* A user's phone number.
*/
public const DATA_TYPE_DATA_TYPE_PHONE_NUMBER = 'DATA_TYPE_PHONE_NUMBER';
/**
* Information about a user's race or ethnicity.
*/
public const DATA_TYPE_DATA_TYPE_RACE_AND_ETHNICITY = 'DATA_TYPE_RACE_AND_ETHNICITY';
/**
* Information about a user's political or religious beliefs.
*/
public const DATA_TYPE_DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS = 'DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS';
/**
* Information about a user's sexual orientation.
*/
public const DATA_TYPE_DATA_TYPE_SEXUAL_ORIENTATION = 'DATA_TYPE_SEXUAL_ORIENTATION';
/**
* Any other personal information such as date of birth, gender identity,
* veteran status, etc.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_PERSONAL_INFO = 'DATA_TYPE_OTHER_PERSONAL_INFO';
/**
* Information about a user's financial accounts such as credit card number.
*/
public const DATA_TYPE_DATA_TYPE_PAYMENT_INFO = 'DATA_TYPE_PAYMENT_INFO';
/**
* Information about purchases or transactions a user has made.
*/
public const DATA_TYPE_DATA_TYPE_PURCHASE_HISTORY = 'DATA_TYPE_PURCHASE_HISTORY';
/**
* Information about a user's credit score.
*/
public const DATA_TYPE_DATA_TYPE_CREDIT_SCORE = 'DATA_TYPE_CREDIT_SCORE';
/**
* Any other financial information such as user salary or debts.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_FINANCIAL_INFO = 'DATA_TYPE_OTHER_FINANCIAL_INFO';
/**
* Information about a user's health, such as medical records or symptoms.
*/
public const DATA_TYPE_DATA_TYPE_HEALTH_INFO = 'DATA_TYPE_HEALTH_INFO';
/**
* Information about a user's fitness, such as exercise or other physical
* activity.
*/
public const DATA_TYPE_DATA_TYPE_FITNESS_INFO = 'DATA_TYPE_FITNESS_INFO';
/**
* A user's emails including the email subject line, sender, recipients, and
* the content of the email.
*/
public const DATA_TYPE_DATA_TYPE_EMAILS = 'DATA_TYPE_EMAILS';
/**
* A user's text messages including the sender, recipients, and the content of
* the message.
*/
public const DATA_TYPE_DATA_TYPE_TEXT_MESSAGES = 'DATA_TYPE_TEXT_MESSAGES';
/**
* Any other types of messages. For example, instant messages or chat content.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_IN_APP_MESSAGES = 'DATA_TYPE_OTHER_IN_APP_MESSAGES';
/**
* A user's photos.
*/
public const DATA_TYPE_DATA_TYPE_PHOTOS = 'DATA_TYPE_PHOTOS';
/**
* A user's videos.
*/
public const DATA_TYPE_DATA_TYPE_VIDEOS = 'DATA_TYPE_VIDEOS';
/**
* A user's voice such as a voicemail or a sound recording.
*/
public const DATA_TYPE_DATA_TYPE_VOICE_OR_SOUND_RECORDINGS = 'DATA_TYPE_VOICE_OR_SOUND_RECORDINGS';
/**
* A user's music files.
*/
public const DATA_TYPE_DATA_TYPE_MUSIC_FILES = 'DATA_TYPE_MUSIC_FILES';
/**
* Any other user-created or user-provided audio files.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_AUDIO_FILES = 'DATA_TYPE_OTHER_AUDIO_FILES';
/**
* A user's files or documents, or information about their files or documents
* such as file names.
*/
public const DATA_TYPE_DATA_TYPE_FILES_AND_DOCS = 'DATA_TYPE_FILES_AND_DOCS';
/**
* Information from a user's calendar such as events, event notes, and
* attendees.
*/
public const DATA_TYPE_DATA_TYPE_CALENDAR_EVENTS = 'DATA_TYPE_CALENDAR_EVENTS';
/**
* Information about the users contacts such as contact names, message
* history, and social graph information like usernames, contact recency,
* contact frequency, interaction duration and call history.
*/
public const DATA_TYPE_DATA_TYPE_CONTACTS = 'DATA_TYPE_CONTACTS';
/**
* Information about how a user interacts with your app, such as the number of
* page views or taps.
*/
public const DATA_TYPE_DATA_TYPE_APP_INTERACTIONS = 'DATA_TYPE_APP_INTERACTIONS';
/**
* Information about what a user has searched for in your app.
*/
public const DATA_TYPE_DATA_TYPE_IN_APP_SEARCH_HISTORY = 'DATA_TYPE_IN_APP_SEARCH_HISTORY';
/**
* Inventory of apps or packages installed on the users device.
*/
public const DATA_TYPE_DATA_TYPE_INSTALLED_APPS = 'DATA_TYPE_INSTALLED_APPS';
/**
* Any other user-generated content not listed here, or in any other section.
* For example, user bios, notes, or open-ended responses.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_USER_GENERATED_CONTENT = 'DATA_TYPE_OTHER_USER_GENERATED_CONTENT';
/**
* Any other user activity or actions in-app not listed here such as gameplay,
* likes, and dialog options.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_ACTIONS = 'DATA_TYPE_OTHER_ACTIONS';
/**
* Information about the websites a user has visited.
*/
public const DATA_TYPE_DATA_TYPE_WEB_BROWSING_HISTORY = 'DATA_TYPE_WEB_BROWSING_HISTORY';
/**
* Crash log data from your app. For example, the number of times your app has
* crashed, stack traces, or other information directly related to a crash.
*/
public const DATA_TYPE_DATA_TYPE_CRASH_LOGS = 'DATA_TYPE_CRASH_LOGS';
/**
* Information about the performance of your app. For example battery life,
* loading time, latency, framerate, or any technical diagnostics.
*/
public const DATA_TYPE_DATA_TYPE_PERFORMANCE_DIAGNOSTICS = 'DATA_TYPE_PERFORMANCE_DIAGNOSTICS';
/**
* Any other app performance data not listed here.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_APP_PERFORMANCE_DATA = 'DATA_TYPE_OTHER_APP_PERFORMANCE_DATA';
/**
* Identifiers that relate to an individual device, browser or app. For
* example, an IMEI number, MAC address, Widevine Device ID, Firebase
* installation ID, or advertising identifier.
*/
public const DATA_TYPE_DATA_TYPE_DEVICE_OR_OTHER_IDS = 'DATA_TYPE_DEVICE_OR_OTHER_IDS';
/**
* The data type that was found in your app.
*
* @var string
*/
public $dataType;
protected $dataTypeEvidenceType = GoogleChecksReportV1alphaDataTypeEvidence::class;
protected $dataTypeEvidenceDataType = '';
/**
* The data type that was found in your app.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, DATA_TYPE_APPROXIMATE_LOCATION,
* DATA_TYPE_PRECISE_LOCATION, DATA_TYPE_PERSONAL_NAME,
* DATA_TYPE_EMAIL_ADDRESS, DATA_TYPE_USER_IDS, DATA_TYPE_PHYSICAL_ADDRESS,
* DATA_TYPE_PHONE_NUMBER, DATA_TYPE_RACE_AND_ETHNICITY,
* DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS, DATA_TYPE_SEXUAL_ORIENTATION,
* DATA_TYPE_OTHER_PERSONAL_INFO, DATA_TYPE_PAYMENT_INFO,
* DATA_TYPE_PURCHASE_HISTORY, DATA_TYPE_CREDIT_SCORE,
* DATA_TYPE_OTHER_FINANCIAL_INFO, DATA_TYPE_HEALTH_INFO,
* DATA_TYPE_FITNESS_INFO, DATA_TYPE_EMAILS, DATA_TYPE_TEXT_MESSAGES,
* DATA_TYPE_OTHER_IN_APP_MESSAGES, DATA_TYPE_PHOTOS, DATA_TYPE_VIDEOS,
* DATA_TYPE_VOICE_OR_SOUND_RECORDINGS, DATA_TYPE_MUSIC_FILES,
* DATA_TYPE_OTHER_AUDIO_FILES, DATA_TYPE_FILES_AND_DOCS,
* DATA_TYPE_CALENDAR_EVENTS, DATA_TYPE_CONTACTS, DATA_TYPE_APP_INTERACTIONS,
* DATA_TYPE_IN_APP_SEARCH_HISTORY, DATA_TYPE_INSTALLED_APPS,
* DATA_TYPE_OTHER_USER_GENERATED_CONTENT, DATA_TYPE_OTHER_ACTIONS,
* DATA_TYPE_WEB_BROWSING_HISTORY, DATA_TYPE_CRASH_LOGS,
* DATA_TYPE_PERFORMANCE_DIAGNOSTICS, DATA_TYPE_OTHER_APP_PERFORMANCE_DATA,
* DATA_TYPE_DEVICE_OR_OTHER_IDS
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Evidence collected about the data type.
*
* @param GoogleChecksReportV1alphaDataTypeEvidence $dataTypeEvidence
*/
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,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 GoogleChecksReportV1alphaCheckEndpointEvidence extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* The endpoint that was contacted by your app.
*
* @param GoogleChecksReportV1alphaEndpoint $endpoint
*/
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,45 @@
<?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';
/**
* Endpoints in violation.
*
* @param GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails[] $endpointDetails
*/
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,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 GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* The endpoint in violation.
*
* @param GoogleChecksReportV1alphaEndpoint $endpoint
*/
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,207 @@
<?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';
/**
* Evidence concerning data security.
*
* @param GoogleChecksReportV1alphaCheckDataSecurityEvidence $dataSecurity
*/
public function setDataSecurity(GoogleChecksReportV1alphaCheckDataSecurityEvidence $dataSecurity)
{
$this->dataSecurity = $dataSecurity;
}
/**
* @return GoogleChecksReportV1alphaCheckDataSecurityEvidence
*/
public function getDataSecurity()
{
return $this->dataSecurity;
}
/**
* Evidence concerning data types found in your app.
*
* @param GoogleChecksReportV1alphaCheckDataTypeEvidence[] $dataTypes
*/
public function setDataTypes($dataTypes)
{
$this->dataTypes = $dataTypes;
}
/**
* @return GoogleChecksReportV1alphaCheckDataTypeEvidence[]
*/
public function getDataTypes()
{
return $this->dataTypes;
}
/**
* Evidence collected from endpoint restriction violation analysis.
*
* @param GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence[] $endpointRestrictionViolations
*/
public function setEndpointRestrictionViolations($endpointRestrictionViolations)
{
$this->endpointRestrictionViolations = $endpointRestrictionViolations;
}
/**
* @return GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence[]
*/
public function getEndpointRestrictionViolations()
{
return $this->endpointRestrictionViolations;
}
/**
* Evidence concerning endpoints that were contacted by your app.
*
* @param GoogleChecksReportV1alphaCheckEndpointEvidence[] $endpoints
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleChecksReportV1alphaCheckEndpointEvidence[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* Evidence collected from permission restriction violation analysis.
*
* @param GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence[] $permissionRestrictionViolations
*/
public function setPermissionRestrictionViolations($permissionRestrictionViolations)
{
$this->permissionRestrictionViolations = $permissionRestrictionViolations;
}
/**
* @return GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence[]
*/
public function getPermissionRestrictionViolations()
{
return $this->permissionRestrictionViolations;
}
/**
* Evidence concerning permissions that were found in your app.
*
* @param GoogleChecksReportV1alphaCheckPermissionEvidence[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleChecksReportV1alphaCheckPermissionEvidence[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* Evidence collected from your privacy policy(s).
*
* @param GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence[] $privacyPolicyTexts
*/
public function setPrivacyPolicyTexts($privacyPolicyTexts)
{
$this->privacyPolicyTexts = $privacyPolicyTexts;
}
/**
* @return GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence[]
*/
public function getPrivacyPolicyTexts()
{
return $this->privacyPolicyTexts;
}
/**
* Evidence concerning SDK issues.
*
* @param GoogleChecksReportV1alphaCheckSdkIssueEvidence[] $sdkIssues
*/
public function setSdkIssues($sdkIssues)
{
$this->sdkIssues = $sdkIssues;
}
/**
* @return GoogleChecksReportV1alphaCheckSdkIssueEvidence[]
*/
public function getSdkIssues()
{
return $this->sdkIssues;
}
/**
* Evidence collected from SDK restriction violation analysis.
*
* @param GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence[] $sdkRestrictionViolations
*/
public function setSdkRestrictionViolations($sdkRestrictionViolations)
{
$this->sdkRestrictionViolations = $sdkRestrictionViolations;
}
/**
* @return GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence[]
*/
public function getSdkRestrictionViolations()
{
return $this->sdkRestrictionViolations;
}
/**
* Evidence concerning SDKs that were found in your app.
*
* @param GoogleChecksReportV1alphaCheckSdkEvidence[] $sdks
*/
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,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 GoogleChecksReportV1alphaCheckPermissionEvidence extends \Google\Model
{
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* The permission that was found in your app.
*
* @param GoogleChecksReportV1alphaPermission $permission
*/
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,45 @@
<?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';
/**
* Permissions in violation.
*
* @param GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails[] $permissionDetails
*/
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,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 GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails extends \Google\Model
{
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* The permission in violation.
*
* @param GoogleChecksReportV1alphaPermission $permission
*/
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,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 GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence extends \Google\Model
{
protected $policyFragmentType = GoogleChecksReportV1alphaPolicyFragment::class;
protected $policyFragmentDataType = '';
/**
* The privacy policy fragment that was used during the check.
*
* @param GoogleChecksReportV1alphaPolicyFragment $policyFragment
*/
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,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 GoogleChecksReportV1alphaCheckSdkEvidence extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* The SDK that was found in your app.
*
* @param GoogleChecksReportV1alphaSdk $sdk
*/
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,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;
class GoogleChecksReportV1alphaCheckSdkIssueEvidence extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* The SDK version.
*
* @var string
*/
public $sdkVersion;
/**
* The SDK with an issue.
*
* @param GoogleChecksReportV1alphaSdk $sdk
*/
public function setSdk(GoogleChecksReportV1alphaSdk $sdk)
{
$this->sdk = $sdk;
}
/**
* @return GoogleChecksReportV1alphaSdk
*/
public function getSdk()
{
return $this->sdk;
}
/**
* The SDK version.
*
* @param string $sdkVersion
*/
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,45 @@
<?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';
/**
* SDKs in violation.
*
* @param GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails[] $sdkDetails
*/
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,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 GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* The SDK in violation.
*
* @param GoogleChecksReportV1alphaSdk $sdk
*/
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,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 GoogleChecksReportV1alphaCheckStateMetadata extends \Google\Collection
{
protected $collection_key = 'badges';
/**
* Indicators related to the check state.
*
* @var string[]
*/
public $badges;
/**
* The time when the check first started failing.
*
* @var string
*/
public $firstFailingTime;
/**
* The last time the check failed.
*
* @var string
*/
public $lastFailingTime;
/**
* Indicators related to the check state.
*
* @param string[] $badges
*/
public function setBadges($badges)
{
$this->badges = $badges;
}
/**
* @return string[]
*/
public function getBadges()
{
return $this->badges;
}
/**
* The time when the check first started failing.
*
* @param string $firstFailingTime
*/
public function setFirstFailingTime($firstFailingTime)
{
$this->firstFailingTime = $firstFailingTime;
}
/**
* @return string
*/
public function getFirstFailingTime()
{
return $this->firstFailingTime;
}
/**
* The last time the check failed.
*
* @param string $lastFailingTime
*/
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,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 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';
/**
* Data types that your app shares or collects.
*
* @param GoogleChecksReportV1alphaDataMonitoringDataTypeResult[] $dataTypes
*/
public function setDataTypes($dataTypes)
{
$this->dataTypes = $dataTypes;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringDataTypeResult[]
*/
public function getDataTypes()
{
return $this->dataTypes;
}
/**
* Endpoints that were found by dynamic analysis of your app.
*
* @param GoogleChecksReportV1alphaDataMonitoringEndpointResult[] $endpoints
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringEndpointResult[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* Permissions that your app uses.
*
* @param GoogleChecksReportV1alphaDataMonitoringPermissionResult[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringPermissionResult[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* SDKs that your app uses.
*
* @param GoogleChecksReportV1alphaDataMonitoringSdkResult[] $sdks
*/
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,280 @@
<?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
{
/**
* Not specified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* User or device physical location to an area greater than or equal to 3
* square kilometers, such as the city a user is in, or location provided by
* Android's ACCESS_COARSE_LOCATION permission.
*/
public const DATA_TYPE_DATA_TYPE_APPROXIMATE_LOCATION = 'DATA_TYPE_APPROXIMATE_LOCATION';
/**
* User or device physical location within an area less than 3 square
* kilometers, such as location provided by Android's ACCESS_FINE_LOCATION
* permission.
*/
public const DATA_TYPE_DATA_TYPE_PRECISE_LOCATION = 'DATA_TYPE_PRECISE_LOCATION';
/**
* How a user refers to themselves, such as their first or last name, or
* nickname.
*/
public const DATA_TYPE_DATA_TYPE_PERSONAL_NAME = 'DATA_TYPE_PERSONAL_NAME';
/**
* A user's email address.
*/
public const DATA_TYPE_DATA_TYPE_EMAIL_ADDRESS = 'DATA_TYPE_EMAIL_ADDRESS';
/**
* Identifiers that relate to an identifiable person. For example, an account
* ID, account number, or account name.
*/
public const DATA_TYPE_DATA_TYPE_USER_IDS = 'DATA_TYPE_USER_IDS';
/**
* A user's address, such as a mailing or home address.
*/
public const DATA_TYPE_DATA_TYPE_PHYSICAL_ADDRESS = 'DATA_TYPE_PHYSICAL_ADDRESS';
/**
* A user's phone number.
*/
public const DATA_TYPE_DATA_TYPE_PHONE_NUMBER = 'DATA_TYPE_PHONE_NUMBER';
/**
* Information about a user's race or ethnicity.
*/
public const DATA_TYPE_DATA_TYPE_RACE_AND_ETHNICITY = 'DATA_TYPE_RACE_AND_ETHNICITY';
/**
* Information about a user's political or religious beliefs.
*/
public const DATA_TYPE_DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS = 'DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS';
/**
* Information about a user's sexual orientation.
*/
public const DATA_TYPE_DATA_TYPE_SEXUAL_ORIENTATION = 'DATA_TYPE_SEXUAL_ORIENTATION';
/**
* Any other personal information such as date of birth, gender identity,
* veteran status, etc.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_PERSONAL_INFO = 'DATA_TYPE_OTHER_PERSONAL_INFO';
/**
* Information about a user's financial accounts such as credit card number.
*/
public const DATA_TYPE_DATA_TYPE_PAYMENT_INFO = 'DATA_TYPE_PAYMENT_INFO';
/**
* Information about purchases or transactions a user has made.
*/
public const DATA_TYPE_DATA_TYPE_PURCHASE_HISTORY = 'DATA_TYPE_PURCHASE_HISTORY';
/**
* Information about a user's credit score.
*/
public const DATA_TYPE_DATA_TYPE_CREDIT_SCORE = 'DATA_TYPE_CREDIT_SCORE';
/**
* Any other financial information such as user salary or debts.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_FINANCIAL_INFO = 'DATA_TYPE_OTHER_FINANCIAL_INFO';
/**
* Information about a user's health, such as medical records or symptoms.
*/
public const DATA_TYPE_DATA_TYPE_HEALTH_INFO = 'DATA_TYPE_HEALTH_INFO';
/**
* Information about a user's fitness, such as exercise or other physical
* activity.
*/
public const DATA_TYPE_DATA_TYPE_FITNESS_INFO = 'DATA_TYPE_FITNESS_INFO';
/**
* A user's emails including the email subject line, sender, recipients, and
* the content of the email.
*/
public const DATA_TYPE_DATA_TYPE_EMAILS = 'DATA_TYPE_EMAILS';
/**
* A user's text messages including the sender, recipients, and the content of
* the message.
*/
public const DATA_TYPE_DATA_TYPE_TEXT_MESSAGES = 'DATA_TYPE_TEXT_MESSAGES';
/**
* Any other types of messages. For example, instant messages or chat content.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_IN_APP_MESSAGES = 'DATA_TYPE_OTHER_IN_APP_MESSAGES';
/**
* A user's photos.
*/
public const DATA_TYPE_DATA_TYPE_PHOTOS = 'DATA_TYPE_PHOTOS';
/**
* A user's videos.
*/
public const DATA_TYPE_DATA_TYPE_VIDEOS = 'DATA_TYPE_VIDEOS';
/**
* A user's voice such as a voicemail or a sound recording.
*/
public const DATA_TYPE_DATA_TYPE_VOICE_OR_SOUND_RECORDINGS = 'DATA_TYPE_VOICE_OR_SOUND_RECORDINGS';
/**
* A user's music files.
*/
public const DATA_TYPE_DATA_TYPE_MUSIC_FILES = 'DATA_TYPE_MUSIC_FILES';
/**
* Any other user-created or user-provided audio files.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_AUDIO_FILES = 'DATA_TYPE_OTHER_AUDIO_FILES';
/**
* A user's files or documents, or information about their files or documents
* such as file names.
*/
public const DATA_TYPE_DATA_TYPE_FILES_AND_DOCS = 'DATA_TYPE_FILES_AND_DOCS';
/**
* Information from a user's calendar such as events, event notes, and
* attendees.
*/
public const DATA_TYPE_DATA_TYPE_CALENDAR_EVENTS = 'DATA_TYPE_CALENDAR_EVENTS';
/**
* Information about the users contacts such as contact names, message
* history, and social graph information like usernames, contact recency,
* contact frequency, interaction duration and call history.
*/
public const DATA_TYPE_DATA_TYPE_CONTACTS = 'DATA_TYPE_CONTACTS';
/**
* Information about how a user interacts with your app, such as the number of
* page views or taps.
*/
public const DATA_TYPE_DATA_TYPE_APP_INTERACTIONS = 'DATA_TYPE_APP_INTERACTIONS';
/**
* Information about what a user has searched for in your app.
*/
public const DATA_TYPE_DATA_TYPE_IN_APP_SEARCH_HISTORY = 'DATA_TYPE_IN_APP_SEARCH_HISTORY';
/**
* Inventory of apps or packages installed on the users device.
*/
public const DATA_TYPE_DATA_TYPE_INSTALLED_APPS = 'DATA_TYPE_INSTALLED_APPS';
/**
* Any other user-generated content not listed here, or in any other section.
* For example, user bios, notes, or open-ended responses.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_USER_GENERATED_CONTENT = 'DATA_TYPE_OTHER_USER_GENERATED_CONTENT';
/**
* Any other user activity or actions in-app not listed here such as gameplay,
* likes, and dialog options.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_ACTIONS = 'DATA_TYPE_OTHER_ACTIONS';
/**
* Information about the websites a user has visited.
*/
public const DATA_TYPE_DATA_TYPE_WEB_BROWSING_HISTORY = 'DATA_TYPE_WEB_BROWSING_HISTORY';
/**
* Crash log data from your app. For example, the number of times your app has
* crashed, stack traces, or other information directly related to a crash.
*/
public const DATA_TYPE_DATA_TYPE_CRASH_LOGS = 'DATA_TYPE_CRASH_LOGS';
/**
* Information about the performance of your app. For example battery life,
* loading time, latency, framerate, or any technical diagnostics.
*/
public const DATA_TYPE_DATA_TYPE_PERFORMANCE_DIAGNOSTICS = 'DATA_TYPE_PERFORMANCE_DIAGNOSTICS';
/**
* Any other app performance data not listed here.
*/
public const DATA_TYPE_DATA_TYPE_OTHER_APP_PERFORMANCE_DATA = 'DATA_TYPE_OTHER_APP_PERFORMANCE_DATA';
/**
* Identifiers that relate to an individual device, browser or app. For
* example, an IMEI number, MAC address, Widevine Device ID, Firebase
* installation ID, or advertising identifier.
*/
public const DATA_TYPE_DATA_TYPE_DEVICE_OR_OTHER_IDS = 'DATA_TYPE_DEVICE_OR_OTHER_IDS';
/**
* The data type that was shared or collected by your app.
*
* @var string
*/
public $dataType;
protected $dataTypeEvidenceType = GoogleChecksReportV1alphaDataTypeEvidence::class;
protected $dataTypeEvidenceDataType = '';
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
/**
* The data type that was shared or collected by your app.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, DATA_TYPE_APPROXIMATE_LOCATION,
* DATA_TYPE_PRECISE_LOCATION, DATA_TYPE_PERSONAL_NAME,
* DATA_TYPE_EMAIL_ADDRESS, DATA_TYPE_USER_IDS, DATA_TYPE_PHYSICAL_ADDRESS,
* DATA_TYPE_PHONE_NUMBER, DATA_TYPE_RACE_AND_ETHNICITY,
* DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS, DATA_TYPE_SEXUAL_ORIENTATION,
* DATA_TYPE_OTHER_PERSONAL_INFO, DATA_TYPE_PAYMENT_INFO,
* DATA_TYPE_PURCHASE_HISTORY, DATA_TYPE_CREDIT_SCORE,
* DATA_TYPE_OTHER_FINANCIAL_INFO, DATA_TYPE_HEALTH_INFO,
* DATA_TYPE_FITNESS_INFO, DATA_TYPE_EMAILS, DATA_TYPE_TEXT_MESSAGES,
* DATA_TYPE_OTHER_IN_APP_MESSAGES, DATA_TYPE_PHOTOS, DATA_TYPE_VIDEOS,
* DATA_TYPE_VOICE_OR_SOUND_RECORDINGS, DATA_TYPE_MUSIC_FILES,
* DATA_TYPE_OTHER_AUDIO_FILES, DATA_TYPE_FILES_AND_DOCS,
* DATA_TYPE_CALENDAR_EVENTS, DATA_TYPE_CONTACTS, DATA_TYPE_APP_INTERACTIONS,
* DATA_TYPE_IN_APP_SEARCH_HISTORY, DATA_TYPE_INSTALLED_APPS,
* DATA_TYPE_OTHER_USER_GENERATED_CONTENT, DATA_TYPE_OTHER_ACTIONS,
* DATA_TYPE_WEB_BROWSING_HISTORY, DATA_TYPE_CRASH_LOGS,
* DATA_TYPE_PERFORMANCE_DIAGNOSTICS, DATA_TYPE_OTHER_APP_PERFORMANCE_DATA,
* DATA_TYPE_DEVICE_OR_OTHER_IDS
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Evidence collected about the data type.
*
* @param GoogleChecksReportV1alphaDataTypeEvidence $dataTypeEvidence
*/
public function setDataTypeEvidence(GoogleChecksReportV1alphaDataTypeEvidence $dataTypeEvidence)
{
$this->dataTypeEvidence = $dataTypeEvidence;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEvidence
*/
public function getDataTypeEvidence()
{
return $this->dataTypeEvidence;
}
/**
* Metadata about the result.
*
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata
*/
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,84 @@
<?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 = '';
/**
* The number of times this endpoint was contacted by your app.
*
* @var int
*/
public $hitCount;
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
/**
* The endpoint that was contacted by your app.
*
* @param GoogleChecksReportV1alphaEndpoint $endpoint
*/
public function setEndpoint(GoogleChecksReportV1alphaEndpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return GoogleChecksReportV1alphaEndpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* The number of times this endpoint was contacted by your app.
*
* @param int $hitCount
*/
public function setHitCount($hitCount)
{
$this->hitCount = $hitCount;
}
/**
* @return int
*/
public function getHitCount()
{
return $this->hitCount;
}
/**
* Metadata about the result.
*
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata
*/
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,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 GoogleChecksReportV1alphaDataMonitoringPermissionResult extends \Google\Model
{
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* Metadata about the result.
*
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata
*/
public function setMetadata(GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The permission that was found in your app.
*
* @param GoogleChecksReportV1alphaPermission $permission
*/
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,121 @@
<?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';
/**
* Badges that apply to this result.
*
* @var string[]
*/
public $badges;
/**
* The timestamp when this result was first detected within the last 8 weeks.
* If not set, it wasn't detected within the last 8 weeks.
*
* @var string
*/
public $firstDetectedTime;
/**
* Your app's version name when this result was last detected within the last
* 8 weeks. If not set, it wasn't detected within the last 8 weeks.
*
* @var string
*/
public $lastDetectedAppVersion;
/**
* The timestamp when this result was last detected within the last 8 weeks.
* If not set, it wasn't detected within the last 8 weeks.
*
* @var string
*/
public $lastDetectedTime;
/**
* Badges that apply to this result.
*
* @param string[] $badges
*/
public function setBadges($badges)
{
$this->badges = $badges;
}
/**
* @return string[]
*/
public function getBadges()
{
return $this->badges;
}
/**
* The timestamp when this result was first detected within the last 8 weeks.
* If not set, it wasn't detected within the last 8 weeks.
*
* @param string $firstDetectedTime
*/
public function setFirstDetectedTime($firstDetectedTime)
{
$this->firstDetectedTime = $firstDetectedTime;
}
/**
* @return string
*/
public function getFirstDetectedTime()
{
return $this->firstDetectedTime;
}
/**
* Your app's version name when this result was last detected within the last
* 8 weeks. If not set, it wasn't detected within the last 8 weeks.
*
* @param string $lastDetectedAppVersion
*/
public function setLastDetectedAppVersion($lastDetectedAppVersion)
{
$this->lastDetectedAppVersion = $lastDetectedAppVersion;
}
/**
* @return string
*/
public function getLastDetectedAppVersion()
{
return $this->lastDetectedAppVersion;
}
/**
* The timestamp when this result was last detected within the last 8 weeks.
* If not set, it wasn't detected within the last 8 weeks.
*
* @param string $lastDetectedTime
*/
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,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 GoogleChecksReportV1alphaDataMonitoringSdkResult extends \Google\Model
{
protected $metadataType = GoogleChecksReportV1alphaDataMonitoringResultMetadata::class;
protected $metadataDataType = '';
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* Metadata about the result.
*
* @param GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata
*/
public function setMetadata(GoogleChecksReportV1alphaDataMonitoringResultMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoringResultMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The SDK that was found in your app.
*
* @param GoogleChecksReportV1alphaSdk $sdk
*/
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,175 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaDataTypeEndpointEvidence extends \Google\Collection
{
/**
* Not specified.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_UNSPECIFIED = 'EXFILTRATED_DATA_TYPE_UNSPECIFIED';
/**
* The user's phone number.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_PHONE_NUMBER = 'EXFILTRATED_DATA_TYPE_PHONE_NUMBER';
/**
* The user's precise location.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_PRECISE_LOCATION = 'EXFILTRATED_DATA_TYPE_PRECISE_LOCATION';
/**
* Name of one or more contacts from the user's phone.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_CONTACT_NAME = 'EXFILTRATED_DATA_TYPE_CONTACT_NAME';
/**
* Email of one or more contacts from the user's phone.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_CONTACT_EMAIL = 'EXFILTRATED_DATA_TYPE_CONTACT_EMAIL';
/**
* Phone number of one or more contacts from the user's phone.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_CONTACT_PHONE_NUMBER = 'EXFILTRATED_DATA_TYPE_CONTACT_PHONE_NUMBER';
/**
* Phone number of an incoming text message.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_INCOMING_TEXT_NUMBER = 'EXFILTRATED_DATA_TYPE_INCOMING_TEXT_NUMBER';
/**
* Content of an incoming text message.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_INCOMING_TEXT_MESSAGE = 'EXFILTRATED_DATA_TYPE_INCOMING_TEXT_MESSAGE';
/**
* Phone number of an outgoing text message.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_NUMBER = 'EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_NUMBER';
/**
* Content of an outgoing text message.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_MESSAGE = 'EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_MESSAGE';
/**
* Advertising ID.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_ADVERTISING_ID = 'EXFILTRATED_DATA_TYPE_ADVERTISING_ID';
/**
* Android ID.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_ANDROID_ID = 'EXFILTRATED_DATA_TYPE_ANDROID_ID';
/**
* IMEI.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_IMEI = 'EXFILTRATED_DATA_TYPE_IMEI';
/**
* IMSI.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_IMSI = 'EXFILTRATED_DATA_TYPE_IMSI';
/**
* Sim serial number.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_SIM_SERIAL_NUMBER = 'EXFILTRATED_DATA_TYPE_SIM_SERIAL_NUMBER';
/**
* SSID: Service Set IDentifier, i.e. the network's name.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_SSID = 'EXFILTRATED_DATA_TYPE_SSID';
/**
* Information about the main account of the device.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_ACCOUNT = 'EXFILTRATED_DATA_TYPE_ACCOUNT';
/**
* Information about an external account, e.g. Facebook, Twitter.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_EXTERNAL_ACCOUNT = 'EXFILTRATED_DATA_TYPE_EXTERNAL_ACCOUNT';
/**
* One or more of the package names of apps on the device.
*/
public const EXFILTRATED_DATA_TYPE_EXFILTRATED_DATA_TYPE_INSTALLED_PACKAGES = 'EXFILTRATED_DATA_TYPE_INSTALLED_PACKAGES';
protected $collection_key = 'endpointDetails';
protected $attributedSdksType = GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk::class;
protected $attributedSdksDataType = 'array';
protected $endpointDetailsType = GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails::class;
protected $endpointDetailsDataType = 'array';
/**
* Type of data that was exfiltrated.
*
* @var string
*/
public $exfiltratedDataType;
/**
* Set of SDKs that are attributed to the exfiltration.
*
* @param GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk[] $attributedSdks
*/
public function setAttributedSdks($attributedSdks)
{
$this->attributedSdks = $attributedSdks;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk[]
*/
public function getAttributedSdks()
{
return $this->attributedSdks;
}
/**
* Endpoints the data type was sent to.
*
* @param GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails[] $endpointDetails
*/
public function setEndpointDetails($endpointDetails)
{
$this->endpointDetails = $endpointDetails;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails[]
*/
public function getEndpointDetails()
{
return $this->endpointDetails;
}
/**
* Type of data that was exfiltrated.
*
* Accepted values: EXFILTRATED_DATA_TYPE_UNSPECIFIED,
* EXFILTRATED_DATA_TYPE_PHONE_NUMBER, EXFILTRATED_DATA_TYPE_PRECISE_LOCATION,
* EXFILTRATED_DATA_TYPE_CONTACT_NAME, EXFILTRATED_DATA_TYPE_CONTACT_EMAIL,
* EXFILTRATED_DATA_TYPE_CONTACT_PHONE_NUMBER,
* EXFILTRATED_DATA_TYPE_INCOMING_TEXT_NUMBER,
* EXFILTRATED_DATA_TYPE_INCOMING_TEXT_MESSAGE,
* EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_NUMBER,
* EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_MESSAGE,
* EXFILTRATED_DATA_TYPE_ADVERTISING_ID, EXFILTRATED_DATA_TYPE_ANDROID_ID,
* EXFILTRATED_DATA_TYPE_IMEI, EXFILTRATED_DATA_TYPE_IMSI,
* EXFILTRATED_DATA_TYPE_SIM_SERIAL_NUMBER, EXFILTRATED_DATA_TYPE_SSID,
* EXFILTRATED_DATA_TYPE_ACCOUNT, EXFILTRATED_DATA_TYPE_EXTERNAL_ACCOUNT,
* EXFILTRATED_DATA_TYPE_INSTALLED_PACKAGES
*
* @param self::EXFILTRATED_DATA_TYPE_* $exfiltratedDataType
*/
public function setExfiltratedDataType($exfiltratedDataType)
{
$this->exfiltratedDataType = $exfiltratedDataType;
}
/**
* @return self::EXFILTRATED_DATA_TYPE_*
*/
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,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 GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk extends \Google\Model
{
protected $sdkType = GoogleChecksReportV1alphaSdk::class;
protected $sdkDataType = '';
/**
* SDK that is attributed to the exfiltration.
*
* @param GoogleChecksReportV1alphaSdk $sdk
*/
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,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 GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails extends \Google\Model
{
protected $endpointType = GoogleChecksReportV1alphaEndpoint::class;
protected $endpointDataType = '';
/**
* Endpoint the data type was sent to.
*
* @param GoogleChecksReportV1alphaEndpoint $endpoint
*/
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,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 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';
/**
* List of endpoints the data type was sent to.
*
* @param GoogleChecksReportV1alphaDataTypeEndpointEvidence[] $endpoints
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleChecksReportV1alphaDataTypeEndpointEvidence[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* List of included permissions that imply collection of the data type.
*
* @param GoogleChecksReportV1alphaDataTypePermissionEvidence[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleChecksReportV1alphaDataTypePermissionEvidence[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* List of privacy policy texts that imply collection of the data type.
*
* @param GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence[] $privacyPolicyTexts
*/
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,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 GoogleChecksReportV1alphaDataTypePermissionEvidence extends \Google\Model
{
protected $permissionType = GoogleChecksReportV1alphaPermission::class;
protected $permissionDataType = '';
/**
* Permission declared by your app.
*
* @param GoogleChecksReportV1alphaPermission $permission
*/
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,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 GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence extends \Google\Model
{
protected $policyFragmentType = GoogleChecksReportV1alphaPolicyFragment::class;
protected $policyFragmentDataType = '';
/**
* The privacy policy fragment that implies collection of the data type.
*
* @param GoogleChecksReportV1alphaPolicyFragment $policyFragment
*/
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,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaEndpoint extends \Google\Model
{
/**
* Domain name (e.g. ads.google.com).
*
* @var string
*/
public $domain;
/**
* Domain name (e.g. ads.google.com).
*
* @param string $domain
*/
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,69 @@
<?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';
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $reportsType = GoogleChecksReportV1alphaReport::class;
protected $reportsDataType = 'array';
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The reports for the specified app.
*
* @param GoogleChecksReportV1alphaReport[] $reports
*/
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,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaPermission extends \Google\Model
{
/**
* Permission identifier.
*
* @var string
*/
public $id;
/**
* Permission identifier.
*
* @param string $id
*/
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,70 @@
<?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
{
/**
* HTML content.
*
* @var string
*/
public $htmlContent;
/**
* Policy URL.
*
* @var string
*/
public $sourceUri;
/**
* HTML content.
*
* @param string $htmlContent
*/
public function setHtmlContent($htmlContent)
{
$this->htmlContent = $htmlContent;
}
/**
* @return string
*/
public function getHtmlContent()
{
return $this->htmlContent;
}
/**
* Policy URL.
*
* @param string $sourceUri
*/
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,125 @@
<?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 = '';
/**
* Resource name of the report.
*
* @var string
*/
public $name;
/**
* A URL to view results.
*
* @var string
*/
public $resultsUri;
/**
* Information about the analyzed app bundle.
*
* @param GoogleChecksReportV1alphaAppBundle $appBundle
*/
public function setAppBundle(GoogleChecksReportV1alphaAppBundle $appBundle)
{
$this->appBundle = $appBundle;
}
/**
* @return GoogleChecksReportV1alphaAppBundle
*/
public function getAppBundle()
{
return $this->appBundle;
}
/**
* List of checks that were run on the app bundle.
*
* @param GoogleChecksReportV1alphaCheck[] $checks
*/
public function setChecks($checks)
{
$this->checks = $checks;
}
/**
* @return GoogleChecksReportV1alphaCheck[]
*/
public function getChecks()
{
return $this->checks;
}
/**
* Information related to data monitoring.
*
* @param GoogleChecksReportV1alphaDataMonitoring $dataMonitoring
*/
public function setDataMonitoring(GoogleChecksReportV1alphaDataMonitoring $dataMonitoring)
{
$this->dataMonitoring = $dataMonitoring;
}
/**
* @return GoogleChecksReportV1alphaDataMonitoring
*/
public function getDataMonitoring()
{
return $this->dataMonitoring;
}
/**
* Resource name of the report.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* A URL to view results.
*
* @param string $resultsUri
*/
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,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class GoogleChecksReportV1alphaSdk extends \Google\Model
{
/**
* SDK identifier.
*
* @var string
*/
public $id;
/**
* SDK identifier.
*
* @param string $id
*/
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,95 @@
<?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 = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// 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,158 @@
<?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
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
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,145 @@
<?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.
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
* reachable are returned as normal, and those that are unreachable are returned
* in the ListOperationsResponse.unreachable field. This can only be `true` when
* reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
* @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,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 Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
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,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChecksService;
class WaitOperationRequest extends \Google\Model
{
/**
* 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.
*
* @var string
*/
public $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.
*
* @param string $timeout
*/
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');