Skip to content

Commit 87dff99

Browse files
committed
Merge pull request #887 from bshaffer/update-google-services
Update Google Services from Discovery
2 parents 8114f78 + 6b085f6 commit 87dff99

29 files changed

+4752
-896
lines changed

src/Google/Service/AdExchangeBuyer.php

Lines changed: 358 additions & 5 deletions
Large diffs are not rendered by default.

src/Google/Service/AdExchangeBuyerII.php

Lines changed: 770 additions & 0 deletions
Large diffs are not rendered by default.

src/Google/Service/AdSense.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
* Service definition for AdSense (v1.4).
2020
*
2121
* <p>
22-
* Gives AdSense publishers access to their inventory and the ability to
23-
* generate reports</p>
22+
* Accesses AdSense publishers' inventory and generates performance reports.</p>
2423
*
2524
* <p>
2625
* For more information about this service, see the API

src/Google/Service/AdSenseHost.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* Service definition for AdSenseHost (v4.1).
2020
*
2121
* <p>
22-
* Gives AdSense Hosts access to report generation, ad code generation, and
23-
* publisher management capabilities.</p>
22+
* Generates performance reports, generates ad codes, and provides publisher
23+
* management capabilities for AdSense Hosts.</p>
2424
*
2525
* <p>
2626
* For more information about this service, see the API

src/Google/Service/Analytics.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Service definition for Analytics (v3).
2020
*
2121
* <p>
22-
* View and manage your Google Analytics data</p>
22+
* Views and manages your Google Analytics data.</p>
2323
*
2424
* <p>
2525
* For more information about this service, see the API
@@ -3139,9 +3139,11 @@ public function delete($accountId, $webPropertyId, $profileId, $optParams = arra
31393139
/**
31403140
* Gets a view (profile) to which the user has access. (profiles.get)
31413141
*
3142-
* @param string $accountId Account ID to retrieve the goal for.
3143-
* @param string $webPropertyId Web property ID to retrieve the goal for.
3144-
* @param string $profileId View (Profile) ID to retrieve the goal for.
3142+
* @param string $accountId Account ID to retrieve the view (profile) for.
3143+
* @param string $webPropertyId Web property ID to retrieve the view (profile)
3144+
* for.
3145+
* @param string $profileId View (Profile) ID to retrieve the view (profile)
3146+
* for.
31453147
* @param array $optParams Optional parameters.
31463148
* @return Google_Service_Analytics_Profile
31473149
*/

src/Google/Service/Appengine.php

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,30 @@ public function __construct(Google_Client $client)
298298
'type' => 'string',
299299
),
300300
),
301+
),'patch' => array(
302+
'path' => 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}',
303+
'httpMethod' => 'PATCH',
304+
'parameters' => array(
305+
'appsId' => array(
306+
'location' => 'path',
307+
'type' => 'string',
308+
'required' => true,
309+
),
310+
'servicesId' => array(
311+
'location' => 'path',
312+
'type' => 'string',
313+
'required' => true,
314+
),
315+
'versionsId' => array(
316+
'location' => 'path',
317+
'type' => 'string',
318+
'required' => true,
319+
),
320+
'mask' => array(
321+
'location' => 'query',
322+
'type' => 'string',
323+
),
324+
),
301325
),
302326
)
303327
)
@@ -562,6 +586,27 @@ public function listAppsServicesVersions($appsId, $servicesId, $optParams = arra
562586
$params = array_merge($params, $optParams);
563587
return $this->call('list', array($params), "Google_Service_Appengine_ListVersionsResponse");
564588
}
589+
590+
/**
591+
* Updates an existing version. Note: UNIMPLEMENTED. (versions.patch)
592+
*
593+
* @param string $appsId Part of `name`. Name of the resource to update. For
594+
* example: "apps/myapp/services/default/versions/1".
595+
* @param string $servicesId Part of `name`. See documentation of `appsId`.
596+
* @param string $versionsId Part of `name`. See documentation of `appsId`.
597+
* @param Google_Version $postBody
598+
* @param array $optParams Optional parameters.
599+
*
600+
* @opt_param string mask Standard field mask for the set of fields to be
601+
* updated.
602+
* @return Google_Service_Appengine_Version
603+
*/
604+
public function patch($appsId, $servicesId, $versionsId, Google_Service_Appengine_Version $postBody, $optParams = array())
605+
{
606+
$params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'postBody' => $postBody);
607+
$params = array_merge($params, $optParams);
608+
return $this->call('patch', array($params), "Google_Service_Appengine_Version");
609+
}
565610
}
566611

567612

@@ -642,15 +687,26 @@ class Google_Service_Appengine_Application extends Google_Collection
642687
protected $collection_key = 'dispatchRules';
643688
protected $internal_gapi_mappings = array(
644689
);
690+
public $authDomain;
645691
public $codeBucket;
646692
public $defaultBucket;
693+
public $defaultCookieExpiration;
694+
public $defaultHostname;
647695
protected $dispatchRulesType = 'Google_Service_Appengine_UrlDispatchRule';
648696
protected $dispatchRulesDataType = 'array';
649697
public $id;
650698
public $location;
651699
public $name;
652700

653701

702+
public function setAuthDomain($authDomain)
703+
{
704+
$this->authDomain = $authDomain;
705+
}
706+
public function getAuthDomain()
707+
{
708+
return $this->authDomain;
709+
}
654710
public function setCodeBucket($codeBucket)
655711
{
656712
$this->codeBucket = $codeBucket;
@@ -667,6 +723,22 @@ public function getDefaultBucket()
667723
{
668724
return $this->defaultBucket;
669725
}
726+
public function setDefaultCookieExpiration($defaultCookieExpiration)
727+
{
728+
$this->defaultCookieExpiration = $defaultCookieExpiration;
729+
}
730+
public function getDefaultCookieExpiration()
731+
{
732+
return $this->defaultCookieExpiration;
733+
}
734+
public function setDefaultHostname($defaultHostname)
735+
{
736+
$this->defaultHostname = $defaultHostname;
737+
}
738+
public function getDefaultHostname()
739+
{
740+
return $this->defaultHostname;
741+
}
670742
public function setDispatchRules($dispatchRules)
671743
{
672744
$this->dispatchRules = $dispatchRules;

src/Google/Service/Appsactivity.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,21 @@ class Google_Service_Appsactivity_User extends Google_Model
546546
{
547547
protected $internal_gapi_mappings = array(
548548
);
549+
public $isDeleted;
549550
public $name;
551+
public $permissionId;
550552
protected $photoType = 'Google_Service_Appsactivity_Photo';
551553
protected $photoDataType = '';
552554

553555

556+
public function setIsDeleted($isDeleted)
557+
{
558+
$this->isDeleted = $isDeleted;
559+
}
560+
public function getIsDeleted()
561+
{
562+
return $this->isDeleted;
563+
}
554564
public function setName($name)
555565
{
556566
$this->name = $name;
@@ -559,6 +569,14 @@ public function getName()
559569
{
560570
return $this->name;
561571
}
572+
public function setPermissionId($permissionId)
573+
{
574+
$this->permissionId = $permissionId;
575+
}
576+
public function getPermissionId()
577+
{
578+
return $this->permissionId;
579+
}
562580
public function setPhoto(Google_Service_Appsactivity_Photo $photo)
563581
{
564582
$this->photo = $photo;

src/Google/Service/Bigquery.php

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,151 @@ public function update($projectId, $datasetId, $tableId, Google_Service_Bigquery
973973

974974

975975

976+
class Google_Service_Bigquery_BigtableColumn extends Google_Model
977+
{
978+
protected $internal_gapi_mappings = array(
979+
);
980+
public $encoding;
981+
public $fieldName;
982+
public $onlyReadLatest;
983+
public $qualifierEncoded;
984+
public $qualifierString;
985+
public $type;
986+
987+
988+
public function setEncoding($encoding)
989+
{
990+
$this->encoding = $encoding;
991+
}
992+
public function getEncoding()
993+
{
994+
return $this->encoding;
995+
}
996+
public function setFieldName($fieldName)
997+
{
998+
$this->fieldName = $fieldName;
999+
}
1000+
public function getFieldName()
1001+
{
1002+
return $this->fieldName;
1003+
}
1004+
public function setOnlyReadLatest($onlyReadLatest)
1005+
{
1006+
$this->onlyReadLatest = $onlyReadLatest;
1007+
}
1008+
public function getOnlyReadLatest()
1009+
{
1010+
return $this->onlyReadLatest;
1011+
}
1012+
public function setQualifierEncoded($qualifierEncoded)
1013+
{
1014+
$this->qualifierEncoded = $qualifierEncoded;
1015+
}
1016+
public function getQualifierEncoded()
1017+
{
1018+
return $this->qualifierEncoded;
1019+
}
1020+
public function setQualifierString($qualifierString)
1021+
{
1022+
$this->qualifierString = $qualifierString;
1023+
}
1024+
public function getQualifierString()
1025+
{
1026+
return $this->qualifierString;
1027+
}
1028+
public function setType($type)
1029+
{
1030+
$this->type = $type;
1031+
}
1032+
public function getType()
1033+
{
1034+
return $this->type;
1035+
}
1036+
}
1037+
1038+
class Google_Service_Bigquery_BigtableColumnFamily extends Google_Collection
1039+
{
1040+
protected $collection_key = 'columns';
1041+
protected $internal_gapi_mappings = array(
1042+
);
1043+
protected $columnsType = 'Google_Service_Bigquery_BigtableColumn';
1044+
protected $columnsDataType = 'array';
1045+
public $encoding;
1046+
public $familyId;
1047+
public $onlyReadLatest;
1048+
public $type;
1049+
1050+
1051+
public function setColumns($columns)
1052+
{
1053+
$this->columns = $columns;
1054+
}
1055+
public function getColumns()
1056+
{
1057+
return $this->columns;
1058+
}
1059+
public function setEncoding($encoding)
1060+
{
1061+
$this->encoding = $encoding;
1062+
}
1063+
public function getEncoding()
1064+
{
1065+
return $this->encoding;
1066+
}
1067+
public function setFamilyId($familyId)
1068+
{
1069+
$this->familyId = $familyId;
1070+
}
1071+
public function getFamilyId()
1072+
{
1073+
return $this->familyId;
1074+
}
1075+
public function setOnlyReadLatest($onlyReadLatest)
1076+
{
1077+
$this->onlyReadLatest = $onlyReadLatest;
1078+
}
1079+
public function getOnlyReadLatest()
1080+
{
1081+
return $this->onlyReadLatest;
1082+
}
1083+
public function setType($type)
1084+
{
1085+
$this->type = $type;
1086+
}
1087+
public function getType()
1088+
{
1089+
return $this->type;
1090+
}
1091+
}
1092+
1093+
class Google_Service_Bigquery_BigtableOptions extends Google_Collection
1094+
{
1095+
protected $collection_key = 'columnFamilies';
1096+
protected $internal_gapi_mappings = array(
1097+
);
1098+
protected $columnFamiliesType = 'Google_Service_Bigquery_BigtableColumnFamily';
1099+
protected $columnFamiliesDataType = 'array';
1100+
public $ignoreUnspecifiedColumnFamilies;
1101+
1102+
1103+
public function setColumnFamilies($columnFamilies)
1104+
{
1105+
$this->columnFamilies = $columnFamilies;
1106+
}
1107+
public function getColumnFamilies()
1108+
{
1109+
return $this->columnFamilies;
1110+
}
1111+
public function setIgnoreUnspecifiedColumnFamilies($ignoreUnspecifiedColumnFamilies)
1112+
{
1113+
$this->ignoreUnspecifiedColumnFamilies = $ignoreUnspecifiedColumnFamilies;
1114+
}
1115+
public function getIgnoreUnspecifiedColumnFamilies()
1116+
{
1117+
return $this->ignoreUnspecifiedColumnFamilies;
1118+
}
1119+
}
1120+
9761121
class Google_Service_Bigquery_CsvOptions extends Google_Model
9771122
{
9781123
protected $internal_gapi_mappings = array(
@@ -1537,6 +1682,9 @@ class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collectio
15371682
protected $collection_key = 'sourceUris';
15381683
protected $internal_gapi_mappings = array(
15391684
);
1685+
public $autodetect;
1686+
protected $bigtableOptionsType = 'Google_Service_Bigquery_BigtableOptions';
1687+
protected $bigtableOptionsDataType = '';
15401688
public $compression;
15411689
protected $csvOptionsType = 'Google_Service_Bigquery_CsvOptions';
15421690
protected $csvOptionsDataType = '';
@@ -1548,6 +1696,22 @@ class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collectio
15481696
public $sourceUris;
15491697

15501698

1699+
public function setAutodetect($autodetect)
1700+
{
1701+
$this->autodetect = $autodetect;
1702+
}
1703+
public function getAutodetect()
1704+
{
1705+
return $this->autodetect;
1706+
}
1707+
public function setBigtableOptions(Google_Service_Bigquery_BigtableOptions $bigtableOptions)
1708+
{
1709+
$this->bigtableOptions = $bigtableOptions;
1710+
}
1711+
public function getBigtableOptions()
1712+
{
1713+
return $this->bigtableOptions;
1714+
}
15511715
public function setCompression($compression)
15521716
{
15531717
$this->compression = $compression;

src/Google/Service/CloudMonitoring.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Service definition for CloudMonitoring (v2beta2).
2020
*
2121
* <p>
22-
* API for accessing Google Cloud and API monitoring data.</p>
22+
* Accesses Google Cloud Monitoring data.</p>
2323
*
2424
* <p>
2525
* For more information about this service, see the API

0 commit comments

Comments
 (0)