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,40 @@
<?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_CloudIot_Binding extends Google_Collection
{
protected $collection_key = 'members';
public $members;
public $role;
public function setMembers($members)
{
$this->members = $members;
}
public function getMembers()
{
return $this->members;
}
public function setRole($role)
{
$this->role = $role;
}
public function getRole()
{
return $this->role;
}
}

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

View File

@@ -0,0 +1,185 @@
<?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_CloudIot_Device extends Google_Collection
{
protected $collection_key = 'credentials';
public $blocked;
protected $configType = 'Google_Service_CloudIot_DeviceConfig';
protected $configDataType = '';
protected $credentialsType = 'Google_Service_CloudIot_DeviceCredential';
protected $credentialsDataType = 'array';
public $id;
public $lastConfigAckTime;
public $lastConfigSendTime;
protected $lastErrorStatusType = 'Google_Service_CloudIot_Status';
protected $lastErrorStatusDataType = '';
public $lastErrorTime;
public $lastEventTime;
public $lastHeartbeatTime;
public $lastStateTime;
public $metadata;
public $name;
public $numId;
protected $stateType = 'Google_Service_CloudIot_DeviceState';
protected $stateDataType = '';
public function setBlocked($blocked)
{
$this->blocked = $blocked;
}
public function getBlocked()
{
return $this->blocked;
}
/**
* @param Google_Service_CloudIot_DeviceConfig
*/
public function setConfig(Google_Service_CloudIot_DeviceConfig $config)
{
$this->config = $config;
}
/**
* @return Google_Service_CloudIot_DeviceConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param Google_Service_CloudIot_DeviceCredential
*/
public function setCredentials($credentials)
{
$this->credentials = $credentials;
}
/**
* @return Google_Service_CloudIot_DeviceCredential
*/
public function getCredentials()
{
return $this->credentials;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setLastConfigAckTime($lastConfigAckTime)
{
$this->lastConfigAckTime = $lastConfigAckTime;
}
public function getLastConfigAckTime()
{
return $this->lastConfigAckTime;
}
public function setLastConfigSendTime($lastConfigSendTime)
{
$this->lastConfigSendTime = $lastConfigSendTime;
}
public function getLastConfigSendTime()
{
return $this->lastConfigSendTime;
}
/**
* @param Google_Service_CloudIot_Status
*/
public function setLastErrorStatus(Google_Service_CloudIot_Status $lastErrorStatus)
{
$this->lastErrorStatus = $lastErrorStatus;
}
/**
* @return Google_Service_CloudIot_Status
*/
public function getLastErrorStatus()
{
return $this->lastErrorStatus;
}
public function setLastErrorTime($lastErrorTime)
{
$this->lastErrorTime = $lastErrorTime;
}
public function getLastErrorTime()
{
return $this->lastErrorTime;
}
public function setLastEventTime($lastEventTime)
{
$this->lastEventTime = $lastEventTime;
}
public function getLastEventTime()
{
return $this->lastEventTime;
}
public function setLastHeartbeatTime($lastHeartbeatTime)
{
$this->lastHeartbeatTime = $lastHeartbeatTime;
}
public function getLastHeartbeatTime()
{
return $this->lastHeartbeatTime;
}
public function setLastStateTime($lastStateTime)
{
$this->lastStateTime = $lastStateTime;
}
public function getLastStateTime()
{
return $this->lastStateTime;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNumId($numId)
{
$this->numId = $numId;
}
public function getNumId()
{
return $this->numId;
}
/**
* @param Google_Service_CloudIot_DeviceState
*/
public function setState(Google_Service_CloudIot_DeviceState $state)
{
$this->state = $state;
}
/**
* @return Google_Service_CloudIot_DeviceState
*/
public function getState()
{
return $this->state;
}
}

View File

@@ -0,0 +1,57 @@
<?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_CloudIot_DeviceConfig extends Google_Model
{
public $binaryData;
public $cloudUpdateTime;
public $deviceAckTime;
public $version;
public function setBinaryData($binaryData)
{
$this->binaryData = $binaryData;
}
public function getBinaryData()
{
return $this->binaryData;
}
public function setCloudUpdateTime($cloudUpdateTime)
{
$this->cloudUpdateTime = $cloudUpdateTime;
}
public function getCloudUpdateTime()
{
return $this->cloudUpdateTime;
}
public function setDeviceAckTime($deviceAckTime)
{
$this->deviceAckTime = $deviceAckTime;
}
public function getDeviceAckTime()
{
return $this->deviceAckTime;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

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_CloudIot_DeviceCredential extends Google_Model
{
public $expirationTime;
protected $publicKeyType = 'Google_Service_CloudIot_PublicKeyCredential';
protected $publicKeyDataType = '';
public function setExpirationTime($expirationTime)
{
$this->expirationTime = $expirationTime;
}
public function getExpirationTime()
{
return $this->expirationTime;
}
/**
* @param Google_Service_CloudIot_PublicKeyCredential
*/
public function setPublicKey(Google_Service_CloudIot_PublicKeyCredential $publicKey)
{
$this->publicKey = $publicKey;
}
/**
* @return Google_Service_CloudIot_PublicKeyCredential
*/
public function getPublicKey()
{
return $this->publicKey;
}
}

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudIot_DeviceRegistry extends Google_Collection
{
protected $collection_key = 'eventNotificationConfigs';
protected $credentialsType = 'Google_Service_CloudIot_RegistryCredential';
protected $credentialsDataType = 'array';
protected $eventNotificationConfigsType = 'Google_Service_CloudIot_EventNotificationConfig';
protected $eventNotificationConfigsDataType = 'array';
protected $httpConfigType = 'Google_Service_CloudIot_HttpConfig';
protected $httpConfigDataType = '';
public $id;
protected $mqttConfigType = 'Google_Service_CloudIot_MqttConfig';
protected $mqttConfigDataType = '';
public $name;
protected $stateNotificationConfigType = 'Google_Service_CloudIot_StateNotificationConfig';
protected $stateNotificationConfigDataType = '';
/**
* @param Google_Service_CloudIot_RegistryCredential
*/
public function setCredentials($credentials)
{
$this->credentials = $credentials;
}
/**
* @return Google_Service_CloudIot_RegistryCredential
*/
public function getCredentials()
{
return $this->credentials;
}
/**
* @param Google_Service_CloudIot_EventNotificationConfig
*/
public function setEventNotificationConfigs($eventNotificationConfigs)
{
$this->eventNotificationConfigs = $eventNotificationConfigs;
}
/**
* @return Google_Service_CloudIot_EventNotificationConfig
*/
public function getEventNotificationConfigs()
{
return $this->eventNotificationConfigs;
}
/**
* @param Google_Service_CloudIot_HttpConfig
*/
public function setHttpConfig(Google_Service_CloudIot_HttpConfig $httpConfig)
{
$this->httpConfig = $httpConfig;
}
/**
* @return Google_Service_CloudIot_HttpConfig
*/
public function getHttpConfig()
{
return $this->httpConfig;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
/**
* @param Google_Service_CloudIot_MqttConfig
*/
public function setMqttConfig(Google_Service_CloudIot_MqttConfig $mqttConfig)
{
$this->mqttConfig = $mqttConfig;
}
/**
* @return Google_Service_CloudIot_MqttConfig
*/
public function getMqttConfig()
{
return $this->mqttConfig;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_CloudIot_StateNotificationConfig
*/
public function setStateNotificationConfig(Google_Service_CloudIot_StateNotificationConfig $stateNotificationConfig)
{
$this->stateNotificationConfig = $stateNotificationConfig;
}
/**
* @return Google_Service_CloudIot_StateNotificationConfig
*/
public function getStateNotificationConfig()
{
return $this->stateNotificationConfig;
}
}

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_CloudIot_DeviceState extends Google_Model
{
public $binaryData;
public $updateTime;
public function setBinaryData($binaryData)
{
$this->binaryData = $binaryData;
}
public function getBinaryData()
{
return $this->binaryData;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

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_CloudIot_EventNotificationConfig extends Google_Model
{
public $pubsubTopicName;
public $subfolderMatches;
public function setPubsubTopicName($pubsubTopicName)
{
$this->pubsubTopicName = $pubsubTopicName;
}
public function getPubsubTopicName()
{
return $this->pubsubTopicName;
}
public function setSubfolderMatches($subfolderMatches)
{
$this->subfolderMatches = $subfolderMatches;
}
public function getSubfolderMatches()
{
return $this->subfolderMatches;
}
}

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

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_CloudIot_HttpConfig extends Google_Model
{
public $httpEnabledState;
public function setHttpEnabledState($httpEnabledState)
{
$this->httpEnabledState = $httpEnabledState;
}
public function getHttpEnabledState()
{
return $this->httpEnabledState;
}
}

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_CloudIot_ListDeviceConfigVersionsResponse extends Google_Collection
{
protected $collection_key = 'deviceConfigs';
protected $deviceConfigsType = 'Google_Service_CloudIot_DeviceConfig';
protected $deviceConfigsDataType = 'array';
/**
* @param Google_Service_CloudIot_DeviceConfig
*/
public function setDeviceConfigs($deviceConfigs)
{
$this->deviceConfigs = $deviceConfigs;
}
/**
* @return Google_Service_CloudIot_DeviceConfig
*/
public function getDeviceConfigs()
{
return $this->deviceConfigs;
}
}

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_CloudIot_ListDeviceRegistriesResponse extends Google_Collection
{
protected $collection_key = 'deviceRegistries';
protected $deviceRegistriesType = 'Google_Service_CloudIot_DeviceRegistry';
protected $deviceRegistriesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_CloudIot_DeviceRegistry
*/
public function setDeviceRegistries($deviceRegistries)
{
$this->deviceRegistries = $deviceRegistries;
}
/**
* @return Google_Service_CloudIot_DeviceRegistry
*/
public function getDeviceRegistries()
{
return $this->deviceRegistries;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

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_CloudIot_ListDeviceStatesResponse extends Google_Collection
{
protected $collection_key = 'deviceStates';
protected $deviceStatesType = 'Google_Service_CloudIot_DeviceState';
protected $deviceStatesDataType = 'array';
/**
* @param Google_Service_CloudIot_DeviceState
*/
public function setDeviceStates($deviceStates)
{
$this->deviceStates = $deviceStates;
}
/**
* @return Google_Service_CloudIot_DeviceState
*/
public function getDeviceStates()
{
return $this->deviceStates;
}
}

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_CloudIot_ListDevicesResponse extends Google_Collection
{
protected $collection_key = 'devices';
protected $devicesType = 'Google_Service_CloudIot_Device';
protected $devicesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_CloudIot_Device
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return Google_Service_CloudIot_Device
*/
public function getDevices()
{
return $this->devices;
}
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_CloudIot_ModifyCloudToDeviceConfigRequest extends Google_Model
{
public $binaryData;
public $versionToUpdate;
public function setBinaryData($binaryData)
{
$this->binaryData = $binaryData;
}
public function getBinaryData()
{
return $this->binaryData;
}
public function setVersionToUpdate($versionToUpdate)
{
$this->versionToUpdate = $versionToUpdate;
}
public function getVersionToUpdate()
{
return $this->versionToUpdate;
}
}

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_CloudIot_MqttConfig extends Google_Model
{
public $mqttEnabledState;
public function setMqttEnabledState($mqttEnabledState)
{
$this->mqttEnabledState = $mqttEnabledState;
}
public function getMqttEnabledState()
{
return $this->mqttEnabledState;
}
}

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_CloudIot_Policy extends Google_Collection
{
protected $collection_key = 'bindings';
protected $bindingsType = 'Google_Service_CloudIot_Binding';
protected $bindingsDataType = 'array';
public $etag;
public $version;
/**
* @param Google_Service_CloudIot_Binding
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Google_Service_CloudIot_Binding
*/
public function getBindings()
{
return $this->bindings;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,55 @@
<?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_CloudIot_PublicKeyCertificate extends Google_Model
{
public $certificate;
public $format;
protected $x509DetailsType = 'Google_Service_CloudIot_X509CertificateDetails';
protected $x509DetailsDataType = '';
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
public function getCertificate()
{
return $this->certificate;
}
public function setFormat($format)
{
$this->format = $format;
}
public function getFormat()
{
return $this->format;
}
/**
* @param Google_Service_CloudIot_X509CertificateDetails
*/
public function setX509Details(Google_Service_CloudIot_X509CertificateDetails $x509Details)
{
$this->x509Details = $x509Details;
}
/**
* @return Google_Service_CloudIot_X509CertificateDetails
*/
public function getX509Details()
{
return $this->x509Details;
}
}

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_CloudIot_PublicKeyCredential extends Google_Model
{
public $format;
public $key;
public function setFormat($format)
{
$this->format = $format;
}
public function getFormat()
{
return $this->format;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
}

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_CloudIot_RegistryCredential extends Google_Model
{
protected $publicKeyCertificateType = 'Google_Service_CloudIot_PublicKeyCertificate';
protected $publicKeyCertificateDataType = '';
/**
* @param Google_Service_CloudIot_PublicKeyCertificate
*/
public function setPublicKeyCertificate(Google_Service_CloudIot_PublicKeyCertificate $publicKeyCertificate)
{
$this->publicKeyCertificate = $publicKeyCertificate;
}
/**
* @return Google_Service_CloudIot_PublicKeyCertificate
*/
public function getPublicKeyCertificate()
{
return $this->publicKeyCertificate;
}
}

View File

@@ -0,0 +1,28 @@
<?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 "projects" collection of methods.
* Typical usage is:
* <code>
* $cloudiotService = new Google_Service_CloudIot(...);
* $projects = $cloudiotService->projects;
* </code>
*/
class Google_Service_CloudIot_Resource_Projects extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,28 @@
<?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 "locations" collection of methods.
* Typical usage is:
* <code>
* $cloudiotService = new Google_Service_CloudIot(...);
* $locations = $cloudiotService->locations;
* </code>
*/
class Google_Service_CloudIot_Resource_ProjectsLocations extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,168 @@
<?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 "registries" collection of methods.
* Typical usage is:
* <code>
* $cloudiotService = new Google_Service_CloudIot(...);
* $registries = $cloudiotService->registries;
* </code>
*/
class Google_Service_CloudIot_Resource_ProjectsLocationsRegistries extends Google_Service_Resource
{
/**
* Creates a device registry that contains devices. (registries.create)
*
* @param string $parent The project and cloud region where this device registry
* must be created. For example, `projects/example-project/locations/us-
* central1`.
* @param Google_Service_CloudIot_DeviceRegistry $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_DeviceRegistry
*/
public function create($parent, Google_Service_CloudIot_DeviceRegistry $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_CloudIot_DeviceRegistry");
}
/**
* Deletes a device registry configuration. (registries.delete)
*
* @param string $name The name of the device registry. For example, `projects
* /example-project/locations/us-central1/registries/my-registry`.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_CloudiotEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_CloudIot_CloudiotEmpty");
}
/**
* Gets a device registry configuration. (registries.get)
*
* @param string $name The name of the device registry. For example, `projects
* /example-project/locations/us-central1/registries/my-registry`.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_DeviceRegistry
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudIot_DeviceRegistry");
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (registries.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_CloudIot_GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_Policy
*/
public function getIamPolicy($resource, Google_Service_CloudIot_GetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_CloudIot_Policy");
}
/**
* Lists device registries. (registries.listProjectsLocationsRegistries)
*
* @param string $parent The project and cloud region path. For example,
* `projects/example-project/locations/us-central1`.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The value returned by the last
* `ListDeviceRegistriesResponse`; indicates that this is a continuation of a
* prior `ListDeviceRegistries` call, and that the system should return the next
* page of data.
* @opt_param int pageSize The maximum number of registries to return in the
* response. If this value is zero, the service will select a default size. A
* call may return fewer objects than requested, but if there is a non-empty
* `page_token`, it indicates that more entries are available.
* @return Google_Service_CloudIot_ListDeviceRegistriesResponse
*/
public function listProjectsLocationsRegistries($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudIot_ListDeviceRegistriesResponse");
}
/**
* Updates a device registry configuration. (registries.patch)
*
* @param string $name The resource path name. For example, `projects/example-
* project/locations/us-central1/registries/my-registry`.
* @param Google_Service_CloudIot_DeviceRegistry $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Only updates the `device_registry` fields
* indicated by this mask. The field mask must not be empty, and it must not
* contain fields that are immutable or only set by the server. Mutable top-
* level fields: `event_notification_config`, `http_config`, `mqtt_config`, and
* `state_notification_config`.
* @return Google_Service_CloudIot_DeviceRegistry
*/
public function patch($name, Google_Service_CloudIot_DeviceRegistry $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_CloudIot_DeviceRegistry");
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. (registries.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_CloudIot_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_Policy
*/
public function setIamPolicy($resource, Google_Service_CloudIot_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_CloudIot_Policy");
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* NOT_FOUND error. (registries.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_CloudIot_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_CloudIot_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_CloudIot_TestIamPermissionsResponse");
}
}

View File

@@ -0,0 +1,150 @@
<?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 "devices" collection of methods.
* Typical usage is:
* <code>
* $cloudiotService = new Google_Service_CloudIot(...);
* $devices = $cloudiotService->devices;
* </code>
*/
class Google_Service_CloudIot_Resource_ProjectsLocationsRegistriesDevices extends Google_Service_Resource
{
/**
* Creates a device in a device registry. (devices.create)
*
* @param string $parent The name of the device registry where this device
* should be created. For example, `projects/example-project/locations/us-
* central1/registries/my-registry`.
* @param Google_Service_CloudIot_Device $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_Device
*/
public function create($parent, Google_Service_CloudIot_Device $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_CloudIot_Device");
}
/**
* Deletes a device. (devices.delete)
*
* @param string $name The name of the device. For example,
* `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
* `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_CloudiotEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_CloudIot_CloudiotEmpty");
}
/**
* Gets details about a device. (devices.get)
*
* @param string $name The name of the device. For example,
* `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
* `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
* @param array $optParams Optional parameters.
*
* @opt_param string fieldMask The fields of the `Device` resource to be
* returned in the response. If the field mask is unset or empty, all fields are
* returned.
* @return Google_Service_CloudIot_Device
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudIot_Device");
}
/**
* List devices in a device registry.
* (devices.listProjectsLocationsRegistriesDevices)
*
* @param string $parent The device registry path. Required. For example,
* `projects/my-project/locations/us-central1/registries/my-registry`.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The value returned by the last
* `ListDevicesResponse`; indicates that this is a continuation of a prior
* `ListDevices` call, and that the system should return the next page of data.
* @opt_param string fieldMask The fields of the `Device` resource to be
* returned in the response. The fields `id`, and `num_id` are always returned
* by default, along with any other fields specified.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If this value is zero, the service will select a default size. A
* call may return fewer objects than requested, but if there is a non-empty
* `page_token`, it indicates that more entries are available.
* @opt_param string deviceIds A list of device string identifiers. If empty, it
* will ignore this field. For example, `['device0', 'device12']`. This field
* cannot hold more than 10,000 entries.
* @opt_param string deviceNumIds A list of device numerical ids. If empty, it
* will ignore this field. This field cannot hold more than 10,000 entries.
* @return Google_Service_CloudIot_ListDevicesResponse
*/
public function listProjectsLocationsRegistriesDevices($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudIot_ListDevicesResponse");
}
/**
* Modifies the configuration for the device, which is eventually sent from the
* Cloud IoT Core servers. Returns the modified configuration version and its
* metadata. (devices.modifyCloudToDeviceConfig)
*
* @param string $name The name of the device. For example,
* `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
* `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
* @param Google_Service_CloudIot_ModifyCloudToDeviceConfigRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudIot_DeviceConfig
*/
public function modifyCloudToDeviceConfig($name, Google_Service_CloudIot_ModifyCloudToDeviceConfigRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('modifyCloudToDeviceConfig', array($params), "Google_Service_CloudIot_DeviceConfig");
}
/**
* Updates a device. (devices.patch)
*
* @param string $name The resource path name. For example,
* `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
* `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`.
* When `name` is populated as a response from the service, it always ends in
* the device numeric ID.
* @param Google_Service_CloudIot_Device $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Only updates the `device` fields indicated by
* this mask. The field mask must not be empty, and it must not contain fields
* that are immutable or only set by the server. Mutable top-level fields:
* `credentials`, `blocked`, and `metadata`
* @return Google_Service_CloudIot_Device
*/
public function patch($name, Google_Service_CloudIot_Device $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_CloudIot_Device");
}
}

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 "configVersions" collection of methods.
* Typical usage is:
* <code>
* $cloudiotService = new Google_Service_CloudIot(...);
* $configVersions = $cloudiotService->configVersions;
* </code>
*/
class Google_Service_CloudIot_Resource_ProjectsLocationsRegistriesDevicesConfigVersions extends Google_Service_Resource
{
/**
* Lists the last few versions of the device configuration in descending order
* (i.e.: newest first).
* (configVersions.listProjectsLocationsRegistriesDevicesConfigVersions)
*
* @param string $name The name of the device. For example,
* `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
* `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
* @param array $optParams Optional parameters.
*
* @opt_param int numVersions The number of versions to list. Versions are
* listed in decreasing order of the version number. The maximum number of
* versions retained is 10. If this value is zero, it will return all the
* versions available.
* @return Google_Service_CloudIot_ListDeviceConfigVersionsResponse
*/
public function listProjectsLocationsRegistriesDevicesConfigVersions($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudIot_ListDeviceConfigVersionsResponse");
}
}

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.
*/
/**
* The "states" collection of methods.
* Typical usage is:
* <code>
* $cloudiotService = new Google_Service_CloudIot(...);
* $states = $cloudiotService->states;
* </code>
*/
class Google_Service_CloudIot_Resource_ProjectsLocationsRegistriesDevicesStates extends Google_Service_Resource
{
/**
* Lists the last few versions of the device state in descending order (i.e.:
* newest first). (states.listProjectsLocationsRegistriesDevicesStates)
*
* @param string $name The name of the device. For example,
* `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
* `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
* @param array $optParams Optional parameters.
*
* @opt_param int numStates The number of states to list. States are listed in
* descending order of update time. The maximum number of states retained is 10.
* If this value is zero, it will return all the states available.
* @return Google_Service_CloudIot_ListDeviceStatesResponse
*/
public function listProjectsLocationsRegistriesDevicesStates($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudIot_ListDeviceStatesResponse");
}
}

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_CloudIot_SetIamPolicyRequest extends Google_Model
{
protected $policyType = 'Google_Service_CloudIot_Policy';
protected $policyDataType = '';
/**
* @param Google_Service_CloudIot_Policy
*/
public function setPolicy(Google_Service_CloudIot_Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Google_Service_CloudIot_Policy
*/
public function getPolicy()
{
return $this->policy;
}
}

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_CloudIot_StateNotificationConfig extends Google_Model
{
public $pubsubTopicName;
public function setPubsubTopicName($pubsubTopicName)
{
$this->pubsubTopicName = $pubsubTopicName;
}
public function getPubsubTopicName()
{
return $this->pubsubTopicName;
}
}

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_CloudIot_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,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_CloudIot_TestIamPermissionsRequest extends Google_Collection
{
protected $collection_key = 'permissions';
public $permissions;
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
}

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_CloudIot_TestIamPermissionsResponse extends Google_Collection
{
protected $collection_key = 'permissions';
public $permissions;
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
}

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_CloudIot_X509CertificateDetails extends Google_Model
{
public $expiryTime;
public $issuer;
public $publicKeyType;
public $signatureAlgorithm;
public $startTime;
public $subject;
public function setExpiryTime($expiryTime)
{
$this->expiryTime = $expiryTime;
}
public function getExpiryTime()
{
return $this->expiryTime;
}
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
public function getIssuer()
{
return $this->issuer;
}
public function setPublicKeyType($publicKeyType)
{
$this->publicKeyType = $publicKeyType;
}
public function getPublicKeyType()
{
return $this->publicKeyType;
}
public function setSignatureAlgorithm($signatureAlgorithm)
{
$this->signatureAlgorithm = $signatureAlgorithm;
}
public function getSignatureAlgorithm()
{
return $this->signatureAlgorithm;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
public function setSubject($subject)
{
$this->subject = $subject;
}
public function getSubject()
{
return $this->subject;
}
}