on develop help sign in
Updating models
commit789b52915722f598f1fff15be68a3f71a3c7c56d authorBrendan Hay <brendan.g.hay@gmail.com> dateMon 19 Oct 2015, 13:22 (11 years ago) parent6527ea4
26 files changed+4806−916
gen/model/admin/directory/v1/admin-api.json+1146−17 gen/model/adsense/v1.4/adsense-api.json+6−2 gen/model/books/v1/books-api.json+192−3 gen/model/classroom/v1/classroom-api.json+48−48 gen/model/cloudtrace/v1/cloudtrace-api.json+385 gen/model/compute/v0.beta/compute-api.json+247−124 gen/model/compute/v1/compute-api.json+982−147 gen/model/doubleclickbidmanager/v1/doubleclickbidmanager-api.json+91−3 gen/model/doubleclicksearch/v2/doubleclicksearch-api.json+7−3 gen/model/drive/v2/drive-api.json+3−3 gen/model/games/v1/games-api.json+4−2 gen/model/identitytoolkit/v3/identitytoolkit-api.json+6−2 gen/model/logging/v1beta3/logging-api.json+217−16 gen/model/logging/v2beta1/logging-api.json+318 gen/model/plus/v1/plus-api.json+50−2 gen/model/plusdomains/v1/plusdomains-api.json+50−2 gen/model/pubsub/v1/pubsub-api.json+46−46 gen/model/pubsub/v1beta2/pubsub-api.json+46−46 gen/model/script/v1/script-api.json+319 gen/model/sqladmin/v1beta4/sqladmin-api.json+76−5 gen/model/storage/v1/storage-api.json+14−4 gen/model/storage/v1beta1/storage-api.json+3−3 gen/model/storage/v1beta2/storage-api.json+3−3 gen/model/tagmanager/v1/tagmanager-api.json+22−432 gen/model/youtube/v3/youtube-api.json+3−3 gen/model/youtubereporting/v1/youtubereporting-api.json+522
gen/model/admin/directory/v1/admin-api.json+1146−17
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/uQEY1lxUpBjGfWxd7mioMh_V8P8\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/pRlNMQbyfGTi-02uw0zCmogMSuU\"",
44 "discoveryVersion": "v1",
55 "id": "admin:directory_v1",
66 "name": "admin",
77 "canonicalName": "directory",
88 "version": "directory_v1",
9− "revision": "20150720",
9+ "revision": "20151005",
1010 "title": "Admin Directory API",
1111 "description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.",
1212 "ownerDomain": "google.com",
@@ -71,6 +71,12 @@
7171 "auth": {
7272 "oauth2": {
7373 "scopes": {
74+ "https://www.googleapis.com/auth/admin.directory.customer": {
75+ "description": "View and manage customer related information"
76+ },
77+ "https://www.googleapis.com/auth/admin.directory.customer.readonly": {
78+ "description": "View customer related information"
79+ },
7480 "https://www.googleapis.com/auth/admin.directory.device.chromeos": {
7581 "description": "View and manage your Chrome OS devices' metadata"
7682 },
@@ -86,6 +92,12 @@
8692 "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly": {
8793 "description": "View your mobile devices' metadata"
8894 },
95+ "https://www.googleapis.com/auth/admin.directory.domain": {
96+ "description": "View and manage the provisioning of domains for your customers"
97+ },
98+ "https://www.googleapis.com/auth/admin.directory.domain.readonly": {
99+ "description": "View domains related to your customers"
100+ },
89101 "https://www.googleapis.com/auth/admin.directory.group": {
90102 "description": "View and manage the provisioning of groups on your domain"
91103 },
@@ -107,6 +119,12 @@
107119 "https://www.googleapis.com/auth/admin.directory.orgunit.readonly": {
108120 "description": "View organization units on your domain"
109121 },
122+ "https://www.googleapis.com/auth/admin.directory.rolemanagement": {
123+ "description": "Manage delegated admin roles for your domain"
124+ },
125+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly": {
126+ "description": "View delegated admin roles for your domain"
127+ },
110128 "https://www.googleapis.com/auth/admin.directory.user": {
111129 "description": "View and manage the provisioning of users on your domain"
112130 },
@@ -463,6 +481,223 @@
463481 }
464482 }
465483 },
484+ "Customer": {
485+ "id": "Customer",
486+ "type": "object",
487+ "description": "JSON template for Customer Resource object in Directory API.",
488+ "properties": {
489+ "alternateEmail": {
490+ "type": "string",
491+ "description": "The customer's secondary contact email address. This email address cannot be on the same domain as the customerDomain"
492+ },
493+ "customerCreationTime": {
494+ "type": "string",
495+ "description": "The customer's creation time (Readonly)",
496+ "format": "date-time"
497+ },
498+ "customerDomain": {
499+ "type": "string",
500+ "description": "The customer's primary domain name string. Do not include the www prefix when creating a new customer."
501+ },
502+ "etag": {
503+ "type": "string",
504+ "description": "ETag of the resource."
505+ },
506+ "id": {
507+ "type": "string",
508+ "description": "The unique ID for the customer's Google account. (Readonly)"
509+ },
510+ "kind": {
511+ "type": "string",
512+ "description": "Identifies the resource as a customer. Value: admin#directory#customer",
513+ "default": "admin#directory#customer"
514+ },
515+ "language": {
516+ "type": "string",
517+ "description": "The customer's ISO 639-2 language code. The default value is en-US"
518+ },
519+ "phoneNumber": {
520+ "type": "string",
521+ "description": "The customer's contact phone number in E.164 format."
522+ },
523+ "postalAddress": {
524+ "$ref": "CustomerPostalAddress",
525+ "description": "The customer's postal address information."
526+ }
527+ }
528+ },
529+ "CustomerPostalAddress": {
530+ "id": "CustomerPostalAddress",
531+ "type": "object",
532+ "description": "JSON template for postal address of a customer.",
533+ "properties": {
534+ "addressLine1": {
535+ "type": "string",
536+ "description": "A customer's physical address. The address can be composed of one to three lines."
537+ },
538+ "addressLine2": {
539+ "type": "string",
540+ "description": "Address line 2 of the address."
541+ },
542+ "addressLine3": {
543+ "type": "string",
544+ "description": "Address line 3 of the address."
545+ },
546+ "contactName": {
547+ "type": "string",
548+ "description": "The customer contact's name."
549+ },
550+ "countryCode": {
551+ "type": "string",
552+ "description": "This is a required property. For countryCode information see the ISO 3166 country code elements."
553+ },
554+ "locality": {
555+ "type": "string",
556+ "description": "Name of the locality. An example of a locality value is the city of San Francisco."
557+ },
558+ "organizationName": {
559+ "type": "string",
560+ "description": "The company or company division name."
561+ },
562+ "postalCode": {
563+ "type": "string",
564+ "description": "The postal code. A postalCode example is a postal zip code such as 10009. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element."
565+ },
566+ "region": {
567+ "type": "string",
568+ "description": "Name of the region. An example of a region value is NY for the state of New York."
569+ }
570+ }
571+ },
572+ "DomainAlias": {
573+ "id": "DomainAlias",
574+ "type": "object",
575+ "description": "JSON template for Domain Alias object in Directory API.",
576+ "properties": {
577+ "creationTime": {
578+ "type": "string",
579+ "description": "The creation time of the domain alias. (Read-only).",
580+ "format": "int64"
581+ },
582+ "domainAliasName": {
583+ "type": "string",
584+ "description": "The domain alias name."
585+ },
586+ "etag": {
587+ "type": "string",
588+ "description": "ETag of the resource."
589+ },
590+ "kind": {
591+ "type": "string",
592+ "description": "Kind of resource this is.",
593+ "default": "admin#directory#domainAlias"
594+ },
595+ "parentDomainName": {
596+ "type": "string",
597+ "description": "The parent domain name that the domain alias is associated with. This can either be a primary or secondary domain name within a customer.",
598+ "annotations": {
599+ "required": [
600+ "directory.domains.insert"
601+ ]
602+ }
603+ },
604+ "verified": {
605+ "type": "boolean",
606+ "description": "Indicates the verification state of a domain alias. (Read-only)"
607+ }
608+ }
609+ },
610+ "DomainAliases": {
611+ "id": "DomainAliases",
612+ "type": "object",
613+ "description": "JSON response template to list domain aliases in Directory API.",
614+ "properties": {
615+ "domainAliases": {
616+ "type": "array",
617+ "description": "List of domain alias objects.",
618+ "items": {
619+ "$ref": "DomainAlias"
620+ }
621+ },
622+ "etag": {
623+ "type": "string",
624+ "description": "ETag of the resource."
625+ },
626+ "kind": {
627+ "type": "string",
628+ "description": "Kind of resource this is.",
629+ "default": "admin#directory#domainAliases"
630+ }
631+ }
632+ },
633+ "Domains": {
634+ "id": "Domains",
635+ "type": "object",
636+ "description": "JSON template for Domain object in Directory API.",
637+ "properties": {
638+ "creationTime": {
639+ "type": "string",
640+ "description": "Creation time of the domain. (Read-only).",
641+ "format": "int64"
642+ },
643+ "domainAliases": {
644+ "type": "array",
645+ "description": "List of domain alias objects. (Read-only)",
646+ "items": {
647+ "$ref": "DomainAlias"
648+ }
649+ },
650+ "domainName": {
651+ "type": "string",
652+ "description": "The domain name of the customer.",
653+ "annotations": {
654+ "required": [
655+ "directory.domains.insert"
656+ ]
657+ }
658+ },
659+ "etag": {
660+ "type": "string",
661+ "description": "ETag of the resource."
662+ },
663+ "isPrimary": {
664+ "type": "boolean",
665+ "description": "Indicates if the domain is a primary domain (Read-only)."
666+ },
667+ "kind": {
668+ "type": "string",
669+ "description": "Kind of resource this is.",
670+ "default": "admin#directory#domain"
671+ },
672+ "verified": {
673+ "type": "boolean",
674+ "description": "Indicates the verification state of a domain. (Read-only)."
675+ }
676+ }
677+ },
678+ "Domains2": {
679+ "id": "Domains2",
680+ "type": "object",
681+ "description": "JSON response template to list Domains in Directory API.",
682+ "properties": {
683+ "domains": {
684+ "type": "array",
685+ "description": "List of domain objects.",
686+ "items": {
687+ "$ref": "Domains"
688+ }
689+ },
690+ "etag": {
691+ "type": "string",
692+ "description": "ETag of the resource."
693+ },
694+ "kind": {
695+ "type": "string",
696+ "description": "Kind of resource this is.",
697+ "default": "admin#directory#domains"
698+ }
699+ }
700+ },
466701 "Group": {
467702 "id": "Group",
468703 "type": "object",
@@ -974,6 +1209,222 @@
9741209 }
9751210 }
9761211 },
1212+ "Privilege": {
1213+ "id": "Privilege",
1214+ "type": "object",
1215+ "description": "JSON template for privilege resource in Directory API.",
1216+ "properties": {
1217+ "childPrivileges": {
1218+ "type": "array",
1219+ "description": "A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege.",
1220+ "items": {
1221+ "$ref": "Privilege"
1222+ }
1223+ },
1224+ "etag": {
1225+ "type": "string",
1226+ "description": "ETag of the resource."
1227+ },
1228+ "isOuScopable": {
1229+ "type": "boolean",
1230+ "description": "If the privilege can be restricted to an organization unit."
1231+ },
1232+ "kind": {
1233+ "type": "string",
1234+ "description": "The type of the API resource. This is always admin#directory#privilege.",
1235+ "default": "admin#directory#privilege"
1236+ },
1237+ "privilegeName": {
1238+ "type": "string",
1239+ "description": "The name of the privilege."
1240+ },
1241+ "serviceId": {
1242+ "type": "string",
1243+ "description": "The obfuscated ID of the service this privilege is for."
1244+ },
1245+ "serviceName": {
1246+ "type": "string",
1247+ "description": "The name of the service this privilege is for."
1248+ }
1249+ }
1250+ },
1251+ "Privileges": {
1252+ "id": "Privileges",
1253+ "type": "object",
1254+ "description": "JSON response template for List privileges operation in Directory API.",
1255+ "properties": {
1256+ "etag": {
1257+ "type": "string",
1258+ "description": "ETag of the resource."
1259+ },
1260+ "items": {
1261+ "type": "array",
1262+ "description": "A list of Privilege resources.",
1263+ "items": {
1264+ "$ref": "Privilege"
1265+ }
1266+ },
1267+ "kind": {
1268+ "type": "string",
1269+ "description": "The type of the API resource. This is always admin#directory#privileges.",
1270+ "default": "admin#directory#privileges"
1271+ }
1272+ }
1273+ },
1274+ "Role": {
1275+ "id": "Role",
1276+ "type": "object",
1277+ "description": "JSON template for role resource in Directory API.",
1278+ "properties": {
1279+ "etag": {
1280+ "type": "string",
1281+ "description": "ETag of the resource."
1282+ },
1283+ "isSuperAdminRole": {
1284+ "type": "boolean",
1285+ "description": "Returns true if the role is a super admin role."
1286+ },
1287+ "isSystemRole": {
1288+ "type": "boolean",
1289+ "description": "Returns true if this is a pre-defined system role."
1290+ },
1291+ "kind": {
1292+ "type": "string",
1293+ "description": "The type of the API resource. This is always admin#directory#role.",
1294+ "default": "admin#directory#role"
1295+ },
1296+ "roleDescription": {
1297+ "type": "string",
1298+ "description": "A short description of the role."
1299+ },
1300+ "roleId": {
1301+ "type": "string",
1302+ "description": "ID of the role.",
1303+ "format": "int64"
1304+ },
1305+ "roleName": {
1306+ "type": "string",
1307+ "description": "Name of the role.",
1308+ "annotations": {
1309+ "required": [
1310+ "directory.roles.insert"
1311+ ]
1312+ }
1313+ },
1314+ "rolePrivileges": {
1315+ "type": "array",
1316+ "description": "The set of privileges that are granted to this role.",
1317+ "items": {
1318+ "type": "object",
1319+ "properties": {
1320+ "privilegeName": {
1321+ "type": "string",
1322+ "description": "The name of the privilege."
1323+ },
1324+ "serviceId": {
1325+ "type": "string",
1326+ "description": "The obfuscated ID of the service this privilege is for."
1327+ }
1328+ }
1329+ },
1330+ "annotations": {
1331+ "required": [
1332+ "directory.roles.insert"
1333+ ]
1334+ }
1335+ }
1336+ }
1337+ },
1338+ "RoleAssignment": {
1339+ "id": "RoleAssignment",
1340+ "type": "object",
1341+ "description": "JSON template for roleAssignment resource in Directory API.",
1342+ "properties": {
1343+ "assignedTo": {
1344+ "type": "string",
1345+ "description": "The unique ID of the user this role is assigned to."
1346+ },
1347+ "etag": {
1348+ "type": "string",
1349+ "description": "ETag of the resource."
1350+ },
1351+ "kind": {
1352+ "type": "string",
1353+ "description": "The type of the API resource. This is always admin#directory#roleAssignment.",
1354+ "default": "admin#directory#roleAssignment"
1355+ },
1356+ "orgUnitId": {
1357+ "type": "string",
1358+ "description": "If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to."
1359+ },
1360+ "roleAssignmentId": {
1361+ "type": "string",
1362+ "description": "ID of this roleAssignment.",
1363+ "format": "int64"
1364+ },
1365+ "roleId": {
1366+ "type": "string",
1367+ "description": "The ID of the role that is assigned.",
1368+ "format": "int64"
1369+ },
1370+ "scopeType": {
1371+ "type": "string",
1372+ "description": "The scope in which this role is assigned. Possible values are: \n- CUSTOMER\n- ORG_UNIT"
1373+ }
1374+ }
1375+ },
1376+ "RoleAssignments": {
1377+ "id": "RoleAssignments",
1378+ "type": "object",
1379+ "description": "JSON response template for List roleAssignments operation in Directory API.",
1380+ "properties": {
1381+ "etag": {
1382+ "type": "string",
1383+ "description": "ETag of the resource."
1384+ },
1385+ "items": {
1386+ "type": "array",
1387+ "description": "A list of RoleAssignment resources.",
1388+ "items": {
1389+ "$ref": "RoleAssignment"
1390+ }
1391+ },
1392+ "kind": {
1393+ "type": "string",
1394+ "description": "The type of the API resource. This is always admin#directory#roleAssignments.",
1395+ "default": "admin#directory#roleAssignments"
1396+ },
1397+ "nextPageToken": {
1398+ "type": "string"
1399+ }
1400+ }
1401+ },
1402+ "Roles": {
1403+ "id": "Roles",
1404+ "type": "object",
1405+ "description": "JSON response template for List roles operation in Directory API.",
1406+ "properties": {
1407+ "etag": {
1408+ "type": "string",
1409+ "description": "ETag of the resource."
1410+ },
1411+ "items": {
1412+ "type": "array",
1413+ "description": "A list of Role resources.",
1414+ "items": {
1415+ "$ref": "Role"
1416+ }
1417+ },
1418+ "kind": {
1419+ "type": "string",
1420+ "description": "The type of the API resource. This is always admin#directory#roles.",
1421+ "default": "admin#directory#roles"
1422+ },
1423+ "nextPageToken": {
1424+ "type": "string"
1425+ }
1426+ }
1427+ },
9771428 "Schema": {
9781429 "id": "Schema",
9791430 "type": "object",
@@ -1185,11 +1636,13 @@
11851636 },
11861637 "agreedToTerms": {
11871638 "type": "boolean",
1188− "description": "Indicates if user has agreed to terms (Read-only)"
1639+ "description": "Indicates if user has agreed to terms (Read-only)",
1640+ "readOnly": true
11891641 },
11901642 "aliases": {
11911643 "type": "array",
11921644 "description": "List of aliases (Read-only)",
1645+ "readOnly": true,
11931646 "items": {
11941647 "type": "string"
11951648 }
@@ -1201,7 +1654,8 @@
12011654 "creationTime": {
12021655 "type": "string",
12031656 "description": "User's Google account creation time. (Read-only)",
1204− "format": "date-time"
1657+ "format": "date-time",
1658+ "readOnly": true
12051659 },
12061660 "customSchemas": {
12071661 "type": "object",
@@ -1212,18 +1666,21 @@
12121666 },
12131667 "customerId": {
12141668 "type": "string",
1215− "description": "CustomerId of User (Read-only)"
1669+ "description": "CustomerId of User (Read-only)",
1670+ "readOnly": true
12161671 },
12171672 "deletionTime": {
12181673 "type": "string",
1219− "format": "date-time"
1674+ "format": "date-time",
1675+ "readOnly": true
12201676 },
12211677 "emails": {
12221678 "type": "any"
12231679 },
12241680 "etag": {
12251681 "type": "string",
1226− "description": "ETag of the resource."
1682+ "description": "ETag of the resource.",
1683+ "readOnly": true
12271684 },
12281685 "externalIds": {
12291686 "type": "any"
@@ -1249,25 +1706,30 @@
12491706 },
12501707 "isAdmin": {
12511708 "type": "boolean",
1252− "description": "Boolean indicating if the user is admin (Read-only)"
1709+ "description": "Boolean indicating if the user is admin (Read-only)",
1710+ "readOnly": true
12531711 },
12541712 "isDelegatedAdmin": {
12551713 "type": "boolean",
1256− "description": "Boolean indicating if the user is delegated admin (Read-only)"
1714+ "description": "Boolean indicating if the user is delegated admin (Read-only)",
1715+ "readOnly": true
12571716 },
12581717 "isMailboxSetup": {
12591718 "type": "boolean",
1260− "description": "Is mailbox setup (Read-only)"
1719+ "description": "Is mailbox setup (Read-only)",
1720+ "readOnly": true
12611721 },
12621722 "kind": {
12631723 "type": "string",
12641724 "description": "Kind of resource this is.",
1265− "default": "admin#directory#user"
1725+ "default": "admin#directory#user",
1726+ "readOnly": true
12661727 },
12671728 "lastLoginTime": {
12681729 "type": "string",
12691730 "description": "User's last login time. (Read-only)",
1270− "format": "date-time"
1731+ "format": "date-time",
1732+ "readOnly": true
12711733 },
12721734 "name": {
12731735 "$ref": "UserName",
@@ -1281,6 +1743,7 @@
12811743 "nonEditableAliases": {
12821744 "type": "array",
12831745 "description": "List of non editable aliases (Read-only)",
1746+ "readOnly": true,
12841747 "items": {
12851748 "type": "string"
12861749 }
@@ -1325,15 +1788,18 @@
13251788 },
13261789 "suspensionReason": {
13271790 "type": "string",
1328− "description": "Suspension reason if user is suspended (Read-only)"
1791+ "description": "Suspension reason if user is suspended (Read-only)",
1792+ "readOnly": true
13291793 },
13301794 "thumbnailPhotoEtag": {
13311795 "type": "string",
1332− "description": "ETag of the user's photo (Read-only)"
1796+ "description": "ETag of the user's photo (Read-only)",
1797+ "readOnly": true
13331798 },
13341799 "thumbnailPhotoUrl": {
13351800 "type": "string",
1336− "description": "Photo Url of the user (Read-only)"
1801+ "description": "Photo Url of the user (Read-only)",
1802+ "readOnly": true
13371803 },
13381804 "websites": {
13391805 "type": "any"
@@ -2123,10 +2589,319 @@
21232589 "$ref": "ChromeOsDevice"
21242590 },
21252591 "response": {
2126− "$ref": "ChromeOsDevice"
2592+ "$ref": "ChromeOsDevice"
2593+ },
2594+ "scopes": [
2595+ "https://www.googleapis.com/auth/admin.directory.device.chromeos"
2596+ ]
2597+ }
2598+ }
2599+ },
2600+ "customers": {
2601+ "methods": {
2602+ "get": {
2603+ "id": "directory.customers.get",
2604+ "path": "customers/{customerKey}",
2605+ "httpMethod": "GET",
2606+ "description": "Retrives a customer.",
2607+ "parameters": {
2608+ "customerKey": {
2609+ "type": "string",
2610+ "description": "Id of the customer to be retrieved",
2611+ "required": true,
2612+ "location": "path"
2613+ }
2614+ },
2615+ "parameterOrder": [
2616+ "customerKey"
2617+ ],
2618+ "response": {
2619+ "$ref": "Customer"
2620+ },
2621+ "scopes": [
2622+ "https://www.googleapis.com/auth/admin.directory.customer",
2623+ "https://www.googleapis.com/auth/admin.directory.customer.readonly"
2624+ ]
2625+ },
2626+ "patch": {
2627+ "id": "directory.customers.patch",
2628+ "path": "customers/{customerKey}",
2629+ "httpMethod": "PATCH",
2630+ "description": "Updates a customer. This method supports patch semantics.",
2631+ "parameters": {
2632+ "customerKey": {
2633+ "type": "string",
2634+ "description": "Id of the customer to be updated",
2635+ "required": true,
2636+ "location": "path"
2637+ }
2638+ },
2639+ "parameterOrder": [
2640+ "customerKey"
2641+ ],
2642+ "request": {
2643+ "$ref": "Customer"
2644+ },
2645+ "response": {
2646+ "$ref": "Customer"
2647+ },
2648+ "scopes": [
2649+ "https://www.googleapis.com/auth/admin.directory.customer"
2650+ ]
2651+ },
2652+ "update": {
2653+ "id": "directory.customers.update",
2654+ "path": "customers/{customerKey}",
2655+ "httpMethod": "PUT",
2656+ "description": "Updates a customer.",
2657+ "parameters": {
2658+ "customerKey": {
2659+ "type": "string",
2660+ "description": "Id of the customer to be updated",
2661+ "required": true,
2662+ "location": "path"
2663+ }
2664+ },
2665+ "parameterOrder": [
2666+ "customerKey"
2667+ ],
2668+ "request": {
2669+ "$ref": "Customer"
2670+ },
2671+ "response": {
2672+ "$ref": "Customer"
2673+ },
2674+ "scopes": [
2675+ "https://www.googleapis.com/auth/admin.directory.customer"
2676+ ]
2677+ }
2678+ }
2679+ },
2680+ "domainAliases": {
2681+ "methods": {
2682+ "delete": {
2683+ "id": "directory.domainAliases.delete",
2684+ "path": "customer/{customer}/domainaliases/{domainAliasName}",
2685+ "httpMethod": "DELETE",
2686+ "description": "Deletes a Domain Alias of the customer.",
2687+ "parameters": {
2688+ "customer": {
2689+ "type": "string",
2690+ "description": "Immutable id of the Google Apps account.",
2691+ "required": true,
2692+ "location": "path"
2693+ },
2694+ "domainAliasName": {
2695+ "type": "string",
2696+ "description": "Name of domain alias to be retrieved.",
2697+ "required": true,
2698+ "location": "path"
2699+ }
2700+ },
2701+ "parameterOrder": [
2702+ "customer",
2703+ "domainAliasName"
2704+ ],
2705+ "scopes": [
2706+ "https://www.googleapis.com/auth/admin.directory.domain"
2707+ ]
2708+ },
2709+ "get": {
2710+ "id": "directory.domainAliases.get",
2711+ "path": "customer/{customer}/domainaliases/{domainAliasName}",
2712+ "httpMethod": "GET",
2713+ "description": "Retrieves a domain alias of the customer.",
2714+ "parameters": {
2715+ "customer": {
2716+ "type": "string",
2717+ "description": "Immutable id of the Google Apps account.",
2718+ "required": true,
2719+ "location": "path"
2720+ },
2721+ "domainAliasName": {
2722+ "type": "string",
2723+ "description": "Name of domain alias to be retrieved.",
2724+ "required": true,
2725+ "location": "path"
2726+ }
2727+ },
2728+ "parameterOrder": [
2729+ "customer",
2730+ "domainAliasName"
2731+ ],
2732+ "response": {
2733+ "$ref": "DomainAlias"
2734+ },
2735+ "scopes": [
2736+ "https://www.googleapis.com/auth/admin.directory.domain",
2737+ "https://www.googleapis.com/auth/admin.directory.domain.readonly"
2738+ ]
2739+ },
2740+ "insert": {
2741+ "id": "directory.domainAliases.insert",
2742+ "path": "customer/{customer}/domainaliases",
2743+ "httpMethod": "POST",
2744+ "description": "Inserts a Domain alias of the customer.",
2745+ "parameters": {
2746+ "customer": {
2747+ "type": "string",
2748+ "description": "Immutable id of the Google Apps account.",
2749+ "required": true,
2750+ "location": "path"
2751+ }
2752+ },
2753+ "parameterOrder": [
2754+ "customer"
2755+ ],
2756+ "request": {
2757+ "$ref": "DomainAlias"
2758+ },
2759+ "response": {
2760+ "$ref": "DomainAlias"
2761+ },
2762+ "scopes": [
2763+ "https://www.googleapis.com/auth/admin.directory.domain"
2764+ ]
2765+ },
2766+ "list": {
2767+ "id": "directory.domainAliases.list",
2768+ "path": "customer/{customer}/domainaliases",
2769+ "httpMethod": "GET",
2770+ "description": "Lists the domain aliases of the customer.",
2771+ "parameters": {
2772+ "customer": {
2773+ "type": "string",
2774+ "description": "Immutable id of the Google Apps account.",
2775+ "required": true,
2776+ "location": "path"
2777+ },
2778+ "parentDomainName": {
2779+ "type": "string",
2780+ "description": "Name of the parent domain for which domain aliases are to be fetched.",
2781+ "location": "query"
2782+ }
2783+ },
2784+ "parameterOrder": [
2785+ "customer"
2786+ ],
2787+ "response": {
2788+ "$ref": "DomainAliases"
2789+ },
2790+ "scopes": [
2791+ "https://www.googleapis.com/auth/admin.directory.domain",
2792+ "https://www.googleapis.com/auth/admin.directory.domain.readonly"
2793+ ]
2794+ }
2795+ }
2796+ },
2797+ "domains": {
2798+ "methods": {
2799+ "delete": {
2800+ "id": "directory.domains.delete",
2801+ "path": "customer/{customer}/domains/{domainName}",
2802+ "httpMethod": "DELETE",
2803+ "description": "Deletes a domain of the customer.",
2804+ "parameters": {
2805+ "customer": {
2806+ "type": "string",
2807+ "description": "Immutable id of the Google Apps account.",
2808+ "required": true,
2809+ "location": "path"
2810+ },
2811+ "domainName": {
2812+ "type": "string",
2813+ "description": "Name of domain to be deleted",
2814+ "required": true,
2815+ "location": "path"
2816+ }
2817+ },
2818+ "parameterOrder": [
2819+ "customer",
2820+ "domainName"
2821+ ],
2822+ "scopes": [
2823+ "https://www.googleapis.com/auth/admin.directory.domain"
2824+ ]
2825+ },
2826+ "get": {
2827+ "id": "directory.domains.get",
2828+ "path": "customer/{customer}/domains/{domainName}",
2829+ "httpMethod": "GET",
2830+ "description": "Retrives a domain of the customer.",
2831+ "parameters": {
2832+ "customer": {
2833+ "type": "string",
2834+ "description": "Immutable id of the Google Apps account.",
2835+ "required": true,
2836+ "location": "path"
2837+ },
2838+ "domainName": {
2839+ "type": "string",
2840+ "description": "Name of domain to be retrieved",
2841+ "required": true,
2842+ "location": "path"
2843+ }
2844+ },
2845+ "parameterOrder": [
2846+ "customer",
2847+ "domainName"
2848+ ],
2849+ "response": {
2850+ "$ref": "Domains"
2851+ },
2852+ "scopes": [
2853+ "https://www.googleapis.com/auth/admin.directory.domain",
2854+ "https://www.googleapis.com/auth/admin.directory.domain.readonly"
2855+ ]
2856+ },
2857+ "insert": {
2858+ "id": "directory.domains.insert",
2859+ "path": "customer/{customer}/domains",
2860+ "httpMethod": "POST",
2861+ "description": "Inserts a domain of the customer.",
2862+ "parameters": {
2863+ "customer": {
2864+ "type": "string",
2865+ "description": "Immutable id of the Google Apps account.",
2866+ "required": true,
2867+ "location": "path"
2868+ }
2869+ },
2870+ "parameterOrder": [
2871+ "customer"
2872+ ],
2873+ "request": {
2874+ "$ref": "Domains"
2875+ },
2876+ "response": {
2877+ "$ref": "Domains"
2878+ },
2879+ "scopes": [
2880+ "https://www.googleapis.com/auth/admin.directory.domain"
2881+ ]
2882+ },
2883+ "list": {
2884+ "id": "directory.domains.list",
2885+ "path": "customer/{customer}/domains",
2886+ "httpMethod": "GET",
2887+ "description": "Lists the domains of the customer.",
2888+ "parameters": {
2889+ "customer": {
2890+ "type": "string",
2891+ "description": "Immutable id of the Google Apps account.",
2892+ "required": true,
2893+ "location": "path"
2894+ }
2895+ },
2896+ "parameterOrder": [
2897+ "customer"
2898+ ],
2899+ "response": {
2900+ "$ref": "Domains2"
21272901 },
21282902 "scopes": [
2129− "https://www.googleapis.com/auth/admin.directory.device.chromeos"
2903+ "https://www.googleapis.com/auth/admin.directory.domain",
2904+ "https://www.googleapis.com/auth/admin.directory.domain.readonly"
21302905 ]
21312906 }
21322907 }
@@ -3142,6 +3917,360 @@
31423917 }
31433918 }
31443919 },
3920+ "privileges": {
3921+ "methods": {
3922+ "list": {
3923+ "id": "directory.privileges.list",
3924+ "path": "customer/{customer}/roles/ALL/privileges",
3925+ "httpMethod": "GET",
3926+ "description": "Retrieves a paginated list of all privileges for a customer.",
3927+ "parameters": {
3928+ "customer": {
3929+ "type": "string",
3930+ "description": "Immutable ID of the Google Apps account.",
3931+ "required": true,
3932+ "location": "path"
3933+ }
3934+ },
3935+ "parameterOrder": [
3936+ "customer"
3937+ ],
3938+ "response": {
3939+ "$ref": "Privileges"
3940+ },
3941+ "scopes": [
3942+ "https://www.googleapis.com/auth/admin.directory.rolemanagement",
3943+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
3944+ ]
3945+ }
3946+ }
3947+ },
3948+ "roleAssignments": {
3949+ "methods": {
3950+ "delete": {
3951+ "id": "directory.roleAssignments.delete",
3952+ "path": "customer/{customer}/roleassignments/{roleAssignmentId}",
3953+ "httpMethod": "DELETE",
3954+ "description": "Deletes a role assignment.",
3955+ "parameters": {
3956+ "customer": {
3957+ "type": "string",
3958+ "description": "Immutable ID of the Google Apps account.",
3959+ "required": true,
3960+ "location": "path"
3961+ },
3962+ "roleAssignmentId": {
3963+ "type": "string",
3964+ "description": "Immutable ID of the role assignment.",
3965+ "required": true,
3966+ "location": "path"
3967+ }
3968+ },
3969+ "parameterOrder": [
3970+ "customer",
3971+ "roleAssignmentId"
3972+ ],
3973+ "scopes": [
3974+ "https://www.googleapis.com/auth/admin.directory.rolemanagement"
3975+ ]
3976+ },
3977+ "get": {
3978+ "id": "directory.roleAssignments.get",
3979+ "path": "customer/{customer}/roleassignments/{roleAssignmentId}",
3980+ "httpMethod": "GET",
3981+ "description": "Retrieve a role assignment.",
3982+ "parameters": {
3983+ "customer": {
3984+ "type": "string",
3985+ "description": "Immutable ID of the Google Apps account.",
3986+ "required": true,
3987+ "location": "path"
3988+ },
3989+ "roleAssignmentId": {
3990+ "type": "string",
3991+ "description": "Immutable ID of the role assignment.",
3992+ "required": true,
3993+ "location": "path"
3994+ }
3995+ },
3996+ "parameterOrder": [
3997+ "customer",
3998+ "roleAssignmentId"
3999+ ],
4000+ "response": {
4001+ "$ref": "RoleAssignment"
4002+ },
4003+ "scopes": [
4004+ "https://www.googleapis.com/auth/admin.directory.rolemanagement",
4005+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
4006+ ]
4007+ },
4008+ "insert": {
4009+ "id": "directory.roleAssignments.insert",
4010+ "path": "customer/{customer}/roleassignments",
4011+ "httpMethod": "POST",
4012+ "description": "Creates a role assignment.",
4013+ "parameters": {
4014+ "customer": {
4015+ "type": "string",
4016+ "description": "Immutable ID of the Google Apps account.",
4017+ "required": true,
4018+ "location": "path"
4019+ }
4020+ },
4021+ "parameterOrder": [
4022+ "customer"
4023+ ],
4024+ "request": {
4025+ "$ref": "RoleAssignment"
4026+ },
4027+ "response": {
4028+ "$ref": "RoleAssignment"
4029+ },
4030+ "scopes": [
4031+ "https://www.googleapis.com/auth/admin.directory.rolemanagement"
4032+ ]
4033+ },
4034+ "list": {
4035+ "id": "directory.roleAssignments.list",
4036+ "path": "customer/{customer}/roleassignments",
4037+ "httpMethod": "GET",
4038+ "description": "Retrieves a paginated list of all roleAssignments.",
4039+ "parameters": {
4040+ "customer": {
4041+ "type": "string",
4042+ "description": "Immutable ID of the Google Apps account.",
4043+ "required": true,
4044+ "location": "path"
4045+ },
4046+ "maxResults": {
4047+ "type": "integer",
4048+ "description": "Maximum number of results to return.",
4049+ "format": "int32",
4050+ "minimum": "1",
4051+ "maximum": "200",
4052+ "location": "query"
4053+ },
4054+ "pageToken": {
4055+ "type": "string",
4056+ "description": "Token to specify the next page in the list.",
4057+ "location": "query"
4058+ },
4059+ "roleId": {
4060+ "type": "string",
4061+ "description": "Immutable ID of a role. If included in the request, returns only role assignments containing this role ID.",
4062+ "location": "query"
4063+ },
4064+ "userKey": {
4065+ "type": "string",
4066+ "description": "The user's primary email address, alias email address, or unique user ID. If included in the request, returns role assignments only for this user.",
4067+ "location": "query"
4068+ }
4069+ },
4070+ "parameterOrder": [
4071+ "customer"
4072+ ],
4073+ "response": {
4074+ "$ref": "RoleAssignments"
4075+ },
4076+ "scopes": [
4077+ "https://www.googleapis.com/auth/admin.directory.rolemanagement",
4078+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
4079+ ]
4080+ }
4081+ }
4082+ },
4083+ "roles": {
4084+ "methods": {
4085+ "delete": {
4086+ "id": "directory.roles.delete",
4087+ "path": "customer/{customer}/roles/{roleId}",
4088+ "httpMethod": "DELETE",
4089+ "description": "Deletes a role.",
4090+ "parameters": {
4091+ "customer": {
4092+ "type": "string",
4093+ "description": "Immutable ID of the Google Apps account.",
4094+ "required": true,
4095+ "location": "path"
4096+ },
4097+ "roleId": {
4098+ "type": "string",
4099+ "description": "Immutable ID of the role.",
4100+ "required": true,
4101+ "location": "path"
4102+ }
4103+ },
4104+ "parameterOrder": [
4105+ "customer",
4106+ "roleId"
4107+ ],
4108+ "scopes": [
4109+ "https://www.googleapis.com/auth/admin.directory.rolemanagement"
4110+ ]
4111+ },
4112+ "get": {
4113+ "id": "directory.roles.get",
4114+ "path": "customer/{customer}/roles/{roleId}",
4115+ "httpMethod": "GET",
4116+ "description": "Retrieves a role.",
4117+ "parameters": {
4118+ "customer": {
4119+ "type": "string",
4120+ "description": "Immutable ID of the Google Apps account.",
4121+ "required": true,
4122+ "location": "path"
4123+ },
4124+ "roleId": {
4125+ "type": "string",
4126+ "description": "Immutable ID of the role.",
4127+ "required": true,
4128+ "location": "path"
4129+ }
4130+ },
4131+ "parameterOrder": [
4132+ "customer",
4133+ "roleId"
4134+ ],
4135+ "response": {
4136+ "$ref": "Role"
4137+ },
4138+ "scopes": [
4139+ "https://www.googleapis.com/auth/admin.directory.rolemanagement",
4140+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
4141+ ]
4142+ },
4143+ "insert": {
4144+ "id": "directory.roles.insert",
4145+ "path": "customer/{customer}/roles",
4146+ "httpMethod": "POST",
4147+ "description": "Creates a role.",
4148+ "parameters": {
4149+ "customer": {
4150+ "type": "string",
4151+ "description": "Immutable ID of the Google Apps account.",
4152+ "required": true,
4153+ "location": "path"
4154+ }
4155+ },
4156+ "parameterOrder": [
4157+ "customer"
4158+ ],
4159+ "request": {
4160+ "$ref": "Role"
4161+ },
4162+ "response": {
4163+ "$ref": "Role"
4164+ },
4165+ "scopes": [
4166+ "https://www.googleapis.com/auth/admin.directory.rolemanagement"
4167+ ]
4168+ },
4169+ "list": {
4170+ "id": "directory.roles.list",
4171+ "path": "customer/{customer}/roles",
4172+ "httpMethod": "GET",
4173+ "description": "Retrieves a paginated list of all the roles in a domain.",
4174+ "parameters": {
4175+ "customer": {
4176+ "type": "string",
4177+ "description": "Immutable id of the Google Apps account.",
4178+ "required": true,
4179+ "location": "path"
4180+ },
4181+ "maxResults": {
4182+ "type": "integer",
4183+ "description": "Maximum number of results to return.",
4184+ "format": "int32",
4185+ "minimum": "1",
4186+ "maximum": "100",
4187+ "location": "query"
4188+ },
4189+ "pageToken": {
4190+ "type": "string",
4191+ "description": "Token to specify the next page in the list.",
4192+ "location": "query"
4193+ }
4194+ },
4195+ "parameterOrder": [
4196+ "customer"
4197+ ],
4198+ "response": {
4199+ "$ref": "Roles"
4200+ },
4201+ "scopes": [
4202+ "https://www.googleapis.com/auth/admin.directory.rolemanagement",
4203+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
4204+ ]
4205+ },
4206+ "patch": {
4207+ "id": "directory.roles.patch",
4208+ "path": "customer/{customer}/roles/{roleId}",
4209+ "httpMethod": "PATCH",
4210+ "description": "Updates a role. This method supports patch semantics.",
4211+ "parameters": {
4212+ "customer": {
4213+ "type": "string",
4214+ "description": "Immutable ID of the Google Apps account.",
4215+ "required": true,
4216+ "location": "path"
4217+ },
4218+ "roleId": {
4219+ "type": "string",
4220+ "description": "Immutable ID of the role.",
4221+ "required": true,
4222+ "location": "path"
4223+ }
4224+ },
4225+ "parameterOrder": [
4226+ "customer",
4227+ "roleId"
4228+ ],
4229+ "request": {
4230+ "$ref": "Role"
4231+ },
4232+ "response": {
4233+ "$ref": "Role"
4234+ },
4235+ "scopes": [
4236+ "https://www.googleapis.com/auth/admin.directory.rolemanagement"
4237+ ]
4238+ },
4239+ "update": {
4240+ "id": "directory.roles.update",
4241+ "path": "customer/{customer}/roles/{roleId}",
4242+ "httpMethod": "PUT",
4243+ "description": "Updates a role.",
4244+ "parameters": {
4245+ "customer": {
4246+ "type": "string",
4247+ "description": "Immutable ID of the Google Apps account.",
4248+ "required": true,
4249+ "location": "path"
4250+ },
4251+ "roleId": {
4252+ "type": "string",
4253+ "description": "Immutable ID of the role.",
4254+ "required": true,
4255+ "location": "path"
4256+ }
4257+ },
4258+ "parameterOrder": [
4259+ "customer",
4260+ "roleId"
4261+ ],
4262+ "request": {
4263+ "$ref": "Role"
4264+ },
4265+ "response": {
4266+ "$ref": "Role"
4267+ },
4268+ "scopes": [
4269+ "https://www.googleapis.com/auth/admin.directory.rolemanagement"
4270+ ]
4271+ }
4272+ }
4273+ },
31454274 "schemas": {
31464275 "methods": {
31474276 "delete": {
gen/model/adsense/v1.4/adsense-api.json+6−2
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wiZb5dkU0x3zrMckXzFKcTNAp8w\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/0LJdy3bhVfuPDmaGtJK4_nceDoU\"",
44 "discoveryVersion": "v1",
55 "id": "adsense:v1.4",
66 "name": "adsense",
77 "canonicalName": "AdSense",
88 "version": "v1.4",
9− "revision": "20141218",
9+ "revision": "20151013",
1010 "title": "AdSense Management API",
1111 "description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
1212 "ownerDomain": "google.com",
@@ -86,6 +86,10 @@
8686 "id": "Account",
8787 "type": "object",
8888 "properties": {
89+ "creation_time": {
90+ "type": "string",
91+ "format": "int64"
92+ },
8993 "id": {
9094 "type": "string",
9195 "description": "Unique identifier of this account."
gen/model/books/v1/books-api.json+192−3
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/5UMRPQM2lE_tfb1BMv9TTmTYYF8\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/NfC6HUSyutjMUJzqUOocETnJU2I\"",
44 "discoveryVersion": "v1",
55 "id": "books:v1",
66 "name": "books",
77 "version": "v1",
8− "revision": "20150318",
8+ "revision": "20150921",
99 "title": "Books API",
1010 "description": "Lets you search for books and manage your Google Books library.",
1111 "ownerDomain": "google.com",
@@ -750,6 +750,71 @@
750750 }
751751 }
752752 },
753+ "Discoveryclusters": {
754+ "id": "Discoveryclusters",
755+ "type": "object",
756+ "properties": {
757+ "clusters": {
758+ "type": "array",
759+ "items": {
760+ "type": "object",
761+ "properties": {
762+ "banner_with_content_container": {
763+ "type": "object",
764+ "properties": {
765+ "fillColorArgb": {
766+ "type": "string"
767+ },
768+ "imageUrl": {
769+ "type": "string"
770+ },
771+ "maskColorArgb": {
772+ "type": "string"
773+ },
774+ "moreButtonText": {
775+ "type": "string"
776+ },
777+ "moreButtonUrl": {
778+ "type": "string"
779+ },
780+ "textColorArgb": {
781+ "type": "string"
782+ }
783+ }
784+ },
785+ "subTitle": {
786+ "type": "string"
787+ },
788+ "title": {
789+ "type": "string"
790+ },
791+ "totalVolumes": {
792+ "type": "integer",
793+ "format": "int32"
794+ },
795+ "uid": {
796+ "type": "string"
797+ },
798+ "volumes": {
799+ "type": "array",
800+ "items": {
801+ "$ref": "Volume"
802+ }
803+ }
804+ }
805+ }
806+ },
807+ "kind": {
808+ "type": "string",
809+ "description": "Resorce type.",
810+ "default": "books#discovery#clusters"
811+ },
812+ "totalClusters": {
813+ "type": "integer",
814+ "format": "int32"
815+ }
816+ }
817+ },
753818 "DownloadAccessRestriction": {
754819 "id": "DownloadAccessRestriction",
755820 "type": "object",
@@ -1069,6 +1134,29 @@
10691134 }
10701135 }
10711136 },
1137+ "Notification": {
1138+ "id": "Notification",
1139+ "type": "object",
1140+ "properties": {
1141+ "body": {
1142+ "type": "string"
1143+ },
1144+ "iconUrl": {
1145+ "type": "string"
1146+ },
1147+ "kind": {
1148+ "type": "string",
1149+ "description": "Resource type.",
1150+ "default": "books#notification"
1151+ },
1152+ "linkUrl": {
1153+ "type": "string"
1154+ },
1155+ "title": {
1156+ "type": "string"
1157+ }
1158+ }
1159+ },
10721160 "Offers": {
10731161 "id": "Offers",
10741162 "type": "object",
@@ -1266,6 +1354,19 @@
12661354 "type": "boolean"
12671355 }
12681356 }
1357+ },
1358+ "notification": {
1359+ "type": "object",
1360+ "properties": {
1361+ "moreFromAuthors": {
1362+ "type": "object",
1363+ "properties": {
1364+ "opted_state": {
1365+ "type": "string"
1366+ }
1367+ }
1368+ }
1369+ }
12691370 }
12701371 }
12711372 },
@@ -1537,6 +1638,11 @@
15371638 "type": "object",
15381639 "description": "User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)",
15391640 "properties": {
1641+ "acquisitionType": {
1642+ "type": "integer",
1643+ "description": "How this volume was acquired.",
1644+ "format": "int32"
1645+ },
15401646 "copy": {
15411647 "type": "object",
15421648 "description": "Copy/Paste accounting information.",
@@ -1558,6 +1664,11 @@
15581664 }
15591665 }
15601666 },
1667+ "entitlementType": {
1668+ "type": "integer",
1669+ "description": "Whether this volume is purchased, sample, pd download etc.",
1670+ "format": "int32"
1671+ },
15611672 "isInMyBooks": {
15621673 "type": "boolean",
15631674 "description": "Whether or not this volume is currently in \"my books.\""
@@ -2153,7 +2264,7 @@
21532264 "id": "books.dictionary.listOfflineMetadata",
21542265 "path": "dictionary/listOfflineMetadata",
21552266 "httpMethod": "GET",
2156− "description": "Returns a list of offline dictionary meatadata available",
2267+ "description": "Returns a list of offline dictionary metadata available",
21572268 "parameters": {
21582269 "cpksver": {
21592270 "type": "string",
@@ -3379,6 +3490,43 @@
33793490 }
33803491 }
33813492 },
3493+ "notification": {
3494+ "methods": {
3495+ "get": {
3496+ "id": "books.notification.get",
3497+ "path": "notification/get",
3498+ "httpMethod": "GET",
3499+ "description": "Returns notification details for a given notification id.",
3500+ "parameters": {
3501+ "locale": {
3502+ "type": "string",
3503+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.",
3504+ "location": "query"
3505+ },
3506+ "notification_id": {
3507+ "type": "string",
3508+ "description": "String to identify the notification.",
3509+ "required": true,
3510+ "location": "query"
3511+ },
3512+ "source": {
3513+ "type": "string",
3514+ "description": "String to identify the originator of this request.",
3515+ "location": "query"
3516+ }
3517+ },
3518+ "parameterOrder": [
3519+ "notification_id"
3520+ ],
3521+ "response": {
3522+ "$ref": "Notification"
3523+ },
3524+ "scopes": [
3525+ "https://www.googleapis.com/auth/books"
3526+ ]
3527+ }
3528+ }
3529+ },
33823530 "onboarding": {
33833531 "methods": {
33843532 "listCategories": {
@@ -3451,6 +3599,47 @@
34513599 }
34523600 }
34533601 },
3602+ "personalizedstream": {
3603+ "methods": {
3604+ "get": {
3605+ "id": "books.personalizedstream.get",
3606+ "path": "personalizedstream/get",
3607+ "httpMethod": "GET",
3608+ "description": "Returns a stream of personalized book clusters",
3609+ "parameters": {
3610+ "locale": {
3611+ "type": "string",
3612+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
3613+ "location": "query"
3614+ },
3615+ "maxAllowedMaturityRating": {
3616+ "type": "string",
3617+ "description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.",
3618+ "enum": [
3619+ "mature",
3620+ "not-mature"
3621+ ],
3622+ "enumDescriptions": [
3623+ "Show books which are rated mature or lower.",
3624+ "Show books which are rated not mature."
3625+ ],
3626+ "location": "query"
3627+ },
3628+ "source": {
3629+ "type": "string",
3630+ "description": "String to identify the originator of this request.",
3631+ "location": "query"
3632+ }
3633+ },
3634+ "response": {
3635+ "$ref": "Discoveryclusters"
3636+ },
3637+ "scopes": [
3638+ "https://www.googleapis.com/auth/books"
3639+ ]
3640+ }
3641+ }
3642+ },
34543643 "promooffer": {
34553644 "methods": {
34563645 "accept": {
gen/model/classroom/v1/classroom-api.json+48−48
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/a7glJKXV_1EpKBuLLJ6YFVdOXN0\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VbFh0P5gIX42P6rhPLVK-GI_3-Y\"",
44 "discoveryVersion": "v1",
55 "id": "classroom:v1",
66 "name": "classroom",
77 "version": "v1",
8− "revision": "20150913",
8+ "revision": "20151013",
99 "title": "Google Classroom API",
1010 "description": "Google Classroom API",
1111 "ownerDomain": "google.com",
@@ -132,7 +132,7 @@
132132 "properties": {
133133 "id": {
134134 "type": "string",
135− "description": "Identifier for this course assigned by Classroom. When [creating a course][google.classroom.v1.Courses.CreateCourse], you may optionally set this identifier to an [alias string][google.classroom.v1.CourseAlias] in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask will result in an error."
135+ "description": "Identifier for this course assigned by Classroom. When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask will result in an error."
136136 },
137137 "name": {
138138 "type": "string",
@@ -156,7 +156,7 @@
156156 },
157157 "ownerId": {
158158 "type": "string",
159− "description": "The identifier of the owner of a course. When specified as a parameter of a [create course request][google.classroom.v1.Courses.CreateCourse], this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user This must be set in a create request. Specifying this field in a course update mask will result in an `INVALID_ARGUMENT` error."
159+ "description": "The identifier of the owner of a course. When specified as a parameter of a create course request, this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user This must be set in a create request. Specifying this field in a course update mask will result in an `INVALID_ARGUMENT` error."
160160 },
161161 "creationTime": {
162162 "type": "string",
@@ -431,7 +431,7 @@
431431 "id": "classroom.courses.create",
432432 "path": "v1/courses",
433433 "httpMethod": "POST",
434− "description": "Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled. * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.",
434+ "description": "Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled or for the following request errors: * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.",
435435 "request": {
436436 "$ref": "Course"
437437 },
@@ -446,11 +446,11 @@
446446 "id": "classroom.courses.get",
447447 "path": "v1/courses/{id}",
448448 "httpMethod": "GET",
449− "description": "Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no course exists with the requested ID.",
449+ "description": "Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.",
450450 "parameters": {
451451 "id": {
452452 "type": "string",
453− "description": "Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
453+ "description": "Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an alias.",
454454 "required": true,
455455 "location": "path"
456456 }
@@ -470,11 +470,11 @@
470470 "id": "classroom.courses.update",
471471 "path": "v1/courses/{id}",
472472 "httpMethod": "PUT",
473− "description": "Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no course exists with the requested ID.",
473+ "description": "Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable",
474474 "parameters": {
475475 "id": {
476476 "type": "string",
477− "description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
477+ "description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.",
478478 "required": true,
479479 "location": "path"
480480 }
@@ -496,11 +496,11 @@
496496 "id": "classroom.courses.patch",
497497 "path": "v1/courses/{id}",
498498 "httpMethod": "PATCH",
499− "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.",
499+ "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable",
500500 "parameters": {
501501 "id": {
502502 "type": "string",
503− "description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
503+ "description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.",
504504 "required": true,
505505 "location": "path"
506506 },
@@ -527,11 +527,11 @@
527527 "id": "classroom.courses.delete",
528528 "path": "v1/courses/{id}",
529529 "httpMethod": "DELETE",
530− "description": "Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no course exists with the requested ID.",
530+ "description": "Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.",
531531 "parameters": {
532532 "id": {
533533 "type": "string",
534− "description": "Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
534+ "description": "Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an alias.",
535535 "required": true,
536536 "location": "path"
537537 }
@@ -550,7 +550,7 @@
550550 "id": "classroom.courses.list",
551551 "path": "v1/courses",
552552 "httpMethod": "GET",
553− "description": "Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. This method returns the following error codes: * `PERMISSION_DENIED` for [general user permission errors][User Permission Errors]. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.",
553+ "description": "Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.",
554554 "parameters": {
555555 "studentId": {
556556 "type": "string",
@@ -570,7 +570,7 @@
570570 },
571571 "pageToken": {
572572 "type": "string",
573− "description": "[nextPageToken][google.classroom.v1.ListCoursesResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Courses.ListCourses] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Courses.ListCourses] request must be otherwise identical to the one that resulted in this token.",
573+ "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
574574 "location": "query"
575575 }
576576 },
@@ -590,11 +590,11 @@
590590 "id": "classroom.courses.aliases.create",
591591 "path": "v1/courses/{courseId}/aliases",
592592 "httpMethod": "POST",
593− "description": "Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists.",
593+ "description": "Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias or for access errors. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists.",
594594 "parameters": {
595595 "courseId": {
596596 "type": "string",
597− "description": "Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
597+ "description": "Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an alias.",
598598 "required": true,
599599 "location": "path"
600600 }
@@ -616,11 +616,11 @@
616616 "id": "classroom.courses.aliases.delete",
617617 "path": "v1/courses/{courseId}/aliases/{alias}",
618618 "httpMethod": "DELETE",
619− "description": "Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the alias does not exist.",
619+ "description": "Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for access errors. * `NOT_FOUND` if the alias does not exist.",
620620 "parameters": {
621621 "courseId": {
622622 "type": "string",
623− "description": "Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
623+ "description": "Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an alias.",
624624 "required": true,
625625 "location": "path"
626626 },
@@ -646,11 +646,11 @@
646646 "id": "classroom.courses.aliases.list",
647647 "path": "v1/courses/{courseId}/aliases",
648648 "httpMethod": "GET",
649− "description": "Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the course does not exist.",
649+ "description": "Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course or for access errors. * `NOT_FOUND` if the course does not exist.",
650650 "parameters": {
651651 "courseId": {
652652 "type": "string",
653− "description": "The identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
653+ "description": "The identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
654654 "required": true,
655655 "location": "path"
656656 },
@@ -662,7 +662,7 @@
662662 },
663663 "pageToken": {
664664 "type": "string",
665− "description": "[nextPageToken][google.classroom.v1.ListCourseAliasesResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Courses.ListCourseAliases] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Courses.ListCourseAliases] request must be otherwise identical to the one that resulted in this token.",
665+ "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
666666 "location": "query"
667667 }
668668 },
@@ -685,11 +685,11 @@
685685 "id": "classroom.courses.teachers.create",
686686 "path": "v1/courses/{courseId}/teachers",
687687 "httpMethod": "POST",
688− "description": "Creates a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled. * `ALREADY_EXISTS` if the user is already a teacher or student in the course.",
688+ "description": "Creates a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a teacher or student in the course.",
689689 "parameters": {
690690 "courseId": {
691691 "type": "string",
692− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
692+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
693693 "required": true,
694694 "location": "path"
695695 }
@@ -713,11 +713,11 @@
713713 "id": "classroom.courses.teachers.get",
714714 "path": "v1/courses/{courseId}/teachers/{userId}",
715715 "httpMethod": "GET",
716− "description": "Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.",
716+ "description": "Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.",
717717 "parameters": {
718718 "courseId": {
719719 "type": "string",
720− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
720+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
721721 "required": true,
722722 "location": "path"
723723 },
@@ -746,11 +746,11 @@
746746 "id": "classroom.courses.teachers.delete",
747747 "path": "v1/courses/{courseId}/teachers/{userId}",
748748 "httpMethod": "DELETE",
749− "description": "Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course.",
749+ "description": "Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course.",
750750 "parameters": {
751751 "courseId": {
752752 "type": "string",
753− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
753+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
754754 "required": true,
755755 "location": "path"
756756 },
@@ -776,11 +776,11 @@
776776 "id": "classroom.courses.teachers.list",
777777 "path": "v1/courses/{courseId}/teachers",
778778 "httpMethod": "GET",
779− "description": "Returns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for [general user permission errors][User Permission Errors].",
779+ "description": "Returns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.",
780780 "parameters": {
781781 "courseId": {
782782 "type": "string",
783− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
783+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
784784 "required": true,
785785 "location": "path"
786786 },
@@ -792,7 +792,7 @@
792792 },
793793 "pageToken": {
794794 "type": "string",
795− "description": "[nextPageToken][google.classroom.v1.ListTeachersResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Users.ListTeachers] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Users.ListTeachers] request must be otherwise identical to the one that resulted in this token.",
795+ "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
796796 "location": "query"
797797 }
798798 },
@@ -817,17 +817,17 @@
817817 "id": "classroom.courses.students.create",
818818 "path": "v1/courses/{courseId}/students",
819819 "httpMethod": "POST",
820− "description": "Adds a user as a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled. * `ALREADY_EXISTS` if the user is already a student or teacher in the course.",
820+ "description": "Adds a user as a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a student or teacher in the course.",
821821 "parameters": {
822822 "courseId": {
823823 "type": "string",
824− "description": "Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
824+ "description": "Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an alias.",
825825 "required": true,
826826 "location": "path"
827827 },
828828 "enrollmentCode": {
829829 "type": "string",
830− "description": "Enrollment code of the course to create the student in. This code is required if [userId][google.classroom.v1.Student.user_id] corresponds to the requesting user; it may be omitted if the requesting user has administrative permissions to create students for any user.",
830+ "description": "Enrollment code of the course to create the student in. This code is required if userId corresponds to the requesting user; it may be omitted if the requesting user has administrative permissions to create students for any user.",
831831 "location": "query"
832832 }
833833 },
@@ -850,11 +850,11 @@
850850 "id": "classroom.courses.students.get",
851851 "path": "v1/courses/{courseId}/students/{userId}",
852852 "httpMethod": "GET",
853− "description": "Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.",
853+ "description": "Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.",
854854 "parameters": {
855855 "courseId": {
856856 "type": "string",
857− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
857+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
858858 "required": true,
859859 "location": "path"
860860 },
@@ -883,11 +883,11 @@
883883 "id": "classroom.courses.students.delete",
884884 "path": "v1/courses/{courseId}/students/{userId}",
885885 "httpMethod": "DELETE",
886− "description": "Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.",
886+ "description": "Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.",
887887 "parameters": {
888888 "courseId": {
889889 "type": "string",
890− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
890+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
891891 "required": true,
892892 "location": "path"
893893 },
@@ -913,11 +913,11 @@
913913 "id": "classroom.courses.students.list",
914914 "path": "v1/courses/{courseId}/students",
915915 "httpMethod": "GET",
916− "description": "Returns a list of students of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for [general user permission errors][User Permission Errors].",
916+ "description": "Returns a list of students of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.",
917917 "parameters": {
918918 "courseId": {
919919 "type": "string",
920− "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].",
920+ "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
921921 "required": true,
922922 "location": "path"
923923 },
@@ -929,7 +929,7 @@
929929 },
930930 "pageToken": {
931931 "type": "string",
932− "description": "[nextPageToken][google.classroom.v1.ListStudentsResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Users.ListStudents] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Users.ListStudents] request must be otherwise identical to the one that resulted in this token.",
932+ "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
933933 "location": "query"
934934 }
935935 },
@@ -956,7 +956,7 @@
956956 "id": "classroom.invitations.create",
957957 "path": "v1/invitations",
958958 "httpMethod": "POST",
959− "description": "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled or if the user already has this role or a role with greater permissions. * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.",
959+ "description": "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled or if the user already has this role or a role with greater permissions. * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.",
960960 "request": {
961961 "$ref": "Invitation"
962962 },
@@ -971,7 +971,7 @@
971971 "id": "classroom.invitations.get",
972972 "path": "v1/invitations/{id}",
973973 "httpMethod": "GET",
974− "description": "Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no invitation exists with the requested ID.",
974+ "description": "Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.",
975975 "parameters": {
976976 "id": {
977977 "type": "string",
@@ -995,7 +995,7 @@
995995 "id": "classroom.invitations.delete",
996996 "path": "v1/invitations/{id}",
997997 "httpMethod": "DELETE",
998− "description": "Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no invitation exists with the requested ID.",
998+ "description": "Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.",
999999 "parameters": {
10001000 "id": {
10011001 "type": "string",
@@ -1018,7 +1018,7 @@
10181018 "id": "classroom.invitations.list",
10191019 "path": "v1/invitations",
10201020 "httpMethod": "GET",
1021− "description": "Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `course_id` must be supplied. Both fields can be supplied. This method returns the following error codes: * `PERMISSION_DENIED` for [general user permission errors][User Permission Errors].",
1021+ "description": "Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `course_id` must be supplied. Both fields can be supplied. This method returns the following error codes: * `PERMISSION_DENIED` for access errors.",
10221022 "parameters": {
10231023 "userId": {
10241024 "type": "string",
@@ -1038,7 +1038,7 @@
10381038 },
10391039 "pageToken": {
10401040 "type": "string",
1041− "description": "[nextPageToken][google.classroom.v1.ListInvitationsResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Invitations.ListInvitations] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Invitations.ListInvitations] request must be otherwise identical to the one that resulted in this token.",
1041+ "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
10421042 "location": "query"
10431043 }
10441044 },
@@ -1054,7 +1054,7 @@
10541054 "id": "classroom.invitations.accept",
10551055 "path": "v1/invitations/{id}:accept",
10561056 "httpMethod": "POST",
1057− "description": "Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation or for [general user permission errors][User Permission Errors]. * `NOT_FOUND` if no invitation exists with the requested ID.",
1057+ "description": "Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation or for access errors. * `FAILED_PRECONDITION` for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists with the requested ID.",
10581058 "parameters": {
10591059 "id": {
10601060 "type": "string",
@@ -1081,7 +1081,7 @@
10811081 "id": "classroom.userProfiles.get",
10821082 "path": "v1/userProfiles/{userId}",
10831083 "httpMethod": "GET",
1084− "description": "Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile or if no profile exists with the requested ID or for [general user permission errors][User Permission Errors].",
1084+ "description": "Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile or if no profile exists with the requested ID or for access errors.",
10851085 "parameters": {
10861086 "userId": {
10871087 "type": "string",
gen/model/cloudtrace/v1/cloudtrace-api.jsonnew file+385
@@ -0,0 +1,385 @@
1+{
2+ "kind": "discovery#restDescription",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/aRfd7FZnMyWmSYyC0t8ruQh7iCI\"",
4+ "discoveryVersion": "v1",
5+ "id": "cloudtrace:v1",
6+ "name": "cloudtrace",
7+ "version": "v1",
8+ "revision": "20150825",
9+ "title": "Google Cloud Trace API",
10+ "description": "The Google Cloud Trace API provides services for reading and writing runtime trace data for Cloud applications.",
11+ "ownerDomain": "google.com",
12+ "ownerName": "Google",
13+ "icons": {
14+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
15+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
16+ },
17+ "documentationLink": "https://cloud.google.com/tools/cloud-trace",
18+ "protocol": "rest",
19+ "baseUrl": "https://cloudtrace.googleapis.com/",
20+ "basePath": "/",
21+ "rootUrl": "https://cloudtrace.googleapis.com/",
22+ "servicePath": "",
23+ "batchPath": "batch",
24+ "parameters": {
25+ "access_token": {
26+ "type": "string",
27+ "description": "OAuth access token.",
28+ "location": "query"
29+ },
30+ "alt": {
31+ "type": "string",
32+ "description": "Data format for response.",
33+ "default": "json",
34+ "enumDescriptions": [
35+ "Responses with Content-Type of application/json",
36+ "Media download with context-dependent Content-Type",
37+ "Responses with Content-Type of application/x-protobuf"
38+ ],
39+ "location": "query"
40+ },
41+ "bearer_token": {
42+ "type": "string",
43+ "description": "OAuth bearer token.",
44+ "location": "query"
45+ },
46+ "callback": {
47+ "type": "string",
48+ "description": "JSONP",
49+ "location": "query"
50+ },
51+ "fields": {
52+ "type": "string",
53+ "description": "Selector specifying which fields to include in a partial response.",
54+ "location": "query"
55+ },
56+ "key": {
57+ "type": "string",
58+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
59+ "location": "query"
60+ },
61+ "oauth_token": {
62+ "type": "string",
63+ "description": "OAuth 2.0 token for the current user.",
64+ "location": "query"
65+ },
66+ "pp": {
67+ "type": "boolean",
68+ "description": "Pretty-print response.",
69+ "default": "true",
70+ "location": "query"
71+ },
72+ "prettyPrint": {
73+ "type": "boolean",
74+ "description": "Returns response with indentations and line breaks.",
75+ "default": "true",
76+ "location": "query"
77+ },
78+ "quotaUser": {
79+ "type": "string",
80+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
81+ "location": "query"
82+ },
83+ "upload_protocol": {
84+ "type": "string",
85+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
86+ "location": "query"
87+ },
88+ "uploadType": {
89+ "type": "string",
90+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
91+ "location": "query"
92+ },
93+ "$.xgafv": {
94+ "type": "string",
95+ "description": "V1 error format.",
96+ "enumDescriptions": [
97+ "v1 error format",
98+ "v2 error format"
99+ ],
100+ "location": "query"
101+ }
102+ },
103+ "auth": {
104+ "oauth2": {
105+ "scopes": {
106+ "https://www.googleapis.com/auth/cloud-platform": {
107+ "description": "View and manage your data across Google Cloud Platform services"
108+ }
109+ }
110+ }
111+ },
112+ "schemas": {
113+ "ListTracesResponse": {
114+ "id": "ListTracesResponse",
115+ "type": "object",
116+ "description": "The response message for the ListTraces method.",
117+ "properties": {
118+ "traces": {
119+ "type": "array",
120+ "description": "The list of trace records returned.",
121+ "items": {
122+ "$ref": "Trace"
123+ }
124+ },
125+ "nextPageToken": {
126+ "type": "string",
127+ "description": "If defined, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequest to continue."
128+ }
129+ }
130+ },
131+ "Trace": {
132+ "id": "Trace",
133+ "type": "object",
134+ "description": "A Trace is a collection of spans describing the execution timings of a single operation.",
135+ "properties": {
136+ "projectId": {
137+ "type": "string",
138+ "description": "The Project ID of the Google Cloud project."
139+ },
140+ "traceId": {
141+ "type": "string",
142+ "description": "A 128-bit numeric value, formatted as a 32-byte hex string, that represents a trace. Each trace should have an identifier that is globally unique."
143+ },
144+ "spans": {
145+ "type": "array",
146+ "description": "The collection of span records within this trace. Spans that appear in calls to PatchTraces may be incomplete or partial.",
147+ "items": {
148+ "$ref": "TraceSpan"
149+ }
150+ }
151+ }
152+ },
153+ "TraceSpan": {
154+ "id": "TraceSpan",
155+ "type": "object",
156+ "description": "A span is the data recorded with a single span.",
157+ "properties": {
158+ "spanId": {
159+ "type": "string",
160+ "description": "Identifier of the span within the trace. Each span should have an identifier that is unique per trace.",
161+ "format": "uint64"
162+ },
163+ "kind": {
164+ "type": "string",
165+ "description": "SpanKind distinguishes spans generated in a particular context. For example, two spans with the same name, one with the kind RPC_CLIENT, and the other with RPC_SERVER can indicate the queueing latency associated with the span.",
166+ "enum": [
167+ "SPAN_KIND_UNSPECIFIED",
168+ "RPC_SERVER",
169+ "RPC_CLIENT"
170+ ]
171+ },
172+ "name": {
173+ "type": "string",
174+ "description": "The name of the trace. This is sanitized and displayed on the UI. This may be a method name or some other per-callsite name. For the same binary and the same call point, it is a good practice to choose a consistent name in order to correlate cross-trace spans."
175+ },
176+ "startTime": {
177+ "type": "string",
178+ "description": "The start time of the span in nanoseconds from the UNIX epoch."
179+ },
180+ "endTime": {
181+ "type": "string",
182+ "description": "The end time of the span in nanoseconds from the UNIX epoch."
183+ },
184+ "parentSpanId": {
185+ "type": "string",
186+ "description": "Identifies the parent of the current span. May be missing. Serialized bytes representation of SpanId.",
187+ "format": "uint64"
188+ },
189+ "labels": {
190+ "type": "object",
191+ "description": "Annotations via labels.",
192+ "additionalProperties": {
193+ "type": "string"
194+ }
195+ }
196+ }
197+ },
198+ "Traces": {
199+ "id": "Traces",
200+ "type": "object",
201+ "description": "A list of traces for the PatchTraces method.",
202+ "properties": {
203+ "traces": {
204+ "type": "array",
205+ "description": "A list of traces.",
206+ "items": {
207+ "$ref": "Trace"
208+ }
209+ }
210+ }
211+ },
212+ "Empty": {
213+ "id": "Empty",
214+ "type": "object",
215+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
216+ }
217+ },
218+ "resources": {
219+ "projects": {
220+ "methods": {
221+ "patchTraces": {
222+ "id": "cloudtrace.projects.patchTraces",
223+ "path": "v1/projects/{projectId}/traces",
224+ "httpMethod": "PATCH",
225+ "description": "Updates the existing traces specified by PatchTracesRequest and inserts the new traces. Any existing trace or span fields included in an update are overwritten by the update, and any additional fields in an update are merged with the existing trace data.",
226+ "parameters": {
227+ "projectId": {
228+ "type": "string",
229+ "description": "The project id of the trace to patch.",
230+ "required": true,
231+ "location": "path"
232+ }
233+ },
234+ "parameterOrder": [
235+ "projectId"
236+ ],
237+ "request": {
238+ "$ref": "Traces"
239+ },
240+ "response": {
241+ "$ref": "Empty"
242+ },
243+ "scopes": [
244+ "https://www.googleapis.com/auth/cloud-platform"
245+ ]
246+ }
247+ },
248+ "resources": {
249+ "traces": {
250+ "methods": {
251+ "list": {
252+ "id": "cloudtrace.projects.traces.list",
253+ "path": "v1/projects/{projectId}/traces",
254+ "httpMethod": "GET",
255+ "description": "List traces matching the filter expression.",
256+ "parameters": {
257+ "projectId": {
258+ "type": "string",
259+ "description": "The stringified-version of the project id.",
260+ "required": true,
261+ "location": "path"
262+ },
263+ "view": {
264+ "type": "string",
265+ "description": "ViewType specifies the projection of the result.",
266+ "enum": [
267+ "VIEW_TYPE_UNSPECIFIED",
268+ "MINIMAL",
269+ "ROOTSPAN",
270+ "COMPLETE"
271+ ],
272+ "location": "query"
273+ },
274+ "pageSize": {
275+ "type": "integer",
276+ "description": "Maximum number of topics to return. If not specified or \u003c= 0, the implementation will select a reasonable value. The implemenation may always return fewer than the requested page_size.",
277+ "format": "int32",
278+ "location": "query"
279+ },
280+ "pageToken": {
281+ "type": "string",
282+ "description": "The token identifying the page of results to return from the ListTraces method. If present, this value is should be taken from the next_page_token field of a previous ListTracesResponse.",
283+ "location": "query"
284+ },
285+ "startTime": {
286+ "type": "string",
287+ "description": "End of the time interval (inclusive).",
288+ "location": "query"
289+ },
290+ "endTime": {
291+ "type": "string",
292+ "description": "Start of the time interval (exclusive).",
293+ "location": "query"
294+ },
295+ "filter": {
296+ "type": "string",
297+ "description": "An optional filter for the request.",
298+ "location": "query"
299+ },
300+ "orderBy": {
301+ "type": "string",
302+ "description": "The trace field used to establish the order of traces returned by the ListTraces method. Possible options are: trace_id name (name field of root span) duration (different between end_time and start_time fields of root span) start (start_time field of root span) Descending order can be specified by appending \"desc\" to the sort field: name desc Only one sort field is permitted, though this may change in the future.",
303+ "location": "query"
304+ }
305+ },
306+ "parameterOrder": [
307+ "projectId"
308+ ],
309+ "response": {
310+ "$ref": "ListTracesResponse"
311+ },
312+ "scopes": [
313+ "https://www.googleapis.com/auth/cloud-platform"
314+ ]
315+ },
316+ "get": {
317+ "id": "cloudtrace.projects.traces.get",
318+ "path": "v1/projects/{projectId}/traces/{traceId}",
319+ "httpMethod": "GET",
320+ "description": "Gets one trace by id.",
321+ "parameters": {
322+ "projectId": {
323+ "type": "string",
324+ "description": "The project id of the trace to return.",
325+ "required": true,
326+ "location": "path"
327+ },
328+ "traceId": {
329+ "type": "string",
330+ "description": "The trace id of the trace to return.",
331+ "required": true,
332+ "location": "path"
333+ }
334+ },
335+ "parameterOrder": [
336+ "projectId",
337+ "traceId"
338+ ],
339+ "response": {
340+ "$ref": "Trace"
341+ },
342+ "scopes": [
343+ "https://www.googleapis.com/auth/cloud-platform"
344+ ]
345+ }
346+ }
347+ }
348+ }
349+ },
350+ "v1": {
351+ "methods": {
352+ "getDiscovery": {
353+ "id": "cloudtrace.getDiscovery",
354+ "path": "v1/discovery",
355+ "httpMethod": "GET",
356+ "description": "Returns a discovery document in the specified `format`. The typeurl in the returned google.protobuf.Any value depends on the requested format.",
357+ "parameters": {
358+ "format": {
359+ "type": "string",
360+ "description": "The format requested for discovery.",
361+ "location": "query"
362+ },
363+ "labels": {
364+ "type": "string",
365+ "description": "A list of labels (like visibility) influencing the scope of the requested doc.",
366+ "repeated": true,
367+ "location": "query"
368+ },
369+ "version": {
370+ "type": "string",
371+ "description": "The API version of the requested discovery doc.",
372+ "location": "query"
373+ },
374+ "args": {
375+ "type": "string",
376+ "description": "Any additional arguments.",
377+ "repeated": true,
378+ "location": "query"
379+ }
380+ }
381+ }
382+ }
383+ }
384+ }
385+}
gen/model/compute/v0.beta/compute-api.json+247−124
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/oe_uAbNFvATEqqDNaTW9Cv7GCgo\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/53Hy10U_as1pSFK_KirJ2eQZmGA\"",
44 "discoveryVersion": "v1",
55 "id": "compute:beta",
66 "name": "compute",
77 "version": "beta",
8− "revision": "20150831",
8+ "revision": "20151015",
99 "title": "Compute Engine API",
1010 "description": "API for the Google Compute Engine service.",
1111 "ownerDomain": "google.com",
@@ -358,6 +358,7 @@
358358 },
359359 "interface": {
360360 "type": "string",
361+ "description": "Specifies the disk interface to use for attaching this disk, either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.",
361362 "enum": [
362363 "NVME",
363364 "SCSI"
@@ -1581,7 +1582,7 @@
15811582 },
15821583 "kind": {
15831584 "type": "string",
1584− "description": "Type of the resource.",
1585+ "description": "[Output Only] Type of the resource. Always compute#forwardingRule.",
15851586 "default": "compute#forwardingRule"
15861587 },
15871588 "name": {
@@ -1591,7 +1592,7 @@
15911592 },
15921593 "portRange": {
15931594 "type": "string",
1594− "description": "Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges."
1595+ "description": "Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges."
15951596 },
15961597 "region": {
15971598 "type": "string",
@@ -1796,14 +1797,14 @@
17961797 },
17971798 "hosts": {
17981799 "type": "array",
1799− "description": "The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.",
1800+ "description": "The list of host patterns to match. They must be valid hostnames, except * will match any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or ..",
18001801 "items": {
18011802 "type": "string"
18021803 }
18031804 },
18041805 "pathMatcher": {
18051806 "type": "string",
1806− "description": "The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion."
1807+ "description": "The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion."
18071808 }
18081809 }
18091810 },
@@ -2145,7 +2146,7 @@
21452146 },
21462147 "items": {
21472148 "type": "array",
2148− "description": "A list of Image resources.",
2149+ "description": "[Output Only] A list of Image resources.",
21492150 "items": {
21502151 "$ref": "Image"
21512152 }
@@ -2203,6 +2204,18 @@
22032204 "description": "[Output Only] Type of the resource. Always compute#instance for instances.",
22042205 "default": "compute#instance"
22052206 },
2207+ "labelFingerprint": {
2208+ "type": "string",
2209+ "description": "A fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata.\n\nTo see the latest fingerprint, make get() request to the instance.",
2210+ "format": "byte"
2211+ },
2212+ "labels": {
2213+ "type": "object",
2214+ "description": "Labels to apply to this instance. These can be later modified by the setLabels method. Each label key & value must comply with RFC1035. Label values may be empty.",
2215+ "additionalProperties": {
2216+ "type": "string"
2217+ }
2218+ },
22062219 "machineType": {
22072220 "type": "string",
22082221 "description": "Full or partial URL of the machine type resource to use for this instance. This is provided by the client when the instance is created. For example, the following is a valid partial url:\n\nzones/zone/machineTypes/machine-type",
@@ -2325,12 +2338,12 @@
23252338 },
23262339 "fingerprint": {
23272340 "type": "string",
2328− "description": "[Output Only] The fingerprint of the named ports information. The system uses this fingerprint to detect conflicts when multiple users change the named ports information concurrently.",
2341+ "description": "[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.",
23292342 "format": "byte"
23302343 },
23312344 "id": {
23322345 "type": "string",
2333− "description": "[Output Only] A unique identifier for this instance group. The server defines this identifier.",
2346+ "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.",
23342347 "format": "uint64"
23352348 },
23362349 "kind": {
@@ -2350,18 +2363,18 @@
23502363 },
23512364 "namedPorts": {
23522365 "type": "array",
2353− "description": "Assigns a name to a port number. For example: {name: ?http?, port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: ?http?, port: 80},{name: \"http\", port: 8080}] Named ports apply to all instances in this instance group.",
2366+ "description": "Assigns a name to a port number. For example: {name: \"http\", port: 80}\n\nThis allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: \"http\", port: 80},{name: \"http\", port: 8080}] \n\nNamed ports apply to all instances in this instance group.",
23542367 "items": {
23552368 "$ref": "NamedPort"
23562369 }
23572370 },
23582371 "network": {
23592372 "type": "string",
2360− "description": "The URL of the network to which all instances in the instance group belong."
2373+ "description": "[Output Only] The URL of the network to which all instances in the instance group belong."
23612374 },
23622375 "selfLink": {
23632376 "type": "string",
2364− "description": "[Output Only] The URL for this instance group. The server defines this URL."
2377+ "description": "[Output Only] The URL for this instance group. The server generates this URL."
23652378 },
23662379 "size": {
23672380 "type": "integer",
@@ -2370,7 +2383,7 @@
23702383 },
23712384 "zone": {
23722385 "type": "string",
2373− "description": "The URL of the zone where the instance group is located."
2386+ "description": "[Output Only] The URL of the zone where the instance group is located."
23742387 }
23752388 }
23762389 },
@@ -2380,7 +2393,7 @@
23802393 "properties": {
23812394 "id": {
23822395 "type": "string",
2383− "description": "[Output Only] A unique identifier for this aggregated list of instance groups. The server defines this identifier."
2396+ "description": "[Output Only] A unique identifier for this aggregated list of instance groups. The server generates this identifier."
23842397 },
23852398 "items": {
23862399 "type": "object",
@@ -2401,7 +2414,7 @@
24012414 },
24022415 "selfLink": {
24032416 "type": "string",
2404− "description": "[Output Only] A unique identifier for this aggregated list of instance groups. The server defines this identifier."
2417+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
24052418 }
24062419 }
24072420 },
@@ -2412,11 +2425,11 @@
24122425 "properties": {
24132426 "id": {
24142427 "type": "string",
2415− "description": "[Output Only] A unique identifier for this list of instance groups. The server defines this identifier."
2428+ "description": "[Output Only] A unique identifier for this list of instance groups. The server generates this identifier."
24162429 },
24172430 "items": {
24182431 "type": "array",
2419− "description": "A list of InstanceGroup resources.",
2432+ "description": "A list of instance groups.",
24202433 "items": {
24212434 "$ref": "InstanceGroup"
24222435 }
@@ -2432,7 +2445,7 @@
24322445 },
24332446 "selfLink": {
24342447 "type": "string",
2435− "description": "[Output Only] The URL for this instance group. The server defines this URL."
2448+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
24362449 }
24372450 }
24382451 },
@@ -2464,7 +2477,7 @@
24642477 },
24652478 "currentActions": {
24662479 "$ref": "InstanceGroupManagerActionsSummary",
2467− "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for those actions."
2480+ "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions."
24682481 },
24692482 "description": {
24702483 "type": "string",
@@ -2472,17 +2485,17 @@
24722485 },
24732486 "fingerprint": {
24742487 "type": "string",
2475− "description": "[Output Only] The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.",
2488+ "description": "[Output Only] The fingerprint of the target pools information. You can use this optional field for optimistic locking when you update the target pool entries.",
24762489 "format": "byte"
24772490 },
24782491 "id": {
24792492 "type": "string",
2480− "description": "[Output Only] A unique identifier for this managed instance group. The server defines this identifier.",
2493+ "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.",
24812494 "format": "uint64"
24822495 },
24832496 "instanceGroup": {
24842497 "type": "string",
2485− "description": "[Output Only] The URL of the InstanceGroup resource."
2498+ "description": "[Output Only] The URL of the Instance Group resource."
24862499 },
24872500 "instanceTemplate": {
24882501 "type": "string",
@@ -2510,11 +2523,11 @@
25102523 },
25112524 "selfLink": {
25122525 "type": "string",
2513− "description": "[Output Only] Server-defined URL for this managed instance group."
2526+ "description": "[Output Only] The URL for this managed instance group. The server defines this URL."
25142527 },
25152528 "targetPools": {
25162529 "type": "array",
2517− "description": "The URLs of all TargetPool resources to which new instances in the instanceGroup field are added. Updating the target pool values does not affect existing instances.",
2530+ "description": "The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.",
25182531 "items": {
25192532 "type": "string"
25202533 }
@@ -2531,7 +2544,7 @@
25312544 },
25322545 "zone": {
25332546 "type": "string",
2534− "description": "The URL of the zone where the managed instance group is located."
2547+ "description": "The name of the zone where the managed instance group is located."
25352548 }
25362549 }
25372550 },
@@ -2541,7 +2554,7 @@
25412554 "properties": {
25422555 "abandoning": {
25432556 "type": "integer",
2544− "description": "[Output Only] Total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.",
2557+ "description": "[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.",
25452558 "format": "int32"
25462559 },
25472560 "creating": {
@@ -2556,7 +2569,7 @@
25562569 },
25572570 "none": {
25582571 "type": "integer",
2559− "description": "[Output Only] The number of instances in the managed instance group that currently have no scheduled actions.",
2572+ "description": "[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.",
25602573 "format": "int32"
25612574 },
25622575 "recreating": {
@@ -2582,19 +2595,19 @@
25822595 "properties": {
25832596 "id": {
25842597 "type": "string",
2585− "description": "[Output Only] A unique identifier for this aggregated list of managed instance groups. The server defines this identifier."
2598+ "description": "[Output Only] A unique identifier for this aggregated list of managed instance groups. The server generates this identifier."
25862599 },
25872600 "items": {
25882601 "type": "object",
2589− "description": "A map of filtered managed instance group lists.",
2602+ "description": "[Output Only] A map of filtered managed instance group lists.",
25902603 "additionalProperties": {
25912604 "$ref": "InstanceGroupManagersScopedList",
2592− "description": "The name of the scope that contains this set of managed instance groups."
2605+ "description": "[Output Only] The name of the scope that contains this set of managed instance groups."
25932606 }
25942607 },
25952608 "kind": {
25962609 "type": "string",
2597− "description": "[Output Only] Type of the resource. Always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.",
2610+ "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.",
25982611 "default": "compute#instanceGroupManagerAggregatedList"
25992612 },
26002613 "nextPageToken": {
@@ -2603,7 +2616,7 @@
26032616 },
26042617 "selfLink": {
26052618 "type": "string",
2606− "description": "[Output Only] The URL for this aggregated list of managed instance groups. The server defines this URL."
2619+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
26072620 }
26082621 }
26092622 },
@@ -2613,7 +2626,7 @@
26132626 "properties": {
26142627 "actionType": {
26152628 "type": "string",
2616− "description": "The action to perform when an instance becomes unhealthy. Possible values are RECREATE or RESTART. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. RESTART performs a soft restart on an instance. If the instance cannot restart softly, the instance performs a hard restart.",
2629+ "description": "The action to perform when an instance in this group becomes unhealthy. Possible values are RECREATE or RESTART. RECREATE replaces an unhealthy instance using the same name and instance template as the unhealthy instance. RESTART performs a soft restart on an instance. If the instance cannot reboot, the instance performs a hard restart.",
26172630 "enum": [
26182631 "RECREATE",
26192632 "RESTART"
@@ -2632,22 +2645,22 @@
26322645 "InstanceGroupManagerList": {
26332646 "id": "InstanceGroupManagerList",
26342647 "type": "object",
2635− "description": "[Output Only] A list of InstanceGroupManager resources.",
2648+ "description": "[Output Only] A list of managed instance groups.",
26362649 "properties": {
26372650 "id": {
26382651 "type": "string",
2639− "description": "[Output Only] A unique identifier for this managed instance group. The server defines this identifier."
2652+ "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier."
26402653 },
26412654 "items": {
26422655 "type": "array",
2643− "description": "[Output Only] A list of managed instance group resources.",
2656+ "description": "[Output Only] A list of managed instance groups.",
26442657 "items": {
26452658 "$ref": "InstanceGroupManager"
26462659 }
26472660 },
26482661 "kind": {
26492662 "type": "string",
2650− "description": "[Output Only] Type of the resource. Always compute#instanceGroupManagerList for a list of managed instance group resources.",
2663+ "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups.",
26512664 "default": "compute#instanceGroupManagerList"
26522665 },
26532666 "nextPageToken": {
@@ -2656,7 +2669,7 @@
26562669 },
26572670 "selfLink": {
26582671 "type": "string",
2659− "description": "[Output Only] The URL for this managed instance group. The server defines this URL."
2672+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
26602673 }
26612674 }
26622675 },
@@ -2666,7 +2679,7 @@
26662679 "properties": {
26672680 "instances": {
26682681 "type": "array",
2669− "description": "The names of instances to abandon from the managed instance group.",
2682+ "description": "The URL for one or more instances to abandon from the managed instance group.",
26702683 "items": {
26712684 "type": "string"
26722685 }
@@ -2679,7 +2692,7 @@
26792692 "properties": {
26802693 "instances": {
26812694 "type": "array",
2682− "description": "The names of one or more instances to delete.",
2695+ "description": "The list of instances to delete from this managed instance group. Specify one or more instance URLs.",
26832696 "items": {
26842697 "type": "string"
26852698 }
@@ -2692,7 +2705,7 @@
26922705 "properties": {
26932706 "managedInstances": {
26942707 "type": "array",
2695− "description": "List of managed instances. If empty - all instances are listed.",
2708+ "description": "[Output Only] The list of instances in the managed instance group.",
26962709 "items": {
26972710 "$ref": "ManagedInstance"
26982711 }
@@ -2705,7 +2718,7 @@
27052718 "properties": {
27062719 "instances": {
27072720 "type": "array",
2708− "description": "The names of one or more instances to recreate.",
2721+ "description": "The URL for one or more instances to recreate.",
27092722 "items": {
27102723 "type": "string"
27112724 }
@@ -2816,12 +2829,12 @@
28162829 "properties": {
28172830 "fingerprint": {
28182831 "type": "string",
2819− "description": "The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.",
2832+ "description": "The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
28202833 "format": "byte"
28212834 },
28222835 "targetPools": {
28232836 "type": "array",
2824− "description": "The list of target pool URLs that instances in this managed instance group belong to. When the managed instance group creates new instances, the group automatically adds those instances to the target pools that are specified in this parameter. Changing the value of this parameter does not change the target pools of existing instances in this managed instance group.",
2837+ "description": "The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.",
28252838 "items": {
28262839 "type": "string"
28272840 }
@@ -2834,7 +2847,7 @@
28342847 "properties": {
28352848 "instances": {
28362849 "type": "array",
2837− "description": "The instances to add to the instance group.",
2850+ "description": "The list of instances to add to the instance group.",
28382851 "items": {
28392852 "$ref": "InstanceReference"
28402853 }
@@ -2847,11 +2860,11 @@
28472860 "properties": {
28482861 "id": {
28492862 "type": "string",
2850− "description": "[Output Only] A unique identifier for this list of instance groups. The server defines this identifier."
2863+ "description": "[Output Only] A unique identifier for this list of instance groups. The server generates this identifier."
28512864 },
28522865 "items": {
28532866 "type": "array",
2854− "description": "A list of InstanceWithNamedPorts resources, which contains all named ports for the given instance.",
2867+ "description": "[Output Only] A list of instances and any named ports that are assigned to those instances.",
28552868 "items": {
28562869 "$ref": "InstanceWithNamedPorts"
28572870 }
@@ -2867,7 +2880,7 @@
28672880 },
28682881 "selfLink": {
28692882 "type": "string",
2870− "description": "[Output Only] The URL for this list of instance groups. The server defines this URL."
2883+ "description": "[Output Only] The URL for this list of instance groups. The server generates this URL."
28712884 }
28722885 }
28732886 },
@@ -2895,7 +2908,7 @@
28952908 "properties": {
28962909 "instances": {
28972910 "type": "array",
2898− "description": "The instances to remove from the instance group.",
2911+ "description": "The list of instances to remove from the instance group.",
28992912 "items": {
29002913 "$ref": "InstanceReference"
29012914 }
@@ -2984,7 +2997,7 @@
29842997 "properties": {
29852998 "fingerprint": {
29862999 "type": "string",
2987− "description": "The fingerprint of the named ports information, which is a hash of the contents. Use this field for optimistic locking when you update the named ports entries.",
3000+ "description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
29883001 "format": "byte"
29893002 },
29903003 "namedPorts": {
@@ -3034,7 +3047,7 @@
30343047 "properties": {
30353048 "canIpForward": {
30363049 "type": "boolean",
3037− "description": "A boolean that specifies if instances created from this template can send packets with source IP addresses other than their own or receive packets with destination IP addresses other than their own. If you use these instances as an IP gateway or as the next-hop in a Route resource, specify true. Otherwise, specify false."
3050+ "description": "Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the canIpForward documentation for more information."
30383051 },
30393052 "description": {
30403053 "type": "string",
@@ -3062,14 +3075,14 @@
30623075 },
30633076 "networkInterfaces": {
30643077 "type": "array",
3065− "description": "An array of network access configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only supported access configuration. If you do not specify any access configurations, the instances that are created from this template will have no external internet access.",
3078+ "description": "An array of network access configurations for this interface.",
30663079 "items": {
30673080 "$ref": "NetworkInterface"
30683081 }
30693082 },
30703083 "scheduling": {
30713084 "$ref": "Scheduling",
3072− "description": "A list of scheduling options for the instances that are created from this template."
3085+ "description": "Specifies the scheduling options for the instances that are created from this template."
30733086 },
30743087 "serviceAccounts": {
30753088 "type": "array",
@@ -3089,7 +3102,8 @@
30893102 "type": "object",
30903103 "properties": {
30913104 "instance": {
3092− "type": "string"
3105+ "type": "string",
3106+ "description": "The URL for a specific instance."
30933107 }
30943108 }
30953109 },
@@ -3118,7 +3132,7 @@
31183132 },
31193133 "name": {
31203134 "type": "string",
3121− "description": "The name of the instance template. The name must be 1-63 characters long, and comply with RFC1035.",
3135+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
31223136 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
31233137 "annotations": {
31243138 "required": [
@@ -3128,7 +3142,7 @@
31283142 },
31293143 "properties": {
31303144 "$ref": "InstanceProperties",
3131− "description": "The instance properties for the instance template resource."
3145+ "description": "The instance properties for this instance template."
31323146 },
31333147 "selfLink": {
31343148 "type": "string",
@@ -3147,7 +3161,7 @@
31473161 },
31483162 "items": {
31493163 "type": "array",
3150− "description": "A list of InstanceTemplate resources.",
3164+ "description": "[Output Only] list of InstanceTemplate resources.",
31513165 "items": {
31523166 "$ref": "InstanceTemplate"
31533167 }
@@ -3173,18 +3187,18 @@
31733187 "properties": {
31743188 "instance": {
31753189 "type": "string",
3176− "description": "The URL of the instance."
3190+ "description": "[Output Only] The URL of the instance."
31773191 },
31783192 "namedPorts": {
31793193 "type": "array",
3180− "description": "The named ports that belong to this instance group.",
3194+ "description": "[Output Only] The named ports that belong to this instance group.",
31813195 "items": {
31823196 "$ref": "NamedPort"
31833197 }
31843198 },
31853199 "status": {
31863200 "type": "string",
3187− "description": "The status of the instance.",
3201+ "description": "[Output Only] The status of the instance.",
31883202 "enum": [
31893203 "PROVISIONING",
31903204 "RUNNING",
@@ -3284,6 +3298,32 @@
32843298 }
32853299 }
32863300 },
3301+ "InstancesSetLabelsRequest": {
3302+ "id": "InstancesSetLabelsRequest",
3303+ "type": "object",
3304+ "properties": {
3305+ "labelFingerprint": {
3306+ "type": "string",
3307+ "format": "byte"
3308+ },
3309+ "labels": {
3310+ "type": "object",
3311+ "additionalProperties": {
3312+ "type": "string"
3313+ }
3314+ }
3315+ }
3316+ },
3317+ "InstancesSetMachineTypeRequest": {
3318+ "id": "InstancesSetMachineTypeRequest",
3319+ "type": "object",
3320+ "properties": {
3321+ "machineType": {
3322+ "type": "string",
3323+ "description": "Full or partial URL of the machine type resource. See Instance.machine_type."
3324+ }
3325+ }
3326+ },
32873327 "License": {
32883328 "id": "License",
32893329 "type": "object",
@@ -3520,7 +3560,7 @@
35203560 "properties": {
35213561 "currentAction": {
35223562 "type": "string",
3523− "description": "The current action that the managed instance group has scheduled for the instance.",
3563+ "description": "[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: \n- NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. \n- CREATING The managed instance group is creating this instance. \n- RECREATING The managed instance group is recreating this instance. \n- DELETING The managed instance group is permanently deleting this instance. \n- ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. \n- RESTARTING The managed instance group is restarting the instance. \n- REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.",
35243564 "enum": [
35253565 "ABANDONING",
35263566 "CREATING",
@@ -3542,16 +3582,16 @@
35423582 },
35433583 "id": {
35443584 "type": "string",
3545− "description": "The unique identifier for this resource (empty when instance does not exist).",
3585+ "description": "[Output only] The unique identifier for this resource. This field is empty when instance does not exist.",
35463586 "format": "uint64"
35473587 },
35483588 "instance": {
35493589 "type": "string",
3550− "description": "The URL of the instance (set even though instance does not exist yet)."
3590+ "description": "[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created."
35513591 },
35523592 "instanceStatus": {
35533593 "type": "string",
3554− "description": "The status of the instance (empty when instance does not exist).",
3594+ "description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.",
35553595 "enum": [
35563596 "PROVISIONING",
35573597 "RUNNING",
@@ -3575,7 +3615,7 @@
35753615 },
35763616 "lastAttempt": {
35773617 "$ref": "ManagedInstanceLastAttempt",
3578− "description": "Information about the last attempt to create or delete the instance."
3618+ "description": "[Output Only] Information about the last attempt to create or delete the instance."
35793619 }
35803620 }
35813621 },
@@ -3585,7 +3625,7 @@
35853625 "properties": {
35863626 "errors": {
35873627 "type": "object",
3588− "description": "Encountered errors during the last attempt to create or delete the instance.",
3628+ "description": "[Output Only] Encountered errors during the last attempt to create or delete the instance.",
35893629 "properties": {
35903630 "errors": {
35913631 "type": "array",
@@ -3662,12 +3702,11 @@
36623702 "NamedPort": {
36633703 "id": "NamedPort",
36643704 "type": "object",
3665− "description": "The named port information. For example: .",
3705+ "description": "The named port. For example: .",
36663706 "properties": {
36673707 "name": {
36683708 "type": "string",
3669− "description": "The name for this NamedPort.",
3670− "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
3709+ "description": "The name for this named port. The name must be 1-63 characters long, and comply with RFC1035."
36713710 },
36723711 "port": {
36733712 "type": "integer",
@@ -3684,12 +3723,7 @@
36843723 "IPv4Range": {
36853724 "type": "string",
36863725 "description": "The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.",
3687− "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}",
3688− "annotations": {
3689− "required": [
3690− "compute.networks.insert"
3691− ]
3692− }
3726+ "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}"
36933727 },
36943728 "creationTimestamp": {
36953729 "type": "string",
@@ -3856,7 +3890,7 @@
38563890 },
38573891 "kind": {
38583892 "type": "string",
3859− "description": "[Output Only] Type of the resource. Always compute#Operation for Operation resources.",
3893+ "description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
38603894 "default": "compute#operation"
38613895 },
38623896 "name": {
@@ -3865,7 +3899,7 @@
38653899 },
38663900 "operationType": {
38673901 "type": "string",
3868− "description": "[Output Only] Type of the operation, such as insert, update, and delete."
3902+ "description": "[Output Only] Type of the operation, such as insert, compute.instanceGroups.update, or compute.instanceGroups.delete."
38693903 },
38703904 "progress": {
38713905 "type": "integer",
@@ -4128,7 +4162,7 @@
41284162 "PathMatcher": {
41294163 "id": "PathMatcher",
41304164 "type": "object",
4131− "description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.",
4165+ "description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service will be used.",
41324166 "properties": {
41334167 "defaultService": {
41344168 "type": "string",
@@ -4902,7 +4936,7 @@
49024936 },
49034937 "kind": {
49044938 "type": "string",
4905− "description": "[Output Only] Type of resource. Always compute#Operation for Operation resources.",
4939+ "description": "[Output Only] Type of resource. Always compute#operation for Operation resources.",
49064940 "default": "compute#targetHttpProxy"
49074941 },
49084942 "name": {
@@ -5291,7 +5325,7 @@
52915325 },
52925326 "sessionAffinity": {
52935327 "type": "string",
5294− "description": "Sesssion affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool; CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.",
5328+ "description": "Sesssion affinity option, must be one of the following values:\nNONE: Connections from the same client IP may go to any instance in the pool.\nCLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.\nCLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.",
52955329 "enum": [
52965330 "CLIENT_IP",
52975331 "CLIENT_IP_PROTO",
@@ -9116,7 +9150,7 @@
91169150 "id": "compute.images.list",
91179151 "path": "{project}/global/images",
91189152 "httpMethod": "GET",
9119− "description": "Retrieves the list of image resources available to the specified project.",
9153+ "description": "Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 7. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.\n\nSee Accessing images for more information.",
91209154 "parameters": {
91219155 "filter": {
91229156 "type": "string",
@@ -9170,11 +9204,11 @@
91709204 "id": "compute.instanceGroupManagers.abandonInstances",
91719205 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances",
91729206 "httpMethod": "POST",
9173− "description": "Removes the specified instances from the managed instance group, and from any target pools where they are a member. The instances are not deleted. The managed instance group automatically reduces its targetSize value by the number of instances that you abandon from the group.",
9207+ "description": "Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.",
91749208 "parameters": {
91759209 "instanceGroupManager": {
91769210 "type": "string",
9177− "description": "The name of the instance group manager.",
9211+ "description": "The name of the managed instance group.",
91789212 "required": true,
91799213 "location": "path"
91809214 },
@@ -9187,7 +9221,7 @@
91879221 },
91889222 "zone": {
91899223 "type": "string",
9190− "description": "The URL of the zone where the managed instance group is located.",
9224+ "description": "The name of the zone where the managed instance group is located.",
91919225 "required": true,
91929226 "location": "path"
91939227 }
@@ -9212,7 +9246,7 @@
92129246 "id": "compute.instanceGroupManagers.aggregatedList",
92139247 "path": "{project}/aggregated/instanceGroupManagers",
92149248 "httpMethod": "GET",
9215− "description": "Retrieves the list of managed instance groups, and groups them by project and zone.",
9249+ "description": "Retrieves the list of managed instance groups and groups them by zone.",
92169250 "parameters": {
92179251 "filter": {
92189252 "type": "string",
@@ -9262,11 +9296,11 @@
92629296 "id": "compute.instanceGroupManagers.delete",
92639297 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
92649298 "httpMethod": "DELETE",
9265− "description": "Deletes the specified managed instance group resource.",
9299+ "description": "Deletes the specified managed instance group and all of the instances in that group.",
92669300 "parameters": {
92679301 "instanceGroupManager": {
92689302 "type": "string",
9269− "description": "The name of the instance group manager to delete.",
9303+ "description": "The name of the managed instance group to delete.",
92709304 "required": true,
92719305 "location": "path"
92729306 },
@@ -9279,7 +9313,7 @@
92799313 },
92809314 "zone": {
92819315 "type": "string",
9282− "description": "The URL of the zone where the managed instance group is located.",
9316+ "description": "The name of the zone where the managed instance group is located.",
92839317 "required": true,
92849318 "location": "path"
92859319 }
@@ -9301,11 +9335,11 @@
93019335 "id": "compute.instanceGroupManagers.deleteInstances",
93029336 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances",
93039337 "httpMethod": "POST",
9304− "description": "Deletes the specified instances. The instances are deleted and removed from the instance group and any target pools where they are a member. The managed instance group automatically reduces its targetSize value by the number of instances that you delete.",
9338+ "description": "Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.",
93059339 "parameters": {
93069340 "instanceGroupManager": {
93079341 "type": "string",
9308− "description": "The name of the instance group manager.",
9342+ "description": "The name of the managed instance group.",
93099343 "required": true,
93109344 "location": "path"
93119345 },
@@ -9318,7 +9352,7 @@
93189352 },
93199353 "zone": {
93209354 "type": "string",
9321− "description": "The URL of the zone where the managed instance group is located.",
9355+ "description": "The name of the zone where the managed instance group is located.",
93229356 "required": true,
93239357 "location": "path"
93249358 }
@@ -9343,11 +9377,11 @@
93439377 "id": "compute.instanceGroupManagers.get",
93449378 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
93459379 "httpMethod": "GET",
9346− "description": "Returns the specified managed instance group resource.",
9380+ "description": "Returns all of the details about the specified managed instance group.",
93479381 "parameters": {
93489382 "instanceGroupManager": {
93499383 "type": "string",
9350− "description": "The name of the instance group manager resource.",
9384+ "description": "The name of the managed instance group.",
93519385 "required": true,
93529386 "location": "path"
93539387 },
@@ -9360,7 +9394,7 @@
93609394 },
93619395 "zone": {
93629396 "type": "string",
9363− "description": "The URL of the zone where the managed instance group is located.",
9397+ "description": "The name of the zone where the managed instance group is located.",
93649398 "required": true,
93659399 "location": "path"
93669400 }
@@ -9383,7 +9417,7 @@
93839417 "id": "compute.instanceGroupManagers.insert",
93849418 "path": "{project}/zones/{zone}/instanceGroupManagers",
93859419 "httpMethod": "POST",
9386− "description": "Creates a managed instance group resource in the specified project using the data that is included in the request.",
9420+ "description": "Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.",
93879421 "parameters": {
93889422 "project": {
93899423 "type": "string",
@@ -9394,7 +9428,7 @@
93949428 },
93959429 "zone": {
93969430 "type": "string",
9397− "description": "The URL of the zone where the managed instance group is located.",
9431+ "description": "The name of the zone where you want to create the managed instance group.",
93989432 "required": true,
93999433 "location": "path"
94009434 }
@@ -9453,7 +9487,7 @@
94539487 },
94549488 "zone": {
94559489 "type": "string",
9456− "description": "The URL of the zone where the managed instance group is located.",
9490+ "description": "The name of the zone where the managed instance group is located.",
94579491 "required": true,
94589492 "location": "path"
94599493 }
@@ -9475,7 +9509,7 @@
94759509 "id": "compute.instanceGroupManagers.listManagedInstances",
94769510 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances",
94779511 "httpMethod": "POST",
9478− "description": "Lists managed instances.",
9512+ "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.",
94799513 "parameters": {
94809514 "instanceGroupManager": {
94819515 "type": "string",
@@ -9492,7 +9526,7 @@
94929526 },
94939527 "zone": {
94949528 "type": "string",
9495− "description": "The URL of the zone where the managed instance group is located.",
9529+ "description": "The name of the zone where the managed instance group is located.",
94969530 "required": true,
94979531 "location": "path"
94989532 }
@@ -9515,11 +9549,11 @@
95159549 "id": "compute.instanceGroupManagers.recreateInstances",
95169550 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances",
95179551 "httpMethod": "POST",
9518− "description": "Recreates the specified instances. The instances are deleted, then recreated using the managed instance group's current instance template.",
9552+ "description": "Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.",
95199553 "parameters": {
95209554 "instanceGroupManager": {
95219555 "type": "string",
9522− "description": "The name of the instance group manager.",
9556+ "description": "The name of the managed instance group.",
95239557 "required": true,
95249558 "location": "path"
95259559 },
@@ -9532,7 +9566,7 @@
95329566 },
95339567 "zone": {
95349568 "type": "string",
9535− "description": "The URL of the zone where the managed instance group is located.",
9569+ "description": "The name of the zone where the managed instance group is located.",
95369570 "required": true,
95379571 "location": "path"
95389572 }
@@ -9557,11 +9591,11 @@
95579591 "id": "compute.instanceGroupManagers.resize",
95589592 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize",
95599593 "httpMethod": "POST",
9560− "description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group removes instances in the order that is outlined in Resizing a managed instance group.",
9594+ "description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.",
95619595 "parameters": {
95629596 "instanceGroupManager": {
95639597 "type": "string",
9564− "description": "The name of the instance group manager.",
9598+ "description": "The name of the managed instance group.",
95659599 "required": true,
95669600 "location": "path"
95679601 },
@@ -9581,7 +9615,7 @@
95819615 },
95829616 "zone": {
95839617 "type": "string",
9584− "description": "The URL of the zone where the managed instance group is located.",
9618+ "description": "The name of the zone where the managed instance group is located.",
95859619 "required": true,
95869620 "location": "path"
95879621 }
@@ -9650,7 +9684,7 @@
96509684 "parameters": {
96519685 "instanceGroupManager": {
96529686 "type": "string",
9653− "description": "The name of the instance group manager.",
9687+ "description": "The name of the managed instance group.",
96549688 "required": true,
96559689 "location": "path"
96569690 },
@@ -9663,7 +9697,7 @@
96639697 },
96649698 "zone": {
96659699 "type": "string",
9666− "description": "The URL of the zone where the managed instance group is located.",
9700+ "description": "The name of the zone where the managed instance group is located.",
96679701 "required": true,
96689702 "location": "path"
96699703 }
@@ -9688,11 +9722,11 @@
96889722 "id": "compute.instanceGroupManagers.setTargetPools",
96899723 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools",
96909724 "httpMethod": "POST",
9691− "description": "Modifies the target pools to which all new instances in this group are assigned. The target pools for existing instances in the group do not change unless you recreate them.",
9725+ "description": "Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.",
96929726 "parameters": {
96939727 "instanceGroupManager": {
96949728 "type": "string",
9695− "description": "The name of the instance group manager.",
9729+ "description": "The name of the managed instance group.",
96969730 "required": true,
96979731 "location": "path"
96989732 },
@@ -9705,7 +9739,7 @@
97059739 },
97069740 "zone": {
97079741 "type": "string",
9708− "description": "The URL of the zone where the managed instance group is located.",
9742+ "description": "The name of the zone where the managed instance group is located.",
97099743 "required": true,
97109744 "location": "path"
97119745 }
@@ -9734,7 +9768,7 @@
97349768 "id": "compute.instanceGroups.addInstances",
97359769 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances",
97369770 "httpMethod": "POST",
9737− "description": "Adds a list of instances to an instance group. All of the instances in the instance group must be in the same network.",
9771+ "description": "Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. TODO: Change to comment to state \"if IG is load balanced.\"",
97389772 "parameters": {
97399773 "instanceGroup": {
97409774 "type": "string",
@@ -9751,7 +9785,7 @@
97519785 },
97529786 "zone": {
97539787 "type": "string",
9754− "description": "The URL of the zone where the instance group is located.",
9788+ "description": "The name of the zone where the instance group is located.",
97559789 "required": true,
97569790 "location": "path"
97579791 }
@@ -9776,7 +9810,7 @@
97769810 "id": "compute.instanceGroups.aggregatedList",
97779811 "path": "{project}/aggregated/instanceGroups",
97789812 "httpMethod": "GET",
9779− "description": "Retrieves the list of instance groups, and sorts them by zone.",
9813+ "description": "Retrieves the list of instance groups and sorts them by zone.",
97809814 "parameters": {
97819815 "filter": {
97829816 "type": "string",
@@ -9826,7 +9860,7 @@
98269860 "id": "compute.instanceGroups.delete",
98279861 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}",
98289862 "httpMethod": "DELETE",
9829− "description": "Deletes the specified instance group.",
9863+ "description": "Deletes the specified instance group. The instances in the group are not deleted.",
98309864 "parameters": {
98319865 "instanceGroup": {
98329866 "type": "string",
@@ -9843,7 +9877,7 @@
98439877 },
98449878 "zone": {
98459879 "type": "string",
9846− "description": "The URL of the zone where the instance group is located.",
9880+ "description": "The name of the zone where the instance group is located.",
98479881 "required": true,
98489882 "location": "path"
98499883 }
@@ -9882,7 +9916,7 @@
98829916 },
98839917 "zone": {
98849918 "type": "string",
9885− "description": "The URL of the zone where the instance group is located.",
9919+ "description": "The name of the zone where the instance group is located.",
98869920 "required": true,
98879921 "location": "path"
98889922 }
@@ -9916,7 +9950,7 @@
99169950 },
99179951 "zone": {
99189952 "type": "string",
9919− "description": "The URL of the zone where the instance group is located.",
9953+ "description": "The name of the zone where you want to create the instance group.",
99209954 "required": true,
99219955 "location": "path"
99229956 }
@@ -9975,7 +10009,7 @@
997510009 },
997610010 "zone": {
997710011 "type": "string",
9978− "description": "The URL of the zone where the instance group is located.",
10012+ "description": "The name of the zone where the instance group is located.",
997910013 "required": true,
998010014 "location": "path"
998110015 }
@@ -9997,7 +10031,7 @@
999710031 "id": "compute.instanceGroups.listInstances",
999810032 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances",
999910033 "httpMethod": "POST",
10000− "description": "Lists instances in an instance group. The parameters for this method specify whether the list filters instances by state and named ports information.",
10034+ "description": "Lists the instances in the specified instance group.",
1000110035 "parameters": {
1000210036 "filter": {
1000310037 "type": "string",
@@ -10038,7 +10072,7 @@
1003810072 },
1003910073 "zone": {
1004010074 "type": "string",
10041− "description": "The URL of the zone where the instance group is located.",
10075+ "description": "The name of the zone where the instance group is located.",
1004210076 "required": true,
1004310077 "location": "path"
1004410078 }
@@ -10064,7 +10098,7 @@
1006410098 "id": "compute.instanceGroups.removeInstances",
1006510099 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances",
1006610100 "httpMethod": "POST",
10067− "description": "Removes a list of instances from an instance group.",
10101+ "description": "Removes one or more instances from the specified instance group, but does not delete those instances.",
1006810102 "parameters": {
1006910103 "instanceGroup": {
1007010104 "type": "string",
@@ -10081,7 +10115,7 @@
1008110115 },
1008210116 "zone": {
1008310117 "type": "string",
10084− "description": "The URL of the zone where the instance group is located.",
10118+ "description": "The name of the zone where the instance group is located.",
1008510119 "required": true,
1008610120 "location": "path"
1008710121 }
@@ -10106,7 +10140,7 @@
1010610140 "id": "compute.instanceGroups.setNamedPorts",
1010710141 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts",
1010810142 "httpMethod": "POST",
10109− "description": "Sets the named ports in an instance group.",
10143+ "description": "Sets the named ports for the specified instance group.",
1011010144 "parameters": {
1011110145 "instanceGroup": {
1011210146 "type": "string",
@@ -10123,7 +10157,7 @@
1012310157 },
1012410158 "zone": {
1012510159 "type": "string",
10126− "description": "The URL of the zone where the instance group is located.",
10160+ "description": "The name of the zone where the instance group is located.",
1012710161 "required": true,
1012810162 "location": "path"
1012910163 }
@@ -10352,6 +10386,7 @@
1035210386 "id": "compute.instances.aggregatedList",
1035310387 "path": "{project}/aggregated/instances",
1035410388 "httpMethod": "GET",
10389+ "description": "Retrieves aggregated list of instance resources.",
1035510390 "parameters": {
1035610391 "filter": {
1035710392 "type": "string",
@@ -10870,6 +10905,94 @@
1087010905 "https://www.googleapis.com/auth/compute"
1087110906 ]
1087210907 },
10908+ "setLabels": {
10909+ "id": "compute.instances.setLabels",
10910+ "path": "{project}/zones/{zone}/instances/{instance}/setLabels",
10911+ "httpMethod": "POST",
10912+ "description": "Sets labels for the specified instance to the data included in the request.",
10913+ "parameters": {
10914+ "instance": {
10915+ "type": "string",
10916+ "description": "Name of the instance scoping this request.",
10917+ "required": true,
10918+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
10919+ "location": "path"
10920+ },
10921+ "project": {
10922+ "type": "string",
10923+ "description": "Project ID for this request.",
10924+ "required": true,
10925+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
10926+ "location": "path"
10927+ },
10928+ "zone": {
10929+ "type": "string",
10930+ "description": "The name of the zone for this request.",
10931+ "required": true,
10932+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
10933+ "location": "path"
10934+ }
10935+ },
10936+ "parameterOrder": [
10937+ "project",
10938+ "zone",
10939+ "instance"
10940+ ],
10941+ "request": {
10942+ "$ref": "InstancesSetLabelsRequest"
10943+ },
10944+ "response": {
10945+ "$ref": "Operation"
10946+ },
10947+ "scopes": [
10948+ "https://www.googleapis.com/auth/cloud-platform",
10949+ "https://www.googleapis.com/auth/compute"
10950+ ]
10951+ },
10952+ "setMachineType": {
10953+ "id": "compute.instances.setMachineType",
10954+ "path": "{project}/zones/{zone}/instances/{instance}/setMachineType",
10955+ "httpMethod": "POST",
10956+ "description": "Sets machine type for the specified instances to the data included in the request.",
10957+ "parameters": {
10958+ "instance": {
10959+ "type": "string",
10960+ "description": "Name of the instance scoping this request.",
10961+ "required": true,
10962+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
10963+ "location": "path"
10964+ },
10965+ "project": {
10966+ "type": "string",
10967+ "description": "Project ID for this request.",
10968+ "required": true,
10969+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
10970+ "location": "path"
10971+ },
10972+ "zone": {
10973+ "type": "string",
10974+ "description": "The name of the zone for this request.",
10975+ "required": true,
10976+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
10977+ "location": "path"
10978+ }
10979+ },
10980+ "parameterOrder": [
10981+ "project",
10982+ "zone",
10983+ "instance"
10984+ ],
10985+ "request": {
10986+ "$ref": "InstancesSetMachineTypeRequest"
10987+ },
10988+ "response": {
10989+ "$ref": "Operation"
10990+ },
10991+ "scopes": [
10992+ "https://www.googleapis.com/auth/cloud-platform",
10993+ "https://www.googleapis.com/auth/compute"
10994+ ]
10995+ },
1087310996 "setMetadata": {
1087410997 "id": "compute.instances.setMetadata",
1087510998 "path": "{project}/zones/{zone}/instances/{instance}/setMetadata",
gen/model/compute/v1/compute-api.json+982−147
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/DxnE4TNUGn7fmGw0kTlvolIQtuA\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/K2YWeNBEH2yOCjdgDssBGJY_KU4\"",
44 "discoveryVersion": "v1",
55 "id": "compute:v1",
66 "name": "compute",
77 "version": "v1",
8− "revision": "20150831",
8+ "revision": "20151015",
99 "title": "Compute Engine API",
1010 "description": "API for the Google Compute Engine service.",
1111 "ownerDomain": "google.com",
@@ -354,6 +354,7 @@
354354 },
355355 "interface": {
356356 "type": "string",
357+ "description": "Specifies the disk interface to use for attaching this disk, either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.",
357358 "enum": [
358359 "NVME",
359360 "SCSI"
@@ -819,9 +820,11 @@
819820 "protocol": {
820821 "type": "string",
821822 "enum": [
822− "HTTP"
823+ "HTTP",
824+ "HTTPS"
823825 ],
824826 "enumDescriptions": [
827+ "",
825828 ""
826829 ]
827830 },
@@ -1530,7 +1533,7 @@
15301533 },
15311534 "kind": {
15321535 "type": "string",
1533− "description": "Type of the resource.",
1536+ "description": "[Output Only] Type of the resource. Always compute#forwardingRule.",
15341537 "default": "compute#forwardingRule"
15351538 },
15361539 "name": {
@@ -1540,7 +1543,7 @@
15401543 },
15411544 "portRange": {
15421545 "type": "string",
1543− "description": "Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges."
1546+ "description": "Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges."
15441547 },
15451548 "region": {
15461549 "type": "string",
@@ -1745,14 +1748,14 @@
17451748 },
17461749 "hosts": {
17471750 "type": "array",
1748− "description": "The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left.",
1751+ "description": "The list of host patterns to match. They must be valid hostnames, except * will match any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or ..",
17491752 "items": {
17501753 "type": "string"
17511754 }
17521755 },
17531756 "pathMatcher": {
17541757 "type": "string",
1755− "description": "The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion."
1758+ "description": "The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion."
17561759 }
17571760 }
17581761 },
@@ -1854,6 +1857,104 @@
18541857 }
18551858 }
18561859 },
1860+ "HttpsHealthCheck": {
1861+ "id": "HttpsHealthCheck",
1862+ "type": "object",
1863+ "description": "An HttpsHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTPS.",
1864+ "properties": {
1865+ "checkIntervalSec": {
1866+ "type": "integer",
1867+ "description": "How often (in seconds) to send a health check. The default value is 5 seconds.",
1868+ "format": "int32"
1869+ },
1870+ "creationTimestamp": {
1871+ "type": "string",
1872+ "description": "[Output Only] Creation timestamp in RFC3339 text format."
1873+ },
1874+ "description": {
1875+ "type": "string",
1876+ "description": "An optional textual description of the resource; provided by the client when the resource is created."
1877+ },
1878+ "healthyThreshold": {
1879+ "type": "integer",
1880+ "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.",
1881+ "format": "int32"
1882+ },
1883+ "host": {
1884+ "type": "string",
1885+ "description": "The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used."
1886+ },
1887+ "id": {
1888+ "type": "string",
1889+ "description": "[Output Only] Unique identifier for the resource; defined by the server.",
1890+ "format": "uint64"
1891+ },
1892+ "kind": {
1893+ "type": "string",
1894+ "description": "Type of the resource.",
1895+ "default": "compute#httpsHealthCheck"
1896+ },
1897+ "name": {
1898+ "type": "string",
1899+ "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
1900+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
1901+ },
1902+ "port": {
1903+ "type": "integer",
1904+ "description": "The TCP port number for the HTTPS health check request. The default value is 443.",
1905+ "format": "int32"
1906+ },
1907+ "requestPath": {
1908+ "type": "string",
1909+ "description": "The request path of the HTTPS health check request. The default value is \"/\"."
1910+ },
1911+ "selfLink": {
1912+ "type": "string",
1913+ "description": "[Output Only] Server-defined URL for the resource."
1914+ },
1915+ "timeoutSec": {
1916+ "type": "integer",
1917+ "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.",
1918+ "format": "int32"
1919+ },
1920+ "unhealthyThreshold": {
1921+ "type": "integer",
1922+ "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.",
1923+ "format": "int32"
1924+ }
1925+ }
1926+ },
1927+ "HttpsHealthCheckList": {
1928+ "id": "HttpsHealthCheckList",
1929+ "type": "object",
1930+ "description": "Contains a list of HttpsHealthCheck resources.",
1931+ "properties": {
1932+ "id": {
1933+ "type": "string",
1934+ "description": "[Output Only] Unique identifier for the resource; defined by the server."
1935+ },
1936+ "items": {
1937+ "type": "array",
1938+ "description": "A list of HttpsHealthCheck resources.",
1939+ "items": {
1940+ "$ref": "HttpsHealthCheck"
1941+ }
1942+ },
1943+ "kind": {
1944+ "type": "string",
1945+ "description": "Type of resource.",
1946+ "default": "compute#httpsHealthCheckList"
1947+ },
1948+ "nextPageToken": {
1949+ "type": "string",
1950+ "description": "[Output Only] A token used to continue a truncated list request."
1951+ },
1952+ "selfLink": {
1953+ "type": "string",
1954+ "description": "[Output Only] Server-defined URL for this resource."
1955+ }
1956+ }
1957+ },
18571958 "Image": {
18581959 "id": "Image",
18591960 "type": "object",
@@ -1988,7 +2089,7 @@
19882089 },
19892090 "items": {
19902091 "type": "array",
1991− "description": "A list of Image resources.",
2092+ "description": "[Output Only] A list of Image resources.",
19922093 "items": {
19932094 "$ref": "Image"
19942095 }
@@ -2168,12 +2269,12 @@
21682269 },
21692270 "fingerprint": {
21702271 "type": "string",
2171− "description": "[Output Only] The fingerprint of the named ports information. The system uses this fingerprint to detect conflicts when multiple users change the named ports information concurrently.",
2272+ "description": "[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.",
21722273 "format": "byte"
21732274 },
21742275 "id": {
21752276 "type": "string",
2176− "description": "[Output Only] A unique identifier for this instance group. The server defines this identifier.",
2277+ "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.",
21772278 "format": "uint64"
21782279 },
21792280 "kind": {
@@ -2193,18 +2294,18 @@
21932294 },
21942295 "namedPorts": {
21952296 "type": "array",
2196− "description": "Assigns a name to a port number. For example: {name: ?http?, port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: ?http?, port: 80},{name: \"http\", port: 8080}] Named ports apply to all instances in this instance group.",
2297+ "description": "Assigns a name to a port number. For example: {name: \"http\", port: 80}\n\nThis allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: \"http\", port: 80},{name: \"http\", port: 8080}] \n\nNamed ports apply to all instances in this instance group.",
21972298 "items": {
21982299 "$ref": "NamedPort"
21992300 }
22002301 },
22012302 "network": {
22022303 "type": "string",
2203− "description": "The URL of the network to which all instances in the instance group belong."
2304+ "description": "[Output Only] The URL of the network to which all instances in the instance group belong."
22042305 },
22052306 "selfLink": {
22062307 "type": "string",
2207− "description": "[Output Only] The URL for this instance group. The server defines this URL."
2308+ "description": "[Output Only] The URL for this instance group. The server generates this URL."
22082309 },
22092310 "size": {
22102311 "type": "integer",
@@ -2213,7 +2314,7 @@
22132314 },
22142315 "zone": {
22152316 "type": "string",
2216− "description": "The URL of the zone where the instance group is located."
2317+ "description": "[Output Only] The URL of the zone where the instance group is located."
22172318 }
22182319 }
22192320 },
@@ -2223,7 +2324,7 @@
22232324 "properties": {
22242325 "id": {
22252326 "type": "string",
2226− "description": "[Output Only] A unique identifier for this aggregated list of instance groups. The server defines this identifier."
2327+ "description": "[Output Only] A unique identifier for this aggregated list of instance groups. The server generates this identifier."
22272328 },
22282329 "items": {
22292330 "type": "object",
@@ -2244,7 +2345,7 @@
22442345 },
22452346 "selfLink": {
22462347 "type": "string",
2247− "description": "[Output Only] A unique identifier for this aggregated list of instance groups. The server defines this identifier."
2348+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
22482349 }
22492350 }
22502351 },
@@ -2255,11 +2356,11 @@
22552356 "properties": {
22562357 "id": {
22572358 "type": "string",
2258− "description": "[Output Only] A unique identifier for this list of instance groups. The server defines this identifier."
2359+ "description": "[Output Only] A unique identifier for this list of instance groups. The server generates this identifier."
22592360 },
22602361 "items": {
22612362 "type": "array",
2262− "description": "A list of InstanceGroup resources.",
2363+ "description": "A list of instance groups.",
22632364 "items": {
22642365 "$ref": "InstanceGroup"
22652366 }
@@ -2275,7 +2376,7 @@
22752376 },
22762377 "selfLink": {
22772378 "type": "string",
2278− "description": "[Output Only] The URL for this instance group. The server defines this URL."
2379+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
22792380 }
22802381 }
22812382 },
@@ -2300,7 +2401,7 @@
23002401 },
23012402 "currentActions": {
23022403 "$ref": "InstanceGroupManagerActionsSummary",
2303− "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for those actions."
2404+ "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions."
23042405 },
23052406 "description": {
23062407 "type": "string",
@@ -2308,17 +2409,17 @@
23082409 },
23092410 "fingerprint": {
23102411 "type": "string",
2311− "description": "[Output Only] The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.",
2412+ "description": "[Output Only] The fingerprint of the target pools information. You can use this optional field for optimistic locking when you update the target pool entries.",
23122413 "format": "byte"
23132414 },
23142415 "id": {
23152416 "type": "string",
2316− "description": "[Output Only] A unique identifier for this managed instance group. The server defines this identifier.",
2417+ "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.",
23172418 "format": "uint64"
23182419 },
23192420 "instanceGroup": {
23202421 "type": "string",
2321− "description": "[Output Only] The URL of the InstanceGroup resource."
2422+ "description": "[Output Only] The URL of the Instance Group resource."
23222423 },
23232424 "instanceTemplate": {
23242425 "type": "string",
@@ -2346,11 +2447,11 @@
23462447 },
23472448 "selfLink": {
23482449 "type": "string",
2349− "description": "[Output Only] Server-defined URL for this managed instance group."
2450+ "description": "[Output Only] The URL for this managed instance group. The server defines this URL."
23502451 },
23512452 "targetPools": {
23522453 "type": "array",
2353− "description": "The URLs of all TargetPool resources to which new instances in the instanceGroup field are added. Updating the target pool values does not affect existing instances.",
2454+ "description": "The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.",
23542455 "items": {
23552456 "type": "string"
23562457 }
@@ -2367,7 +2468,7 @@
23672468 },
23682469 "zone": {
23692470 "type": "string",
2370− "description": "The URL of the zone where the managed instance group is located."
2471+ "description": "The name of the zone where the managed instance group is located."
23712472 }
23722473 }
23732474 },
@@ -2377,7 +2478,7 @@
23772478 "properties": {
23782479 "abandoning": {
23792480 "type": "integer",
2380− "description": "[Output Only] Total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.",
2481+ "description": "[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.",
23812482 "format": "int32"
23822483 },
23832484 "creating": {
@@ -2392,7 +2493,7 @@
23922493 },
23932494 "none": {
23942495 "type": "integer",
2395− "description": "[Output Only] The number of instances in the managed instance group that currently have no scheduled actions.",
2496+ "description": "[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.",
23962497 "format": "int32"
23972498 },
23982499 "recreating": {
@@ -2418,19 +2519,19 @@
24182519 "properties": {
24192520 "id": {
24202521 "type": "string",
2421− "description": "[Output Only] A unique identifier for this aggregated list of managed instance groups. The server defines this identifier."
2522+ "description": "[Output Only] A unique identifier for this aggregated list of managed instance groups. The server generates this identifier."
24222523 },
24232524 "items": {
24242525 "type": "object",
2425− "description": "A map of filtered managed instance group lists.",
2526+ "description": "[Output Only] A map of filtered managed instance group lists.",
24262527 "additionalProperties": {
24272528 "$ref": "InstanceGroupManagersScopedList",
2428− "description": "The name of the scope that contains this set of managed instance groups."
2529+ "description": "[Output Only] The name of the scope that contains this set of managed instance groups."
24292530 }
24302531 },
24312532 "kind": {
24322533 "type": "string",
2433− "description": "[Output Only] Type of the resource. Always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.",
2534+ "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.",
24342535 "default": "compute#instanceGroupManagerAggregatedList"
24352536 },
24362537 "nextPageToken": {
@@ -2439,29 +2540,29 @@
24392540 },
24402541 "selfLink": {
24412542 "type": "string",
2442− "description": "[Output Only] The URL for this aggregated list of managed instance groups. The server defines this URL."
2543+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
24432544 }
24442545 }
24452546 },
24462547 "InstanceGroupManagerList": {
24472548 "id": "InstanceGroupManagerList",
24482549 "type": "object",
2449− "description": "[Output Only] A list of InstanceGroupManager resources.",
2550+ "description": "[Output Only] A list of managed instance groups.",
24502551 "properties": {
24512552 "id": {
24522553 "type": "string",
2453− "description": "[Output Only] A unique identifier for this managed instance group. The server defines this identifier."
2554+ "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier."
24542555 },
24552556 "items": {
24562557 "type": "array",
2457− "description": "[Output Only] A list of managed instance group resources.",
2558+ "description": "[Output Only] A list of managed instance groups.",
24582559 "items": {
24592560 "$ref": "InstanceGroupManager"
24602561 }
24612562 },
24622563 "kind": {
24632564 "type": "string",
2464− "description": "[Output Only] Type of the resource. Always compute#instanceGroupManagerList for a list of managed instance group resources.",
2565+ "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups.",
24652566 "default": "compute#instanceGroupManagerList"
24662567 },
24672568 "nextPageToken": {
@@ -2470,7 +2571,7 @@
24702571 },
24712572 "selfLink": {
24722573 "type": "string",
2473− "description": "[Output Only] The URL for this managed instance group. The server defines this URL."
2574+ "description": "[Output Only] The URL for this resource type. The server generates this URL."
24742575 }
24752576 }
24762577 },
@@ -2480,7 +2581,7 @@
24802581 "properties": {
24812582 "instances": {
24822583 "type": "array",
2483− "description": "The names of instances to abandon from the managed instance group.",
2584+ "description": "The URL for one or more instances to abandon from the managed instance group.",
24842585 "items": {
24852586 "type": "string"
24862587 }
@@ -2493,7 +2594,7 @@
24932594 "properties": {
24942595 "instances": {
24952596 "type": "array",
2496− "description": "The names of one or more instances to delete.",
2597+ "description": "The list of instances to delete from this managed instance group. Specify one or more instance URLs.",
24972598 "items": {
24982599 "type": "string"
24992600 }
@@ -2506,7 +2607,7 @@
25062607 "properties": {
25072608 "managedInstances": {
25082609 "type": "array",
2509− "description": "List of managed instances. If empty - all instances are listed.",
2610+ "description": "[Output Only] The list of instances in the managed instance group.",
25102611 "items": {
25112612 "$ref": "ManagedInstance"
25122613 }
@@ -2519,7 +2620,7 @@
25192620 "properties": {
25202621 "instances": {
25212622 "type": "array",
2522− "description": "The names of one or more instances to recreate.",
2623+ "description": "The URL for one or more instances to recreate.",
25232624 "items": {
25242625 "type": "string"
25252626 }
@@ -2618,12 +2719,12 @@
26182719 "properties": {
26192720 "fingerprint": {
26202721 "type": "string",
2621− "description": "The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.",
2722+ "description": "The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
26222723 "format": "byte"
26232724 },
26242725 "targetPools": {
26252726 "type": "array",
2626− "description": "The list of target pool URLs that instances in this managed instance group belong to. When the managed instance group creates new instances, the group automatically adds those instances to the target pools that are specified in this parameter. Changing the value of this parameter does not change the target pools of existing instances in this managed instance group.",
2727+ "description": "The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.",
26272728 "items": {
26282729 "type": "string"
26292730 }
@@ -2636,7 +2737,7 @@
26362737 "properties": {
26372738 "instances": {
26382739 "type": "array",
2639− "description": "The instances to add to the instance group.",
2740+ "description": "The list of instances to add to the instance group.",
26402741 "items": {
26412742 "$ref": "InstanceReference"
26422743 }
@@ -2649,11 +2750,11 @@
26492750 "properties": {
26502751 "id": {
26512752 "type": "string",
2652− "description": "[Output Only] A unique identifier for this list of instance groups. The server defines this identifier."
2753+ "description": "[Output Only] A unique identifier for this list of instance groups. The server generates this identifier."
26532754 },
26542755 "items": {
26552756 "type": "array",
2656− "description": "A list of InstanceWithNamedPorts resources, which contains all named ports for the given instance.",
2757+ "description": "[Output Only] A list of instances and any named ports that are assigned to those instances.",
26572758 "items": {
26582759 "$ref": "InstanceWithNamedPorts"
26592760 }
@@ -2669,7 +2770,7 @@
26692770 },
26702771 "selfLink": {
26712772 "type": "string",
2672− "description": "[Output Only] The URL for this list of instance groups. The server defines this URL."
2773+ "description": "[Output Only] The URL for this list of instance groups. The server generates this URL."
26732774 }
26742775 }
26752776 },
@@ -2697,7 +2798,7 @@
26972798 "properties": {
26982799 "instances": {
26992800 "type": "array",
2700− "description": "The instances to remove from the instance group.",
2801+ "description": "The list of instances to remove from the instance group.",
27012802 "items": {
27022803 "$ref": "InstanceReference"
27032804 }
@@ -2786,7 +2887,7 @@
27862887 "properties": {
27872888 "fingerprint": {
27882889 "type": "string",
2789− "description": "The fingerprint of the named ports information, which is a hash of the contents. Use this field for optimistic locking when you update the named ports entries.",
2890+ "description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
27902891 "format": "byte"
27912892 },
27922893 "namedPorts": {
@@ -2850,7 +2951,7 @@
28502951 "properties": {
28512952 "canIpForward": {
28522953 "type": "boolean",
2853− "description": "A boolean that specifies if instances created from this template can send packets with source IP addresses other than their own or receive packets with destination IP addresses other than their own. If you use these instances as an IP gateway or as the next-hop in a Route resource, specify true. Otherwise, specify false."
2954+ "description": "Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the canIpForward documentation for more information."
28542955 },
28552956 "description": {
28562957 "type": "string",
@@ -2878,14 +2979,14 @@
28782979 },
28792980 "networkInterfaces": {
28802981 "type": "array",
2881− "description": "An array of network access configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only supported access configuration. If you do not specify any access configurations, the instances that are created from this template will have no external internet access.",
2982+ "description": "An array of network access configurations for this interface.",
28822983 "items": {
28832984 "$ref": "NetworkInterface"
28842985 }
28852986 },
28862987 "scheduling": {
28872988 "$ref": "Scheduling",
2888− "description": "A list of scheduling options for the instances that are created from this template."
2989+ "description": "Specifies the scheduling options for the instances that are created from this template."
28892990 },
28902991 "serviceAccounts": {
28912992 "type": "array",
@@ -2905,7 +3006,8 @@
29053006 "type": "object",
29063007 "properties": {
29073008 "instance": {
2908− "type": "string"
3009+ "type": "string",
3010+ "description": "The URL for a specific instance."
29093011 }
29103012 }
29113013 },
@@ -2934,7 +3036,7 @@
29343036 },
29353037 "name": {
29363038 "type": "string",
2937− "description": "The name of the instance template. The name must be 1-63 characters long, and comply with RFC1035.",
3039+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
29383040 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
29393041 "annotations": {
29403042 "required": [
@@ -2944,7 +3046,7 @@
29443046 },
29453047 "properties": {
29463048 "$ref": "InstanceProperties",
2947− "description": "The instance properties for the instance template resource."
3049+ "description": "The instance properties for this instance template."
29483050 },
29493051 "selfLink": {
29503052 "type": "string",
@@ -2963,7 +3065,7 @@
29633065 },
29643066 "items": {
29653067 "type": "array",
2966− "description": "A list of InstanceTemplate resources.",
3068+ "description": "[Output Only] list of InstanceTemplate resources.",
29673069 "items": {
29683070 "$ref": "InstanceTemplate"
29693071 }
@@ -2989,18 +3091,18 @@
29893091 "properties": {
29903092 "instance": {
29913093 "type": "string",
2992− "description": "The URL of the instance."
3094+ "description": "[Output Only] The URL of the instance."
29933095 },
29943096 "namedPorts": {
29953097 "type": "array",
2996− "description": "The named ports that belong to this instance group.",
3098+ "description": "[Output Only] The named ports that belong to this instance group.",
29973099 "items": {
29983100 "$ref": "NamedPort"
29993101 }
30003102 },
30013103 "status": {
30023104 "type": "string",
3003− "description": "The status of the instance.",
3105+ "description": "[Output Only] The status of the instance.",
30043106 "enum": [
30053107 "PROVISIONING",
30063108 "RUNNING",
@@ -3355,7 +3457,7 @@
33553457 "properties": {
33563458 "currentAction": {
33573459 "type": "string",
3358− "description": "The current action that the managed instance group has scheduled for the instance.",
3460+ "description": "[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: \n- NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. \n- CREATING The managed instance group is creating this instance. \n- RECREATING The managed instance group is recreating this instance. \n- DELETING The managed instance group is permanently deleting this instance. \n- ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. \n- RESTARTING The managed instance group is restarting the instance. \n- REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.",
33593461 "enum": [
33603462 "ABANDONING",
33613463 "CREATING",
@@ -3377,16 +3479,16 @@
33773479 },
33783480 "id": {
33793481 "type": "string",
3380− "description": "The unique identifier for this resource (empty when instance does not exist).",
3482+ "description": "[Output only] The unique identifier for this resource. This field is empty when instance does not exist.",
33813483 "format": "uint64"
33823484 },
33833485 "instance": {
33843486 "type": "string",
3385− "description": "The URL of the instance (set even though instance does not exist yet)."
3487+ "description": "[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created."
33863488 },
33873489 "instanceStatus": {
33883490 "type": "string",
3389− "description": "The status of the instance (empty when instance does not exist).",
3491+ "description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.",
33903492 "enum": [
33913493 "PROVISIONING",
33923494 "RUNNING",
@@ -3410,7 +3512,7 @@
34103512 },
34113513 "lastAttempt": {
34123514 "$ref": "ManagedInstanceLastAttempt",
3413− "description": "Information about the last attempt to create or delete the instance."
3515+ "description": "[Output Only] Information about the last attempt to create or delete the instance."
34143516 }
34153517 }
34163518 },
@@ -3420,7 +3522,7 @@
34203522 "properties": {
34213523 "errors": {
34223524 "type": "object",
3423− "description": "Encountered errors during the last attempt to create or delete the instance.",
3525+ "description": "[Output Only] Encountered errors during the last attempt to create or delete the instance.",
34243526 "properties": {
34253527 "errors": {
34263528 "type": "array",
@@ -3497,12 +3599,11 @@
34973599 "NamedPort": {
34983600 "id": "NamedPort",
34993601 "type": "object",
3500− "description": "The named port information. For example: .",
3602+ "description": "The named port. For example: .",
35013603 "properties": {
35023604 "name": {
35033605 "type": "string",
3504− "description": "The name for this NamedPort.",
3505− "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
3606+ "description": "The name for this named port. The name must be 1-63 characters long, and comply with RFC1035."
35063607 },
35073608 "port": {
35083609 "type": "integer",
@@ -3519,12 +3620,7 @@
35193620 "IPv4Range": {
35203621 "type": "string",
35213622 "description": "The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.",
3522− "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}",
3523− "annotations": {
3524− "required": [
3525− "compute.networks.insert"
3526− ]
3527− }
3623+ "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}"
35283624 },
35293625 "creationTimestamp": {
35303626 "type": "string",
@@ -3691,7 +3787,7 @@
36913787 },
36923788 "kind": {
36933789 "type": "string",
3694− "description": "[Output Only] Type of the resource. Always compute#Operation for Operation resources.",
3790+ "description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
36953791 "default": "compute#operation"
36963792 },
36973793 "name": {
@@ -3700,7 +3796,7 @@
37003796 },
37013797 "operationType": {
37023798 "type": "string",
3703− "description": "[Output Only] Type of the operation, such as insert, update, and delete."
3799+ "description": "[Output Only] Type of the operation, such as insert, compute.instanceGroups.update, or compute.instanceGroups.delete."
37043800 },
37053801 "progress": {
37063802 "type": "integer",
@@ -3963,7 +4059,7 @@
39634059 "PathMatcher": {
39644060 "id": "PathMatcher",
39654061 "type": "object",
3966− "description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used.",
4062+ "description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service will be used.",
39674063 "properties": {
39684064 "defaultService": {
39694065 "type": "string",
@@ -4617,6 +4713,79 @@
46174713 }
46184714 }
46194715 },
4716+ "SslCertificate": {
4717+ "id": "SslCertificate",
4718+ "type": "object",
4719+ "description": "An SslCertificate resource. This resource provides a mechanism to upload an SSL key and certificate to global HTTPS loadbalancer to serve secure connections.",
4720+ "properties": {
4721+ "certificate": {
4722+ "type": "string",
4723+ "description": "A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert."
4724+ },
4725+ "creationTimestamp": {
4726+ "type": "string",
4727+ "description": "[Output Only] Creation timestamp in RFC3339 text format."
4728+ },
4729+ "description": {
4730+ "type": "string",
4731+ "description": "An optional textual description of the resource. Provided by the client when the resource is created."
4732+ },
4733+ "id": {
4734+ "type": "string",
4735+ "description": "[Output Only] Unique identifier for the resource. Defined by the server.",
4736+ "format": "uint64"
4737+ },
4738+ "kind": {
4739+ "type": "string",
4740+ "description": "[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.",
4741+ "default": "compute#sslCertificate"
4742+ },
4743+ "name": {
4744+ "type": "string",
4745+ "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
4746+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
4747+ },
4748+ "privateKey": {
4749+ "type": "string",
4750+ "description": "A write-only private key in PEM format. Only insert RPCs will include this field."
4751+ },
4752+ "selfLink": {
4753+ "type": "string",
4754+ "description": "[Output only] Server-defined URL for the resource."
4755+ }
4756+ }
4757+ },
4758+ "SslCertificateList": {
4759+ "id": "SslCertificateList",
4760+ "type": "object",
4761+ "description": "Contains a list of SslCertificate resources.",
4762+ "properties": {
4763+ "id": {
4764+ "type": "string",
4765+ "description": "[Output Only] Unique identifier for the resource. Defined by the server."
4766+ },
4767+ "items": {
4768+ "type": "array",
4769+ "description": "A list of SslCertificate resources.",
4770+ "items": {
4771+ "$ref": "SslCertificate"
4772+ }
4773+ },
4774+ "kind": {
4775+ "type": "string",
4776+ "description": "Type of resource.",
4777+ "default": "compute#sslCertificateList"
4778+ },
4779+ "nextPageToken": {
4780+ "type": "string",
4781+ "description": "[Output Only] A token used to continue a truncated list request."
4782+ },
4783+ "selfLink": {
4784+ "type": "string",
4785+ "description": "[Output Only] Server-defined URL for this resource."
4786+ }
4787+ }
4788+ },
46204789 "Tags": {
46214790 "id": "Tags",
46224791 "type": "object",
@@ -4656,7 +4825,7 @@
46564825 },
46574826 "kind": {
46584827 "type": "string",
4659− "description": "[Output Only] Type of resource. Always compute#Operation for Operation resources.",
4828+ "description": "[Output Only] Type of resource. Always compute#operation for Operation resources.",
46604829 "default": "compute#targetHttpProxy"
46614830 },
46624831 "name": {
@@ -4705,6 +4874,95 @@
47054874 }
47064875 }
47074876 },
4877+ "TargetHttpsProxiesSetSslCertificatesRequest": {
4878+ "id": "TargetHttpsProxiesSetSslCertificatesRequest",
4879+ "type": "object",
4880+ "properties": {
4881+ "sslCertificates": {
4882+ "type": "array",
4883+ "description": "New set of URLs to SslCertificate resources to associate with this TargetHttpProxy. Currently exactly one ssl certificate must be specified.",
4884+ "items": {
4885+ "type": "string"
4886+ }
4887+ }
4888+ }
4889+ },
4890+ "TargetHttpsProxy": {
4891+ "id": "TargetHttpsProxy",
4892+ "type": "object",
4893+ "description": "A TargetHttpsProxy resource. This resource defines an HTTPS proxy.",
4894+ "properties": {
4895+ "creationTimestamp": {
4896+ "type": "string",
4897+ "description": "[Output Only] Creation timestamp in RFC3339 text format."
4898+ },
4899+ "description": {
4900+ "type": "string",
4901+ "description": "An optional textual description of the resource. Provided by the client when the resource is created."
4902+ },
4903+ "id": {
4904+ "type": "string",
4905+ "description": "[Output Only] Unique identifier for the resource; defined by the server.",
4906+ "format": "uint64"
4907+ },
4908+ "kind": {
4909+ "type": "string",
4910+ "description": "Type of the resource.",
4911+ "default": "compute#targetHttpsProxy"
4912+ },
4913+ "name": {
4914+ "type": "string",
4915+ "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
4916+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
4917+ },
4918+ "selfLink": {
4919+ "type": "string",
4920+ "description": "[Output Only] Server-defined URL for the resource."
4921+ },
4922+ "sslCertificates": {
4923+ "type": "array",
4924+ "description": "URLs to SslCertificate resources that are used to authenticate connections to Backends. Currently exactly one SSL certificate must be specified.",
4925+ "items": {
4926+ "type": "string"
4927+ }
4928+ },
4929+ "urlMap": {
4930+ "type": "string",
4931+ "description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService."
4932+ }
4933+ }
4934+ },
4935+ "TargetHttpsProxyList": {
4936+ "id": "TargetHttpsProxyList",
4937+ "type": "object",
4938+ "description": "Contains a list of TargetHttpsProxy resources.",
4939+ "properties": {
4940+ "id": {
4941+ "type": "string",
4942+ "description": "[Output Only] Unique identifier for the resource; defined by the server."
4943+ },
4944+ "items": {
4945+ "type": "array",
4946+ "description": "A list of TargetHttpsProxy resources.",
4947+ "items": {
4948+ "$ref": "TargetHttpsProxy"
4949+ }
4950+ },
4951+ "kind": {
4952+ "type": "string",
4953+ "description": "Type of resource.",
4954+ "default": "compute#targetHttpsProxyList"
4955+ },
4956+ "nextPageToken": {
4957+ "type": "string",
4958+ "description": "[Output Only] A token used to continue a truncated list request."
4959+ },
4960+ "selfLink": {
4961+ "type": "string",
4962+ "description": "[Output Only] Server-defined URL for this resource."
4963+ }
4964+ }
4965+ },
47084966 "TargetInstance": {
47094967 "id": "TargetInstance",
47104968 "type": "object",
@@ -4956,7 +5214,7 @@
49565214 },
49575215 "sessionAffinity": {
49585216 "type": "string",
4959− "description": "Sesssion affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool; CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.",
5217+ "description": "Sesssion affinity option, must be one of the following values:\nNONE: Connections from the same client IP may go to any instance in the pool.\nCLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.\nCLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.",
49605218 "enum": [
49615219 "CLIENT_IP",
49625220 "CLIENT_IP_PROTO",
@@ -8335,24 +8593,24 @@
83358593 }
83368594 }
83378595 },
8338− "images": {
8596+ "httpsHealthChecks": {
83398597 "methods": {
83408598 "delete": {
8341− "id": "compute.images.delete",
8342− "path": "{project}/global/images/{image}",
8599+ "id": "compute.httpsHealthChecks.delete",
8600+ "path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
83438601 "httpMethod": "DELETE",
8344− "description": "Deletes the specified image resource.",
8602+ "description": "Deletes the specified HttpsHealthCheck resource.",
83458603 "parameters": {
8346− "image": {
8604+ "httpsHealthCheck": {
83478605 "type": "string",
8348− "description": "Name of the image resource to delete.",
8606+ "description": "Name of the HttpsHealthCheck resource to delete.",
83498607 "required": true,
83508608 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
83518609 "location": "path"
83528610 },
83538611 "project": {
83548612 "type": "string",
8355− "description": "Project ID for this request.",
8613+ "description": "Name of the project scoping this request.",
83568614 "required": true,
83578615 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
83588616 "location": "path"
@@ -8360,7 +8618,7 @@
83608618 },
83618619 "parameterOrder": [
83628620 "project",
8363− "image"
8621+ "httpsHealthCheck"
83648622 ],
83658623 "response": {
83668624 "$ref": "Operation"
@@ -8370,22 +8628,22 @@
83708628 "https://www.googleapis.com/auth/compute"
83718629 ]
83728630 },
8373− "deprecate": {
8374− "id": "compute.images.deprecate",
8375− "path": "{project}/global/images/{image}/deprecate",
8376− "httpMethod": "POST",
8377− "description": "Sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.",
8631+ "get": {
8632+ "id": "compute.httpsHealthChecks.get",
8633+ "path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
8634+ "httpMethod": "GET",
8635+ "description": "Returns the specified HttpsHealthCheck resource.",
83788636 "parameters": {
8379− "image": {
8637+ "httpsHealthCheck": {
83808638 "type": "string",
8381− "description": "Image name.",
8639+ "description": "Name of the HttpsHealthCheck resource to return.",
83828640 "required": true,
83838641 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
83848642 "location": "path"
83858643 },
83868644 "project": {
83878645 "type": "string",
8388− "description": "Project ID for this request.",
8646+ "description": "Name of the project scoping this request.",
83898647 "required": true,
83908648 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
83918649 "location": "path"
@@ -8393,20 +8651,236 @@
83938651 },
83948652 "parameterOrder": [
83958653 "project",
8396− "image"
8654+ "httpsHealthCheck"
83978655 ],
8398− "request": {
8399− "$ref": "DeprecationStatus"
8400− },
84018656 "response": {
8402− "$ref": "Operation"
8657+ "$ref": "HttpsHealthCheck"
84038658 },
84048659 "scopes": [
84058660 "https://www.googleapis.com/auth/cloud-platform",
8406− "https://www.googleapis.com/auth/compute"
8661+ "https://www.googleapis.com/auth/compute",
8662+ "https://www.googleapis.com/auth/compute.readonly"
84078663 ]
84088664 },
8409− "get": {
8665+ "insert": {
8666+ "id": "compute.httpsHealthChecks.insert",
8667+ "path": "{project}/global/httpsHealthChecks",
8668+ "httpMethod": "POST",
8669+ "description": "Creates a HttpsHealthCheck resource in the specified project using the data included in the request.",
8670+ "parameters": {
8671+ "project": {
8672+ "type": "string",
8673+ "description": "Name of the project scoping this request.",
8674+ "required": true,
8675+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
8676+ "location": "path"
8677+ }
8678+ },
8679+ "parameterOrder": [
8680+ "project"
8681+ ],
8682+ "request": {
8683+ "$ref": "HttpsHealthCheck"
8684+ },
8685+ "response": {
8686+ "$ref": "Operation"
8687+ },
8688+ "scopes": [
8689+ "https://www.googleapis.com/auth/cloud-platform",
8690+ "https://www.googleapis.com/auth/compute"
8691+ ]
8692+ },
8693+ "list": {
8694+ "id": "compute.httpsHealthChecks.list",
8695+ "path": "{project}/global/httpsHealthChecks",
8696+ "httpMethod": "GET",
8697+ "description": "Retrieves the list of HttpsHealthCheck resources available to the specified project.",
8698+ "parameters": {
8699+ "filter": {
8700+ "type": "string",
8701+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
8702+ "location": "query"
8703+ },
8704+ "maxResults": {
8705+ "type": "integer",
8706+ "description": "Maximum count of results to be returned.",
8707+ "default": "500",
8708+ "format": "uint32",
8709+ "minimum": "0",
8710+ "maximum": "500",
8711+ "location": "query"
8712+ },
8713+ "pageToken": {
8714+ "type": "string",
8715+ "description": "Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
8716+ "location": "query"
8717+ },
8718+ "project": {
8719+ "type": "string",
8720+ "description": "Name of the project scoping this request.",
8721+ "required": true,
8722+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
8723+ "location": "path"
8724+ }
8725+ },
8726+ "parameterOrder": [
8727+ "project"
8728+ ],
8729+ "response": {
8730+ "$ref": "HttpsHealthCheckList"
8731+ },
8732+ "scopes": [
8733+ "https://www.googleapis.com/auth/cloud-platform",
8734+ "https://www.googleapis.com/auth/compute",
8735+ "https://www.googleapis.com/auth/compute.readonly"
8736+ ]
8737+ },
8738+ "patch": {
8739+ "id": "compute.httpsHealthChecks.patch",
8740+ "path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
8741+ "httpMethod": "PATCH",
8742+ "description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.",
8743+ "parameters": {
8744+ "httpsHealthCheck": {
8745+ "type": "string",
8746+ "description": "Name of the HttpsHealthCheck resource to update.",
8747+ "required": true,
8748+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
8749+ "location": "path"
8750+ },
8751+ "project": {
8752+ "type": "string",
8753+ "description": "Name of the project scoping this request.",
8754+ "required": true,
8755+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
8756+ "location": "path"
8757+ }
8758+ },
8759+ "parameterOrder": [
8760+ "project",
8761+ "httpsHealthCheck"
8762+ ],
8763+ "request": {
8764+ "$ref": "HttpsHealthCheck"
8765+ },
8766+ "response": {
8767+ "$ref": "Operation"
8768+ },
8769+ "scopes": [
8770+ "https://www.googleapis.com/auth/cloud-platform",
8771+ "https://www.googleapis.com/auth/compute"
8772+ ]
8773+ },
8774+ "update": {
8775+ "id": "compute.httpsHealthChecks.update",
8776+ "path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
8777+ "httpMethod": "PUT",
8778+ "description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request.",
8779+ "parameters": {
8780+ "httpsHealthCheck": {
8781+ "type": "string",
8782+ "description": "Name of the HttpsHealthCheck resource to update.",
8783+ "required": true,
8784+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
8785+ "location": "path"
8786+ },
8787+ "project": {
8788+ "type": "string",
8789+ "description": "Name of the project scoping this request.",
8790+ "required": true,
8791+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
8792+ "location": "path"
8793+ }
8794+ },
8795+ "parameterOrder": [
8796+ "project",
8797+ "httpsHealthCheck"
8798+ ],
8799+ "request": {
8800+ "$ref": "HttpsHealthCheck"
8801+ },
8802+ "response": {
8803+ "$ref": "Operation"
8804+ },
8805+ "scopes": [
8806+ "https://www.googleapis.com/auth/cloud-platform",
8807+ "https://www.googleapis.com/auth/compute"
8808+ ]
8809+ }
8810+ }
8811+ },
8812+ "images": {
8813+ "methods": {
8814+ "delete": {
8815+ "id": "compute.images.delete",
8816+ "path": "{project}/global/images/{image}",
8817+ "httpMethod": "DELETE",
8818+ "description": "Deletes the specified image resource.",
8819+ "parameters": {
8820+ "image": {
8821+ "type": "string",
8822+ "description": "Name of the image resource to delete.",
8823+ "required": true,
8824+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
8825+ "location": "path"
8826+ },
8827+ "project": {
8828+ "type": "string",
8829+ "description": "Project ID for this request.",
8830+ "required": true,
8831+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
8832+ "location": "path"
8833+ }
8834+ },
8835+ "parameterOrder": [
8836+ "project",
8837+ "image"
8838+ ],
8839+ "response": {
8840+ "$ref": "Operation"
8841+ },
8842+ "scopes": [
8843+ "https://www.googleapis.com/auth/cloud-platform",
8844+ "https://www.googleapis.com/auth/compute"
8845+ ]
8846+ },
8847+ "deprecate": {
8848+ "id": "compute.images.deprecate",
8849+ "path": "{project}/global/images/{image}/deprecate",
8850+ "httpMethod": "POST",
8851+ "description": "Sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.",
8852+ "parameters": {
8853+ "image": {
8854+ "type": "string",
8855+ "description": "Image name.",
8856+ "required": true,
8857+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
8858+ "location": "path"
8859+ },
8860+ "project": {
8861+ "type": "string",
8862+ "description": "Project ID for this request.",
8863+ "required": true,
8864+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
8865+ "location": "path"
8866+ }
8867+ },
8868+ "parameterOrder": [
8869+ "project",
8870+ "image"
8871+ ],
8872+ "request": {
8873+ "$ref": "DeprecationStatus"
8874+ },
8875+ "response": {
8876+ "$ref": "Operation"
8877+ },
8878+ "scopes": [
8879+ "https://www.googleapis.com/auth/cloud-platform",
8880+ "https://www.googleapis.com/auth/compute"
8881+ ]
8882+ },
8883+ "get": {
84108884 "id": "compute.images.get",
84118885 "path": "{project}/global/images/{image}",
84128886 "httpMethod": "GET",
@@ -8475,7 +8949,7 @@
84758949 "id": "compute.images.list",
84768950 "path": "{project}/global/images",
84778951 "httpMethod": "GET",
8478− "description": "Retrieves the list of image resources available to the specified project.",
8952+ "description": "Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 7. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.\n\nSee Accessing images for more information.",
84798953 "parameters": {
84808954 "filter": {
84818955 "type": "string",
@@ -8524,11 +8998,11 @@
85248998 "id": "compute.instanceGroupManagers.abandonInstances",
85258999 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances",
85269000 "httpMethod": "POST",
8527− "description": "Removes the specified instances from the managed instance group, and from any target pools where they are a member. The instances are not deleted. The managed instance group automatically reduces its targetSize value by the number of instances that you abandon from the group.",
9001+ "description": "Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.",
85289002 "parameters": {
85299003 "instanceGroupManager": {
85309004 "type": "string",
8531− "description": "The name of the instance group manager.",
9005+ "description": "The name of the managed instance group.",
85329006 "required": true,
85339007 "location": "path"
85349008 },
@@ -8541,7 +9015,7 @@
85419015 },
85429016 "zone": {
85439017 "type": "string",
8544− "description": "The URL of the zone where the managed instance group is located.",
9018+ "description": "The name of the zone where the managed instance group is located.",
85459019 "required": true,
85469020 "location": "path"
85479021 }
@@ -8566,7 +9040,7 @@
85669040 "id": "compute.instanceGroupManagers.aggregatedList",
85679041 "path": "{project}/aggregated/instanceGroupManagers",
85689042 "httpMethod": "GET",
8569− "description": "Retrieves the list of managed instance groups, and groups them by project and zone.",
9043+ "description": "Retrieves the list of managed instance groups and groups them by zone.",
85709044 "parameters": {
85719045 "filter": {
85729046 "type": "string",
@@ -8611,11 +9085,11 @@
86119085 "id": "compute.instanceGroupManagers.delete",
86129086 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
86139087 "httpMethod": "DELETE",
8614− "description": "Deletes the specified managed instance group resource.",
9088+ "description": "Deletes the specified managed instance group and all of the instances in that group.",
86159089 "parameters": {
86169090 "instanceGroupManager": {
86179091 "type": "string",
8618− "description": "The name of the instance group manager to delete.",
9092+ "description": "The name of the managed instance group to delete.",
86199093 "required": true,
86209094 "location": "path"
86219095 },
@@ -8628,7 +9102,7 @@
86289102 },
86299103 "zone": {
86309104 "type": "string",
8631− "description": "The URL of the zone where the managed instance group is located.",
9105+ "description": "The name of the zone where the managed instance group is located.",
86329106 "required": true,
86339107 "location": "path"
86349108 }
@@ -8650,11 +9124,11 @@
86509124 "id": "compute.instanceGroupManagers.deleteInstances",
86519125 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances",
86529126 "httpMethod": "POST",
8653− "description": "Deletes the specified instances. The instances are deleted and removed from the instance group and any target pools where they are a member. The managed instance group automatically reduces its targetSize value by the number of instances that you delete.",
9127+ "description": "Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.",
86549128 "parameters": {
86559129 "instanceGroupManager": {
86569130 "type": "string",
8657− "description": "The name of the instance group manager.",
9131+ "description": "The name of the managed instance group.",
86589132 "required": true,
86599133 "location": "path"
86609134 },
@@ -8667,7 +9141,7 @@
86679141 },
86689142 "zone": {
86699143 "type": "string",
8670− "description": "The URL of the zone where the managed instance group is located.",
9144+ "description": "The name of the zone where the managed instance group is located.",
86719145 "required": true,
86729146 "location": "path"
86739147 }
@@ -8692,11 +9166,11 @@
86929166 "id": "compute.instanceGroupManagers.get",
86939167 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
86949168 "httpMethod": "GET",
8695− "description": "Returns the specified managed instance group resource.",
9169+ "description": "Returns all of the details about the specified managed instance group.",
86969170 "parameters": {
86979171 "instanceGroupManager": {
86989172 "type": "string",
8699− "description": "The name of the instance group manager resource.",
9173+ "description": "The name of the managed instance group.",
87009174 "required": true,
87019175 "location": "path"
87029176 },
@@ -8709,7 +9183,7 @@
87099183 },
87109184 "zone": {
87119185 "type": "string",
8712− "description": "The URL of the zone where the managed instance group is located.",
9186+ "description": "The name of the zone where the managed instance group is located.",
87139187 "required": true,
87149188 "location": "path"
87159189 }
@@ -8732,7 +9206,7 @@
87329206 "id": "compute.instanceGroupManagers.insert",
87339207 "path": "{project}/zones/{zone}/instanceGroupManagers",
87349208 "httpMethod": "POST",
8735− "description": "Creates a managed instance group resource in the specified project using the data that is included in the request.",
9209+ "description": "Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.",
87369210 "parameters": {
87379211 "project": {
87389212 "type": "string",
@@ -8743,7 +9217,7 @@
87439217 },
87449218 "zone": {
87459219 "type": "string",
8746− "description": "The URL of the zone where the managed instance group is located.",
9220+ "description": "The name of the zone where you want to create the managed instance group.",
87479221 "required": true,
87489222 "location": "path"
87499223 }
@@ -8797,7 +9271,7 @@
87979271 },
87989272 "zone": {
87999273 "type": "string",
8800− "description": "The URL of the zone where the managed instance group is located.",
9274+ "description": "The name of the zone where the managed instance group is located.",
88019275 "required": true,
88029276 "location": "path"
88039277 }
@@ -8819,7 +9293,7 @@
88199293 "id": "compute.instanceGroupManagers.listManagedInstances",
88209294 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances",
88219295 "httpMethod": "POST",
8822− "description": "Lists managed instances.",
9296+ "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.",
88239297 "parameters": {
88249298 "instanceGroupManager": {
88259299 "type": "string",
@@ -8836,7 +9310,7 @@
88369310 },
88379311 "zone": {
88389312 "type": "string",
8839− "description": "The URL of the zone where the managed instance group is located.",
9313+ "description": "The name of the zone where the managed instance group is located.",
88409314 "required": true,
88419315 "location": "path"
88429316 }
@@ -8859,11 +9333,11 @@
88599333 "id": "compute.instanceGroupManagers.recreateInstances",
88609334 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances",
88619335 "httpMethod": "POST",
8862− "description": "Recreates the specified instances. The instances are deleted, then recreated using the managed instance group's current instance template.",
9336+ "description": "Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.",
88639337 "parameters": {
88649338 "instanceGroupManager": {
88659339 "type": "string",
8866− "description": "The name of the instance group manager.",
9340+ "description": "The name of the managed instance group.",
88679341 "required": true,
88689342 "location": "path"
88699343 },
@@ -8876,7 +9350,7 @@
88769350 },
88779351 "zone": {
88789352 "type": "string",
8879− "description": "The URL of the zone where the managed instance group is located.",
9353+ "description": "The name of the zone where the managed instance group is located.",
88809354 "required": true,
88819355 "location": "path"
88829356 }
@@ -8901,11 +9375,11 @@
89019375 "id": "compute.instanceGroupManagers.resize",
89029376 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize",
89039377 "httpMethod": "POST",
8904− "description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group removes instances in the order that is outlined in Resizing a managed instance group.",
9378+ "description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.",
89059379 "parameters": {
89069380 "instanceGroupManager": {
89079381 "type": "string",
8908− "description": "The name of the instance group manager.",
9382+ "description": "The name of the managed instance group.",
89099383 "required": true,
89109384 "location": "path"
89119385 },
@@ -8925,7 +9399,7 @@
89259399 },
89269400 "zone": {
89279401 "type": "string",
8928− "description": "The URL of the zone where the managed instance group is located.",
9402+ "description": "The name of the zone where the managed instance group is located.",
89299403 "required": true,
89309404 "location": "path"
89319405 }
@@ -8952,7 +9426,7 @@
89529426 "parameters": {
89539427 "instanceGroupManager": {
89549428 "type": "string",
8955− "description": "The name of the instance group manager.",
9429+ "description": "The name of the managed instance group.",
89569430 "required": true,
89579431 "location": "path"
89589432 },
@@ -8965,7 +9439,7 @@
89659439 },
89669440 "zone": {
89679441 "type": "string",
8968− "description": "The URL of the zone where the managed instance group is located.",
9442+ "description": "The name of the zone where the managed instance group is located.",
89699443 "required": true,
89709444 "location": "path"
89719445 }
@@ -8990,11 +9464,11 @@
89909464 "id": "compute.instanceGroupManagers.setTargetPools",
89919465 "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools",
89929466 "httpMethod": "POST",
8993− "description": "Modifies the target pools to which all new instances in this group are assigned. The target pools for existing instances in the group do not change unless you recreate them.",
9467+ "description": "Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.",
89949468 "parameters": {
89959469 "instanceGroupManager": {
89969470 "type": "string",
8997− "description": "The name of the instance group manager.",
9471+ "description": "The name of the managed instance group.",
89989472 "required": true,
89999473 "location": "path"
90009474 },
@@ -9007,7 +9481,7 @@
90079481 },
90089482 "zone": {
90099483 "type": "string",
9010− "description": "The URL of the zone where the managed instance group is located.",
9484+ "description": "The name of the zone where the managed instance group is located.",
90119485 "required": true,
90129486 "location": "path"
90139487 }
@@ -9036,7 +9510,7 @@
90369510 "id": "compute.instanceGroups.addInstances",
90379511 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances",
90389512 "httpMethod": "POST",
9039− "description": "Adds a list of instances to an instance group. All of the instances in the instance group must be in the same network.",
9513+ "description": "Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. TODO: Change to comment to state \"if IG is load balanced.\"",
90409514 "parameters": {
90419515 "instanceGroup": {
90429516 "type": "string",
@@ -9053,7 +9527,7 @@
90539527 },
90549528 "zone": {
90559529 "type": "string",
9056− "description": "The URL of the zone where the instance group is located.",
9530+ "description": "The name of the zone where the instance group is located.",
90579531 "required": true,
90589532 "location": "path"
90599533 }
@@ -9078,7 +9552,7 @@
90789552 "id": "compute.instanceGroups.aggregatedList",
90799553 "path": "{project}/aggregated/instanceGroups",
90809554 "httpMethod": "GET",
9081− "description": "Retrieves the list of instance groups, and sorts them by zone.",
9555+ "description": "Retrieves the list of instance groups and sorts them by zone.",
90829556 "parameters": {
90839557 "filter": {
90849558 "type": "string",
@@ -9123,7 +9597,7 @@
91239597 "id": "compute.instanceGroups.delete",
91249598 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}",
91259599 "httpMethod": "DELETE",
9126− "description": "Deletes the specified instance group.",
9600+ "description": "Deletes the specified instance group. The instances in the group are not deleted.",
91279601 "parameters": {
91289602 "instanceGroup": {
91299603 "type": "string",
@@ -9140,7 +9614,7 @@
91409614 },
91419615 "zone": {
91429616 "type": "string",
9143− "description": "The URL of the zone where the instance group is located.",
9617+ "description": "The name of the zone where the instance group is located.",
91449618 "required": true,
91459619 "location": "path"
91469620 }
@@ -9179,7 +9653,7 @@
91799653 },
91809654 "zone": {
91819655 "type": "string",
9182− "description": "The URL of the zone where the instance group is located.",
9656+ "description": "The name of the zone where the instance group is located.",
91839657 "required": true,
91849658 "location": "path"
91859659 }
@@ -9213,7 +9687,7 @@
92139687 },
92149688 "zone": {
92159689 "type": "string",
9216− "description": "The URL of the zone where the instance group is located.",
9690+ "description": "The name of the zone where you want to create the instance group.",
92179691 "required": true,
92189692 "location": "path"
92199693 }
@@ -9267,7 +9741,7 @@
92679741 },
92689742 "zone": {
92699743 "type": "string",
9270− "description": "The URL of the zone where the instance group is located.",
9744+ "description": "The name of the zone where the instance group is located.",
92719745 "required": true,
92729746 "location": "path"
92739747 }
@@ -9289,7 +9763,7 @@
92899763 "id": "compute.instanceGroups.listInstances",
92909764 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances",
92919765 "httpMethod": "POST",
9292− "description": "Lists instances in an instance group. The parameters for this method specify whether the list filters instances by state and named ports information.",
9766+ "description": "Lists the instances in the specified instance group.",
92939767 "parameters": {
92949768 "filter": {
92959769 "type": "string",
@@ -9325,7 +9799,7 @@
93259799 },
93269800 "zone": {
93279801 "type": "string",
9328− "description": "The URL of the zone where the instance group is located.",
9802+ "description": "The name of the zone where the instance group is located.",
93299803 "required": true,
93309804 "location": "path"
93319805 }
@@ -9351,7 +9825,7 @@
93519825 "id": "compute.instanceGroups.removeInstances",
93529826 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances",
93539827 "httpMethod": "POST",
9354− "description": "Removes a list of instances from an instance group.",
9828+ "description": "Removes one or more instances from the specified instance group, but does not delete those instances.",
93559829 "parameters": {
93569830 "instanceGroup": {
93579831 "type": "string",
@@ -9368,7 +9842,7 @@
93689842 },
93699843 "zone": {
93709844 "type": "string",
9371− "description": "The URL of the zone where the instance group is located.",
9845+ "description": "The name of the zone where the instance group is located.",
93729846 "required": true,
93739847 "location": "path"
93749848 }
@@ -9393,7 +9867,7 @@
93939867 "id": "compute.instanceGroups.setNamedPorts",
93949868 "path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts",
93959869 "httpMethod": "POST",
9396− "description": "Sets the named ports in an instance group.",
9870+ "description": "Sets the named ports for the specified instance group.",
93979871 "parameters": {
93989872 "instanceGroup": {
93999873 "type": "string",
@@ -9410,7 +9884,7 @@
94109884 },
94119885 "zone": {
94129886 "type": "string",
9413− "description": "The URL of the zone where the instance group is located.",
9887+ "description": "The name of the zone where the instance group is located.",
94149888 "required": true,
94159889 "location": "path"
94169890 }
@@ -9634,6 +10108,7 @@
963410108 "id": "compute.instances.aggregatedList",
963510109 "path": "{project}/aggregated/instances",
963610110 "httpMethod": "GET",
10111+ "description": "Retrieves aggregated list of instance resources.",
963710112 "parameters": {
963810113 "filter": {
963910114 "type": "string",
@@ -11309,6 +11784,150 @@
1130911784 }
1131011785 }
1131111786 },
11787+ "sslCertificates": {
11788+ "methods": {
11789+ "delete": {
11790+ "id": "compute.sslCertificates.delete",
11791+ "path": "{project}/global/sslCertificates/{sslCertificate}",
11792+ "httpMethod": "DELETE",
11793+ "description": "Deletes the specified SslCertificate resource.",
11794+ "parameters": {
11795+ "project": {
11796+ "type": "string",
11797+ "description": "Name of the project scoping this request.",
11798+ "required": true,
11799+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
11800+ "location": "path"
11801+ },
11802+ "sslCertificate": {
11803+ "type": "string",
11804+ "description": "Name of the SslCertificate resource to delete.",
11805+ "required": true,
11806+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
11807+ "location": "path"
11808+ }
11809+ },
11810+ "parameterOrder": [
11811+ "project",
11812+ "sslCertificate"
11813+ ],
11814+ "response": {
11815+ "$ref": "Operation"
11816+ },
11817+ "scopes": [
11818+ "https://www.googleapis.com/auth/cloud-platform",
11819+ "https://www.googleapis.com/auth/compute"
11820+ ]
11821+ },
11822+ "get": {
11823+ "id": "compute.sslCertificates.get",
11824+ "path": "{project}/global/sslCertificates/{sslCertificate}",
11825+ "httpMethod": "GET",
11826+ "description": "Returns the specified SslCertificate resource.",
11827+ "parameters": {
11828+ "project": {
11829+ "type": "string",
11830+ "description": "Name of the project scoping this request.",
11831+ "required": true,
11832+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
11833+ "location": "path"
11834+ },
11835+ "sslCertificate": {
11836+ "type": "string",
11837+ "description": "Name of the SslCertificate resource to return.",
11838+ "required": true,
11839+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
11840+ "location": "path"
11841+ }
11842+ },
11843+ "parameterOrder": [
11844+ "project",
11845+ "sslCertificate"
11846+ ],
11847+ "response": {
11848+ "$ref": "SslCertificate"
11849+ },
11850+ "scopes": [
11851+ "https://www.googleapis.com/auth/cloud-platform",
11852+ "https://www.googleapis.com/auth/compute",
11853+ "https://www.googleapis.com/auth/compute.readonly"
11854+ ]
11855+ },
11856+ "insert": {
11857+ "id": "compute.sslCertificates.insert",
11858+ "path": "{project}/global/sslCertificates",
11859+ "httpMethod": "POST",
11860+ "description": "Creates a SslCertificate resource in the specified project using the data included in the request.",
11861+ "parameters": {
11862+ "project": {
11863+ "type": "string",
11864+ "description": "Name of the project scoping this request.",
11865+ "required": true,
11866+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
11867+ "location": "path"
11868+ }
11869+ },
11870+ "parameterOrder": [
11871+ "project"
11872+ ],
11873+ "request": {
11874+ "$ref": "SslCertificate"
11875+ },
11876+ "response": {
11877+ "$ref": "Operation"
11878+ },
11879+ "scopes": [
11880+ "https://www.googleapis.com/auth/cloud-platform",
11881+ "https://www.googleapis.com/auth/compute"
11882+ ]
11883+ },
11884+ "list": {
11885+ "id": "compute.sslCertificates.list",
11886+ "path": "{project}/global/sslCertificates",
11887+ "httpMethod": "GET",
11888+ "description": "Retrieves the list of SslCertificate resources available to the specified project.",
11889+ "parameters": {
11890+ "filter": {
11891+ "type": "string",
11892+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
11893+ "location": "query"
11894+ },
11895+ "maxResults": {
11896+ "type": "integer",
11897+ "description": "Maximum count of results to be returned.",
11898+ "default": "500",
11899+ "format": "uint32",
11900+ "minimum": "0",
11901+ "maximum": "500",
11902+ "location": "query"
11903+ },
11904+ "pageToken": {
11905+ "type": "string",
11906+ "description": "Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
11907+ "location": "query"
11908+ },
11909+ "project": {
11910+ "type": "string",
11911+ "description": "Name of the project scoping this request.",
11912+ "required": true,
11913+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
11914+ "location": "path"
11915+ }
11916+ },
11917+ "parameterOrder": [
11918+ "project"
11919+ ],
11920+ "response": {
11921+ "$ref": "SslCertificateList"
11922+ },
11923+ "scopes": [
11924+ "https://www.googleapis.com/auth/cloud-platform",
11925+ "https://www.googleapis.com/auth/compute",
11926+ "https://www.googleapis.com/auth/compute.readonly"
11927+ ]
11928+ }
11929+ }
11930+ },
1131211931 "targetHttpProxies": {
1131311932 "methods": {
1131411933 "delete": {
@@ -11489,6 +12108,222 @@
1148912108 }
1149012109 }
1149112110 },
12111+ "targetHttpsProxies": {
12112+ "methods": {
12113+ "delete": {
12114+ "id": "compute.targetHttpsProxies.delete",
12115+ "path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}",
12116+ "httpMethod": "DELETE",
12117+ "description": "Deletes the specified TargetHttpsProxy resource.",
12118+ "parameters": {
12119+ "project": {
12120+ "type": "string",
12121+ "description": "Name of the project scoping this request.",
12122+ "required": true,
12123+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
12124+ "location": "path"
12125+ },
12126+ "targetHttpsProxy": {
12127+ "type": "string",
12128+ "description": "Name of the TargetHttpsProxy resource to delete.",
12129+ "required": true,
12130+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
12131+ "location": "path"
12132+ }
12133+ },
12134+ "parameterOrder": [
12135+ "project",
12136+ "targetHttpsProxy"
12137+ ],
12138+ "response": {
12139+ "$ref": "Operation"
12140+ },
12141+ "scopes": [
12142+ "https://www.googleapis.com/auth/cloud-platform",
12143+ "https://www.googleapis.com/auth/compute"
12144+ ]
12145+ },
12146+ "get": {
12147+ "id": "compute.targetHttpsProxies.get",
12148+ "path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}",
12149+ "httpMethod": "GET",
12150+ "description": "Returns the specified TargetHttpsProxy resource.",
12151+ "parameters": {
12152+ "project": {
12153+ "type": "string",
12154+ "description": "Name of the project scoping this request.",
12155+ "required": true,
12156+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
12157+ "location": "path"
12158+ },
12159+ "targetHttpsProxy": {
12160+ "type": "string",
12161+ "description": "Name of the TargetHttpsProxy resource to return.",
12162+ "required": true,
12163+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
12164+ "location": "path"
12165+ }
12166+ },
12167+ "parameterOrder": [
12168+ "project",
12169+ "targetHttpsProxy"
12170+ ],
12171+ "response": {
12172+ "$ref": "TargetHttpsProxy"
12173+ },
12174+ "scopes": [
12175+ "https://www.googleapis.com/auth/cloud-platform",
12176+ "https://www.googleapis.com/auth/compute",
12177+ "https://www.googleapis.com/auth/compute.readonly"
12178+ ]
12179+ },
12180+ "insert": {
12181+ "id": "compute.targetHttpsProxies.insert",
12182+ "path": "{project}/global/targetHttpsProxies",
12183+ "httpMethod": "POST",
12184+ "description": "Creates a TargetHttpsProxy resource in the specified project using the data included in the request.",
12185+ "parameters": {
12186+ "project": {
12187+ "type": "string",
12188+ "description": "Name of the project scoping this request.",
12189+ "required": true,
12190+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
12191+ "location": "path"
12192+ }
12193+ },
12194+ "parameterOrder": [
12195+ "project"
12196+ ],
12197+ "request": {
12198+ "$ref": "TargetHttpsProxy"
12199+ },
12200+ "response": {
12201+ "$ref": "Operation"
12202+ },
12203+ "scopes": [
12204+ "https://www.googleapis.com/auth/cloud-platform",
12205+ "https://www.googleapis.com/auth/compute"
12206+ ]
12207+ },
12208+ "list": {
12209+ "id": "compute.targetHttpsProxies.list",
12210+ "path": "{project}/global/targetHttpsProxies",
12211+ "httpMethod": "GET",
12212+ "description": "Retrieves the list of TargetHttpsProxy resources available to the specified project.",
12213+ "parameters": {
12214+ "filter": {
12215+ "type": "string",
12216+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
12217+ "location": "query"
12218+ },
12219+ "maxResults": {
12220+ "type": "integer",
12221+ "description": "Maximum count of results to be returned.",
12222+ "default": "500",
12223+ "format": "uint32",
12224+ "minimum": "0",
12225+ "maximum": "500",
12226+ "location": "query"
12227+ },
12228+ "pageToken": {
12229+ "type": "string",
12230+ "description": "Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
12231+ "location": "query"
12232+ },
12233+ "project": {
12234+ "type": "string",
12235+ "description": "Name of the project scoping this request.",
12236+ "required": true,
12237+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
12238+ "location": "path"
12239+ }
12240+ },
12241+ "parameterOrder": [
12242+ "project"
12243+ ],
12244+ "response": {
12245+ "$ref": "TargetHttpsProxyList"
12246+ },
12247+ "scopes": [
12248+ "https://www.googleapis.com/auth/cloud-platform",
12249+ "https://www.googleapis.com/auth/compute",
12250+ "https://www.googleapis.com/auth/compute.readonly"
12251+ ]
12252+ },
12253+ "setSslCertificates": {
12254+ "id": "compute.targetHttpsProxies.setSslCertificates",
12255+ "path": "{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates",
12256+ "httpMethod": "POST",
12257+ "description": "Replaces SslCertificates for TargetHttpsProxy.",
12258+ "parameters": {
12259+ "project": {
12260+ "type": "string",
12261+ "description": "Name of the project scoping this request.",
12262+ "required": true,
12263+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
12264+ "location": "path"
12265+ },
12266+ "targetHttpsProxy": {
12267+ "type": "string",
12268+ "description": "Name of the TargetHttpsProxy resource whose URL map is to be set.",
12269+ "required": true,
12270+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
12271+ "location": "path"
12272+ }
12273+ },
12274+ "parameterOrder": [
12275+ "project",
12276+ "targetHttpsProxy"
12277+ ],
12278+ "request": {
12279+ "$ref": "TargetHttpsProxiesSetSslCertificatesRequest"
12280+ },
12281+ "response": {
12282+ "$ref": "Operation"
12283+ },
12284+ "scopes": [
12285+ "https://www.googleapis.com/auth/cloud-platform",
12286+ "https://www.googleapis.com/auth/compute"
12287+ ]
12288+ },
12289+ "setUrlMap": {
12290+ "id": "compute.targetHttpsProxies.setUrlMap",
12291+ "path": "{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap",
12292+ "httpMethod": "POST",
12293+ "description": "Changes the URL map for TargetHttpsProxy.",
12294+ "parameters": {
12295+ "project": {
12296+ "type": "string",
12297+ "description": "Name of the project scoping this request.",
12298+ "required": true,
12299+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
12300+ "location": "path"
12301+ },
12302+ "targetHttpsProxy": {
12303+ "type": "string",
12304+ "description": "Name of the TargetHttpsProxy resource whose URL map is to be set.",
12305+ "required": true,
12306+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
12307+ "location": "path"
12308+ }
12309+ },
12310+ "parameterOrder": [
12311+ "project",
12312+ "targetHttpsProxy"
12313+ ],
12314+ "request": {
12315+ "$ref": "UrlMapReference"
12316+ },
12317+ "response": {
12318+ "$ref": "Operation"
12319+ },
12320+ "scopes": [
12321+ "https://www.googleapis.com/auth/cloud-platform",
12322+ "https://www.googleapis.com/auth/compute"
12323+ ]
12324+ }
12325+ }
12326+ },
1149212327 "targetInstances": {
1149312328 "methods": {
1149412329 "aggregatedList": {
gen/model/doubleclickbidmanager/v1/doubleclickbidmanager-api.json+91−3
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/NbuQQoeeWObMBMsRr-eLonWmHd8\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/mAPHdimW0pvTGXzTTcUsJfk40xQ\"",
44 "discoveryVersion": "v1",
55 "id": "doubleclickbidmanager:v1",
66 "name": "doubleclickbidmanager",
77 "canonicalName": "DoubleClick Bid Manager",
88 "version": "v1",
9− "revision": "20150326",
9+ "revision": "20150925",
1010 "title": "DoubleClick Bid Manager API",
1111 "description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
1212 "ownerDomain": "google.com",
@@ -76,6 +76,18 @@
7676 "type": "object",
7777 "description": "Request to fetch stored line items.",
7878 "properties": {
79+ "fileSpec": {
80+ "type": "string",
81+ "description": "File specification (column names, types, order) in which the line items will be returned. Default to EWF.",
82+ "enum": [
83+ "EWF",
84+ "SDF"
85+ ],
86+ "enumDescriptions": [
87+ "",
88+ ""
89+ ]
90+ },
7991 "filterIds": {
8092 "type": "array",
8193 "description": "Ids of the specified filter type used to filter line items to fetch. If omitted, all the line items will be returned.",
@@ -117,7 +129,7 @@
117129 "properties": {
118130 "lineItems": {
119131 "type": "string",
120− "description": "Retrieved line items in CSV format. Refer to Entity Write File Format for more information on file format."
132+ "description": "Retrieved line items in CSV format. Refer to Entity Write File Format or Structured Data File Format for more information on file formats."
121133 }
122134 }
123135 },
@@ -145,9 +157,11 @@
145157 "FILTER_CITY",
146158 "FILTER_CONVERSION_DELAY",
147159 "FILTER_COUNTRY",
160+ "FILTER_CREATIVE_HEIGHT",
148161 "FILTER_CREATIVE_ID",
149162 "FILTER_CREATIVE_SIZE",
150163 "FILTER_CREATIVE_TYPE",
164+ "FILTER_CREATIVE_WIDTH",
151165 "FILTER_DATA_PROVIDER",
152166 "FILTER_DATE",
153167 "FILTER_DAY_OF_WEEK",
@@ -289,6 +303,8 @@
289303 "",
290304 "",
291305 "",
306+ "",
307+ "",
292308 ""
293309 ]
294310 },
@@ -369,9 +385,11 @@
369385 "FILTER_CITY",
370386 "FILTER_CONVERSION_DELAY",
371387 "FILTER_COUNTRY",
388+ "FILTER_CREATIVE_HEIGHT",
372389 "FILTER_CREATIVE_ID",
373390 "FILTER_CREATIVE_SIZE",
374391 "FILTER_CREATIVE_TYPE",
392+ "FILTER_CREATIVE_WIDTH",
375393 "FILTER_DATA_PROVIDER",
376394 "FILTER_DATE",
377395 "FILTER_DAY_OF_WEEK",
@@ -513,6 +531,8 @@
513531 "",
514532 "",
515533 "",
534+ "",
535+ "",
516536 ""
517537 ]
518538 }
@@ -594,6 +614,12 @@
594614 "METRIC_FEE20_ADVERTISER",
595615 "METRIC_FEE20_PARTNER",
596616 "METRIC_FEE20_USD",
617+ "METRIC_FEE21_ADVERTISER",
618+ "METRIC_FEE21_PARTNER",
619+ "METRIC_FEE21_USD",
620+ "METRIC_FEE22_ADVERTISER",
621+ "METRIC_FEE22_PARTNER",
622+ "METRIC_FEE22_USD",
597623 "METRIC_FEE2_ADVERTISER",
598624 "METRIC_FEE2_PARTNER",
599625 "METRIC_FEE2_USD",
@@ -643,6 +669,9 @@
643669 "METRIC_MEDIA_COST_ECPM_USD",
644670 "METRIC_MEDIA_COST_PARTNER",
645671 "METRIC_MEDIA_COST_USD",
672+ "METRIC_MEDIA_COST_VIEWABLE_ECPM_ADVERTISER",
673+ "METRIC_MEDIA_COST_VIEWABLE_ECPM_PARTNER",
674+ "METRIC_MEDIA_COST_VIEWABLE_ECPM_USD",
646675 "METRIC_MEDIA_FEE1_ADVERTISER",
647676 "METRIC_MEDIA_FEE1_PARTNER",
648677 "METRIC_MEDIA_FEE1_USD",
@@ -683,6 +712,9 @@
683712 "METRIC_PROFIT_MARGIN",
684713 "METRIC_PROFIT_PARTNER",
685714 "METRIC_PROFIT_USD",
715+ "METRIC_PROFIT_VIEWABLE_ECPM_ADVERTISER",
716+ "METRIC_PROFIT_VIEWABLE_ECPM_PARTNER",
717+ "METRIC_PROFIT_VIEWABLE_ECPM_USD",
686718 "METRIC_REVENUE_ADVERTISER",
687719 "METRIC_REVENUE_ECPAPC_ADVERTISER",
688720 "METRIC_REVENUE_ECPAPC_PARTNER",
@@ -704,6 +736,9 @@
704736 "METRIC_REVENUE_ECPM_USD",
705737 "METRIC_REVENUE_PARTNER",
706738 "METRIC_REVENUE_USD",
739+ "METRIC_REVENUE_VIEWABLE_ECPM_ADVERTISER",
740+ "METRIC_REVENUE_VIEWABLE_ECPM_PARTNER",
741+ "METRIC_REVENUE_VIEWABLE_ECPM_USD",
707742 "METRIC_RICH_MEDIA_VIDEO_COMPLETIONS",
708743 "METRIC_RICH_MEDIA_VIDEO_FIRST_QUARTILE_COMPLETES",
709744 "METRIC_RICH_MEDIA_VIDEO_FULL_SCREENS",
@@ -738,9 +773,24 @@
738773 "METRIC_TOTAL_MEDIA_COST_ECPM_USD",
739774 "METRIC_TOTAL_MEDIA_COST_PARTNER",
740775 "METRIC_TOTAL_MEDIA_COST_USD",
776+ "METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_ADVERTISER",
777+ "METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_PARTNER",
778+ "METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_USD",
779+ "METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_ADVERTISER",
780+ "METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_PARTNER",
781+ "METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_USD",
782+ "METRIC_TRUEVIEW_CONVERSION_COST_ONE_PER_VIEW_ADVERTISER",
783+ "METRIC_TRUEVIEW_CONVERSION_COST_ONE_PER_VIEW_PARTNER",
784+ "METRIC_TRUEVIEW_CONVERSION_COST_ONE_PER_VIEW_USD",
741785 "METRIC_TRUEVIEW_CONVERSION_MANY_PER_VIEW",
742786 "METRIC_TRUEVIEW_CONVERSION_ONE_PER_VIEW",
743787 "METRIC_TRUEVIEW_CONVERSION_RATE_ONE_PER_VIEW",
788+ "METRIC_TRUEVIEW_CONVERSION_VALUE_MANY_PER_VIEW_ADVERTISER",
789+ "METRIC_TRUEVIEW_CONVERSION_VALUE_MANY_PER_VIEW_PARTNER",
790+ "METRIC_TRUEVIEW_CONVERSION_VALUE_MANY_PER_VIEW_USD",
791+ "METRIC_TRUEVIEW_CONVERSION_VALUE_ONE_PER_VIEW_ADVERTISER",
792+ "METRIC_TRUEVIEW_CONVERSION_VALUE_ONE_PER_VIEW_PARTNER",
793+ "METRIC_TRUEVIEW_CONVERSION_VALUE_ONE_PER_VIEW_USD",
744794 "METRIC_TRUEVIEW_COST_CONVERSION_MANY_PER_VIEW_RATIO",
745795 "METRIC_TRUEVIEW_COST_CONVERSION_ONE_PER_VIEW_RATIO",
746796 "METRIC_TRUEVIEW_CPV_ADVERTISER",
@@ -755,6 +805,9 @@
755805 "METRIC_TRUEVIEW_LOST_IS_BUDGET",
756806 "METRIC_TRUEVIEW_LOST_IS_RANK",
757807 "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUE",
808+ "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_ADVERTISER",
809+ "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_PARTNER",
810+ "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_USD",
758811 "METRIC_TRUEVIEW_UNIQUE_VIEWERS",
759812 "METRIC_TRUEVIEW_VALUE_CONVERSION_MANY_PER_VIEW_RATIO",
760813 "METRIC_TRUEVIEW_VALUE_CONVERSION_ONE_PER_VIEW_RATIO",
@@ -1006,6 +1059,39 @@
10061059 "",
10071060 "",
10081061 "",
1062+ "",
1063+ "",
1064+ "",
1065+ "",
1066+ "",
1067+ "",
1068+ "",
1069+ "",
1070+ "",
1071+ "",
1072+ "",
1073+ "",
1074+ "",
1075+ "",
1076+ "",
1077+ "",
1078+ "",
1079+ "",
1080+ "",
1081+ "",
1082+ "",
1083+ "",
1084+ "",
1085+ "",
1086+ "",
1087+ "",
1088+ "",
1089+ "",
1090+ "",
1091+ "",
1092+ "",
1093+ "",
1094+ "",
10091095 ""
10101096 ]
10111097 }
@@ -1029,6 +1115,7 @@
10291115 "TYPE_KEYWORD",
10301116 "TYPE_NIELSEN_AUDIENCE_PROFILE",
10311117 "TYPE_NIELSEN_DAILY_REACH_BUILD",
1118+ "TYPE_NIELSEN_ONLINE_GLOBAL_MARKET",
10321119 "TYPE_NIELSEN_SITE",
10331120 "TYPE_ORDER_ID",
10341121 "TYPE_PAGE_CATEGORY",
@@ -1065,6 +1152,7 @@
10651152 "",
10661153 "",
10671154 "",
1155+ "",
10681156 ""
10691157 ]
10701158 }
gen/model/doubleclicksearch/v2/doubleclicksearch-api.json+7−3
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ve8tEpbsG_IxtYaZBLsdJxUCrVI\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/TYEElx_gLlz3G4Z0qoDLbuCjb8k\"",
44 "discoveryVersion": "v1",
55 "id": "doubleclicksearch:v2",
66 "name": "doubleclicksearch",
77 "version": "v2",
8− "revision": "20150526",
8+ "revision": "20151006",
99 "title": "DoubleClick Search API",
1010 "description": "Report and modify your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).",
1111 "ownerDomain": "google.com",
@@ -451,7 +451,11 @@
451451 },
452452 "platformSource": {
453453 "type": "string",
454− "description": "The platform that is used to provide data for the custom dimension. Acceptable values are \"Floodlight\"."
454+ "description": "The platform that is used to provide data for the custom dimension. Acceptable values are \"floodlight\"."
455+ },
456+ "productReportPerspective": {
457+ "type": "string",
458+ "description": "Provide different source for product items. Acceptable values are \"advertised\" and \"sold\"."
455459 },
456460 "savedColumnName": {
457461 "type": "string",
gen/model/drive/v2/drive-api.json+3−3
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/vDvRzc2SjVzG9hrGn8HU-kRVxfE\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/j3Wwh3EWBgWZwRehTCtXuS9oPH4\"",
44 "discoveryVersion": "v1",
55 "id": "drive:v2",
66 "name": "drive",
77 "version": "v2",
8− "revision": "20150910",
8+ "revision": "20151008",
99 "title": "Drive API",
1010 "description": "The API to interact with Drive.",
1111 "ownerDomain": "google.com",
@@ -1144,7 +1144,7 @@
11441144 },
11451145 "markedViewedByMeDate": {
11461146 "type": "string",
1147− "description": "Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).",
1147+ "description": "Deprecated.",
11481148 "format": "date-time"
11491149 },
11501150 "md5Checksum": {
gen/model/games/v1/games-api.json+4−2
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zePdcB9UZrt3TRiL6gFnZKOSeZ0\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/P7g-a3C968F6LpsV-dK3V_5H2MQ\"",
44 "discoveryVersion": "v1",
55 "id": "games:v1",
66 "name": "games",
77 "canonicalName": "Games",
88 "version": "v1",
9− "revision": "20150707",
9+ "revision": "20151012",
1010 "title": "Google Play Game Services API",
1111 "description": "The API for Google Play Game Services.",
1212 "ownerDomain": "google.com",
@@ -3539,10 +3539,12 @@
35393539 "description": "Collection of players being retrieved",
35403540 "required": true,
35413541 "enum": [
3542+ "connected",
35423543 "playedWith",
35433544 "played_with"
35443545 ],
35453546 "enumDescriptions": [
3547+ "Retrieve a list of players that are also playing this game in reverse chronological order.",
35463548 "(DEPRECATED: please use played_with!) Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.",
35473549 "Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently."
35483550 ],
gen/model/identitytoolkit/v3/identitytoolkit-api.json+6−2
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/SNgmHHGH7wj9KiccwNhS4DpDB0M\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VJrCHXHaMQfXi6fEi9qa_MKwS3Y\"",
44 "discoveryVersion": "v1",
55 "id": "identitytoolkit:v3",
66 "name": "identitytoolkit",
77 "canonicalName": "Identity Toolkit",
88 "version": "v3",
9− "revision": "20150908",
9+ "revision": "20151008",
1010 "title": "Google Identity Toolkit API",
1111 "description": "Help the third party sites to implement federated login.",
1212 "ownerDomain": "google.com",
@@ -769,6 +769,10 @@
769769 "type": "boolean",
770770 "description": "Whether the assertion is from a non-trusted IDP and need account linking confirmation."
771771 },
772+ "needEmail": {
773+ "type": "boolean",
774+ "description": "Whether need client to supply email to complete the federated login flow."
775+ },
772776 "nickName": {
773777 "type": "string",
774778 "description": "The nick name of the user."
gen/model/logging/v1beta3/logging-api.json+217−16
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Fi_zVio1slK88cI-ko5TXAVA3jo\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/l7KAWGWj5NIeNmaEXus4dk2p56U\"",
44 "discoveryVersion": "v1",
55 "id": "logging:v1beta3",
66 "name": "logging",
77 "version": "v1beta3",
8− "revision": "20150610",
8+ "revision": "20151007",
99 "title": "Google Cloud Logging API",
1010 "description": "Google Cloud Logging API lets you create logs, ingest log entries, and manage log sinks.",
1111 "ownerDomain": "google.com",
@@ -320,6 +320,14 @@
320320 "referer": {
321321 "type": "string",
322322 "description": "Referer (a.k.a. referrer) URL of request, as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html."
323+ },
324+ "cacheHit": {
325+ "type": "boolean",
326+ "description": "Whether or not an entity was served from cache (with or without validation)."
327+ },
328+ "validatedWithOriginServer": {
329+ "type": "boolean",
330+ "description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if cache_hit is True."
323331 }
324332 }
325333 },
@@ -445,16 +453,16 @@
445453 "Status": {
446454 "id": "Status",
447455 "type": "object",
448− "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.",
456+ "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.",
449457 "properties": {
450458 "code": {
451459 "type": "integer",
452− "description": "The status code, which should be an enum value of [google.rpc.Code][].",
460+ "description": "The status code, which should be an enum value of google.rpc.Code.",
453461 "format": "int32"
454462 },
455463 "message": {
456464 "type": "string",
457− "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
465+ "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
458466 },
459467 "details": {
460468 "type": "array",
@@ -497,6 +505,43 @@
497505 }
498506 }
499507 },
508+ "ListLogMetricsResponse": {
509+ "id": "ListLogMetricsResponse",
510+ "type": "object",
511+ "description": "Result returned from ListLogMetrics.",
512+ "properties": {
513+ "metrics": {
514+ "type": "array",
515+ "description": "The list of metrics that was requested.",
516+ "items": {
517+ "$ref": "LogMetric"
518+ }
519+ },
520+ "nextPageToken": {
521+ "type": "string",
522+ "description": "If there are more results, then `nextPageToken` is returned in the response. To get the next batch of entries, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogMetrics`. If `nextPageToken` is empty, then there are no more results."
523+ }
524+ }
525+ },
526+ "LogMetric": {
527+ "id": "LogMetric",
528+ "type": "object",
529+ "description": "Describes a collected, logs-based metric. The value of the metric is the number of log entries in the project that match the advanced logs filter in the `filter` field.",
530+ "properties": {
531+ "name": {
532+ "type": "string",
533+ "description": "The client-assigned name for this metric, such as `\"severe_errors\"`. Metric names are limited to 1000 characters and can include only the following characters: `-A-Za-z0-9_.,+!*',()%/\\`. The slash character `/` implies a hierarchy of name pieces, and cannot be the first character of the name."
534+ },
535+ "description": {
536+ "type": "string",
537+ "description": "A description of this metric."
538+ },
539+ "filter": {
540+ "type": "string",
541+ "description": "An [advanced logs filter](/logging/docs/view/advanced_filters). Example: `\"log:syslog AND metadata.severity\u003e=ERROR\"`."
542+ }
543+ }
544+ },
500545 "RequestLog": {
501546 "id": "RequestLog",
502547 "type": "object",
@@ -1041,11 +1086,6 @@
10411086 "required": true,
10421087 "location": "path"
10431088 },
1044− "log": {
1045− "type": "string",
1046− "description": "If empty, all log services contributing log entries to the project are listed. Otherwise, this field must be the resource name of a log, such as `\"projects/my-project/appengine.googleapis.com%2Frequest_log\"`, and then the only services listed are those associated with entries in the log. A service is associated with an entry if its name is in the entry's `LogEntryMetadata.serviceName` field.",
1047− "location": "query"
1048− },
10491089 "pageSize": {
10501090 "type": "integer",
10511091 "description": "The maximum number of `LogService` objects to return in one operation.",
@@ -1095,7 +1135,7 @@
10951135 },
10961136 "indexPrefix": {
10971137 "type": "string",
1098− "description": "Restricts the index values returned to be those with a specified prefix for each index key. This field has the form `\"/prefix1/prefix2/...\"`, in order corresponding to the [`LogService indexKeys`][google.logging.v1.LogService.index_keys]. Non-empty prefixes must begin with `/`. For example, App Engine's two keys are the module ID and the version ID. Following is the effect of using various values for `indexPrefix`: + `\"/Mod/\"` retrieves `/Mod/10` and `/Mod/11` but not `/ModA/10`. + `\"/Mod` retrieves `/Mod/10`, `/Mod/11` and `/ModA/10` but not `/XXX/33`. + `\"/Mod/1\"` retrieves `/Mod/10` and `/Mod/11` but not `/ModA/10`. + `\"/Mod/10/\"` retrieves `/Mod/10` only. + An empty prefix or `\"/\"` retrieves all values.",
1138+ "description": "Restricts the index values returned to be those with a specified prefix for each index key. This field has the form `\"/prefix1/prefix2/...\"`, in order corresponding to the `LogService indexKeys`. Non-empty prefixes must begin with `/`. For example, App Engine's two keys are the module ID and the version ID. Following is the effect of using various values for `indexPrefix`: + `\"/Mod/\"` retrieves `/Mod/10` and `/Mod/11` but not `/ModA/10`. + `\"/Mod` retrieves `/Mod/10`, `/Mod/11` and `/ModA/10` but not `/XXX/33`. + `\"/Mod/1\"` retrieves `/Mod/10` and `/Mod/11` but not `/ModA/10`. + `\"/Mod/10/\"` retrieves `/Mod/10` only. + An empty prefix or `\"/\"` retrieves all values.",
10991139 "location": "query"
11001140 },
11011141 "depth": {
@@ -1104,11 +1144,6 @@
11041144 "format": "int32",
11051145 "location": "query"
11061146 },
1107− "log": {
1108− "type": "string",
1109− "description": "_Optional_. The resource name of a log, such as `\"projects/project_id/logs/log_name\"`. If present, indexes are returned for any service associated with entries in the log.",
1110− "location": "query"
1111− },
11121147 "pageSize": {
11131148 "type": "integer",
11141149 "description": "The maximum number of log service index resources to return in one operation.",
@@ -1483,6 +1518,172 @@
14831518 ]
14841519 }
14851520 }
1521+ },
1522+ "metrics": {
1523+ "methods": {
1524+ "list": {
1525+ "id": "logging.projects.metrics.list",
1526+ "path": "v1beta3/projects/{projectsId}/metrics",
1527+ "httpMethod": "GET",
1528+ "description": "List log metrics associated with the specified project.",
1529+ "parameters": {
1530+ "projectsId": {
1531+ "type": "string",
1532+ "description": "Part of `projectName`. The resource name for the project whose metrics are wanted.",
1533+ "required": true,
1534+ "location": "path"
1535+ },
1536+ "pageToken": {
1537+ "type": "string",
1538+ "description": "An opaque token, returned as `nextPageToken` by a prior `ListLogMetrics` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogMetrics` operation is continued.",
1539+ "location": "query"
1540+ },
1541+ "pageSize": {
1542+ "type": "integer",
1543+ "description": "The maximum number of `LogMetric` objects to return in one operation.",
1544+ "format": "int32",
1545+ "location": "query"
1546+ }
1547+ },
1548+ "parameterOrder": [
1549+ "projectsId"
1550+ ],
1551+ "response": {
1552+ "$ref": "ListLogMetricsResponse"
1553+ },
1554+ "scopes": [
1555+ "https://www.googleapis.com/auth/cloud-platform",
1556+ "https://www.googleapis.com/auth/cloud-platform.read-only",
1557+ "https://www.googleapis.com/auth/logging.admin",
1558+ "https://www.googleapis.com/auth/logging.read"
1559+ ]
1560+ },
1561+ "get": {
1562+ "id": "logging.projects.metrics.get",
1563+ "path": "v1beta3/projects/{projectsId}/metrics/{metricsId}",
1564+ "httpMethod": "GET",
1565+ "description": "Get the specified log metric resource.",
1566+ "parameters": {
1567+ "projectsId": {
1568+ "type": "string",
1569+ "description": "Part of `metricName`. The resource name of the desired metric.",
1570+ "required": true,
1571+ "location": "path"
1572+ },
1573+ "metricsId": {
1574+ "type": "string",
1575+ "description": "Part of `metricName`. See documentation of `projectsId`.",
1576+ "required": true,
1577+ "location": "path"
1578+ }
1579+ },
1580+ "parameterOrder": [
1581+ "projectsId",
1582+ "metricsId"
1583+ ],
1584+ "response": {
1585+ "$ref": "LogMetric"
1586+ },
1587+ "scopes": [
1588+ "https://www.googleapis.com/auth/cloud-platform",
1589+ "https://www.googleapis.com/auth/cloud-platform.read-only",
1590+ "https://www.googleapis.com/auth/logging.admin",
1591+ "https://www.googleapis.com/auth/logging.read"
1592+ ]
1593+ },
1594+ "create": {
1595+ "id": "logging.projects.metrics.create",
1596+ "path": "v1beta3/projects/{projectsId}/metrics",
1597+ "httpMethod": "POST",
1598+ "description": "Create the specified log metric resource.",
1599+ "parameters": {
1600+ "projectsId": {
1601+ "type": "string",
1602+ "description": "Part of `projectName`. The resource name of the project in which to create the metric.",
1603+ "required": true,
1604+ "location": "path"
1605+ }
1606+ },
1607+ "parameterOrder": [
1608+ "projectsId"
1609+ ],
1610+ "request": {
1611+ "$ref": "LogMetric"
1612+ },
1613+ "response": {
1614+ "$ref": "LogMetric"
1615+ },
1616+ "scopes": [
1617+ "https://www.googleapis.com/auth/cloud-platform",
1618+ "https://www.googleapis.com/auth/logging.admin"
1619+ ]
1620+ },
1621+ "update": {
1622+ "id": "logging.projects.metrics.update",
1623+ "path": "v1beta3/projects/{projectsId}/metrics/{metricsId}",
1624+ "httpMethod": "PUT",
1625+ "description": "Create or update the specified log metric resource.",
1626+ "parameters": {
1627+ "projectsId": {
1628+ "type": "string",
1629+ "description": "Part of `metricName`. The resource name of the metric to update.",
1630+ "required": true,
1631+ "location": "path"
1632+ },
1633+ "metricsId": {
1634+ "type": "string",
1635+ "description": "Part of `metricName`. See documentation of `projectsId`.",
1636+ "required": true,
1637+ "location": "path"
1638+ }
1639+ },
1640+ "parameterOrder": [
1641+ "projectsId",
1642+ "metricsId"
1643+ ],
1644+ "request": {
1645+ "$ref": "LogMetric"
1646+ },
1647+ "response": {
1648+ "$ref": "LogMetric"
1649+ },
1650+ "scopes": [
1651+ "https://www.googleapis.com/auth/cloud-platform",
1652+ "https://www.googleapis.com/auth/logging.admin"
1653+ ]
1654+ },
1655+ "delete": {
1656+ "id": "logging.projects.metrics.delete",
1657+ "path": "v1beta3/projects/{projectsId}/metrics/{metricsId}",
1658+ "httpMethod": "DELETE",
1659+ "description": "Deletes the specified log metric.",
1660+ "parameters": {
1661+ "projectsId": {
1662+ "type": "string",
1663+ "description": "Part of `metricName`. The resource name of the metric to delete.",
1664+ "required": true,
1665+ "location": "path"
1666+ },
1667+ "metricsId": {
1668+ "type": "string",
1669+ "description": "Part of `metricName`. See documentation of `projectsId`.",
1670+ "required": true,
1671+ "location": "path"
1672+ }
1673+ },
1674+ "parameterOrder": [
1675+ "projectsId",
1676+ "metricsId"
1677+ ],
1678+ "response": {
1679+ "$ref": "Empty"
1680+ },
1681+ "scopes": [
1682+ "https://www.googleapis.com/auth/cloud-platform",
1683+ "https://www.googleapis.com/auth/logging.admin"
1684+ ]
1685+ }
1686+ }
14861687 }
14871688 }
14881689 }
gen/model/logging/v2beta1/logging-api.jsonnew file+318
@@ -0,0 +1,318 @@
1+{
2+ "kind": "discovery#restDescription",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Dl8jzEbCLfW8aU_OmsbXBqEUy5Y\"",
4+ "discoveryVersion": "v1",
5+ "id": "logging:v2beta1",
6+ "name": "logging",
7+ "version": "v2beta1",
8+ "revision": "20151007",
9+ "title": "Google Cloud Logging API",
10+ "description": "Google Cloud Logging API lets you create logs, ingest log entries, and manage log sinks.",
11+ "ownerDomain": "google.com",
12+ "ownerName": "Google",
13+ "icons": {
14+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
15+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
16+ },
17+ "documentationLink": "https://cloud.google.com/logging/docs/",
18+ "protocol": "rest",
19+ "baseUrl": "https://logging.googleapis.com/",
20+ "basePath": "/",
21+ "rootUrl": "https://logging.googleapis.com/",
22+ "servicePath": "",
23+ "batchPath": "batch",
24+ "parameters": {
25+ "access_token": {
26+ "type": "string",
27+ "description": "OAuth access token.",
28+ "location": "query"
29+ },
30+ "alt": {
31+ "type": "string",
32+ "description": "Data format for response.",
33+ "default": "json",
34+ "enumDescriptions": [
35+ "Responses with Content-Type of application/json",
36+ "Media download with context-dependent Content-Type",
37+ "Responses with Content-Type of application/x-protobuf"
38+ ],
39+ "location": "query"
40+ },
41+ "bearer_token": {
42+ "type": "string",
43+ "description": "OAuth bearer token.",
44+ "location": "query"
45+ },
46+ "callback": {
47+ "type": "string",
48+ "description": "JSONP",
49+ "location": "query"
50+ },
51+ "fields": {
52+ "type": "string",
53+ "description": "Selector specifying which fields to include in a partial response.",
54+ "location": "query"
55+ },
56+ "key": {
57+ "type": "string",
58+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
59+ "location": "query"
60+ },
61+ "oauth_token": {
62+ "type": "string",
63+ "description": "OAuth 2.0 token for the current user.",
64+ "location": "query"
65+ },
66+ "pp": {
67+ "type": "boolean",
68+ "description": "Pretty-print response.",
69+ "default": "true",
70+ "location": "query"
71+ },
72+ "prettyPrint": {
73+ "type": "boolean",
74+ "description": "Returns response with indentations and line breaks.",
75+ "default": "true",
76+ "location": "query"
77+ },
78+ "quotaUser": {
79+ "type": "string",
80+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
81+ "location": "query"
82+ },
83+ "upload_protocol": {
84+ "type": "string",
85+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
86+ "location": "query"
87+ },
88+ "uploadType": {
89+ "type": "string",
90+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
91+ "location": "query"
92+ },
93+ "$.xgafv": {
94+ "type": "string",
95+ "description": "V1 error format.",
96+ "enumDescriptions": [
97+ "v1 error format",
98+ "v2 error format"
99+ ],
100+ "location": "query"
101+ }
102+ },
103+ "schemas": {
104+ "RequestLog": {
105+ "id": "RequestLog",
106+ "type": "object",
107+ "description": "Complete log information about a single request to an application.",
108+ "properties": {
109+ "appId": {
110+ "type": "string",
111+ "description": "Identifies the application that handled this request."
112+ },
113+ "moduleId": {
114+ "type": "string",
115+ "description": "Identifies the module of the application that handled this request."
116+ },
117+ "versionId": {
118+ "type": "string",
119+ "description": "Version of the application that handled this request."
120+ },
121+ "requestId": {
122+ "type": "string",
123+ "description": "Globally unique identifier for a request, based on request start time. Request IDs for requests which started later will compare greater as binary strings than those for requests which started earlier.",
124+ "format": "byte"
125+ },
126+ "ip": {
127+ "type": "string",
128+ "description": "Origin IP address."
129+ },
130+ "startTime": {
131+ "type": "string",
132+ "description": "Time at which request was known to have begun processing."
133+ },
134+ "endTime": {
135+ "type": "string",
136+ "description": "Time at which request was known to end processing."
137+ },
138+ "latency": {
139+ "type": "string",
140+ "description": "Latency of the request."
141+ },
142+ "megaCycles": {
143+ "type": "string",
144+ "description": "Number of CPU megacycles used to process request.",
145+ "format": "int64"
146+ },
147+ "method": {
148+ "type": "string",
149+ "description": "Request method, such as `GET`, `HEAD`, `PUT`, `POST`, or `DELETE`."
150+ },
151+ "resource": {
152+ "type": "string",
153+ "description": "Contains the path and query portion of the URL that was requested. For example, if the URL was \"http://example.com/app?name=val\", the resource would be \"/app?name=val\". Any trailing fragment (separated by a '#' character) will not be included."
154+ },
155+ "httpVersion": {
156+ "type": "string",
157+ "description": "HTTP version of request."
158+ },
159+ "status": {
160+ "type": "integer",
161+ "description": "Response status of request.",
162+ "format": "int32"
163+ },
164+ "responseSize": {
165+ "type": "string",
166+ "description": "Size in bytes sent back to client by request.",
167+ "format": "int64"
168+ },
169+ "referrer": {
170+ "type": "string",
171+ "description": "Referrer URL of request."
172+ },
173+ "userAgent": {
174+ "type": "string",
175+ "description": "User agent used for making request."
176+ },
177+ "nickname": {
178+ "type": "string",
179+ "description": "A string that identifies a logged-in user who made this request, or empty if the user is not logged in. Most likely, this is the part of the user's email before the '@' sign. The field value is the same for different requests from the same user, but different users may have a similar name. This information is also available to the application via Users API. This field will be populated starting with App Engine 1.9.21."
180+ },
181+ "urlMapEntry": {
182+ "type": "string",
183+ "description": "File or class within URL mapping used for request. Useful for tracking down the source code which was responsible for managing request. Especially for multiply mapped handlers."
184+ },
185+ "host": {
186+ "type": "string",
187+ "description": "The Internet host and port number of the resource being requested."
188+ },
189+ "cost": {
190+ "type": "number",
191+ "description": "An indication of the relative cost of serving this request.",
192+ "format": "double"
193+ },
194+ "taskQueueName": {
195+ "type": "string",
196+ "description": "Queue name of the request (for an offline request)."
197+ },
198+ "taskName": {
199+ "type": "string",
200+ "description": "Task name of the request (for an offline request)."
201+ },
202+ "wasLoadingRequest": {
203+ "type": "boolean",
204+ "description": "Was this request a loading request for this instance?"
205+ },
206+ "pendingTime": {
207+ "type": "string",
208+ "description": "Time this request spent in the pending request queue, if it was pending at all."
209+ },
210+ "instanceIndex": {
211+ "type": "integer",
212+ "description": "If the instance that processed this request was individually addressable (i.e. belongs to a manually scaled module), this is the index of the instance.",
213+ "format": "int32"
214+ },
215+ "finished": {
216+ "type": "boolean",
217+ "description": "If true, represents a finished request. Otherwise, the request is active."
218+ },
219+ "instanceId": {
220+ "type": "string",
221+ "description": "An opaque identifier for the instance that handled the request.",
222+ "format": "byte"
223+ },
224+ "line": {
225+ "type": "array",
226+ "description": "List of log lines emitted by the application while serving this request, if requested.",
227+ "items": {
228+ "$ref": "LogLine"
229+ }
230+ },
231+ "appEngineRelease": {
232+ "type": "string",
233+ "description": "App Engine release version string."
234+ },
235+ "traceId": {
236+ "type": "string",
237+ "description": "Cloud Trace identifier of the trace for this request."
238+ },
239+ "sourceReference": {
240+ "type": "array",
241+ "description": "Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is distributed among multiple repositories.",
242+ "items": {
243+ "$ref": "SourceReference"
244+ }
245+ }
246+ }
247+ },
248+ "LogLine": {
249+ "id": "LogLine",
250+ "type": "object",
251+ "description": "Application log line emitted while processing a request.",
252+ "properties": {
253+ "time": {
254+ "type": "string",
255+ "description": "Time when log entry was made. May be inaccurate."
256+ },
257+ "severity": {
258+ "type": "string",
259+ "description": "Severity of log.",
260+ "enum": [
261+ "DEFAULT",
262+ "DEBUG",
263+ "INFO",
264+ "NOTICE",
265+ "WARNING",
266+ "ERROR",
267+ "CRITICAL",
268+ "ALERT",
269+ "EMERGENCY"
270+ ]
271+ },
272+ "logMessage": {
273+ "type": "string",
274+ "description": "App provided log message."
275+ },
276+ "sourceLocation": {
277+ "$ref": "SourceLocation",
278+ "description": "Line of code that generated this log message."
279+ }
280+ }
281+ },
282+ "SourceLocation": {
283+ "id": "SourceLocation",
284+ "type": "object",
285+ "description": "Specifies a location in a source file.",
286+ "properties": {
287+ "file": {
288+ "type": "string",
289+ "description": "Source file name. May or may not be a fully qualified name, depending on the runtime environment."
290+ },
291+ "line": {
292+ "type": "string",
293+ "description": "Line within the source file.",
294+ "format": "int64"
295+ },
296+ "functionName": {
297+ "type": "string",
298+ "description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name, for use in contexts such as the logs viewer where file:line number is less meaningful. This may vary by language, for example: in Java: qual.if.ied.Class.method in Go: dir/package.func in Python: function ..."
299+ }
300+ }
301+ },
302+ "SourceReference": {
303+ "id": "SourceReference",
304+ "type": "object",
305+ "description": "A reference to a particular snapshot of the source tree used to build and deploy an application.",
306+ "properties": {
307+ "repository": {
308+ "type": "string",
309+ "description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\""
310+ },
311+ "revisionId": {
312+ "type": "string",
313+ "description": "The canonical (and persistent) identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\""
314+ }
315+ }
316+ }
317+ }
318+}
gen/model/plus/v1/plus-api.json+50−2
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/EYDzxeZQC81bAZfRVFhODjUBwZ8\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lgRkloFO1UVq7VPz42VZJlIBWaI\"",
44 "discoveryVersion": "v1",
55 "id": "plus:v1",
66 "name": "plus",
77 "version": "v1",
8− "revision": "20150805",
8+ "revision": "20151014",
99 "title": "Google+ API",
1010 "description": "The Google+ API enables developers to build on top of the Google+ platform.",
1111 "ownerDomain": "google.com",
@@ -119,6 +119,22 @@
119119 "type": "object",
120120 "description": "The person who performed this activity.",
121121 "properties": {
122+ "clientSpecificActorInfo": {
123+ "type": "object",
124+ "description": "Actor info specific to particular clients.",
125+ "properties": {
126+ "youtubeActorInfo": {
127+ "type": "object",
128+ "description": "Actor info specific to YouTube clients.",
129+ "properties": {
130+ "channelId": {
131+ "type": "string",
132+ "description": "ID of the YouTube channel owned by the Actor."
133+ }
134+ }
135+ }
136+ }
137+ },
122138 "displayName": {
123139 "type": "string",
124140 "description": "The name of the actor, suitable for display."
@@ -208,6 +224,22 @@
208224 "type": "object",
209225 "description": "If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.",
210226 "properties": {
227+ "clientSpecificActorInfo": {
228+ "type": "object",
229+ "description": "Actor info specific to particular clients.",
230+ "properties": {
231+ "youtubeActorInfo": {
232+ "type": "object",
233+ "description": "Actor info specific to YouTube clients.",
234+ "properties": {
235+ "channelId": {
236+ "type": "string",
237+ "description": "ID of the YouTube channel owned by the Actor."
238+ }
239+ }
240+ }
241+ }
242+ },
211243 "displayName": {
212244 "type": "string",
213245 "description": "The original actor's name, which is suitable for display."
@@ -542,6 +574,22 @@
542574 "type": "object",
543575 "description": "The person who posted this comment.",
544576 "properties": {
577+ "clientSpecificActorInfo": {
578+ "type": "object",
579+ "description": "Actor info specific to particular clients.",
580+ "properties": {
581+ "youtubeActorInfo": {
582+ "type": "object",
583+ "description": "Actor info specific to YouTube clients.",
584+ "properties": {
585+ "channelId": {
586+ "type": "string",
587+ "description": "ID of the YouTube channel owned by the Actor."
588+ }
589+ }
590+ }
591+ }
592+ },
545593 "displayName": {
546594 "type": "string",
547595 "description": "The name of this actor, suitable for display."
gen/model/plusdomains/v1/plusdomains-api.json+50−2
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/fYkZdznRstWgwJ0BIA_7B934-2Y\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/JiNeLDZwZ4CDisO5kxxp-UNdJ28\"",
44 "discoveryVersion": "v1",
55 "id": "plusDomains:v1",
66 "name": "plusDomains",
77 "version": "v1",
8− "revision": "20150805",
8+ "revision": "20151014",
99 "title": "Google+ Domains API",
1010 "description": "The Google+ API enables developers to build on top of the Google+ platform.",
1111 "ownerDomain": "google.com",
@@ -141,6 +141,22 @@
141141 "type": "object",
142142 "description": "The person who performed this activity.",
143143 "properties": {
144+ "clientSpecificActorInfo": {
145+ "type": "object",
146+ "description": "Actor info specific to particular clients.",
147+ "properties": {
148+ "youtubeActorInfo": {
149+ "type": "object",
150+ "description": "Actor info specific to YouTube clients.",
151+ "properties": {
152+ "channelId": {
153+ "type": "string",
154+ "description": "ID of the YouTube channel owned by the Actor."
155+ }
156+ }
157+ }
158+ }
159+ },
144160 "displayName": {
145161 "type": "string",
146162 "description": "The name of the actor, suitable for display."
@@ -230,6 +246,22 @@
230246 "type": "object",
231247 "description": "If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.",
232248 "properties": {
249+ "clientSpecificActorInfo": {
250+ "type": "object",
251+ "description": "Actor info specific to particular clients.",
252+ "properties": {
253+ "youtubeActorInfo": {
254+ "type": "object",
255+ "description": "Actor info specific to YouTube clients.",
256+ "properties": {
257+ "channelId": {
258+ "type": "string",
259+ "description": "ID of the YouTube channel owned by the Actor."
260+ }
261+ }
262+ }
263+ }
264+ },
233265 "displayName": {
234266 "type": "string",
235267 "description": "The original actor's name, which is suitable for display."
@@ -747,6 +779,22 @@
747779 "type": "object",
748780 "description": "The person who posted this comment.",
749781 "properties": {
782+ "clientSpecificActorInfo": {
783+ "type": "object",
784+ "description": "Actor info specific to particular clients.",
785+ "properties": {
786+ "youtubeActorInfo": {
787+ "type": "object",
788+ "description": "Actor info specific to YouTube clients.",
789+ "properties": {
790+ "channelId": {
791+ "type": "string",
792+ "description": "ID of the YouTube channel owned by the Actor."
793+ }
794+ }
795+ }
796+ }
797+ },
750798 "displayName": {
751799 "type": "string",
752800 "description": "The name of this actor, suitable for display."
gen/model/pubsub/v1/pubsub-api.json+46−46
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ybL1OQpi_Jh0iWLTLn48fEeuPSU\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/5PwJv4HxhbjrzfsQfToP7wx4-Xk\"",
44 "discoveryVersion": "v1",
55 "id": "pubsub:v1",
66 "name": "pubsub",
77 "version": "v1",
8− "revision": "20150427",
8+ "revision": "20150526",
99 "title": "Google Cloud Pub/Sub API",
1010 "description": "Provides reliable, many-to-many, asynchronous messaging between applications.",
1111 "ownerDomain": "google.com",
@@ -120,23 +120,23 @@
120120 "properties": {
121121 "policy": {
122122 "$ref": "Policy",
123− "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
123+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
124124 }
125125 }
126126 },
127127 "Policy": {
128128 "id": "Policy",
129129 "type": "object",
130− "description": "# Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:frontend@example.iam.gserviceaccounts.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } ```",
130+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
131131 "properties": {
132132 "version": {
133133 "type": "integer",
134− "description": "The policy language version. The version of the policy is represented by the etag. The default version is 0.",
134+ "description": "Version of the `Policy`. The default version is 0.",
135135 "format": "int32"
136136 },
137137 "bindings": {
138138 "type": "array",
139− "description": "It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.",
139+ "description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
140140 "items": {
141141 "$ref": "Binding"
142142 }
@@ -151,15 +151,15 @@
151151 "Binding": {
152152 "id": "Binding",
153153 "type": "object",
154− "description": "Associates members with roles. See below for allowed formats of members.",
154+ "description": "Associates `members` with a `role`.",
155155 "properties": {
156156 "role": {
157157 "type": "string",
158− "description": "The name of the role to which the members should be bound. Examples: \"roles/viewer\", \"roles/editor\", \"roles/owner\". Required"
158+ "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
159159 },
160160 "members": {
161161 "type": "array",
162− "description": "Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com",
162+ "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
163163 "items": {
164164 "type": "string"
165165 }
@@ -173,7 +173,7 @@
173173 "properties": {
174174 "permissions": {
175175 "type": "array",
176− "description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
176+ "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
177177 "items": {
178178 "type": "string"
179179 }
@@ -238,14 +238,14 @@
238238 },
239239 "messageId": {
240240 "type": "string",
241− "description": "ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call."
241+ "description": "ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by a publisher in a `Publish` call."
242242 }
243243 }
244244 },
245245 "PublishResponse": {
246246 "id": "PublishResponse",
247247 "type": "object",
248− "description": "Response for the Publish method.",
248+ "description": "Response for the `Publish` method.",
249249 "properties": {
250250 "messageIds": {
251251 "type": "array",
@@ -259,7 +259,7 @@
259259 "ListTopicsResponse": {
260260 "id": "ListTopicsResponse",
261261 "type": "object",
262− "description": "Response for the ListTopics method.",
262+ "description": "Response for the `ListTopics` method.",
263263 "properties": {
264264 "topics": {
265265 "type": "array",
@@ -270,14 +270,14 @@
270270 },
271271 "nextPageToken": {
272272 "type": "string",
273− "description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new ListTopicsRequest."
273+ "description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`."
274274 }
275275 }
276276 },
277277 "ListTopicSubscriptionsResponse": {
278278 "id": "ListTopicSubscriptionsResponse",
279279 "type": "object",
280− "description": "Response for the ListTopicSubscriptions method.",
280+ "description": "Response for the `ListTopicSubscriptions` method.",
281281 "properties": {
282282 "subscriptions": {
283283 "type": "array",
@@ -288,7 +288,7 @@
288288 },
289289 "nextPageToken": {
290290 "type": "string",
291− "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListTopicSubscriptionsRequest to get more subscriptions."
291+ "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions."
292292 }
293293 }
294294 },
@@ -312,11 +312,11 @@
312312 },
313313 "pushConfig": {
314314 "$ref": "PushConfig",
315− "description": "If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods."
315+ "description": "If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods."
316316 },
317317 "ackDeadlineSeconds": {
318318 "type": "integer",
319− "description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.",
319+ "description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id`. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.",
320320 "format": "int32"
321321 }
322322 }
@@ -332,7 +332,7 @@
332332 },
333333 "attributes": {
334334 "type": "object",
335− "description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
335+ "description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
336336 "additionalProperties": {
337337 "type": "string"
338338 }
@@ -342,7 +342,7 @@
342342 "ListSubscriptionsResponse": {
343343 "id": "ListSubscriptionsResponse",
344344 "type": "object",
345− "description": "Response for the ListSubscriptions method.",
345+ "description": "Response for the `ListSubscriptions` method.",
346346 "properties": {
347347 "subscriptions": {
348348 "type": "array",
@@ -353,7 +353,7 @@
353353 },
354354 "nextPageToken": {
355355 "type": "string",
356− "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListSubscriptionsRequest to get more subscriptions."
356+ "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions."
357357 }
358358 }
359359 },
@@ -371,7 +371,7 @@
371371 },
372372 "ackDeadlineSeconds": {
373373 "type": "integer",
374− "description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.",
374+ "description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make the message available for another pull request.",
375375 "format": "int32"
376376 }
377377 }
@@ -383,7 +383,7 @@
383383 "properties": {
384384 "ackIds": {
385385 "type": "array",
386− "description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.",
386+ "description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.",
387387 "items": {
388388 "type": "string"
389389 }
@@ -393,11 +393,11 @@
393393 "PullRequest": {
394394 "id": "PullRequest",
395395 "type": "object",
396− "description": "Request for the Pull method.",
396+ "description": "Request for the `Pull` method.",
397397 "properties": {
398398 "returnImmediately": {
399399 "type": "boolean",
400− "description": "If this is specified as true the system will respond immediately even if it is not able to return a message in the Pull response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response."
400+ "description": "If this is specified as true the system will respond immediately even if it is not able to return a message in the `Pull` response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response."
401401 },
402402 "maxMessages": {
403403 "type": "integer",
@@ -409,11 +409,11 @@
409409 "PullResponse": {
410410 "id": "PullResponse",
411411 "type": "object",
412− "description": "Response for the Pull method.",
412+ "description": "Response for the `Pull` method.",
413413 "properties": {
414414 "receivedMessages": {
415415 "type": "array",
416− "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.",
416+ "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.",
417417 "items": {
418418 "$ref": "ReceivedMessage"
419419 }
@@ -442,7 +442,7 @@
442442 "properties": {
443443 "pushConfig": {
444444 "$ref": "PushConfig",
445− "description": "The push configuration for future deliveries. An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull is not called."
445+ "description": "The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if `Pull` is not called."
446446 }
447447 }
448448 }
@@ -460,7 +460,7 @@
460460 "parameters": {
461461 "resource": {
462462 "type": "string",
463− "description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
463+ "description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
464464 "required": true,
465465 "pattern": "^projects/[^/]*/topics/[^/]*$",
466466 "location": "path"
@@ -484,11 +484,11 @@
484484 "id": "pubsub.projects.topics.getIamPolicy",
485485 "path": "v1/{+resource}:getIamPolicy",
486486 "httpMethod": "GET",
487− "description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
487+ "description": "Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.",
488488 "parameters": {
489489 "resource": {
490490 "type": "string",
491− "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
491+ "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
492492 "required": true,
493493 "pattern": "^projects/[^/]*/topics/[^/]*$",
494494 "location": "path"
@@ -513,7 +513,7 @@
513513 "parameters": {
514514 "resource": {
515515 "type": "string",
516− "description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
516+ "description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
517517 "required": true,
518518 "pattern": "^projects/[^/]*/topics/[^/]*$",
519519 "location": "path"
@@ -565,7 +565,7 @@
565565 "id": "pubsub.projects.topics.publish",
566566 "path": "v1/{+topic}:publish",
567567 "httpMethod": "POST",
568− "description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.",
568+ "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.",
569569 "parameters": {
570570 "topic": {
571571 "type": "string",
@@ -635,7 +635,7 @@
635635 },
636636 "pageToken": {
637637 "type": "string",
638− "description": "The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.",
638+ "description": "The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.",
639639 "location": "query"
640640 }
641641 },
@@ -654,7 +654,7 @@
654654 "id": "pubsub.projects.topics.delete",
655655 "path": "v1/{+topic}",
656656 "httpMethod": "DELETE",
657− "description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
657+ "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
658658 "parameters": {
659659 "topic": {
660660 "type": "string",
@@ -700,7 +700,7 @@
700700 },
701701 "pageToken": {
702702 "type": "string",
703− "description": "The value returned by the last ListTopicSubscriptionsResponse; indicates that this is a continuation of a prior ListTopicSubscriptions call, and that the system should return the next page of data.",
703+ "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data.",
704704 "location": "query"
705705 }
706706 },
@@ -729,7 +729,7 @@
729729 "parameters": {
730730 "resource": {
731731 "type": "string",
732− "description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
732+ "description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
733733 "required": true,
734734 "pattern": "^projects/[^/]*/subscriptions/[^/]*$",
735735 "location": "path"
@@ -753,11 +753,11 @@
753753 "id": "pubsub.projects.subscriptions.getIamPolicy",
754754 "path": "v1/{+resource}:getIamPolicy",
755755 "httpMethod": "GET",
756− "description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
756+ "description": "Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.",
757757 "parameters": {
758758 "resource": {
759759 "type": "string",
760− "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
760+ "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
761761 "required": true,
762762 "pattern": "^projects/[^/]*/subscriptions/[^/]*$",
763763 "location": "path"
@@ -782,7 +782,7 @@
782782 "parameters": {
783783 "resource": {
784784 "type": "string",
785− "description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
785+ "description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
786786 "required": true,
787787 "pattern": "^projects/[^/]*/subscriptions/[^/]*$",
788788 "location": "path"
@@ -806,7 +806,7 @@
806806 "id": "pubsub.projects.subscriptions.create",
807807 "path": "v1/{+name}",
808808 "httpMethod": "PUT",
809− "description": "Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.",
809+ "description": "Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.",
810810 "parameters": {
811811 "name": {
812812 "type": "string",
@@ -876,7 +876,7 @@
876876 },
877877 "pageToken": {
878878 "type": "string",
879− "description": "The value returned by the last ListSubscriptionsResponse; indicates that this is a continuation of a prior ListSubscriptions call, and that the system should return the next page of data.",
879+ "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data.",
880880 "location": "query"
881881 }
882882 },
@@ -895,7 +895,7 @@
895895 "id": "pubsub.projects.subscriptions.delete",
896896 "path": "v1/{+subscription}",
897897 "httpMethod": "DELETE",
898− "description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.",
898+ "description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.",
899899 "parameters": {
900900 "subscription": {
901901 "type": "string",
@@ -948,7 +948,7 @@
948948 "id": "pubsub.projects.subscriptions.acknowledge",
949949 "path": "v1/{+subscription}:acknowledge",
950950 "httpMethod": "POST",
951− "description": "Acknowledges the messages associated with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.",
951+ "description": "Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.",
952952 "parameters": {
953953 "subscription": {
954954 "type": "string",
@@ -976,7 +976,7 @@
976976 "id": "pubsub.projects.subscriptions.pull",
977977 "path": "v1/{+subscription}:pull",
978978 "httpMethod": "POST",
979− "description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.",
979+ "description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.",
980980 "parameters": {
981981 "subscription": {
982982 "type": "string",
@@ -1004,7 +1004,7 @@
10041004 "id": "pubsub.projects.subscriptions.modifyPushConfig",
10051005 "path": "v1/{+subscription}:modifyPushConfig",
10061006 "httpMethod": "POST",
1007− "description": "Modifies the PushConfig for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.",
1007+ "description": "Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.",
10081008 "parameters": {
10091009 "subscription": {
10101010 "type": "string",
gen/model/pubsub/v1beta2/pubsub-api.json+46−46
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/s-u3NPfHPprAPtZF56gCDlMWM1U\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bZNz6VUa9sqtr0UjT-GTq4xvg0E\"",
44 "discoveryVersion": "v1",
55 "id": "pubsub:v1beta2",
66 "name": "pubsub",
77 "version": "v1beta2",
8− "revision": "20150427",
8+ "revision": "20150526",
99 "title": "Google Cloud Pub/Sub API",
1010 "description": "Provides reliable, many-to-many, asynchronous messaging between applications.",
1111 "ownerDomain": "google.com",
@@ -120,23 +120,23 @@
120120 "properties": {
121121 "policy": {
122122 "$ref": "Policy",
123− "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
123+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
124124 }
125125 }
126126 },
127127 "Policy": {
128128 "id": "Policy",
129129 "type": "object",
130− "description": "# Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:frontend@example.iam.gserviceaccounts.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } ```",
130+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
131131 "properties": {
132132 "version": {
133133 "type": "integer",
134− "description": "The policy language version. The version of the policy is represented by the etag. The default version is 0.",
134+ "description": "Version of the `Policy`. The default version is 0.",
135135 "format": "int32"
136136 },
137137 "bindings": {
138138 "type": "array",
139− "description": "It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.",
139+ "description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
140140 "items": {
141141 "$ref": "Binding"
142142 }
@@ -151,15 +151,15 @@
151151 "Binding": {
152152 "id": "Binding",
153153 "type": "object",
154− "description": "Associates members with roles. See below for allowed formats of members.",
154+ "description": "Associates `members` with a `role`.",
155155 "properties": {
156156 "role": {
157157 "type": "string",
158− "description": "The name of the role to which the members should be bound. Examples: \"roles/viewer\", \"roles/editor\", \"roles/owner\". Required"
158+ "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
159159 },
160160 "members": {
161161 "type": "array",
162− "description": "Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com",
162+ "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
163163 "items": {
164164 "type": "string"
165165 }
@@ -173,7 +173,7 @@
173173 "properties": {
174174 "permissions": {
175175 "type": "array",
176− "description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
176+ "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
177177 "items": {
178178 "type": "string"
179179 }
@@ -238,14 +238,14 @@
238238 },
239239 "messageId": {
240240 "type": "string",
241− "description": "ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call."
241+ "description": "ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by a publisher in a `Publish` call."
242242 }
243243 }
244244 },
245245 "PublishResponse": {
246246 "id": "PublishResponse",
247247 "type": "object",
248− "description": "Response for the Publish method.",
248+ "description": "Response for the `Publish` method.",
249249 "properties": {
250250 "messageIds": {
251251 "type": "array",
@@ -259,7 +259,7 @@
259259 "ListTopicsResponse": {
260260 "id": "ListTopicsResponse",
261261 "type": "object",
262− "description": "Response for the ListTopics method.",
262+ "description": "Response for the `ListTopics` method.",
263263 "properties": {
264264 "topics": {
265265 "type": "array",
@@ -270,14 +270,14 @@
270270 },
271271 "nextPageToken": {
272272 "type": "string",
273− "description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new ListTopicsRequest."
273+ "description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`."
274274 }
275275 }
276276 },
277277 "ListTopicSubscriptionsResponse": {
278278 "id": "ListTopicSubscriptionsResponse",
279279 "type": "object",
280− "description": "Response for the ListTopicSubscriptions method.",
280+ "description": "Response for the `ListTopicSubscriptions` method.",
281281 "properties": {
282282 "subscriptions": {
283283 "type": "array",
@@ -288,7 +288,7 @@
288288 },
289289 "nextPageToken": {
290290 "type": "string",
291− "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListTopicSubscriptionsRequest to get more subscriptions."
291+ "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions."
292292 }
293293 }
294294 },
@@ -312,11 +312,11 @@
312312 },
313313 "pushConfig": {
314314 "$ref": "PushConfig",
315− "description": "If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods."
315+ "description": "If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods."
316316 },
317317 "ackDeadlineSeconds": {
318318 "type": "integer",
319− "description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.",
319+ "description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id`. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.",
320320 "format": "int32"
321321 }
322322 }
@@ -332,7 +332,7 @@
332332 },
333333 "attributes": {
334334 "type": "object",
335− "description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
335+ "description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
336336 "additionalProperties": {
337337 "type": "string"
338338 }
@@ -342,7 +342,7 @@
342342 "ListSubscriptionsResponse": {
343343 "id": "ListSubscriptionsResponse",
344344 "type": "object",
345− "description": "Response for the ListSubscriptions method.",
345+ "description": "Response for the `ListSubscriptions` method.",
346346 "properties": {
347347 "subscriptions": {
348348 "type": "array",
@@ -353,7 +353,7 @@
353353 },
354354 "nextPageToken": {
355355 "type": "string",
356− "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListSubscriptionsRequest to get more subscriptions."
356+ "description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions."
357357 }
358358 }
359359 },
@@ -375,7 +375,7 @@
375375 },
376376 "ackDeadlineSeconds": {
377377 "type": "integer",
378− "description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.",
378+ "description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make the message available for another pull request.",
379379 "format": "int32"
380380 }
381381 }
@@ -387,7 +387,7 @@
387387 "properties": {
388388 "ackIds": {
389389 "type": "array",
390− "description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.",
390+ "description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.",
391391 "items": {
392392 "type": "string"
393393 }
@@ -397,11 +397,11 @@
397397 "PullRequest": {
398398 "id": "PullRequest",
399399 "type": "object",
400− "description": "Request for the Pull method.",
400+ "description": "Request for the `Pull` method.",
401401 "properties": {
402402 "returnImmediately": {
403403 "type": "boolean",
404− "description": "If this is specified as true the system will respond immediately even if it is not able to return a message in the Pull response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response."
404+ "description": "If this is specified as true the system will respond immediately even if it is not able to return a message in the `Pull` response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response."
405405 },
406406 "maxMessages": {
407407 "type": "integer",
@@ -413,11 +413,11 @@
413413 "PullResponse": {
414414 "id": "PullResponse",
415415 "type": "object",
416− "description": "Response for the Pull method.",
416+ "description": "Response for the `Pull` method.",
417417 "properties": {
418418 "receivedMessages": {
419419 "type": "array",
420− "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.",
420+ "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.",
421421 "items": {
422422 "$ref": "ReceivedMessage"
423423 }
@@ -446,7 +446,7 @@
446446 "properties": {
447447 "pushConfig": {
448448 "$ref": "PushConfig",
449− "description": "The push configuration for future deliveries. An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull is not called."
449+ "description": "The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if `Pull` is not called."
450450 }
451451 }
452452 }
@@ -464,7 +464,7 @@
464464 "parameters": {
465465 "resource": {
466466 "type": "string",
467− "description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
467+ "description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
468468 "required": true,
469469 "pattern": "^projects/[^/]*/topics/[^/]*$",
470470 "location": "path"
@@ -488,11 +488,11 @@
488488 "id": "pubsub.projects.topics.getIamPolicy",
489489 "path": "v1beta2/{+resource}:getIamPolicy",
490490 "httpMethod": "GET",
491− "description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
491+ "description": "Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.",
492492 "parameters": {
493493 "resource": {
494494 "type": "string",
495− "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
495+ "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
496496 "required": true,
497497 "pattern": "^projects/[^/]*/topics/[^/]*$",
498498 "location": "path"
@@ -517,7 +517,7 @@
517517 "parameters": {
518518 "resource": {
519519 "type": "string",
520− "description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
520+ "description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
521521 "required": true,
522522 "pattern": "^projects/[^/]*/topics/[^/]*$",
523523 "location": "path"
@@ -569,7 +569,7 @@
569569 "id": "pubsub.projects.topics.publish",
570570 "path": "v1beta2/{+topic}:publish",
571571 "httpMethod": "POST",
572− "description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.",
572+ "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.",
573573 "parameters": {
574574 "topic": {
575575 "type": "string",
@@ -639,7 +639,7 @@
639639 },
640640 "pageToken": {
641641 "type": "string",
642− "description": "The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.",
642+ "description": "The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.",
643643 "location": "query"
644644 }
645645 },
@@ -658,7 +658,7 @@
658658 "id": "pubsub.projects.topics.delete",
659659 "path": "v1beta2/{+topic}",
660660 "httpMethod": "DELETE",
661− "description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
661+ "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
662662 "parameters": {
663663 "topic": {
664664 "type": "string",
@@ -704,7 +704,7 @@
704704 },
705705 "pageToken": {
706706 "type": "string",
707− "description": "The value returned by the last ListTopicSubscriptionsResponse; indicates that this is a continuation of a prior ListTopicSubscriptions call, and that the system should return the next page of data.",
707+ "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data.",
708708 "location": "query"
709709 }
710710 },
@@ -733,7 +733,7 @@
733733 "parameters": {
734734 "resource": {
735735 "type": "string",
736− "description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
736+ "description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
737737 "required": true,
738738 "pattern": "^projects/[^/]*/subscriptions/[^/]*$",
739739 "location": "path"
@@ -757,11 +757,11 @@
757757 "id": "pubsub.projects.subscriptions.getIamPolicy",
758758 "path": "v1beta2/{+resource}:getIamPolicy",
759759 "httpMethod": "GET",
760− "description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
760+ "description": "Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.",
761761 "parameters": {
762762 "resource": {
763763 "type": "string",
764− "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
764+ "description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
765765 "required": true,
766766 "pattern": "^projects/[^/]*/subscriptions/[^/]*$",
767767 "location": "path"
@@ -786,7 +786,7 @@
786786 "parameters": {
787787 "resource": {
788788 "type": "string",
789− "description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
789+ "description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
790790 "required": true,
791791 "pattern": "^projects/[^/]*/subscriptions/[^/]*$",
792792 "location": "path"
@@ -810,7 +810,7 @@
810810 "id": "pubsub.projects.subscriptions.create",
811811 "path": "v1beta2/{+name}",
812812 "httpMethod": "PUT",
813− "description": "Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.",
813+ "description": "Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.",
814814 "parameters": {
815815 "name": {
816816 "type": "string",
@@ -880,7 +880,7 @@
880880 },
881881 "pageToken": {
882882 "type": "string",
883− "description": "The value returned by the last ListSubscriptionsResponse; indicates that this is a continuation of a prior ListSubscriptions call, and that the system should return the next page of data.",
883+ "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data.",
884884 "location": "query"
885885 }
886886 },
@@ -899,7 +899,7 @@
899899 "id": "pubsub.projects.subscriptions.delete",
900900 "path": "v1beta2/{+subscription}",
901901 "httpMethod": "DELETE",
902− "description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.",
902+ "description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.",
903903 "parameters": {
904904 "subscription": {
905905 "type": "string",
@@ -952,7 +952,7 @@
952952 "id": "pubsub.projects.subscriptions.acknowledge",
953953 "path": "v1beta2/{+subscription}:acknowledge",
954954 "httpMethod": "POST",
955− "description": "Acknowledges the messages associated with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.",
955+ "description": "Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.",
956956 "parameters": {
957957 "subscription": {
958958 "type": "string",
@@ -980,7 +980,7 @@
980980 "id": "pubsub.projects.subscriptions.pull",
981981 "path": "v1beta2/{+subscription}:pull",
982982 "httpMethod": "POST",
983− "description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.",
983+ "description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.",
984984 "parameters": {
985985 "subscription": {
986986 "type": "string",
@@ -1008,7 +1008,7 @@
10081008 "id": "pubsub.projects.subscriptions.modifyPushConfig",
10091009 "path": "v1beta2/{+subscription}:modifyPushConfig",
10101010 "httpMethod": "POST",
1011− "description": "Modifies the PushConfig for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.",
1011+ "description": "Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.",
10121012 "parameters": {
10131013 "subscription": {
10141014 "type": "string",
gen/model/script/v1/script-api.jsonnew file+319
@@ -0,0 +1,319 @@
1+{
2+ "kind": "discovery#restDescription",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/naX8yNJ_bY3dR5Ft8Kwm0spj_ao\"",
4+ "discoveryVersion": "v1",
5+ "id": "script:v1",
6+ "name": "script",
7+ "version": "v1",
8+ "revision": "20150922",
9+ "title": "Google Apps Script Execution API",
10+ "description": "An API for executing Google Apps Script projects.",
11+ "ownerDomain": "google.com",
12+ "ownerName": "Google",
13+ "icons": {
14+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
15+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
16+ },
17+ "documentationLink": "https://developers.google.com/apps-script/execution/rest/v1/run",
18+ "protocol": "rest",
19+ "baseUrl": "https://script.googleapis.com/",
20+ "basePath": "/",
21+ "rootUrl": "https://script.googleapis.com/",
22+ "servicePath": "",
23+ "batchPath": "batch",
24+ "parameters": {
25+ "access_token": {
26+ "type": "string",
27+ "description": "OAuth access token.",
28+ "location": "query"
29+ },
30+ "alt": {
31+ "type": "string",
32+ "description": "Data format for response.",
33+ "default": "json",
34+ "enumDescriptions": [
35+ "Responses with Content-Type of application/json",
36+ "Media download with context-dependent Content-Type",
37+ "Responses with Content-Type of application/x-protobuf"
38+ ],
39+ "location": "query"
40+ },
41+ "bearer_token": {
42+ "type": "string",
43+ "description": "OAuth bearer token.",
44+ "location": "query"
45+ },
46+ "callback": {
47+ "type": "string",
48+ "description": "JSONP",
49+ "location": "query"
50+ },
51+ "fields": {
52+ "type": "string",
53+ "description": "Selector specifying which fields to include in a partial response.",
54+ "location": "query"
55+ },
56+ "key": {
57+ "type": "string",
58+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
59+ "location": "query"
60+ },
61+ "oauth_token": {
62+ "type": "string",
63+ "description": "OAuth 2.0 token for the current user.",
64+ "location": "query"
65+ },
66+ "pp": {
67+ "type": "boolean",
68+ "description": "Pretty-print response.",
69+ "default": "true",
70+ "location": "query"
71+ },
72+ "prettyPrint": {
73+ "type": "boolean",
74+ "description": "Returns response with indentations and line breaks.",
75+ "default": "true",
76+ "location": "query"
77+ },
78+ "quotaUser": {
79+ "type": "string",
80+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
81+ "location": "query"
82+ },
83+ "upload_protocol": {
84+ "type": "string",
85+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
86+ "location": "query"
87+ },
88+ "uploadType": {
89+ "type": "string",
90+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
91+ "location": "query"
92+ },
93+ "$.xgafv": {
94+ "type": "string",
95+ "description": "V1 error format.",
96+ "enumDescriptions": [
97+ "v1 error format",
98+ "v2 error format"
99+ ],
100+ "location": "query"
101+ }
102+ },
103+ "auth": {
104+ "oauth2": {
105+ "scopes": {
106+ "https://mail.google.com/": {
107+ "description": "View and manage your mail"
108+ },
109+ "https://www.google.com/calendar/feeds": {
110+ "description": "Manage your calendars"
111+ },
112+ "https://www.google.com/m8/feeds": {
113+ "description": "Manage your contacts"
114+ },
115+ "https://www.googleapis.com/auth/admin.directory.group": {
116+ "description": "View and manage the provisioning of groups on your domain"
117+ },
118+ "https://www.googleapis.com/auth/admin.directory.user": {
119+ "description": "View and manage the provisioning of users on your domain"
120+ },
121+ "https://www.googleapis.com/auth/drive": {
122+ "description": "View and manage the files in your Google Drive"
123+ },
124+ "https://www.googleapis.com/auth/forms": {
125+ "description": "View and manage your forms in Google Drive"
126+ },
127+ "https://www.googleapis.com/auth/forms.currentonly": {
128+ "description": "View and manage forms that this application has been installed in"
129+ },
130+ "https://www.googleapis.com/auth/groups": {
131+ "description": "View and manage your Google Groups"
132+ },
133+ "https://www.googleapis.com/auth/userinfo.email": {
134+ "description": "View your email address"
135+ }
136+ }
137+ }
138+ },
139+ "schemas": {
140+ "ExecutionRequest": {
141+ "id": "ExecutionRequest",
142+ "type": "object",
143+ "description": "A request to run the function in a script. The script is identified by the specified `script_id`. Executing a function on a script will return results based on the implementation of the script.",
144+ "properties": {
145+ "function": {
146+ "type": "string",
147+ "description": "The name of the function to execute in the given script. The name does not include parentheses or parameters."
148+ },
149+ "parameters": {
150+ "type": "array",
151+ "description": "The parameters to be passed to the function being executed. The type for each parameter should match the expected type in Apps Script. Parameters cannot be Apps Script-specific objects (such as a `Document` or `Calendar`); they can only be primitive types such as a `string`, `number`, `array`, `object`, or `boolean`. Optional.",
152+ "items": {
153+ "type": "any"
154+ }
155+ },
156+ "sessionState": {
157+ "type": "string",
158+ "description": "This field is not used."
159+ },
160+ "devMode": {
161+ "type": "boolean",
162+ "description": "If `true` and the user is an owner of the script, the script runs at the most recently saved version rather than the version deployed for use with the Execution API. Optional; default is `false`."
163+ }
164+ }
165+ },
166+ "Operation": {
167+ "id": "Operation",
168+ "type": "object",
169+ "description": "The response will not arrive until the function finishes executing. The maximum runtime is listed in the guide to [limitations in Apps Script](https://developers.google.com/apps-script/guides/services/quotas#current_limitations).\nIf the script function returns successfully, the `response` field will contain an `ExecutionResponse` object with the function's return value in the object's `result` field.\n\nIf the script function (or Apps Script itself) throws an exception, the `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error.\n\nIf the `run` call itself fails (for example, because of a malformed request or an authorization error), the method will return an HTTP response code in the 4XX range with a different format for the response body. Client libraries will automatically convert a 4XX response into an exception class.",
170+ "properties": {
171+ "name": {
172+ "type": "string",
173+ "description": "This field is not used."
174+ },
175+ "metadata": {
176+ "type": "object",
177+ "description": "This field is not used.",
178+ "additionalProperties": {
179+ "type": "any",
180+ "description": "Properties of the object. Contains field @ype with type URL."
181+ }
182+ },
183+ "done": {
184+ "type": "boolean",
185+ "description": "This field is not used."
186+ },
187+ "error": {
188+ "$ref": "Status",
189+ "description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, this field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error."
190+ },
191+ "response": {
192+ "type": "object",
193+ "description": "If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's return value as the object's `result` field.",
194+ "additionalProperties": {
195+ "type": "any",
196+ "description": "Properties of the object. Contains field @ype with type URL."
197+ }
198+ }
199+ }
200+ },
201+ "Status": {
202+ "id": "Status",
203+ "type": "object",
204+ "description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain this `Status` object.",
205+ "properties": {
206+ "code": {
207+ "type": "integer",
208+ "description": "The status code, which should be an enum value of google.rpc.Code.",
209+ "format": "int32"
210+ },
211+ "message": {
212+ "type": "string",
213+ "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
214+ },
215+ "details": {
216+ "type": "array",
217+ "description": "An array that contains a single `ExecutionError` object that provides information about the nature of the error.",
218+ "items": {
219+ "type": "object",
220+ "additionalProperties": {
221+ "type": "any",
222+ "description": "Properties of the object. Contains field @ype with type URL."
223+ }
224+ }
225+ }
226+ }
227+ },
228+ "ExecutionError": {
229+ "id": "ExecutionError",
230+ "type": "object",
231+ "description": "An object that provides information about the nature of an error in the Apps Script Execution API. If an `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single one of these `ExecutionError` objects.",
232+ "properties": {
233+ "scriptStackTraceElements": {
234+ "type": "array",
235+ "description": "An array of objects that provide a stack trace through the script to show where the execution failed, with the deepest call first.",
236+ "items": {
237+ "$ref": "ScriptStackTraceElement"
238+ }
239+ },
240+ "errorMessage": {
241+ "type": "string",
242+ "description": "The error message thrown by Apps Script, usually localized into the user's language."
243+ },
244+ "errorType": {
245+ "type": "string",
246+ "description": "The error type, for example `TypeError` or `ReferenceError`. If the error type is unavailable, this field is not included."
247+ }
248+ }
249+ },
250+ "ScriptStackTraceElement": {
251+ "id": "ScriptStackTraceElement",
252+ "type": "object",
253+ "description": "A stack trace through the script that shows where the execution failed.",
254+ "properties": {
255+ "function": {
256+ "type": "string",
257+ "description": "The name of the function that failed."
258+ },
259+ "lineNumber": {
260+ "type": "integer",
261+ "description": "The line number where the script failed.",
262+ "format": "int32"
263+ }
264+ }
265+ },
266+ "ExecutionResponse": {
267+ "id": "ExecutionResponse",
268+ "type": "object",
269+ "description": "An object that provides the return value of a function executed through the Apps Script Execution API. If an `run` call succeeds and the script function returns successfully, the response body's `response` field will contain this `ExecutionResponse` object.",
270+ "properties": {
271+ "result": {
272+ "type": "any",
273+ "description": "The return value of the script function. The type will match the type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a `Document` or `Calendar`); they can only return primitive types such as a `string`, `number`, `array`, `object`, or `boolean`."
274+ }
275+ }
276+ }
277+ },
278+ "resources": {
279+ "scripts": {
280+ "methods": {
281+ "run": {
282+ "id": "script.scripts.run",
283+ "path": "v1/scripts/{scriptId}:run",
284+ "httpMethod": "POST",
285+ "description": "Runs a function in an Apps Script project that has been deployed for use with the Apps Script Execution API. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authentication](#authentication) section; script projects that do not require authorization cannot be executed through this API. To find the correct scopes to include in the authentication token, open the project in the script editor, then select **File \u003e Project properties** and click the **Scopes** tab.",
286+ "parameters": {
287+ "scriptId": {
288+ "type": "string",
289+ "description": "The project key of the script to be executed. To find the project key, open the project in the script editor, then select **File \u003e Project properties**.",
290+ "required": true,
291+ "location": "path"
292+ }
293+ },
294+ "parameterOrder": [
295+ "scriptId"
296+ ],
297+ "request": {
298+ "$ref": "ExecutionRequest"
299+ },
300+ "response": {
301+ "$ref": "Operation"
302+ },
303+ "scopes": [
304+ "https://mail.google.com/",
305+ "https://www.google.com/calendar/feeds",
306+ "https://www.google.com/m8/feeds",
307+ "https://www.googleapis.com/auth/admin.directory.group",
308+ "https://www.googleapis.com/auth/admin.directory.user",
309+ "https://www.googleapis.com/auth/drive",
310+ "https://www.googleapis.com/auth/forms",
311+ "https://www.googleapis.com/auth/forms.currentonly",
312+ "https://www.googleapis.com/auth/groups",
313+ "https://www.googleapis.com/auth/userinfo.email"
314+ ]
315+ }
316+ }
317+ }
318+ }
319+}
gen/model/sqladmin/v1beta4/sqladmin-api.json+76−5
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/CdVfU5tbn5VgAny3uzYYuohH1xY\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dmM5e1LsyAJYfrXQoy2C4h3tVuA\"",
44 "discoveryVersion": "v1",
55 "id": "sqladmin:v1beta4",
66 "name": "sqladmin",
77 "canonicalName": "SQL Admin",
88 "version": "v1beta4",
9− "revision": "20150825",
9+ "revision": "20151013",
1010 "title": "Cloud SQL Administration API",
1111 "description": "API for Cloud SQL database instance management.",
1212 "ownerDomain": "google.com",
@@ -479,7 +479,7 @@
479479 "properties": {
480480 "schemaOnly": {
481481 "type": "boolean",
482− "description": "Export only schema."
482+ "description": "Export only schemas."
483483 },
484484 "tables": {
485485 "type": "array",
@@ -496,6 +496,23 @@
496496 }
497497 }
498498 },
499+ "FailoverContext": {
500+ "id": "FailoverContext",
501+ "type": "object",
502+ "description": "Database instance failover context.",
503+ "properties": {
504+ "kind": {
505+ "type": "string",
506+ "description": "This is always sql#failoverContext.",
507+ "default": "sql#failoverContext"
508+ },
509+ "settingsVersion": {
510+ "type": "string",
511+ "description": "The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.",
512+ "format": "int64"
513+ }
514+ }
515+ },
499516 "Flag": {
500517 "id": "Flag",
501518 "type": "object",
@@ -510,7 +527,7 @@
510527 },
511528 "appliesTo": {
512529 "type": "array",
513− "description": "The database version this flag applies to. Currently this can only be [MYSQL_5_5].",
530+ "description": "The database version this flag applies to. Can be MYSQL_5_5, MYSQL_5_6, or both.",
514531 "items": {
515532 "type": "string"
516533 }
@@ -622,6 +639,17 @@
622639 }
623640 }
624641 },
642+ "InstancesFailoverRequest": {
643+ "id": "InstancesFailoverRequest",
644+ "type": "object",
645+ "description": "Instance failover request.",
646+ "properties": {
647+ "failoverContext": {
648+ "$ref": "FailoverContext",
649+ "description": "Failover Context."
650+ }
651+ }
652+ },
625653 "InstancesImportRequest": {
626654 "id": "InstancesImportRequest",
627655 "type": "object",
@@ -933,6 +961,10 @@
933961 "type": "object",
934962 "description": "Read-replica configuration for connecting to the master.",
935963 "properties": {
964+ "failoverTarget": {
965+ "type": "boolean",
966+ "description": "Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.\nOnly one replica can be specified as failover target, and the replica has to be in different zone with the master instance."
967+ },
936968 "kind": {
937969 "type": "string",
938970 "description": "This is always sql#replicaConfiguration.",
@@ -994,6 +1026,11 @@
9941026 "type": "boolean",
9951027 "description": "Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled."
9961028 },
1029+ "dataDiskSizeGb": {
1030+ "type": "string",
1031+ "description": "The size of data disk for the performance instance, specified in GB. Setting this value for non-performance instances will result in an error.",
1032+ "format": "int64"
1033+ },
9971034 "databaseFlags": {
9981035 "type": "array",
9991036 "description": "The database flags passed to the instance at startup.",
@@ -1293,7 +1330,7 @@
12931330 "parameters": {
12941331 "id": {
12951332 "type": "string",
1296− "description": "The ID of the Backup Run to delete.",
1333+ "description": "The ID of the Backup Run to delete. To find a Backup Run ID, use the list method.",
12971334 "required": true,
12981335 "format": "int64",
12991336 "location": "path"
@@ -1751,6 +1788,40 @@
17511788 "https://www.googleapis.com/auth/cloud-platform"
17521789 ]
17531790 },
1791+ "failover": {
1792+ "id": "sql.instances.failover",
1793+ "path": "projects/{project}/instances/{instance}/failover",
1794+ "httpMethod": "POST",
1795+ "description": "Failover the instance to its failover replica instance.",
1796+ "parameters": {
1797+ "instance": {
1798+ "type": "string",
1799+ "description": "Cloud SQL instance ID. This does not include the project ID.",
1800+ "required": true,
1801+ "location": "path"
1802+ },
1803+ "project": {
1804+ "type": "string",
1805+ "description": "ID of the project that contains the read replica.",
1806+ "required": true,
1807+ "location": "path"
1808+ }
1809+ },
1810+ "parameterOrder": [
1811+ "project",
1812+ "instance"
1813+ ],
1814+ "request": {
1815+ "$ref": "InstancesFailoverRequest"
1816+ },
1817+ "response": {
1818+ "$ref": "Operation"
1819+ },
1820+ "scopes": [
1821+ "https://www.googleapis.com/auth/cloud-platform",
1822+ "https://www.googleapis.com/auth/sqlservice.admin"
1823+ ]
1824+ },
17541825 "get": {
17551826 "id": "sql.instances.get",
17561827 "path": "projects/{project}/instances/{instance}",
gen/model/storage/v1/storage-api.json+14−4
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OK_cUEY_NOfFazu7VbcsL_tulGg\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/N6tKJW3LYMQm0Iy7CDmwkEgtf6o\"",
44 "discoveryVersion": "v1",
55 "id": "storage:v1",
66 "name": "storage",
77 "version": "v1",
8− "revision": "20150909",
8+ "revision": "20151007",
99 "title": "Cloud Storage JSON API",
1010 "description": "Lets you store and retrieve potentially-large, immutable data objects.",
1111 "ownerDomain": "google.com",
@@ -274,7 +274,12 @@
274274 },
275275 "timeCreated": {
276276 "type": "string",
277− "description": "Creation time of the bucket in RFC 3339 format.",
277+ "description": "The creation time of the bucket in RFC 3339 format.",
278+ "format": "date-time"
279+ },
280+ "updated": {
281+ "type": "string",
282+ "description": "The modification time of the bucket in RFC 3339 format.",
278283 "format": "date-time"
279284 },
280285 "versioning": {
@@ -651,6 +656,11 @@
651656 "type": "string",
652657 "description": "Storage class of the object."
653658 },
659+ "timeCreated": {
660+ "type": "string",
661+ "description": "The creation time of the object in RFC 3339 format.",
662+ "format": "date-time"
663+ },
654664 "timeDeleted": {
655665 "type": "string",
656666 "description": "The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.",
@@ -658,7 +668,7 @@
658668 },
659669 "updated": {
660670 "type": "string",
661− "description": "The creation or modification time of the object in RFC 3339 format. For buckets with versioning enabled, changing an object's metadata does not change this property.",
671+ "description": "The modification time of the object metadata in RFC 3339 format.",
662672 "format": "date-time"
663673 }
664674 }
gen/model/storage/v1beta1/storage-api.json+3−3
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/--kbHbD1ylfgYf5jjY5PzcBb6t4\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bTGfIvC19RkllzOnE1QWbh07cyk\"",
44 "discoveryVersion": "v1",
55 "id": "storage:v1beta1",
66 "name": "storage",
77 "version": "v1beta1",
8− "revision": "20141229",
9− "title": "Cloud Storage API",
8+ "revision": "20151007",
9+ "title": "Cloud Storage JSON API",
1010 "description": "Lets you store and retrieve potentially-large, immutable data objects.",
1111 "ownerDomain": "google.com",
1212 "ownerName": "Google",
gen/model/storage/v1beta2/storage-api.json+3−3
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/15LYn2He35ZdsKeqcXSKVIUDAPY\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/58I9am2CtsQcuFUTzCVHg3vRyjQ\"",
44 "discoveryVersion": "v1",
55 "id": "storage:v1beta2",
66 "name": "storage",
77 "version": "v1beta2",
8− "revision": "20141229",
9− "title": "Cloud Storage API",
8+ "revision": "20151007",
9+ "title": "Cloud Storage JSON API",
1010 "description": "Lets you store and retrieve potentially-large, immutable data objects.",
1111 "ownerDomain": "google.com",
1212 "ownerName": "Google",
gen/model/tagmanager/v1/tagmanager-api.json+22−432
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/N2n1iYnDyuh2rPS2JpjnBtCuGt0\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-5hQwJsgwNQCq1DK1Ud7--ggMIg\"",
44 "discoveryVersion": "v1",
55 "id": "tagmanager:v1",
66 "name": "tagmanager",
77 "canonicalName": "Tag Manager",
88 "version": "v1",
9− "revision": "20150831",
9+ "revision": "20151008",
1010 "title": "Tag Manager API",
1111 "description": "API for accessing Tag Manager accounts and containers.",
1212 "ownerDomain": "google.com",
@@ -158,14 +158,14 @@
158158 "properties": {
159159 "parameter": {
160160 "type": "array",
161− "description": "A list of named parameters (key/value), depending on the condition's type. Notes: \n- For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. \n- At this time, the left operand (arg0) must be a reference to a macro. \n- For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. \n- To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.",
161+ "description": "A list of named parameters (key/value), depending on the condition's type. Notes: \n- For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. \n- At this time, the left operand (arg0) must be a reference to a variable. \n- For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. \n- To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.",
162162 "items": {
163163 "$ref": "Parameter"
164164 },
165165 "annotations": {
166166 "required": [
167− "tagmanager.accounts.containers.rules.create",
168− "tagmanager.accounts.containers.rules.update"
167+ "tagmanager.accounts.containers.triggers.create",
168+ "tagmanager.accounts.containers.triggers.update"
169169 ]
170170 }
171171 },
@@ -200,8 +200,8 @@
200200 ],
201201 "annotations": {
202202 "required": [
203− "tagmanager.accounts.containers.rules.create",
204− "tagmanager.accounts.containers.rules.update"
203+ "tagmanager.accounts.containers.triggers.create",
204+ "tagmanager.accounts.containers.triggers.update"
205205 ]
206206 }
207207 }
@@ -368,10 +368,14 @@
368368 "type": "string",
369369 "enum": [
370370 "android",
371+ "androidSdk5",
371372 "ios",
373+ "iosSdk5",
372374 "web"
373375 ],
374376 "enumDescriptions": [
377+ "",
378+ "",
375379 "",
376380 "",
377381 ""
@@ -716,34 +720,6 @@
716720 }
717721 }
718722 },
719− "ListMacrosResponse": {
720− "id": "ListMacrosResponse",
721− "type": "object",
722− "description": "List Macros Response.",
723− "properties": {
724− "macros": {
725− "type": "array",
726− "description": "All GTM Macros of a GTM Container.",
727− "items": {
728− "$ref": "Macro"
729− }
730− }
731− }
732− },
733− "ListRulesResponse": {
734− "id": "ListRulesResponse",
735− "type": "object",
736− "description": "List Rules Response.",
737− "properties": {
738− "rules": {
739− "type": "array",
740− "description": "All GTM Rules of a GTM Container.",
741− "items": {
742− "$ref": "Rule"
743− }
744− }
745− }
746− },
747723 "ListTagsResponse": {
748724 "id": "ListTagsResponse",
749725 "type": "object",
@@ -823,12 +799,7 @@
823799 },
824800 "name": {
825801 "type": "string",
826− "description": "Macro display name.",
827− "annotations": {
828− "required": [
829− "tagmanager.accounts.containers.macros.create"
830− ]
831− }
802+ "description": "Macro display name."
832803 },
833804 "notes": {
834805 "type": "string",
@@ -857,13 +828,7 @@
857828 },
858829 "type": {
859830 "type": "string",
860− "description": "GTM Macro Type.",
861− "annotations": {
862− "required": [
863− "tagmanager.accounts.containers.macros.create",
864− "tagmanager.accounts.containers.macros.update"
865− ]
866− }
831+ "description": "GTM Macro Type."
867832 }
868833 }
869834 },
@@ -892,7 +857,7 @@
892857 },
893858 "type": {
894859 "type": "string",
895− "description": "The parameter type. Valid values are: \n- boolean: The value represents a boolean, represented as 'true' or 'false' \n- integer: The value represents a 64-bit signed integer value, in base 10 \n- list: A list of parameters should be specified \n- map: A map of parameters should be specified \n- template: The value represents any text; this can include macro references (even macro references that might return non-string types)",
860+ "description": "The parameter type. Valid values are: \n- boolean: The value represents a boolean, represented as 'true' or 'false' \n- integer: The value represents a 64-bit signed integer value, in base 10 \n- list: A list of parameters should be specified \n- map: A map of parameters should be specified \n- template: The value represents any text; this can include variable references (even variable references that might return non-string types)",
896861 "enum": [
897862 "boolean",
898863 "integer",
@@ -909,18 +874,18 @@
909874 ],
910875 "annotations": {
911876 "required": [
912− "tagmanager.accounts.containers.macros.create",
913− "tagmanager.accounts.containers.macros.update",
914− "tagmanager.accounts.containers.rules.create",
915− "tagmanager.accounts.containers.rules.update",
916877 "tagmanager.accounts.containers.tags.create",
917− "tagmanager.accounts.containers.tags.update"
878+ "tagmanager.accounts.containers.tags.update",
879+ "tagmanager.accounts.containers.triggers.create",
880+ "tagmanager.accounts.containers.triggers.update",
881+ "tagmanager.accounts.containers.variables.create",
882+ "tagmanager.accounts.containers.variables.update"
918883 ]
919884 }
920885 },
921886 "value": {
922887 "type": "string",
923− "description": "A parameter's value (may contain macro references such as \"{{myMacro}}\") as appropriate to the specified type."
888+ "description": "A parameter's value (may contain variable references such as \"{{myVariable}}\") as appropriate to the specified type."
924889 }
925890 }
926891 },
@@ -965,12 +930,7 @@
965930 },
966931 "name": {
967932 "type": "string",
968− "description": "Rule display name.",
969− "annotations": {
970− "required": [
971− "tagmanager.accounts.containers.rules.create"
972− ]
973− }
933+ "description": "Rule display name."
974934 },
975935 "notes": {
976936 "type": "string",
@@ -1848,191 +1808,6 @@
18481808 }
18491809 }
18501810 },
1851− "macros": {
1852− "methods": {
1853− "create": {
1854− "id": "tagmanager.accounts.containers.macros.create",
1855− "path": "accounts/{accountId}/containers/{containerId}/macros",
1856− "httpMethod": "POST",
1857− "description": "Creates a GTM Macro.",
1858− "parameters": {
1859− "accountId": {
1860− "type": "string",
1861− "description": "The GTM Account ID.",
1862− "required": true,
1863− "location": "path"
1864− },
1865− "containerId": {
1866− "type": "string",
1867− "description": "The GTM Container ID.",
1868− "required": true,
1869− "location": "path"
1870− }
1871− },
1872− "parameterOrder": [
1873− "accountId",
1874− "containerId"
1875− ],
1876− "request": {
1877− "$ref": "Macro"
1878− },
1879− "response": {
1880− "$ref": "Macro"
1881− },
1882− "scopes": [
1883− "https://www.googleapis.com/auth/tagmanager.edit.containers"
1884− ]
1885− },
1886− "delete": {
1887− "id": "tagmanager.accounts.containers.macros.delete",
1888− "path": "accounts/{accountId}/containers/{containerId}/macros/{macroId}",
1889− "httpMethod": "DELETE",
1890− "description": "Deletes a GTM Macro.",
1891− "parameters": {
1892− "accountId": {
1893− "type": "string",
1894− "description": "The GTM Account ID.",
1895− "required": true,
1896− "location": "path"
1897− },
1898− "containerId": {
1899− "type": "string",
1900− "description": "The GTM Container ID.",
1901− "required": true,
1902− "location": "path"
1903− },
1904− "macroId": {
1905− "type": "string",
1906− "description": "The GTM Macro ID.",
1907− "required": true,
1908− "location": "path"
1909− }
1910− },
1911− "parameterOrder": [
1912− "accountId",
1913− "containerId",
1914− "macroId"
1915− ],
1916− "scopes": [
1917− "https://www.googleapis.com/auth/tagmanager.edit.containers"
1918− ]
1919− },
1920− "get": {
1921− "id": "tagmanager.accounts.containers.macros.get",
1922− "path": "accounts/{accountId}/containers/{containerId}/macros/{macroId}",
1923− "httpMethod": "GET",
1924− "description": "Gets a GTM Macro.",
1925− "parameters": {
1926− "accountId": {
1927− "type": "string",
1928− "description": "The GTM Account ID.",
1929− "required": true,
1930− "location": "path"
1931− },
1932− "containerId": {
1933− "type": "string",
1934− "description": "The GTM Container ID.",
1935− "required": true,
1936− "location": "path"
1937− },
1938− "macroId": {
1939− "type": "string",
1940− "description": "The GTM Macro ID.",
1941− "required": true,
1942− "location": "path"
1943− }
1944− },
1945− "parameterOrder": [
1946− "accountId",
1947− "containerId",
1948− "macroId"
1949− ],
1950− "response": {
1951− "$ref": "Macro"
1952− },
1953− "scopes": [
1954− "https://www.googleapis.com/auth/tagmanager.edit.containers",
1955− "https://www.googleapis.com/auth/tagmanager.readonly"
1956− ]
1957− },
1958− "list": {
1959− "id": "tagmanager.accounts.containers.macros.list",
1960− "path": "accounts/{accountId}/containers/{containerId}/macros",
1961− "httpMethod": "GET",
1962− "description": "Lists all GTM Macros of a Container.",
1963− "parameters": {
1964− "accountId": {
1965− "type": "string",
1966− "description": "The GTM Account ID.",
1967− "required": true,
1968− "location": "path"
1969− },
1970− "containerId": {
1971− "type": "string",
1972− "description": "The GTM Container ID.",
1973− "required": true,
1974− "location": "path"
1975− }
1976− },
1977− "parameterOrder": [
1978− "accountId",
1979− "containerId"
1980− ],
1981− "response": {
1982− "$ref": "ListMacrosResponse"
1983− },
1984− "scopes": [
1985− "https://www.googleapis.com/auth/tagmanager.edit.containers",
1986− "https://www.googleapis.com/auth/tagmanager.readonly"
1987− ]
1988− },
1989− "update": {
1990− "id": "tagmanager.accounts.containers.macros.update",
1991− "path": "accounts/{accountId}/containers/{containerId}/macros/{macroId}",
1992− "httpMethod": "PUT",
1993− "description": "Updates a GTM Macro.",
1994− "parameters": {
1995− "accountId": {
1996− "type": "string",
1997− "description": "The GTM Account ID.",
1998− "required": true,
1999− "location": "path"
2000− },
2001− "containerId": {
2002− "type": "string",
2003− "description": "The GTM Container ID.",
2004− "required": true,
2005− "location": "path"
2006− },
2007− "fingerprint": {
2008− "type": "string",
2009− "description": "When provided, this fingerprint must match the fingerprint of the macro in storage.",
2010− "location": "query"
2011− },
2012− "macroId": {
2013− "type": "string",
2014− "description": "The GTM Macro ID.",
2015− "required": true,
2016− "location": "path"
2017− }
2018− },
2019− "parameterOrder": [
2020− "accountId",
2021− "containerId",
2022− "macroId"
2023− ],
2024− "request": {
2025− "$ref": "Macro"
2026− },
2027− "response": {
2028− "$ref": "Macro"
2029− },
2030− "scopes": [
2031− "https://www.googleapis.com/auth/tagmanager.edit.containers"
2032− ]
2033− }
2034− }
2035− },
20361811 "move_folders": {
20371812 "methods": {
20381813 "update": {
@@ -2086,191 +1861,6 @@
20861861 }
20871862 }
20881863 },
2089− "rules": {
2090− "methods": {
2091− "create": {
2092− "id": "tagmanager.accounts.containers.rules.create",
2093− "path": "accounts/{accountId}/containers/{containerId}/rules",
2094− "httpMethod": "POST",
2095− "description": "Creates a GTM Rule.",
2096− "parameters": {
2097− "accountId": {
2098− "type": "string",
2099− "description": "The GTM Account ID.",
2100− "required": true,
2101− "location": "path"
2102− },
2103− "containerId": {
2104− "type": "string",
2105− "description": "The GTM Container ID.",
2106− "required": true,
2107− "location": "path"
2108− }
2109− },
2110− "parameterOrder": [
2111− "accountId",
2112− "containerId"
2113− ],
2114− "request": {
2115− "$ref": "Rule"
2116− },
2117− "response": {
2118− "$ref": "Rule"
2119− },
2120− "scopes": [
2121− "https://www.googleapis.com/auth/tagmanager.edit.containers"
2122− ]
2123− },
2124− "delete": {
2125− "id": "tagmanager.accounts.containers.rules.delete",
2126− "path": "accounts/{accountId}/containers/{containerId}/rules/{ruleId}",
2127− "httpMethod": "DELETE",
2128− "description": "Deletes a GTM Rule.",
2129− "parameters": {
2130− "accountId": {
2131− "type": "string",
2132− "description": "The GTM Account ID.",
2133− "required": true,
2134− "location": "path"
2135− },
2136− "containerId": {
2137− "type": "string",
2138− "description": "The GTM Container ID.",
2139− "required": true,
2140− "location": "path"
2141− },
2142− "ruleId": {
2143− "type": "string",
2144− "description": "The GTM Rule ID.",
2145− "required": true,
2146− "location": "path"
2147− }
2148− },
2149− "parameterOrder": [
2150− "accountId",
2151− "containerId",
2152− "ruleId"
2153− ],
2154− "scopes": [
2155− "https://www.googleapis.com/auth/tagmanager.edit.containers"
2156− ]
2157− },
2158− "get": {
2159− "id": "tagmanager.accounts.containers.rules.get",
2160− "path": "accounts/{accountId}/containers/{containerId}/rules/{ruleId}",
2161− "httpMethod": "GET",
2162− "description": "Gets a GTM Rule.",
2163− "parameters": {
2164− "accountId": {
2165− "type": "string",
2166− "description": "The GTM Account ID.",
2167− "required": true,
2168− "location": "path"
2169− },
2170− "containerId": {
2171− "type": "string",
2172− "description": "The GTM Container ID.",
2173− "required": true,
2174− "location": "path"
2175− },
2176− "ruleId": {
2177− "type": "string",
2178− "description": "The GTM Rule ID.",
2179− "required": true,
2180− "location": "path"
2181− }
2182− },
2183− "parameterOrder": [
2184− "accountId",
2185− "containerId",
2186− "ruleId"
2187− ],
2188− "response": {
2189− "$ref": "Rule"
2190− },
2191− "scopes": [
2192− "https://www.googleapis.com/auth/tagmanager.edit.containers",
2193− "https://www.googleapis.com/auth/tagmanager.readonly"
2194− ]
2195− },
2196− "list": {
2197− "id": "tagmanager.accounts.containers.rules.list",
2198− "path": "accounts/{accountId}/containers/{containerId}/rules",
2199− "httpMethod": "GET",
2200− "description": "Lists all GTM Rules of a Container.",
2201− "parameters": {
2202− "accountId": {
2203− "type": "string",
2204− "description": "The GTM Account ID.",
2205− "required": true,
2206− "location": "path"
2207− },
2208− "containerId": {
2209− "type": "string",
2210− "description": "The GTM Container ID.",
2211− "required": true,
2212− "location": "path"
2213− }
2214− },
2215− "parameterOrder": [
2216− "accountId",
2217− "containerId"
2218− ],
2219− "response": {
2220− "$ref": "ListRulesResponse"
2221− },
2222− "scopes": [
2223− "https://www.googleapis.com/auth/tagmanager.edit.containers",
2224− "https://www.googleapis.com/auth/tagmanager.readonly"
2225− ]
2226− },
2227− "update": {
2228− "id": "tagmanager.accounts.containers.rules.update",
2229− "path": "accounts/{accountId}/containers/{containerId}/rules/{ruleId}",
2230− "httpMethod": "PUT",
2231− "description": "Updates a GTM Rule.",
2232− "parameters": {
2233− "accountId": {
2234− "type": "string",
2235− "description": "The GTM Account ID.",
2236− "required": true,
2237− "location": "path"
2238− },
2239− "containerId": {
2240− "type": "string",
2241− "description": "The GTM Container ID.",
2242− "required": true,
2243− "location": "path"
2244− },
2245− "fingerprint": {
2246− "type": "string",
2247− "description": "When provided, this fingerprint must match the fingerprint of the rule in storage.",
2248− "location": "query"
2249− },
2250− "ruleId": {
2251− "type": "string",
2252− "description": "The GTM Rule ID.",
2253− "required": true,
2254− "location": "path"
2255− }
2256− },
2257− "parameterOrder": [
2258− "accountId",
2259− "containerId",
2260− "ruleId"
2261− ],
2262− "request": {
2263− "$ref": "Rule"
2264− },
2265− "response": {
2266− "$ref": "Rule"
2267− },
2268− "scopes": [
2269− "https://www.googleapis.com/auth/tagmanager.edit.containers"
2270− ]
2271− }
2272− }
2273− },
22741864 "tags": {
22751865 "methods": {
22761866 "create": {
@@ -3018,7 +2608,7 @@
30182608 "id": "tagmanager.accounts.containers.versions.restore",
30192609 "path": "accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore",
30202610 "httpMethod": "POST",
3021− "description": "Restores a Container Version. This will overwrite the container's current configuration (including its macros, rules and tags). The operation will not have any effect on the version that is being served (i.e. the published version).",
2611+ "description": "Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).",
30222612 "parameters": {
30232613 "accountId": {
30242614 "type": "string",
gen/model/youtube/v3/youtube-api.json+3−3
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OiQFuZaPHLebnRB1awkIEBAme6Q\"",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/4-0NBGYpnIwmGOtwWyiB-28Ef00\"",
44 "discoveryVersion": "v1",
55 "id": "youtube:v3",
66 "name": "youtube",
77 "canonicalName": "YouTube",
88 "version": "v3",
9− "revision": "20150910",
9+ "revision": "20151012",
1010 "title": "YouTube Data API",
1111 "description": "Programmatic access to YouTube features.",
1212 "ownerDomain": "google.com",
@@ -5188,7 +5188,7 @@
51885188 "properties": {
51895189 "ageGating": {
51905190 "$ref": "VideoAgeGating",
5191− "description": "Age restriction details related to a video."
5191+ "description": "Age restriction details related to a video. This data can only be retrieved by the video owner."
51925192 },
51935193 "contentDetails": {
51945194 "$ref": "VideoContentDetails",
gen/model/youtubereporting/v1/youtubereporting-api.jsonnew file+522
@@ -0,0 +1,522 @@
1+{
2+ "kind": "discovery#restDescription",
3+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8bskZWHrpgKCT1-uvibNvSv4NtA\"",
4+ "discoveryVersion": "v1",
5+ "id": "youtubereporting:v1",
6+ "name": "youtubereporting",
7+ "canonicalName": "YouTube Reporting",
8+ "version": "v1",
9+ "revision": "20150923",
10+ "title": "YouTube Reporting API",
11+ "description": "An API to schedule reporting jobs and download the resulting bulk data reports about YouTube channels, videos etc. in the form of CSV files.",
12+ "ownerDomain": "google.com",
13+ "ownerName": "Google",
14+ "icons": {
15+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
16+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
17+ },
18+ "documentationLink": "https://developers.google.com/youtube/reporting/v1/reports/",
19+ "protocol": "rest",
20+ "baseUrl": "https://youtubereporting.googleapis.com/",
21+ "basePath": "/",
22+ "rootUrl": "https://youtubereporting.googleapis.com/",
23+ "servicePath": "",
24+ "batchPath": "batch",
25+ "parameters": {
26+ "access_token": {
27+ "type": "string",
28+ "description": "OAuth access token.",
29+ "location": "query"
30+ },
31+ "alt": {
32+ "type": "string",
33+ "description": "Data format for response.",
34+ "default": "json",
35+ "enumDescriptions": [
36+ "Responses with Content-Type of application/json",
37+ "Media download with context-dependent Content-Type",
38+ "Responses with Content-Type of application/x-protobuf"
39+ ],
40+ "location": "query"
41+ },
42+ "bearer_token": {
43+ "type": "string",
44+ "description": "OAuth bearer token.",
45+ "location": "query"
46+ },
47+ "callback": {
48+ "type": "string",
49+ "description": "JSONP",
50+ "location": "query"
51+ },
52+ "fields": {
53+ "type": "string",
54+ "description": "Selector specifying which fields to include in a partial response.",
55+ "location": "query"
56+ },
57+ "key": {
58+ "type": "string",
59+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
60+ "location": "query"
61+ },
62+ "oauth_token": {
63+ "type": "string",
64+ "description": "OAuth 2.0 token for the current user.",
65+ "location": "query"
66+ },
67+ "pp": {
68+ "type": "boolean",
69+ "description": "Pretty-print response.",
70+ "default": "true",
71+ "location": "query"
72+ },
73+ "prettyPrint": {
74+ "type": "boolean",
75+ "description": "Returns response with indentations and line breaks.",
76+ "default": "true",
77+ "location": "query"
78+ },
79+ "quotaUser": {
80+ "type": "string",
81+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
82+ "location": "query"
83+ },
84+ "upload_protocol": {
85+ "type": "string",
86+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
87+ "location": "query"
88+ },
89+ "uploadType": {
90+ "type": "string",
91+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
92+ "location": "query"
93+ },
94+ "$.xgafv": {
95+ "type": "string",
96+ "description": "V1 error format.",
97+ "enumDescriptions": [
98+ "v1 error format",
99+ "v2 error format"
100+ ],
101+ "location": "query"
102+ }
103+ },
104+ "auth": {
105+ "oauth2": {
106+ "scopes": {
107+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly": {
108+ "description": "View monetary and non-monetary YouTube Analytics reports for your YouTube content"
109+ },
110+ "https://www.googleapis.com/auth/yt-analytics.readonly": {
111+ "description": "View YouTube Analytics reports for your YouTube content"
112+ }
113+ }
114+ }
115+ },
116+ "schemas": {
117+ "Media": {
118+ "id": "Media",
119+ "type": "object",
120+ "description": "Media resource.",
121+ "properties": {
122+ "resourceName": {
123+ "type": "string",
124+ "description": "Name of the media resource."
125+ }
126+ }
127+ },
128+ "ListReportTypesResponse": {
129+ "id": "ListReportTypesResponse",
130+ "type": "object",
131+ "description": "Response message for ReportingService.ListReportTypes.",
132+ "properties": {
133+ "reportTypes": {
134+ "type": "array",
135+ "description": "The list of report types.",
136+ "items": {
137+ "$ref": "ReportType"
138+ }
139+ },
140+ "nextPageToken": {
141+ "type": "string",
142+ "description": "A token to retrieve next page of results. Pass this value in the ListReportTypesRequest.page_token field in the subsequent call to `ListReportTypes` method to retrieve the next page of results."
143+ }
144+ }
145+ },
146+ "ReportType": {
147+ "id": "ReportType",
148+ "type": "object",
149+ "description": "A report type.",
150+ "properties": {
151+ "id": {
152+ "type": "string",
153+ "description": "The ID of the report type (max. 100 characters)."
154+ },
155+ "name": {
156+ "type": "string",
157+ "description": "The name of the report type (max. 100 characters)."
158+ }
159+ }
160+ },
161+ "Job": {
162+ "id": "Job",
163+ "type": "object",
164+ "description": "A job creating reports of a specific type.",
165+ "properties": {
166+ "id": {
167+ "type": "string",
168+ "description": "The server-generated ID of the job (max. 40 characters)."
169+ },
170+ "reportTypeId": {
171+ "type": "string",
172+ "description": "The type of reports this job creates. Corresponds to the ID of a ReportType."
173+ },
174+ "name": {
175+ "type": "string",
176+ "description": "The name of the job (max. 100 characters). TODO(lanthaler) Clarify what this will actually be used for"
177+ },
178+ "createTime": {
179+ "type": "string",
180+ "description": "The creation date/time of the job."
181+ }
182+ }
183+ },
184+ "ListJobsResponse": {
185+ "id": "ListJobsResponse",
186+ "type": "object",
187+ "description": "Response message for ReportingService.ListJobs.",
188+ "properties": {
189+ "jobs": {
190+ "type": "array",
191+ "description": "The list of jobs.",
192+ "items": {
193+ "$ref": "Job"
194+ }
195+ },
196+ "nextPageToken": {
197+ "type": "string",
198+ "description": "A token to retrieve next page of results. Pass this value in the ListJobsRequest.page_token field in the subsequent call to `ListJobs` method to retrieve the next page of results."
199+ }
200+ }
201+ },
202+ "Empty": {
203+ "id": "Empty",
204+ "type": "object",
205+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
206+ },
207+ "ListReportsResponse": {
208+ "id": "ListReportsResponse",
209+ "type": "object",
210+ "description": "Response message for ReportingService.ListReports.",
211+ "properties": {
212+ "reports": {
213+ "type": "array",
214+ "description": "The list of report types.",
215+ "items": {
216+ "$ref": "Report"
217+ }
218+ },
219+ "nextPageToken": {
220+ "type": "string",
221+ "description": "A token to retrieve next page of results. Pass this value in the ListReportsRequest.page_token field in the subsequent call to `ListReports` method to retrieve the next page of results."
222+ }
223+ }
224+ },
225+ "Report": {
226+ "id": "Report",
227+ "type": "object",
228+ "description": "A report's metadata including the URL from which the report itself can be downloaded.",
229+ "properties": {
230+ "id": {
231+ "type": "string",
232+ "description": "The server-generated ID of the report."
233+ },
234+ "jobId": {
235+ "type": "string",
236+ "description": "The ID of the job that created this report."
237+ },
238+ "startTime": {
239+ "type": "string",
240+ "description": "The start of the time period that the report instance covers. The value is inclusive."
241+ },
242+ "endTime": {
243+ "type": "string",
244+ "description": "The end of the time period that the report instance covers. The value is exclusive."
245+ },
246+ "createTime": {
247+ "type": "string",
248+ "description": "The date/time when this report was created."
249+ },
250+ "downloadUrl": {
251+ "type": "string",
252+ "description": "The URL from which the report can be downloaded (max. 1000 characters)."
253+ }
254+ }
255+ }
256+ },
257+ "resources": {
258+ "media": {
259+ "methods": {
260+ "download": {
261+ "id": "youtubereporting.media.download",
262+ "path": "v1/media/{+resourceName}",
263+ "httpMethod": "GET",
264+ "description": "Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.",
265+ "parameters": {
266+ "resourceName": {
267+ "type": "string",
268+ "description": "Name of the media that is being downloaded. See [][ByteStream.ReadRequest.resource_name].",
269+ "required": true,
270+ "pattern": "^.*$",
271+ "location": "path"
272+ }
273+ },
274+ "parameterOrder": [
275+ "resourceName"
276+ ],
277+ "response": {
278+ "$ref": "Media"
279+ },
280+ "scopes": [
281+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
282+ "https://www.googleapis.com/auth/yt-analytics.readonly"
283+ ],
284+ "supportsMediaDownload": true
285+ }
286+ }
287+ },
288+ "reportTypes": {
289+ "methods": {
290+ "list": {
291+ "id": "youtubereporting.reportTypes.list",
292+ "path": "v1/reportTypes",
293+ "httpMethod": "GET",
294+ "description": "Lists report types.",
295+ "parameters": {
296+ "onBehalfOfContentOwner": {
297+ "type": "string",
298+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
299+ "location": "query"
300+ },
301+ "pageSize": {
302+ "type": "integer",
303+ "description": "Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.",
304+ "format": "int32",
305+ "location": "query"
306+ },
307+ "pageToken": {
308+ "type": "string",
309+ "description": "A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListReportTypes` method.",
310+ "location": "query"
311+ }
312+ },
313+ "response": {
314+ "$ref": "ListReportTypesResponse"
315+ },
316+ "scopes": [
317+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
318+ "https://www.googleapis.com/auth/yt-analytics.readonly"
319+ ]
320+ }
321+ }
322+ },
323+ "jobs": {
324+ "methods": {
325+ "create": {
326+ "id": "youtubereporting.jobs.create",
327+ "path": "v1/jobs",
328+ "httpMethod": "POST",
329+ "description": "Creates a job and returns it.",
330+ "parameters": {
331+ "onBehalfOfContentOwner": {
332+ "type": "string",
333+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
334+ "location": "query"
335+ }
336+ },
337+ "request": {
338+ "$ref": "Job"
339+ },
340+ "response": {
341+ "$ref": "Job"
342+ },
343+ "scopes": [
344+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
345+ "https://www.googleapis.com/auth/yt-analytics.readonly"
346+ ]
347+ },
348+ "list": {
349+ "id": "youtubereporting.jobs.list",
350+ "path": "v1/jobs",
351+ "httpMethod": "GET",
352+ "description": "Lists jobs.",
353+ "parameters": {
354+ "onBehalfOfContentOwner": {
355+ "type": "string",
356+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
357+ "location": "query"
358+ },
359+ "pageSize": {
360+ "type": "integer",
361+ "description": "Requested page size. Server may return fewer jobs than requested. If unspecified, server will pick an appropriate default.",
362+ "format": "int32",
363+ "location": "query"
364+ },
365+ "pageToken": {
366+ "type": "string",
367+ "description": "A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListJobs` method.",
368+ "location": "query"
369+ }
370+ },
371+ "response": {
372+ "$ref": "ListJobsResponse"
373+ },
374+ "scopes": [
375+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
376+ "https://www.googleapis.com/auth/yt-analytics.readonly"
377+ ]
378+ },
379+ "get": {
380+ "id": "youtubereporting.jobs.get",
381+ "path": "v1/jobs/{jobId}",
382+ "httpMethod": "GET",
383+ "description": "Gets a job.",
384+ "parameters": {
385+ "jobId": {
386+ "type": "string",
387+ "description": "The ID of the job to retrieve.",
388+ "required": true,
389+ "location": "path"
390+ },
391+ "onBehalfOfContentOwner": {
392+ "type": "string",
393+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
394+ "location": "query"
395+ }
396+ },
397+ "parameterOrder": [
398+ "jobId"
399+ ],
400+ "response": {
401+ "$ref": "Job"
402+ },
403+ "scopes": [
404+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
405+ "https://www.googleapis.com/auth/yt-analytics.readonly"
406+ ]
407+ },
408+ "delete": {
409+ "id": "youtubereporting.jobs.delete",
410+ "path": "v1/jobs/{jobId}",
411+ "httpMethod": "DELETE",
412+ "description": "Deletes a job.",
413+ "parameters": {
414+ "jobId": {
415+ "type": "string",
416+ "description": "The ID of the job to delete.",
417+ "required": true,
418+ "location": "path"
419+ },
420+ "onBehalfOfContentOwner": {
421+ "type": "string",
422+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
423+ "location": "query"
424+ }
425+ },
426+ "parameterOrder": [
427+ "jobId"
428+ ],
429+ "response": {
430+ "$ref": "Empty"
431+ },
432+ "scopes": [
433+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
434+ "https://www.googleapis.com/auth/yt-analytics.readonly"
435+ ]
436+ }
437+ },
438+ "resources": {
439+ "reports": {
440+ "methods": {
441+ "list": {
442+ "id": "youtubereporting.jobs.reports.list",
443+ "path": "v1/jobs/{jobId}/reports",
444+ "httpMethod": "GET",
445+ "description": "Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.",
446+ "parameters": {
447+ "jobId": {
448+ "type": "string",
449+ "description": "The ID of the job.",
450+ "required": true,
451+ "location": "path"
452+ },
453+ "onBehalfOfContentOwner": {
454+ "type": "string",
455+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
456+ "location": "query"
457+ },
458+ "pageSize": {
459+ "type": "integer",
460+ "description": "Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.",
461+ "format": "int32",
462+ "location": "query"
463+ },
464+ "pageToken": {
465+ "type": "string",
466+ "description": "A token identifying a page of results the server should return. Typically, this is the value of ListReportsResponse.next_page_token returned in response to the previous call to the `ListReports` method.",
467+ "location": "query"
468+ }
469+ },
470+ "parameterOrder": [
471+ "jobId"
472+ ],
473+ "response": {
474+ "$ref": "ListReportsResponse"
475+ },
476+ "scopes": [
477+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
478+ "https://www.googleapis.com/auth/yt-analytics.readonly"
479+ ]
480+ },
481+ "get": {
482+ "id": "youtubereporting.jobs.reports.get",
483+ "path": "v1/jobs/{jobId}/reports/{reportId}",
484+ "httpMethod": "GET",
485+ "description": "Gets the metadata of a specific report.",
486+ "parameters": {
487+ "jobId": {
488+ "type": "string",
489+ "description": "The ID of the job.",
490+ "required": true,
491+ "location": "path"
492+ },
493+ "reportId": {
494+ "type": "string",
495+ "description": "The ID of the report to retrieve.",
496+ "required": true,
497+ "location": "path"
498+ },
499+ "onBehalfOfContentOwner": {
500+ "type": "string",
501+ "description": "The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).",
502+ "location": "query"
503+ }
504+ },
505+ "parameterOrder": [
506+ "jobId",
507+ "reportId"
508+ ],
509+ "response": {
510+ "$ref": "Report"
511+ },
512+ "scopes": [
513+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
514+ "https://www.googleapis.com/auth/yt-analytics.readonly"
515+ ]
516+ }
517+ }
518+ }
519+ }
520+ }
521+ }
522+}