Mise à jour des librairies

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

View File

@@ -69,6 +69,8 @@ class Google_Service_PeopleService_Person extends Google_Collection
protected $residencesType = 'Google_Service_PeopleService_Residence';
protected $residencesDataType = 'array';
public $resourceName;
protected $sipAddressesType = 'Google_Service_PeopleService_SipAddress';
protected $sipAddressesDataType = 'array';
protected $skillsType = 'Google_Service_PeopleService_Skill';
protected $skillsDataType = 'array';
protected $taglinesType = 'Google_Service_PeopleService_Tagline';
@@ -438,6 +440,20 @@ class Google_Service_PeopleService_Person extends Google_Collection
{
return $this->resourceName;
}
/**
* @param Google_Service_PeopleService_SipAddress
*/
public function setSipAddresses($sipAddresses)
{
$this->sipAddresses = $sipAddresses;
}
/**
* @return Google_Service_PeopleService_SipAddress
*/
public function getSipAddresses()
{
return $this->sipAddresses;
}
/**
* @param Google_Service_PeopleService_Skill
*/

View File

@@ -31,10 +31,10 @@ class Google_Service_PeopleService_Resource_ContactGroups extends Google_Service
*
* @param array $optParams Optional parameters.
*
* @opt_param int maxMembers Specifies the maximum number of members to return
* for each group.
* @opt_param string resourceNames The resource names of the contact groups to
* get.
* @opt_param int maxMembers Specifies the maximum number of members to return
* for each group.
* @return Google_Service_PeopleService_BatchGetContactGroupsResponse
*/
public function batchGet($optParams = array())
@@ -96,13 +96,13 @@ class Google_Service_PeopleService_Resource_ContactGroups extends Google_Service
*
* @param array $optParams Optional parameters.
*
* @opt_param string syncToken A sync token, returned by a previous call to
* `contactgroups.list`. Only resources changed since the sync token was created
* will be returned.
* @opt_param string pageToken The next_page_token value returned from a
* previous call to [ListContactGroups](/people/api/rest/v1/contactgroups/list).
* Requests the next page of resources.
* @opt_param int pageSize The maximum number of resources to return.
* @opt_param string syncToken A sync token, returned by a previous call to
* `contactgroups.list`. Only resources changed since the sync token was created
* will be returned.
* @return Google_Service_PeopleService_ListContactGroupsResponse
*/
public function listContactGroups($optParams = array())

View File

@@ -80,7 +80,8 @@ class Google_Service_PeopleService_Resource_People extends Google_Service_Resour
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * skills * taglines * urls
* relationshipStatuses * residences * sipAddresses * skills * taglines * urls *
* userDefined
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
@@ -101,15 +102,6 @@ class Google_Service_PeopleService_Resource_People extends Google_Service_Resour
*
* @param array $optParams Optional parameters.
*
* @opt_param string personFields **Required.** A field mask to restrict which
* fields on each person are returned. Multiple fields can be specified by
* separating them with commas. Valid values are:
*
* * addresses * ageRanges * biographies * birthdays * braggingRights *
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * skills * taglines * urls
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
@@ -123,6 +115,16 @@ class Google_Service_PeopleService_Resource_People extends Google_Service_Resour
* [`people.connections.list`](/people/api/rest/v1/people.connections/list).
*
* You can include up to 50 resource names in one request.
* @opt_param string personFields **Required.** A field mask to restrict which
* fields on each person are returned. Multiple fields can be specified by
* separating them with commas. Valid values are:
*
* * addresses * ageRanges * biographies * birthdays * braggingRights *
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * sipAddresses * skills * taglines * urls *
* userDefined
* @return Google_Service_PeopleService_GetPeopleResponse
*/
public function getBatchGet($optParams = array())
@@ -158,7 +160,8 @@ class Google_Service_PeopleService_Resource_People extends Google_Service_Resour
*
* * addresses * biographies * birthdays * emailAddresses * events * genders *
* imClients * interests * locales * names * nicknames * occupations *
* organizations * phoneNumbers * relations * residences * urls
* organizations * phoneNumbers * relations * residences * sipAddresses * urls *
* userDefined
* @return Google_Service_PeopleService_Person
*/
public function updateContact($resourceName, Google_Service_PeopleService_Person $postBody, $optParams = array())

View File

@@ -36,6 +36,16 @@ class Google_Service_PeopleService_Resource_PeopleConnections extends Google_Ser
* `people/me` is valid.
* @param array $optParams Optional parameters.
*
* @opt_param bool requestSyncToken Whether the response should include a sync
* token, which can be used to get all changes since the last request. For
* subsequent sync requests use the `sync_token` param instead. Initial sync
* requests that specify `request_sync_token` have an additional rate limit.
* @opt_param string pageToken The token of the page to be returned.
* @opt_param int pageSize The number of connections to include in the response.
* Valid values are between 1 and 2000, inclusive. Defaults to 100.
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
* @opt_param string syncToken A sync token returned by a previous call to
* `people.connections.list`. Only resources changed since the sync token was
* created will be returned. Sync requests that specify `sync_token` have an
@@ -48,19 +58,10 @@ class Google_Service_PeopleService_Resource_PeopleConnections extends Google_Ser
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * skills * taglines * urls
* relationshipStatuses * residences * sipAddresses * skills * taglines * urls *
* userDefined
* @opt_param string sortOrder The order in which the connections should be
* sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
* @opt_param bool requestSyncToken Whether the response should include a sync
* token, which can be used to get all changes since the last request. For
* subsequent sync requests use the `sync_token` param instead. Initial sync
* requests that specify `request_sync_token` have an additional rate limit.
* @opt_param string pageToken The token of the page to be returned.
* @opt_param int pageSize The number of connections to include in the response.
* Valid values are between 1 and 2000, inclusive. Defaults to 100.
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
* @return Google_Service_PeopleService_ListConnectionsResponse
*/
public function listPeopleConnections($resourceName, $optParams = array())

View File

@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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_PeopleService_SipAddress extends Google_Model
{
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $type;
public $value;
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}