Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_AccountWarning extends Google_Model
{
public $email;
protected $loginDetailsType = 'Google_Service_AlertCenter_LoginDetails';
protected $loginDetailsDataType = '';
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
/**
* @param Google_Service_AlertCenter_LoginDetails
*/
public function setLoginDetails(Google_Service_AlertCenter_LoginDetails $loginDetails)
{
$this->loginDetails = $loginDetails;
}
/**
* @return Google_Service_AlertCenter_LoginDetails
*/
public function getLoginDetails()
{
return $this->loginDetails;
}
}

View File

@@ -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.
*/
class Google_Service_AlertCenter_Alert extends Google_Model
{
public $alertId;
public $createTime;
public $customerId;
public $data;
public $deleted;
public $endTime;
public $securityInvestigationToolLink;
public $source;
public $startTime;
public $type;
public function setAlertId($alertId)
{
$this->alertId = $alertId;
}
public function getAlertId()
{
return $this->alertId;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
public function getDeleted()
{
return $this->deleted;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setSecurityInvestigationToolLink($securityInvestigationToolLink)
{
$this->securityInvestigationToolLink = $securityInvestigationToolLink;
}
public function getSecurityInvestigationToolLink()
{
return $this->securityInvestigationToolLink;
}
public function setSource($source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_AlertFeedback extends Google_Model
{
public $alertId;
public $createTime;
public $customerId;
public $email;
public $feedbackId;
public $type;
public function setAlertId($alertId)
{
$this->alertId = $alertId;
}
public function getAlertId()
{
return $this->alertId;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setFeedbackId($feedbackId)
{
$this->feedbackId = $feedbackId;
}
public function getFeedbackId()
{
return $this->feedbackId;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_AlertcenterEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_Attachment extends Google_Model
{
protected $csvType = 'Google_Service_AlertCenter_Csv';
protected $csvDataType = '';
/**
* @param Google_Service_AlertCenter_Csv
*/
public function setCsv(Google_Service_AlertCenter_Csv $csv)
{
$this->csv = $csv;
}
/**
* @return Google_Service_AlertCenter_Csv
*/
public function getCsv()
{
return $this->csv;
}
}

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_BadWhitelist extends Google_Collection
{
protected $collection_key = 'messages';
protected $domainIdType = 'Google_Service_AlertCenter_DomainId';
protected $domainIdDataType = '';
protected $maliciousEntityType = 'Google_Service_AlertCenter_MaliciousEntity';
protected $maliciousEntityDataType = '';
protected $messagesType = 'Google_Service_AlertCenter_GmailMessageInfo';
protected $messagesDataType = 'array';
public $sourceIp;
/**
* @param Google_Service_AlertCenter_DomainId
*/
public function setDomainId(Google_Service_AlertCenter_DomainId $domainId)
{
$this->domainId = $domainId;
}
/**
* @return Google_Service_AlertCenter_DomainId
*/
public function getDomainId()
{
return $this->domainId;
}
/**
* @param Google_Service_AlertCenter_MaliciousEntity
*/
public function setMaliciousEntity(Google_Service_AlertCenter_MaliciousEntity $maliciousEntity)
{
$this->maliciousEntity = $maliciousEntity;
}
/**
* @return Google_Service_AlertCenter_MaliciousEntity
*/
public function getMaliciousEntity()
{
return $this->maliciousEntity;
}
/**
* @param Google_Service_AlertCenter_GmailMessageInfo
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return Google_Service_AlertCenter_GmailMessageInfo
*/
public function getMessages()
{
return $this->messages;
}
public function setSourceIp($sourceIp)
{
$this->sourceIp = $sourceIp;
}
public function getSourceIp()
{
return $this->sourceIp;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_CloudPubsubTopic extends Google_Model
{
public $payloadFormat;
public $topicName;
public function setPayloadFormat($payloadFormat)
{
$this->payloadFormat = $payloadFormat;
}
public function getPayloadFormat()
{
return $this->payloadFormat;
}
public function setTopicName($topicName)
{
$this->topicName = $topicName;
}
public function getTopicName()
{
return $this->topicName;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_Csv extends Google_Collection
{
protected $collection_key = 'headers';
protected $dataRowsType = 'Google_Service_AlertCenter_CsvRow';
protected $dataRowsDataType = 'array';
public $headers;
/**
* @param Google_Service_AlertCenter_CsvRow
*/
public function setDataRows($dataRows)
{
$this->dataRows = $dataRows;
}
/**
* @return Google_Service_AlertCenter_CsvRow
*/
public function getDataRows()
{
return $this->dataRows;
}
public function setHeaders($headers)
{
$this->headers = $headers;
}
public function getHeaders()
{
return $this->headers;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_CsvRow extends Google_Collection
{
protected $collection_key = 'entries';
public $entries;
public function setEntries($entries)
{
$this->entries = $entries;
}
public function getEntries()
{
return $this->entries;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_DeviceCompromised extends Google_Collection
{
protected $collection_key = 'events';
public $email;
protected $eventsType = 'Google_Service_AlertCenter_DeviceCompromisedSecurityDetail';
protected $eventsDataType = 'array';
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
/**
* @param Google_Service_AlertCenter_DeviceCompromisedSecurityDetail
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return Google_Service_AlertCenter_DeviceCompromisedSecurityDetail
*/
public function getEvents()
{
return $this->events;
}
}

View File

@@ -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.
*/
class Google_Service_AlertCenter_DeviceCompromisedSecurityDetail extends Google_Model
{
public $deviceCompromisedState;
public $deviceId;
public $deviceModel;
public $deviceType;
public $iosVendorId;
public $resourceId;
public $serialNumber;
public function setDeviceCompromisedState($deviceCompromisedState)
{
$this->deviceCompromisedState = $deviceCompromisedState;
}
public function getDeviceCompromisedState()
{
return $this->deviceCompromisedState;
}
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
public function setDeviceModel($deviceModel)
{
$this->deviceModel = $deviceModel;
}
public function getDeviceModel()
{
return $this->deviceModel;
}
public function setDeviceType($deviceType)
{
$this->deviceType = $deviceType;
}
public function getDeviceType()
{
return $this->deviceType;
}
public function setIosVendorId($iosVendorId)
{
$this->iosVendorId = $iosVendorId;
}
public function getIosVendorId()
{
return $this->iosVendorId;
}
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
public function getResourceId()
{
return $this->resourceId;
}
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
public function getSerialNumber()
{
return $this->serialNumber;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_DomainId extends Google_Model
{
public $customerPrimaryDomain;
public function setCustomerPrimaryDomain($customerPrimaryDomain)
{
$this->customerPrimaryDomain = $customerPrimaryDomain;
}
public function getCustomerPrimaryDomain()
{
return $this->customerPrimaryDomain;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_DomainWideTakeoutInitiated extends Google_Model
{
public $email;
public $takeoutRequestId;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setTakeoutRequestId($takeoutRequestId)
{
$this->takeoutRequestId = $takeoutRequestId;
}
public function getTakeoutRequestId()
{
return $this->takeoutRequestId;
}
}

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_GmailMessageInfo extends Google_Collection
{
protected $collection_key = 'attachmentsSha256Hash';
public $attachmentsSha256Hash;
public $date;
public $md5HashMessageBody;
public $md5HashSubject;
public $messageBodySnippet;
public $messageId;
public $recipient;
public $subjectText;
public function setAttachmentsSha256Hash($attachmentsSha256Hash)
{
$this->attachmentsSha256Hash = $attachmentsSha256Hash;
}
public function getAttachmentsSha256Hash()
{
return $this->attachmentsSha256Hash;
}
public function setDate($date)
{
$this->date = $date;
}
public function getDate()
{
return $this->date;
}
public function setMd5HashMessageBody($md5HashMessageBody)
{
$this->md5HashMessageBody = $md5HashMessageBody;
}
public function getMd5HashMessageBody()
{
return $this->md5HashMessageBody;
}
public function setMd5HashSubject($md5HashSubject)
{
$this->md5HashSubject = $md5HashSubject;
}
public function getMd5HashSubject()
{
return $this->md5HashSubject;
}
public function setMessageBodySnippet($messageBodySnippet)
{
$this->messageBodySnippet = $messageBodySnippet;
}
public function getMessageBodySnippet()
{
return $this->messageBodySnippet;
}
public function setMessageId($messageId)
{
$this->messageId = $messageId;
}
public function getMessageId()
{
return $this->messageId;
}
public function setRecipient($recipient)
{
$this->recipient = $recipient;
}
public function getRecipient()
{
return $this->recipient;
}
public function setSubjectText($subjectText)
{
$this->subjectText = $subjectText;
}
public function getSubjectText()
{
return $this->subjectText;
}
}

View File

@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_GoogleOperations extends Google_Collection
{
protected $collection_key = 'affectedUserEmails';
public $affectedUserEmails;
protected $attachmentDataType = 'Google_Service_AlertCenter_Attachment';
protected $attachmentDataDataType = '';
public $description;
public $title;
public function setAffectedUserEmails($affectedUserEmails)
{
$this->affectedUserEmails = $affectedUserEmails;
}
public function getAffectedUserEmails()
{
return $this->affectedUserEmails;
}
/**
* @param Google_Service_AlertCenter_Attachment
*/
public function setAttachmentData(Google_Service_AlertCenter_Attachment $attachmentData)
{
$this->attachmentData = $attachmentData;
}
/**
* @return Google_Service_AlertCenter_Attachment
*/
public function getAttachmentData()
{
return $this->attachmentData;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_ListAlertFeedbackResponse extends Google_Collection
{
protected $collection_key = 'feedback';
protected $feedbackType = 'Google_Service_AlertCenter_AlertFeedback';
protected $feedbackDataType = 'array';
/**
* @param Google_Service_AlertCenter_AlertFeedback
*/
public function setFeedback($feedback)
{
$this->feedback = $feedback;
}
/**
* @return Google_Service_AlertCenter_AlertFeedback
*/
public function getFeedback()
{
return $this->feedback;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_ListAlertsResponse extends Google_Collection
{
protected $collection_key = 'alerts';
protected $alertsType = 'Google_Service_AlertCenter_Alert';
protected $alertsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AlertCenter_Alert
*/
public function setAlerts($alerts)
{
$this->alerts = $alerts;
}
/**
* @return Google_Service_AlertCenter_Alert
*/
public function getAlerts()
{
return $this->alerts;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_LoginDetails extends Google_Model
{
public $ipAddress;
public $loginTime;
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
public function getIpAddress()
{
return $this->ipAddress;
}
public function setLoginTime($loginTime)
{
$this->loginTime = $loginTime;
}
public function getLoginTime()
{
return $this->loginTime;
}
}

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_MailPhishing extends Google_Collection
{
protected $collection_key = 'messages';
protected $domainIdType = 'Google_Service_AlertCenter_DomainId';
protected $domainIdDataType = '';
public $isInternal;
protected $maliciousEntityType = 'Google_Service_AlertCenter_MaliciousEntity';
protected $maliciousEntityDataType = '';
protected $messagesType = 'Google_Service_AlertCenter_GmailMessageInfo';
protected $messagesDataType = 'array';
/**
* @param Google_Service_AlertCenter_DomainId
*/
public function setDomainId(Google_Service_AlertCenter_DomainId $domainId)
{
$this->domainId = $domainId;
}
/**
* @return Google_Service_AlertCenter_DomainId
*/
public function getDomainId()
{
return $this->domainId;
}
public function setIsInternal($isInternal)
{
$this->isInternal = $isInternal;
}
public function getIsInternal()
{
return $this->isInternal;
}
/**
* @param Google_Service_AlertCenter_MaliciousEntity
*/
public function setMaliciousEntity(Google_Service_AlertCenter_MaliciousEntity $maliciousEntity)
{
$this->maliciousEntity = $maliciousEntity;
}
/**
* @return Google_Service_AlertCenter_MaliciousEntity
*/
public function getMaliciousEntity()
{
return $this->maliciousEntity;
}
/**
* @param Google_Service_AlertCenter_GmailMessageInfo
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return Google_Service_AlertCenter_GmailMessageInfo
*/
public function getMessages()
{
return $this->messages;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_MaliciousEntity extends Google_Model
{
public $fromHeader;
public function setFromHeader($fromHeader)
{
$this->fromHeader = $fromHeader;
}
public function getFromHeader()
{
return $this->fromHeader;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_Notification extends Google_Model
{
protected $cloudPubsubTopicType = 'Google_Service_AlertCenter_CloudPubsubTopic';
protected $cloudPubsubTopicDataType = '';
/**
* @param Google_Service_AlertCenter_CloudPubsubTopic
*/
public function setCloudPubsubTopic(Google_Service_AlertCenter_CloudPubsubTopic $cloudPubsubTopic)
{
$this->cloudPubsubTopic = $cloudPubsubTopic;
}
/**
* @return Google_Service_AlertCenter_CloudPubsubTopic
*/
public function getCloudPubsubTopic()
{
return $this->cloudPubsubTopic;
}
}

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_PhishingSpike extends Google_Collection
{
protected $collection_key = 'messages';
protected $domainIdType = 'Google_Service_AlertCenter_DomainId';
protected $domainIdDataType = '';
public $isInternal;
protected $maliciousEntityType = 'Google_Service_AlertCenter_MaliciousEntity';
protected $maliciousEntityDataType = '';
protected $messagesType = 'Google_Service_AlertCenter_GmailMessageInfo';
protected $messagesDataType = 'array';
/**
* @param Google_Service_AlertCenter_DomainId
*/
public function setDomainId(Google_Service_AlertCenter_DomainId $domainId)
{
$this->domainId = $domainId;
}
/**
* @return Google_Service_AlertCenter_DomainId
*/
public function getDomainId()
{
return $this->domainId;
}
public function setIsInternal($isInternal)
{
$this->isInternal = $isInternal;
}
public function getIsInternal()
{
return $this->isInternal;
}
/**
* @param Google_Service_AlertCenter_MaliciousEntity
*/
public function setMaliciousEntity(Google_Service_AlertCenter_MaliciousEntity $maliciousEntity)
{
$this->maliciousEntity = $maliciousEntity;
}
/**
* @return Google_Service_AlertCenter_MaliciousEntity
*/
public function getMaliciousEntity()
{
return $this->maliciousEntity;
}
/**
* @param Google_Service_AlertCenter_GmailMessageInfo
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return Google_Service_AlertCenter_GmailMessageInfo
*/
public function getMessages()
{
return $this->messages;
}
}

View File

@@ -0,0 +1,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "alerts" collection of methods.
* Typical usage is:
* <code>
* $alertcenterService = new Google_Service_AlertCenter(...);
* $alerts = $alertcenterService->alerts;
* </code>
*/
class Google_Service_AlertCenter_Resource_Alerts extends Google_Service_Resource
{
/**
* Marks the specified alert for deletion. An alert that has been marked for
* deletion is removed from Alert Center after 30 days. Marking an alert for
* deletion has no effect on an alert which has already been marked for
* deletion. Attempting to mark a nonexistent alert for deletion results in a
* `NOT_FOUND` error. (alerts.delete)
*
* @param string $alertId Required. The identifier of the alert to delete.
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alert is associated with. Inferred
* from the caller identity if not provided.
* @return Google_Service_AlertCenter_AlertcenterEmpty
*/
public function delete($alertId, $optParams = array())
{
$params = array('alertId' => $alertId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AlertCenter_AlertcenterEmpty");
}
/**
* Gets the specified alert. Attempting to get a nonexistent alert returns
* `NOT_FOUND` error. (alerts.get)
*
* @param string $alertId Required. The identifier of the alert to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alert is associated with. Inferred
* from the caller identity if not provided.
* @return Google_Service_AlertCenter_Alert
*/
public function get($alertId, $optParams = array())
{
$params = array('alertId' => $alertId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AlertCenter_Alert");
}
/**
* Lists the alerts. (alerts.listAlerts)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A query string for filtering alert
* results. For more details, see [Query filters](/admin-sdk/alertcenter/guides
* /query-filters) and [Supported query filter fields](/admin-
* sdk/alertcenter/reference/filter-fields#alerts.list).
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return. If empty, a new iteration is started. To continue
* an iteration, pass in the value from the previous ListAlertsResponse's
* next_page_token field.
* @opt_param string orderBy Optional. The sort order of the list results. If
* not specified results may be returned in arbitrary order. You can sort the
* results in descending order based on the creation timestamp using
* `order_by="create_time desc"`. Currently, only sorting by `create_time desc`
* is supported.
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alerts are associated with. Inferred
* from the caller identity if not provided.
* @opt_param int pageSize Optional. The requested page size. Server may return
* fewer items than requested. If unspecified, server picks an appropriate
* default.
* @return Google_Service_AlertCenter_ListAlertsResponse
*/
public function listAlerts($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AlertCenter_ListAlertsResponse");
}
/**
* Restores, or "undeletes", an alert that was marked for deletion within the
* past 30 days. Attempting to undelete an alert which was marked for deletion
* over 30 days ago (which has been removed from the Alert Center database) or a
* nonexistent alert returns a `NOT_FOUND` error. Attempting to undelete an
* alert which has not been marked for deletion has no effect. (alerts.undelete)
*
* @param string $alertId Required. The identifier of the alert to undelete.
* @param Google_Service_AlertCenter_UndeleteAlertRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AlertCenter_Alert
*/
public function undelete($alertId, Google_Service_AlertCenter_UndeleteAlertRequest $postBody, $optParams = array())
{
$params = array('alertId' => $alertId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('undelete', array($params), "Google_Service_AlertCenter_Alert");
}
}

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "feedback" collection of methods.
* Typical usage is:
* <code>
* $alertcenterService = new Google_Service_AlertCenter(...);
* $feedback = $alertcenterService->feedback;
* </code>
*/
class Google_Service_AlertCenter_Resource_AlertsFeedback extends Google_Service_Resource
{
/**
* Creates new feedback for an alert. Attempting to create a feedback for a non-
* existent alert returns `NOT_FOUND` error. (feedback.create)
*
* @param string $alertId Required. The identifier of the alert this feedback
* belongs to.
* @param Google_Service_AlertCenter_AlertFeedback $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alert is associated with. Inferred
* from the caller identity if not provided.
* @return Google_Service_AlertCenter_AlertFeedback
*/
public function create($alertId, Google_Service_AlertCenter_AlertFeedback $postBody, $optParams = array())
{
$params = array('alertId' => $alertId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AlertCenter_AlertFeedback");
}
/**
* Lists all the feedback for an alert. Attempting to list feedbacks for a non-
* existent alert returns `NOT_FOUND` error. (feedback.listAlertsFeedback)
*
* @param string $alertId Required. The alert identifier. The "-" wildcard could
* be used to represent all alerts.
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alert feedback are associated with.
* Inferred from the caller identity if not provided.
* @opt_param string filter Optional. A query string for filtering alert
* feedback results. For more details, see [Query filters](/admin-
* sdk/alertcenter/guides/query-filters) and [Supported query filter fields
* ](/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).
* @return Google_Service_AlertCenter_ListAlertFeedbackResponse
*/
public function listAlertsFeedback($alertId, $optParams = array())
{
$params = array('alertId' => $alertId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AlertCenter_ListAlertFeedbackResponse");
}
}

View File

@@ -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.
*/
/**
* The "v1beta1" collection of methods.
* Typical usage is:
* <code>
* $alertcenterService = new Google_Service_AlertCenter(...);
* $v1beta1 = $alertcenterService->v1beta1;
* </code>
*/
class Google_Service_AlertCenter_Resource_V1beta1 extends Google_Service_Resource
{
/**
* Returns customer-level settings. (v1beta1.getSettings)
*
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alert settings are associated with.
* Inferred from the caller identity if not provided.
* @return Google_Service_AlertCenter_Settings
*/
public function getSettings($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('getSettings', array($params), "Google_Service_AlertCenter_Settings");
}
/**
* Updates the customer-level settings. (v1beta1.updateSettings)
*
* @param Google_Service_AlertCenter_Settings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Optional. The unique identifier of the G Suite
* organization account of the customer the alert settings are associated with.
* Inferred from the caller identity if not provided.
* @return Google_Service_AlertCenter_Settings
*/
public function updateSettings(Google_Service_AlertCenter_Settings $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateSettings', array($params), "Google_Service_AlertCenter_Settings");
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_Settings extends Google_Collection
{
protected $collection_key = 'notifications';
protected $notificationsType = 'Google_Service_AlertCenter_Notification';
protected $notificationsDataType = 'array';
/**
* @param Google_Service_AlertCenter_Notification
*/
public function setNotifications($notifications)
{
$this->notifications = $notifications;
}
/**
* @return Google_Service_AlertCenter_Notification
*/
public function getNotifications()
{
return $this->notifications;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_StateSponsoredAttack extends Google_Model
{
public $email;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_SuspiciousActivity extends Google_Collection
{
protected $collection_key = 'events';
public $email;
protected $eventsType = 'Google_Service_AlertCenter_SuspiciousActivitySecurityDetail';
protected $eventsDataType = 'array';
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
/**
* @param Google_Service_AlertCenter_SuspiciousActivitySecurityDetail
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return Google_Service_AlertCenter_SuspiciousActivitySecurityDetail
*/
public function getEvents()
{
return $this->events;
}
}

View File

@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_SuspiciousActivitySecurityDetail extends Google_Model
{
public $deviceId;
public $deviceModel;
public $deviceProperty;
public $deviceType;
public $iosVendorId;
public $newValue;
public $oldValue;
public $resourceId;
public $serialNumber;
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
public function setDeviceModel($deviceModel)
{
$this->deviceModel = $deviceModel;
}
public function getDeviceModel()
{
return $this->deviceModel;
}
public function setDeviceProperty($deviceProperty)
{
$this->deviceProperty = $deviceProperty;
}
public function getDeviceProperty()
{
return $this->deviceProperty;
}
public function setDeviceType($deviceType)
{
$this->deviceType = $deviceType;
}
public function getDeviceType()
{
return $this->deviceType;
}
public function setIosVendorId($iosVendorId)
{
$this->iosVendorId = $iosVendorId;
}
public function getIosVendorId()
{
return $this->iosVendorId;
}
public function setNewValue($newValue)
{
$this->newValue = $newValue;
}
public function getNewValue()
{
return $this->newValue;
}
public function setOldValue($oldValue)
{
$this->oldValue = $oldValue;
}
public function getOldValue()
{
return $this->oldValue;
}
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
public function getResourceId()
{
return $this->resourceId;
}
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
public function getSerialNumber()
{
return $this->serialNumber;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AlertCenter_UndeleteAlertRequest extends Google_Model
{
public $customerId;
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
}