Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,140 @@
<?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_Monitoring_AlertPolicy extends Google_Collection
{
protected $collection_key = 'notificationChannels';
public $combiner;
protected $conditionsType = 'Google_Service_Monitoring_Condition';
protected $conditionsDataType = 'array';
protected $creationRecordType = 'Google_Service_Monitoring_MutationRecord';
protected $creationRecordDataType = '';
public $displayName;
protected $documentationType = 'Google_Service_Monitoring_Documentation';
protected $documentationDataType = '';
public $enabled;
protected $mutationRecordType = 'Google_Service_Monitoring_MutationRecord';
protected $mutationRecordDataType = '';
public $name;
public $notificationChannels;
public $userLabels;
public function setCombiner($combiner)
{
$this->combiner = $combiner;
}
public function getCombiner()
{
return $this->combiner;
}
/**
* @param Google_Service_Monitoring_Condition
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Google_Service_Monitoring_Condition
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param Google_Service_Monitoring_MutationRecord
*/
public function setCreationRecord(Google_Service_Monitoring_MutationRecord $creationRecord)
{
$this->creationRecord = $creationRecord;
}
/**
* @return Google_Service_Monitoring_MutationRecord
*/
public function getCreationRecord()
{
return $this->creationRecord;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Google_Service_Monitoring_Documentation
*/
public function setDocumentation(Google_Service_Monitoring_Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return Google_Service_Monitoring_Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
public function getEnabled()
{
return $this->enabled;
}
/**
* @param Google_Service_Monitoring_MutationRecord
*/
public function setMutationRecord(Google_Service_Monitoring_MutationRecord $mutationRecord)
{
$this->mutationRecord = $mutationRecord;
}
/**
* @return Google_Service_Monitoring_MutationRecord
*/
public function getMutationRecord()
{
return $this->mutationRecord;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNotificationChannels($notificationChannels)
{
$this->notificationChannels = $notificationChannels;
}
public function getNotificationChannels()
{
return $this->notificationChannels;
}
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
public function getUserLabels()
{
return $this->userLabels;
}
}

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_Monitoring_BasicAuthentication extends Google_Model
{
public $password;
public $username;
public function setPassword($password)
{
$this->password = $password;
}
public function getPassword()
{
return $this->password;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -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.
*/
class Google_Service_Monitoring_CollectdPayloadError extends Google_Collection
{
protected $collection_key = 'valueErrors';
protected $errorType = 'Google_Service_Monitoring_Status';
protected $errorDataType = '';
public $index;
protected $valueErrorsType = 'Google_Service_Monitoring_CollectdValueError';
protected $valueErrorsDataType = 'array';
/**
* @param Google_Service_Monitoring_Status
*/
public function setError(Google_Service_Monitoring_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_Monitoring_Status
*/
public function getError()
{
return $this->error;
}
public function setIndex($index)
{
$this->index = $index;
}
public function getIndex()
{
return $this->index;
}
/**
* @param Google_Service_Monitoring_CollectdValueError
*/
public function setValueErrors($valueErrors)
{
$this->valueErrors = $valueErrors;
}
/**
* @return Google_Service_Monitoring_CollectdValueError
*/
public function getValueErrors()
{
return $this->valueErrors;
}
}

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_Monitoring_CollectdValueError extends Google_Model
{
protected $errorType = 'Google_Service_Monitoring_Status';
protected $errorDataType = '';
public $index;
/**
* @param Google_Service_Monitoring_Status
*/
public function setError(Google_Service_Monitoring_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_Monitoring_Status
*/
public function getError()
{
return $this->error;
}
public function setIndex($index)
{
$this->index = $index;
}
public function getIndex()
{
return $this->index;
}
}

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.
*/
class Google_Service_Monitoring_Condition extends Google_Model
{
protected $conditionAbsentType = 'Google_Service_Monitoring_MetricAbsence';
protected $conditionAbsentDataType = '';
protected $conditionThresholdType = 'Google_Service_Monitoring_MetricThreshold';
protected $conditionThresholdDataType = '';
public $displayName;
public $name;
/**
* @param Google_Service_Monitoring_MetricAbsence
*/
public function setConditionAbsent(Google_Service_Monitoring_MetricAbsence $conditionAbsent)
{
$this->conditionAbsent = $conditionAbsent;
}
/**
* @return Google_Service_Monitoring_MetricAbsence
*/
public function getConditionAbsent()
{
return $this->conditionAbsent;
}
/**
* @param Google_Service_Monitoring_MetricThreshold
*/
public function setConditionThreshold(Google_Service_Monitoring_MetricThreshold $conditionThreshold)
{
$this->conditionThreshold = $conditionThreshold;
}
/**
* @return Google_Service_Monitoring_MetricThreshold
*/
public function getConditionThreshold()
{
return $this->conditionThreshold;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

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_Monitoring_ContentMatcher extends Google_Model
{
public $content;
public function setContent($content)
{
$this->content = $content;
}
public function getContent()
{
return $this->content;
}
}

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_Monitoring_CreateCollectdTimeSeriesResponse extends Google_Collection
{
protected $collection_key = 'payloadErrors';
protected $payloadErrorsType = 'Google_Service_Monitoring_CollectdPayloadError';
protected $payloadErrorsDataType = 'array';
/**
* @param Google_Service_Monitoring_CollectdPayloadError
*/
public function setPayloadErrors($payloadErrors)
{
$this->payloadErrors = $payloadErrors;
}
/**
* @return Google_Service_Monitoring_CollectdPayloadError
*/
public function getPayloadErrors()
{
return $this->payloadErrors;
}
}

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_Monitoring_Documentation extends Google_Model
{
public $content;
public $mimeType;
public function setContent($content)
{
$this->content = $content;
}
public function getContent()
{
return $this->content;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
}

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_Monitoring_GetNotificationChannelVerificationCodeRequest extends Google_Model
{
public $expireTime;
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
public function getExpireTime()
{
return $this->expireTime;
}
}

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_Monitoring_GetNotificationChannelVerificationCodeResponse extends Google_Model
{
public $code;
public $expireTime;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
public function getExpireTime()
{
return $this->expireTime;
}
}

View File

@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Monitoring_HttpCheck extends Google_Model
{
protected $authInfoType = 'Google_Service_Monitoring_BasicAuthentication';
protected $authInfoDataType = '';
public $headers;
public $maskHeaders;
public $path;
public $port;
public $useSsl;
/**
* @param Google_Service_Monitoring_BasicAuthentication
*/
public function setAuthInfo(Google_Service_Monitoring_BasicAuthentication $authInfo)
{
$this->authInfo = $authInfo;
}
/**
* @return Google_Service_Monitoring_BasicAuthentication
*/
public function getAuthInfo()
{
return $this->authInfo;
}
public function setHeaders($headers)
{
$this->headers = $headers;
}
public function getHeaders()
{
return $this->headers;
}
public function setMaskHeaders($maskHeaders)
{
$this->maskHeaders = $maskHeaders;
}
public function getMaskHeaders()
{
return $this->maskHeaders;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
public function setPort($port)
{
$this->port = $port;
}
public function getPort()
{
return $this->port;
}
public function setUseSsl($useSsl)
{
$this->useSsl = $useSsl;
}
public function getUseSsl()
{
return $this->useSsl;
}
}

View File

@@ -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.
*/
class Google_Service_Monitoring_InternalChecker extends Google_Model
{
public $checkerId;
public $displayName;
public $gcpZone;
public $network;
public $projectId;
public function setCheckerId($checkerId)
{
$this->checkerId = $checkerId;
}
public function getCheckerId()
{
return $this->checkerId;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setGcpZone($gcpZone)
{
$this->gcpZone = $gcpZone;
}
public function getGcpZone()
{
return $this->gcpZone;
}
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
public function getProjectId()
{
return $this->projectId;
}
}

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_Monitoring_ListAlertPoliciesResponse extends Google_Collection
{
protected $collection_key = 'alertPolicies';
protected $alertPoliciesType = 'Google_Service_Monitoring_AlertPolicy';
protected $alertPoliciesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Monitoring_AlertPolicy
*/
public function setAlertPolicies($alertPolicies)
{
$this->alertPolicies = $alertPolicies;
}
/**
* @return Google_Service_Monitoring_AlertPolicy
*/
public function getAlertPolicies()
{
return $this->alertPolicies;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

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_Monitoring_ListNotificationChannelDescriptorsResponse extends Google_Collection
{
protected $collection_key = 'channelDescriptors';
protected $channelDescriptorsType = 'Google_Service_Monitoring_NotificationChannelDescriptor';
protected $channelDescriptorsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Monitoring_NotificationChannelDescriptor
*/
public function setChannelDescriptors($channelDescriptors)
{
$this->channelDescriptors = $channelDescriptors;
}
/**
* @return Google_Service_Monitoring_NotificationChannelDescriptor
*/
public function getChannelDescriptors()
{
return $this->channelDescriptors;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

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_Monitoring_ListNotificationChannelsResponse extends Google_Collection
{
protected $collection_key = 'notificationChannels';
public $nextPageToken;
protected $notificationChannelsType = 'Google_Service_Monitoring_NotificationChannel';
protected $notificationChannelsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Monitoring_NotificationChannel
*/
public function setNotificationChannels($notificationChannels)
{
$this->notificationChannels = $notificationChannels;
}
/**
* @return Google_Service_Monitoring_NotificationChannel
*/
public function getNotificationChannels()
{
return $this->notificationChannels;
}
}

View File

@@ -0,0 +1,56 @@
<?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_Monitoring_ListUptimeCheckConfigsResponse extends Google_Collection
{
protected $collection_key = 'uptimeCheckConfigs';
public $nextPageToken;
public $totalSize;
protected $uptimeCheckConfigsType = 'Google_Service_Monitoring_UptimeCheckConfig';
protected $uptimeCheckConfigsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
public function getTotalSize()
{
return $this->totalSize;
}
/**
* @param Google_Service_Monitoring_UptimeCheckConfig
*/
public function setUptimeCheckConfigs($uptimeCheckConfigs)
{
$this->uptimeCheckConfigs = $uptimeCheckConfigs;
}
/**
* @return Google_Service_Monitoring_UptimeCheckConfig
*/
public function getUptimeCheckConfigs()
{
return $this->uptimeCheckConfigs;
}
}

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_Monitoring_ListUptimeCheckIpsResponse extends Google_Collection
{
protected $collection_key = 'uptimeCheckIps';
public $nextPageToken;
protected $uptimeCheckIpsType = 'Google_Service_Monitoring_UptimeCheckIp';
protected $uptimeCheckIpsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Monitoring_UptimeCheckIp
*/
public function setUptimeCheckIps($uptimeCheckIps)
{
$this->uptimeCheckIps = $uptimeCheckIps;
}
/**
* @return Google_Service_Monitoring_UptimeCheckIp
*/
public function getUptimeCheckIps()
{
return $this->uptimeCheckIps;
}
}

View File

@@ -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.
*/
class Google_Service_Monitoring_MetricAbsence extends Google_Collection
{
protected $collection_key = 'aggregations';
protected $aggregationsType = 'Google_Service_Monitoring_Aggregation';
protected $aggregationsDataType = 'array';
public $duration;
public $filter;
protected $triggerType = 'Google_Service_Monitoring_Trigger';
protected $triggerDataType = '';
/**
* @param Google_Service_Monitoring_Aggregation
*/
public function setAggregations($aggregations)
{
$this->aggregations = $aggregations;
}
/**
* @return Google_Service_Monitoring_Aggregation
*/
public function getAggregations()
{
return $this->aggregations;
}
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setFilter($filter)
{
$this->filter = $filter;
}
public function getFilter()
{
return $this->filter;
}
/**
* @param Google_Service_Monitoring_Trigger
*/
public function setTrigger(Google_Service_Monitoring_Trigger $trigger)
{
$this->trigger = $trigger;
}
/**
* @return Google_Service_Monitoring_Trigger
*/
public function getTrigger()
{
return $this->trigger;
}
}

View File

@@ -0,0 +1,115 @@
<?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_Monitoring_MetricThreshold extends Google_Collection
{
protected $collection_key = 'denominatorAggregations';
protected $aggregationsType = 'Google_Service_Monitoring_Aggregation';
protected $aggregationsDataType = 'array';
public $comparison;
protected $denominatorAggregationsType = 'Google_Service_Monitoring_Aggregation';
protected $denominatorAggregationsDataType = 'array';
public $denominatorFilter;
public $duration;
public $filter;
public $thresholdValue;
protected $triggerType = 'Google_Service_Monitoring_Trigger';
protected $triggerDataType = '';
/**
* @param Google_Service_Monitoring_Aggregation
*/
public function setAggregations($aggregations)
{
$this->aggregations = $aggregations;
}
/**
* @return Google_Service_Monitoring_Aggregation
*/
public function getAggregations()
{
return $this->aggregations;
}
public function setComparison($comparison)
{
$this->comparison = $comparison;
}
public function getComparison()
{
return $this->comparison;
}
/**
* @param Google_Service_Monitoring_Aggregation
*/
public function setDenominatorAggregations($denominatorAggregations)
{
$this->denominatorAggregations = $denominatorAggregations;
}
/**
* @return Google_Service_Monitoring_Aggregation
*/
public function getDenominatorAggregations()
{
return $this->denominatorAggregations;
}
public function setDenominatorFilter($denominatorFilter)
{
$this->denominatorFilter = $denominatorFilter;
}
public function getDenominatorFilter()
{
return $this->denominatorFilter;
}
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setFilter($filter)
{
$this->filter = $filter;
}
public function getFilter()
{
return $this->filter;
}
public function setThresholdValue($thresholdValue)
{
$this->thresholdValue = $thresholdValue;
}
public function getThresholdValue()
{
return $this->thresholdValue;
}
/**
* @param Google_Service_Monitoring_Trigger
*/
public function setTrigger(Google_Service_Monitoring_Trigger $trigger)
{
$this->trigger = $trigger;
}
/**
* @return Google_Service_Monitoring_Trigger
*/
public function getTrigger()
{
return $this->trigger;
}
}

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_Monitoring_MonitoredResourceMetadata extends Google_Model
{
public $systemLabels;
public $userLabels;
public function setSystemLabels($systemLabels)
{
$this->systemLabels = $systemLabels;
}
public function getSystemLabels()
{
return $this->systemLabels;
}
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
public function getUserLabels()
{
return $this->userLabels;
}
}

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_Monitoring_MutationRecord extends Google_Model
{
public $mutateTime;
public $mutatedBy;
public function setMutateTime($mutateTime)
{
$this->mutateTime = $mutateTime;
}
public function getMutateTime()
{
return $this->mutateTime;
}
public function setMutatedBy($mutatedBy)
{
$this->mutatedBy = $mutatedBy;
}
public function getMutatedBy()
{
return $this->mutatedBy;
}
}

View File

@@ -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.
*/
class Google_Service_Monitoring_NotificationChannel extends Google_Model
{
public $description;
public $displayName;
public $enabled;
public $labels;
public $name;
public $type;
public $userLabels;
public $verificationStatus;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
public function getEnabled()
{
return $this->enabled;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
public function getUserLabels()
{
return $this->userLabels;
}
public function setVerificationStatus($verificationStatus)
{
$this->verificationStatus = $verificationStatus;
}
public function getVerificationStatus()
{
return $this->verificationStatus;
}
}

View File

@@ -0,0 +1,83 @@
<?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_Monitoring_NotificationChannelDescriptor extends Google_Collection
{
protected $collection_key = 'supportedTiers';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_Monitoring_LabelDescriptor';
protected $labelsDataType = 'array';
public $name;
public $supportedTiers;
public $type;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Google_Service_Monitoring_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_Monitoring_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setSupportedTiers($supportedTiers)
{
$this->supportedTiers = $supportedTiers;
}
public function getSupportedTiers()
{
return $this->supportedTiers;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,146 @@
<?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 "alertPolicies" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google_Service_Monitoring(...);
* $alertPolicies = $monitoringService->alertPolicies;
* </code>
*/
class Google_Service_Monitoring_Resource_ProjectsAlertPolicies extends Google_Service_Resource
{
/**
* Creates a new alerting policy. (alertPolicies.create)
*
* @param string $name The project in which to create the alerting policy. The
* format is projects/[PROJECT_ID].Note that this field names the parent
* container in which the alerting policy will be written, not the name of the
* created policy. The alerting policy that is returned will have a name that
* contains a normalized representation of this name as a prefix but adds a
* suffix of the form /alertPolicies/[POLICY_ID], identifying the policy in the
* container.
* @param Google_Service_Monitoring_AlertPolicy $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_AlertPolicy
*/
public function create($name, Google_Service_Monitoring_AlertPolicy $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Monitoring_AlertPolicy");
}
/**
* Deletes an alerting policy. (alertPolicies.delete)
*
* @param string $name The alerting policy to delete. The format is:
* projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] For more information,
* see AlertPolicy.
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_MonitoringEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
}
/**
* Gets a single alerting policy. (alertPolicies.get)
*
* @param string $name The alerting policy to retrieve. The format is
* projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_AlertPolicy
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Monitoring_AlertPolicy");
}
/**
* Lists the existing alerting policies for the project.
* (alertPolicies.listProjectsAlertPolicies)
*
* @param string $name The project whose alert policies are to be listed. The
* format is projects/[PROJECT_ID] Note that this field names the parent
* container in which the alerting policies to be listed are stored. To retrieve
* a single alerting policy by name, use the GetAlertPolicy operation, instead.
* @param array $optParams Optional parameters.
*
* @opt_param string filter If provided, this field specifies the criteria that
* must be met by alert policies to be included in the response.For more
* details, see sorting and filtering.
* @opt_param string orderBy A comma-separated list of fields by which to sort
* the result. Supports the same set of field references as the filter field.
* Entries can be prefixed with a minus sign to sort by the field in descending
* order.For more details, see sorting and filtering.
* @opt_param string pageToken If this field is not empty then it must contain
* the nextPageToken value returned by a previous call to this method. Using
* this field causes the method to return more results from the previous method
* call.
* @opt_param int pageSize The maximum number of results to return in a single
* response.
* @return Google_Service_Monitoring_ListAlertPoliciesResponse
*/
public function listProjectsAlertPolicies($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListAlertPoliciesResponse");
}
/**
* Updates an alerting policy. You can either replace the entire policy with a
* new one or replace only certain fields in the current alerting policy by
* specifying the fields to be updated via updateMask. Returns the updated
* alerting policy. (alertPolicies.patch)
*
* @param string $name Required if the policy exists. The resource name for this
* policy. The syntax is: projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
* [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is
* created. When calling the alertPolicies.create method, do not include the
* name field in the alerting policy passed as part of the request.
* @param Google_Service_Monitoring_AlertPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. A list of alerting policy field names.
* If this field is not empty, each listed field in the existing alerting policy
* is set to the value of the corresponding field in the supplied policy
* (alert_policy), or to the field's default value if the field is not in the
* supplied alerting policy. Fields not listed retain their previous
* value.Examples of valid field masks include display_name, documentation,
* documentation.content, documentation.mime_type, user_labels,
* user_label.nameofkey, enabled, conditions, combiner, etc.If this field is
* empty, then the supplied alerting policy replaces the existing policy. It is
* the same as deleting the existing policy and adding the supplied policy,
* except for the following: The new policy will have the same [ALERT_POLICY_ID]
* as the former policy. This gives you continuity with the former policy in
* your notifications and incidents. Conditions in the new policy will keep
* their former [CONDITION_ID] if the supplied condition includes the name field
* with that [CONDITION_ID]. If the supplied condition omits the name field,
* then a new [CONDITION_ID] is created.
* @return Google_Service_Monitoring_AlertPolicy
*/
public function patch($name, Google_Service_Monitoring_AlertPolicy $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Monitoring_AlertPolicy");
}
}

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 "notificationChannelDescriptors" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google_Service_Monitoring(...);
* $notificationChannelDescriptors = $monitoringService->notificationChannelDescriptors;
* </code>
*/
class Google_Service_Monitoring_Resource_ProjectsNotificationChannelDescriptors extends Google_Service_Resource
{
/**
* Gets a single channel descriptor. The descriptor indicates which fields are
* expected / permitted for a notification channel of the given type.
* (notificationChannelDescriptors.get)
*
* @param string $name The channel type for which to execute the request. The
* format is
* projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}.
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_NotificationChannelDescriptor
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Monitoring_NotificationChannelDescriptor");
}
/**
* Lists the descriptors for supported channel types. The use of descriptors
* makes it possible for new channel types to be dynamically added.
* (notificationChannelDescriptors.listProjectsNotificationChannelDescriptors)
*
* @param string $name The REST resource name of the parent from which to
* retrieve the notification channel descriptors. The expected syntax is:
* projects/[PROJECT_ID] Note that this names the parent container in which to
* look for the descriptors; to retrieve a single descriptor by name, use the
* GetNotificationChannelDescriptor operation, instead.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken If non-empty, page_token must contain a value
* returned as the next_page_token in a previous response to request the next
* set of results.
* @opt_param int pageSize The maximum number of results to return in a single
* response. If not set to a positive number, a reasonable value will be chosen
* by the service.
* @return Google_Service_Monitoring_ListNotificationChannelDescriptorsResponse
*/
public function listProjectsNotificationChannelDescriptors($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListNotificationChannelDescriptorsResponse");
}
}

View File

@@ -0,0 +1,205 @@
<?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 "notificationChannels" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google_Service_Monitoring(...);
* $notificationChannels = $monitoringService->notificationChannels;
* </code>
*/
class Google_Service_Monitoring_Resource_ProjectsNotificationChannels extends Google_Service_Resource
{
/**
* Creates a new notification channel, representing a single notification
* endpoint such as an email address, SMS number, or pagerduty service.
* (notificationChannels.create)
*
* @param string $name The project on which to execute the request. The format
* is: projects/[PROJECT_ID] Note that this names the container into which the
* channel will be written. This does not name the newly created channel. The
* resulting channel's name will have a normalized version of this field as a
* prefix, but will add /notificationChannels/[CHANNEL_ID] to identify the
* channel.
* @param Google_Service_Monitoring_NotificationChannel $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_NotificationChannel
*/
public function create($name, Google_Service_Monitoring_NotificationChannel $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Monitoring_NotificationChannel");
}
/**
* Deletes a notification channel. (notificationChannels.delete)
*
* @param string $name The channel for which to execute the request. The format
* is projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID].
* @param array $optParams Optional parameters.
*
* @opt_param bool force If true, the notification channel will be deleted
* regardless of its use in alert policies (the policies will be updated to
* remove the channel). If false, channels that are still referenced by an
* existing alerting policy will fail to be deleted in a delete operation.
* @return Google_Service_Monitoring_MonitoringEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
}
/**
* Gets a single notification channel. The channel includes the relevant
* configuration details with which the channel was created. However, the
* response may truncate or omit passwords, API keys, or other private key
* matter and thus the response may not be 100% identical to the information
* that was supplied in the call to the create method.
* (notificationChannels.get)
*
* @param string $name The channel for which to execute the request. The format
* is projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID].
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_NotificationChannel
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Monitoring_NotificationChannel");
}
/**
* Requests a verification code for an already verified channel that can then be
* used in a call to VerifyNotificationChannel() on a different channel with an
* equivalent identity in the same or in a different project. This makes it
* possible to copy a channel between projects without requiring manual
* reverification of the channel. If the channel is not in the verified state,
* this method will fail (in other words, this may only be used if the
* SendNotificationChannelVerificationCode and VerifyNotificationChannel paths
* have already been used to put the given channel into the verified
* state).There is no guarantee that the verification codes returned by this
* method will be of a similar structure or form as the ones that are delivered
* to the channel via SendNotificationChannelVerificationCode; while
* VerifyNotificationChannel() will recognize both the codes delivered via
* SendNotificationChannelVerificationCode() and returned from
* GetNotificationChannelVerificationCode(), it is typically the case that the
* verification codes delivered via SendNotificationChannelVerificationCode()
* will be shorter and also have a shorter expiration (e.g. codes such as
* "G-123456") whereas GetVerificationCode() will typically return a much
* longer, websafe base 64 encoded string that has a longer expiration time.
* (notificationChannels.getVerificationCode)
*
* @param string $name The notification channel for which a verification code is
* to be generated and retrieved. This must name a channel that is already
* verified; if the specified channel is not verified, the request will fail.
* @param Google_Service_Monitoring_GetNotificationChannelVerificationCodeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_GetNotificationChannelVerificationCodeResponse
*/
public function getVerificationCode($name, Google_Service_Monitoring_GetNotificationChannelVerificationCodeRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getVerificationCode', array($params), "Google_Service_Monitoring_GetNotificationChannelVerificationCodeResponse");
}
/**
* Lists the notification channels that have been created for the project.
* (notificationChannels.listProjectsNotificationChannels)
*
* @param string $name The project on which to execute the request. The format
* is projects/[PROJECT_ID]. That is, this names the container in which to look
* for the notification channels; it does not name a specific channel. To query
* a specific channel by REST resource name, use the GetNotificationChannel
* operation.
* @param array $optParams Optional parameters.
*
* @opt_param string filter If provided, this field specifies the criteria that
* must be met by notification channels to be included in the response.For more
* details, see sorting and filtering.
* @opt_param string orderBy A comma-separated list of fields by which to sort
* the result. Supports the same set of fields as in filter. Entries can be
* prefixed with a minus sign to sort in descending rather than ascending
* order.For more details, see sorting and filtering.
* @opt_param string pageToken If non-empty, page_token must contain a value
* returned as the next_page_token in a previous response to request the next
* set of results.
* @opt_param int pageSize The maximum number of results to return in a single
* response. If not set to a positive number, a reasonable value will be chosen
* by the service.
* @return Google_Service_Monitoring_ListNotificationChannelsResponse
*/
public function listProjectsNotificationChannels($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListNotificationChannelsResponse");
}
/**
* Updates a notification channel. Fields not specified in the field mask remain
* unchanged. (notificationChannels.patch)
*
* @param string $name The full REST resource name for this channel. The syntax
* is: projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID]
* is automatically assigned by the server on creation.
* @param Google_Service_Monitoring_NotificationChannel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The fields to update.
* @return Google_Service_Monitoring_NotificationChannel
*/
public function patch($name, Google_Service_Monitoring_NotificationChannel $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Monitoring_NotificationChannel");
}
/**
* Causes a verification code to be delivered to the channel. The code can then
* be supplied in VerifyNotificationChannel to verify the channel.
* (notificationChannels.sendVerificationCode)
*
* @param string $name The notification channel to which to send a verification
* code.
* @param Google_Service_Monitoring_SendNotificationChannelVerificationCodeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_MonitoringEmpty
*/
public function sendVerificationCode($name, Google_Service_Monitoring_SendNotificationChannelVerificationCodeRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('sendVerificationCode', array($params), "Google_Service_Monitoring_MonitoringEmpty");
}
/**
* Verifies a NotificationChannel by proving receipt of the code delivered to
* the channel as a result of calling SendNotificationChannelVerificationCode.
* (notificationChannels.verify)
*
* @param string $name The notification channel to verify.
* @param Google_Service_Monitoring_VerifyNotificationChannelRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_NotificationChannel
*/
public function verify($name, Google_Service_Monitoring_VerifyNotificationChannelRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('verify', array($params), "Google_Service_Monitoring_NotificationChannel");
}
}

View File

@@ -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.
*/
/**
* The "uptimeCheckConfigs" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google_Service_Monitoring(...);
* $uptimeCheckConfigs = $monitoringService->uptimeCheckConfigs;
* </code>
*/
class Google_Service_Monitoring_Resource_ProjectsUptimeCheckConfigs extends Google_Service_Resource
{
/**
* Creates a new uptime check configuration. (uptimeCheckConfigs.create)
*
* @param string $parent The project in which to create the uptime check. The
* format is projects/[PROJECT_ID].
* @param Google_Service_Monitoring_UptimeCheckConfig $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_UptimeCheckConfig
*/
public function create($parent, Google_Service_Monitoring_UptimeCheckConfig $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Monitoring_UptimeCheckConfig");
}
/**
* Deletes an uptime check configuration. Note that this method will fail if the
* uptime check configuration is referenced by an alert policy or other
* dependent configs that would be rendered invalid by the deletion.
* (uptimeCheckConfigs.delete)
*
* @param string $name The uptime check configuration to delete. The format is
* projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_MonitoringEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
}
/**
* Gets a single uptime check configuration. (uptimeCheckConfigs.get)
*
* @param string $name The uptime check configuration to retrieve. The format
* is projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_UptimeCheckConfig
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Monitoring_UptimeCheckConfig");
}
/**
* Lists the existing valid uptime check configurations for the project, leaving
* out any invalid configurations.
* (uptimeCheckConfigs.listProjectsUptimeCheckConfigs)
*
* @param string $parent The project whose uptime check configurations are
* listed. The format is projects/[PROJECT_ID].
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return in a single
* response. The server may further constrain the maximum number of results
* returned in a single page. If the page_size is <=0, the server will decide
* the number of results to be returned.
* @opt_param string pageToken If this field is not empty then it must contain
* the nextPageToken value returned by a previous call to this method. Using
* this field causes the method to return more results from the previous method
* call.
* @return Google_Service_Monitoring_ListUptimeCheckConfigsResponse
*/
public function listProjectsUptimeCheckConfigs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListUptimeCheckConfigsResponse");
}
/**
* Updates an uptime check configuration. You can either replace the entire
* configuration with a new one or replace only certain fields in the current
* configuration by specifying the fields to be updated via "updateMask".
* Returns the updated configuration. (uptimeCheckConfigs.patch)
*
* @param string $name A unique resource name for this UptimeCheckConfig. The
* format is:projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This
* field should be omitted when creating the uptime check configuration; on
* create, the resource name is assigned by the server and included in the
* response.
* @param Google_Service_Monitoring_UptimeCheckConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. If present, only the listed fields in
* the current uptime check configuration are updated with values from the new
* configuration. If this field is empty, then the current configuration is
* completely replaced with the new configuration.
* @return Google_Service_Monitoring_UptimeCheckConfig
*/
public function patch($name, Google_Service_Monitoring_UptimeCheckConfig $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Monitoring_UptimeCheckConfig");
}
}

View File

@@ -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.
*/
/**
* The "uptimeCheckIps" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google_Service_Monitoring(...);
* $uptimeCheckIps = $monitoringService->uptimeCheckIps;
* </code>
*/
class Google_Service_Monitoring_Resource_UptimeCheckIps extends Google_Service_Resource
{
/**
* Returns the list of IPs that checkers run from
* (uptimeCheckIps.listUptimeCheckIps)
*
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken If this field is not empty then it must contain
* the nextPageToken value returned by a previous call to this method. Using
* this field causes the method to return more results from the previous method
* call. NOTE: this field is not yet implemented
* @opt_param int pageSize The maximum number of results to return in a single
* response. The server may further constrain the maximum number of results
* returned in a single page. If the page_size is <=0, the server will decide
* the number of results to be returned. NOTE: this field is not yet implemented
* @return Google_Service_Monitoring_ListUptimeCheckIpsResponse
*/
public function listUptimeCheckIps($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListUptimeCheckIpsResponse");
}
}

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_Monitoring_ResourceGroup extends Google_Model
{
public $groupId;
public $resourceType;
public function setGroupId($groupId)
{
$this->groupId = $groupId;
}
public function getGroupId()
{
return $this->groupId;
}
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
public function getResourceType()
{
return $this->resourceType;
}
}

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_Monitoring_SendNotificationChannelVerificationCodeRequest extends Google_Model
{
}

View File

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

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_Monitoring_TcpCheck extends Google_Model
{
public $port;
public function setPort($port)
{
$this->port = $port;
}
public function getPort()
{
return $this->port;
}
}

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_Monitoring_Trigger extends Google_Model
{
public $count;
public $percent;
public function setCount($count)
{
$this->count = $count;
}
public function getCount()
{
return $this->count;
}
public function setPercent($percent)
{
$this->percent = $percent;
}
public function getPercent()
{
return $this->percent;
}
}

View File

@@ -0,0 +1,172 @@
<?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_Monitoring_UptimeCheckConfig extends Google_Collection
{
protected $collection_key = 'selectedRegions';
protected $contentMatchersType = 'Google_Service_Monitoring_ContentMatcher';
protected $contentMatchersDataType = 'array';
public $displayName;
protected $httpCheckType = 'Google_Service_Monitoring_HttpCheck';
protected $httpCheckDataType = '';
protected $internalCheckersType = 'Google_Service_Monitoring_InternalChecker';
protected $internalCheckersDataType = 'array';
public $isInternal;
protected $monitoredResourceType = 'Google_Service_Monitoring_MonitoredResource';
protected $monitoredResourceDataType = '';
public $name;
public $period;
protected $resourceGroupType = 'Google_Service_Monitoring_ResourceGroup';
protected $resourceGroupDataType = '';
public $selectedRegions;
protected $tcpCheckType = 'Google_Service_Monitoring_TcpCheck';
protected $tcpCheckDataType = '';
public $timeout;
/**
* @param Google_Service_Monitoring_ContentMatcher
*/
public function setContentMatchers($contentMatchers)
{
$this->contentMatchers = $contentMatchers;
}
/**
* @return Google_Service_Monitoring_ContentMatcher
*/
public function getContentMatchers()
{
return $this->contentMatchers;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Google_Service_Monitoring_HttpCheck
*/
public function setHttpCheck(Google_Service_Monitoring_HttpCheck $httpCheck)
{
$this->httpCheck = $httpCheck;
}
/**
* @return Google_Service_Monitoring_HttpCheck
*/
public function getHttpCheck()
{
return $this->httpCheck;
}
/**
* @param Google_Service_Monitoring_InternalChecker
*/
public function setInternalCheckers($internalCheckers)
{
$this->internalCheckers = $internalCheckers;
}
/**
* @return Google_Service_Monitoring_InternalChecker
*/
public function getInternalCheckers()
{
return $this->internalCheckers;
}
public function setIsInternal($isInternal)
{
$this->isInternal = $isInternal;
}
public function getIsInternal()
{
return $this->isInternal;
}
/**
* @param Google_Service_Monitoring_MonitoredResource
*/
public function setMonitoredResource(Google_Service_Monitoring_MonitoredResource $monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
/**
* @return Google_Service_Monitoring_MonitoredResource
*/
public function getMonitoredResource()
{
return $this->monitoredResource;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPeriod($period)
{
$this->period = $period;
}
public function getPeriod()
{
return $this->period;
}
/**
* @param Google_Service_Monitoring_ResourceGroup
*/
public function setResourceGroup(Google_Service_Monitoring_ResourceGroup $resourceGroup)
{
$this->resourceGroup = $resourceGroup;
}
/**
* @return Google_Service_Monitoring_ResourceGroup
*/
public function getResourceGroup()
{
return $this->resourceGroup;
}
public function setSelectedRegions($selectedRegions)
{
$this->selectedRegions = $selectedRegions;
}
public function getSelectedRegions()
{
return $this->selectedRegions;
}
/**
* @param Google_Service_Monitoring_TcpCheck
*/
public function setTcpCheck(Google_Service_Monitoring_TcpCheck $tcpCheck)
{
$this->tcpCheck = $tcpCheck;
}
/**
* @return Google_Service_Monitoring_TcpCheck
*/
public function getTcpCheck()
{
return $this->tcpCheck;
}
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
public function getTimeout()
{
return $this->timeout;
}
}

View File

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

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_Monitoring_VerifyNotificationChannelRequest extends Google_Model
{
public $code;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
}